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 |
func NewCommentAllOf(object string, id string, postedBy User, postedAt string, reactions []EmojiReaction, replies float32, body Document, target CommentAllOfTarget, urls CommentAllOfUrls, ) *CommentAllOf
NewCommentAllOf instantiates a new CommentAllOf 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 NewCommentAllOfWithDefaults() *CommentAllOf
NewCommentAllOfWithDefaults instantiates a new CommentAllOf 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 *CommentAllOf) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetObject(v string)
SetObject sets Object field to given value.
func (o *CommentAllOf) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetId(v string)
SetId sets Id field to given value.
func (o *CommentAllOf) GetPostedBy() User
GetPostedBy returns the PostedBy field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetPostedBy(v User)
SetPostedBy sets PostedBy field to given value.
func (o *CommentAllOf) GetPostedAt() string
GetPostedAt returns the PostedAt field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetPostedAt(v string)
SetPostedAt sets PostedAt field to given value.
func (o *CommentAllOf) GetEditedAt() string
GetEditedAt returns the EditedAt field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetEditedAt(v string)
SetEditedAt sets EditedAt field to given value.
func (o *CommentAllOf) HasEditedAt() bool
HasEditedAt returns a boolean if a field has been set.
func (o *CommentAllOf) GetReactions() []EmojiReaction
GetReactions returns the Reactions field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetReactions(v []EmojiReaction)
SetReactions sets Reactions field to given value.
func (o *CommentAllOf) GetReplies() float32
GetReplies returns the Replies field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetReplies(v float32)
SetReplies sets Replies field to given value.
func (o *CommentAllOf) GetBody() Document
GetBody returns the Body field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetBody(v Document)
SetBody sets Body field to given value.
func (o *CommentAllOf) GetTarget() CommentAllOfTarget
GetTarget returns the Target field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetTarget(v CommentAllOfTarget)
SetTarget sets Target field to given value.
func (o *CommentAllOf) GetUrls() CommentAllOfUrls
GetUrls returns the Urls field if non-nil, zero value otherwise.
func (o *CommentAllOf) 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 *CommentAllOf) SetUrls(v CommentAllOfUrls)
SetUrls sets Urls field to given value.