--- id: beta-comment-dto1-author title: CommentDto1Author pagination_label: CommentDto1Author sidebar_label: CommentDto1Author sidebar_class_name: gosdk keywords: ['go', 'Golang', 'sdk', 'CommentDto1Author', 'BetaCommentDto1Author'] slug: /tools/sdk/go/beta/models/comment-dto1-author tags: ['SDK', 'Software Development Kit', 'CommentDto1Author', 'BetaCommentDto1Author'] --- # CommentDto1Author ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Type** | Pointer to **string** | The type of object | [optional] **Id** | Pointer to **string** | The unique ID of the object | [optional] **Name** | Pointer to **string** | The display name of the object | [optional] ## Methods ### NewCommentDto1Author `func NewCommentDto1Author() *CommentDto1Author` NewCommentDto1Author instantiates a new CommentDto1Author object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed ### NewCommentDto1AuthorWithDefaults `func NewCommentDto1AuthorWithDefaults() *CommentDto1Author` NewCommentDto1AuthorWithDefaults instantiates a new CommentDto1Author object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set ### GetType `func (o *CommentDto1Author) GetType() string` GetType returns the Type field if non-nil, zero value otherwise. ### GetTypeOk `func (o *CommentDto1Author) GetTypeOk() (*string, bool)` GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetType `func (o *CommentDto1Author) SetType(v string)` SetType sets Type field to given value. ### HasType `func (o *CommentDto1Author) HasType() bool` HasType returns a boolean if a field has been set. ### GetId `func (o *CommentDto1Author) GetId() string` GetId returns the Id field if non-nil, zero value otherwise. ### GetIdOk `func (o *CommentDto1Author) GetIdOk() (*string, bool)` GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetId `func (o *CommentDto1Author) SetId(v string)` SetId sets Id field to given value. ### HasId `func (o *CommentDto1Author) HasId() bool` HasId returns a boolean if a field has been set. ### GetName `func (o *CommentDto1Author) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk `func (o *CommentDto1Author) GetNameOk() (*string, bool)` GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetName `func (o *CommentDto1Author) SetName(v string)` SetName sets Name field to given value. ### HasName `func (o *CommentDto1Author) HasName() bool` HasName returns a boolean if a field has been set.