Name | Type | Description | Notes |
---|---|---|---|
Object | string | Type of Object, always equals to "comment" | |
Id | string | Unique identifier for the comment. | |
PostedBy | User | ||
PostedAt | string | ||
EditedAt | Pointer to string | [optional] | |
Reactions | []EmojiReaction | ||
Replies | float32 | The number of replies to this comment. | |
Body | Document | ||
Target | CommentAllOfTarget | ||
Urls | CommentAllOfUrls | ||
Status | string | Status of the comment. | |
ResolvedAt | string | ||
ResolvedBy | User |
func NewComment(object string, id string, postedBy User, postedAt string, reactions []EmojiReaction, replies float32, body Document, target CommentAllOfTarget, urls CommentAllOfUrls, status string, resolvedAt string, resolvedBy User, ) *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) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *Comment) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetObject(v string)
SetObject sets Object field to given value.
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) GetPostedBy() User
GetPostedBy returns the PostedBy field if non-nil, zero value otherwise.
func (o *Comment) GetPostedByOk() (*User, bool)
GetPostedByOk returns a tuple with the PostedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetPostedBy(v User)
SetPostedBy sets PostedBy field to given value.
func (o *Comment) GetPostedAt() string
GetPostedAt returns the PostedAt field if non-nil, zero value otherwise.
func (o *Comment) GetPostedAtOk() (*string, bool)
GetPostedAtOk returns a tuple with the PostedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetPostedAt(v string)
SetPostedAt sets PostedAt field to given value.
func (o *Comment) GetEditedAt() string
GetEditedAt returns the EditedAt field if non-nil, zero value otherwise.
func (o *Comment) GetEditedAtOk() (*string, bool)
GetEditedAtOk returns a tuple with the EditedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetEditedAt(v string)
SetEditedAt sets EditedAt field to given value.
func (o *Comment) HasEditedAt() bool
HasEditedAt returns a boolean if a field has been set.
func (o *Comment) GetReactions() []EmojiReaction
GetReactions returns the Reactions field if non-nil, zero value otherwise.
func (o *Comment) GetReactionsOk() (*[]EmojiReaction, bool)
GetReactionsOk returns a tuple with the Reactions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetReactions(v []EmojiReaction)
SetReactions sets Reactions field to given value.
func (o *Comment) GetReplies() float32
GetReplies returns the Replies field if non-nil, zero value otherwise.
func (o *Comment) GetRepliesOk() (*float32, bool)
GetRepliesOk returns a tuple with the Replies field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetReplies(v float32)
SetReplies sets Replies field to given value.
func (o *Comment) GetBody() Document
GetBody returns the Body field if non-nil, zero value otherwise.
func (o *Comment) GetBodyOk() (*Document, bool)
GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetBody(v Document)
SetBody sets Body field to given value.
func (o *Comment) GetTarget() CommentAllOfTarget
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *Comment) GetTargetOk() (*CommentAllOfTarget, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetTarget(v CommentAllOfTarget)
SetTarget sets Target field to given value.
func (o *Comment) GetUrls() CommentAllOfUrls
GetUrls returns the Urls field if non-nil, zero value otherwise.
func (o *Comment) GetUrlsOk() (*CommentAllOfUrls, bool)
GetUrlsOk returns a tuple with the Urls field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetUrls(v CommentAllOfUrls)
SetUrls sets Urls field to given value.
func (o *Comment) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Comment) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *Comment) GetResolvedAt() string
GetResolvedAt returns the ResolvedAt field if non-nil, zero value otherwise.
func (o *Comment) GetResolvedAtOk() (*string, bool)
GetResolvedAtOk returns a tuple with the ResolvedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetResolvedAt(v string)
SetResolvedAt sets ResolvedAt field to given value.
func (o *Comment) GetResolvedBy() User
GetResolvedBy returns the ResolvedBy field if non-nil, zero value otherwise.
func (o *Comment) GetResolvedByOk() (*User, bool)
GetResolvedByOk returns a tuple with the ResolvedBy field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Comment) SetResolvedBy(v User)
SetResolvedBy sets ResolvedBy field to given value.