Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | [optional] | |
Type | Pointer to string | [optional] | |
Text | Pointer to string | [optional] | |
Author | Pointer to string | [optional] | |
Date | Pointer to time.Time | [optional] | |
CreationDate | Pointer to time.Time | [optional] |
func NewComment() *Comment
NewComment instantiates a new Comment 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
func NewCommentWithDefaults() *Comment
NewCommentWithDefaults instantiates a new Comment 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
func (o *Comment) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Comment) 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.
func (o *Comment) SetId(v string)
SetId sets Id field to given value.
func (o *Comment) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Comment) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Comment) 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.
func (o *Comment) SetType(v string)
SetType sets Type field to given value.
func (o *Comment) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Comment) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
func (o *Comment) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetText(v string)
SetText sets Text field to given value.
func (o *Comment) HasText() bool
HasText returns a boolean if a field has been set.
func (o *Comment) GetAuthor() string
GetAuthor returns the Author field if non-nil, zero value otherwise.
func (o *Comment) GetAuthorOk() (*string, bool)
GetAuthorOk returns a tuple with the Author field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetAuthor(v string)
SetAuthor sets Author field to given value.
func (o *Comment) HasAuthor() bool
HasAuthor returns a boolean if a field has been set.
func (o *Comment) GetDate() time.Time
GetDate returns the Date field if non-nil, zero value otherwise.
func (o *Comment) GetDateOk() (*time.Time, bool)
GetDateOk returns a tuple with the Date field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetDate(v time.Time)
SetDate sets Date field to given value.
func (o *Comment) HasDate() bool
HasDate returns a boolean if a field has been set.
func (o *Comment) GetCreationDate() time.Time
GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.
func (o *Comment) GetCreationDateOk() (*time.Time, bool)
GetCreationDateOk returns a tuple with the CreationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetCreationDate(v time.Time)
SetCreationDate sets CreationDate field to given value.
func (o *Comment) HasCreationDate() bool
HasCreationDate returns a boolean if a field has been set.