14 KiB
SchemaGetCommentResp
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CommentId | Pointer to string | comment id | [optional] |
| CreatedAt | Pointer to int32 | create time | [optional] |
| IsVote | Pointer to bool | current user if already vote this comment | [optional] |
| MemberActions | Pointer to []SchemaPermissionMemberAction | MemberActions | [optional] |
| ObjectId | Pointer to string | object id | [optional] |
| OriginalText | Pointer to string | original comment content | [optional] |
| ParsedText | Pointer to string | parsed comment content | [optional] |
| ReplyCommentId | Pointer to string | reply comment id | [optional] |
| ReplyUserDisplayName | Pointer to string | reply user display name | [optional] |
| ReplyUserId | Pointer to string | reply user id | [optional] |
| ReplyUserStatus | Pointer to string | reply user status | [optional] |
| ReplyUsername | Pointer to string | reply user username | [optional] |
| UserAvatar | Pointer to string | user avatar | [optional] |
| UserDisplayName | Pointer to string | user display name | [optional] |
| UserId | Pointer to string | user id | [optional] |
| UserStatus | Pointer to string | user status | [optional] |
| Username | Pointer to string | username | [optional] |
| VoteCount | Pointer to int32 | user vote amount | [optional] |
Methods
NewSchemaGetCommentResp
func NewSchemaGetCommentResp() *SchemaGetCommentResp
NewSchemaGetCommentResp instantiates a new SchemaGetCommentResp 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
NewSchemaGetCommentRespWithDefaults
func NewSchemaGetCommentRespWithDefaults() *SchemaGetCommentResp
NewSchemaGetCommentRespWithDefaults instantiates a new SchemaGetCommentResp 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
GetCommentId
func (o *SchemaGetCommentResp) GetCommentId() string
GetCommentId returns the CommentId field if non-nil, zero value otherwise.
GetCommentIdOk
func (o *SchemaGetCommentResp) GetCommentIdOk() (*string, bool)
GetCommentIdOk returns a tuple with the CommentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCommentId
func (o *SchemaGetCommentResp) SetCommentId(v string)
SetCommentId sets CommentId field to given value.
HasCommentId
func (o *SchemaGetCommentResp) HasCommentId() bool
HasCommentId returns a boolean if a field has been set.
GetCreatedAt
func (o *SchemaGetCommentResp) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *SchemaGetCommentResp) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCreatedAt
func (o *SchemaGetCommentResp) SetCreatedAt(v int32)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *SchemaGetCommentResp) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetIsVote
func (o *SchemaGetCommentResp) GetIsVote() bool
GetIsVote returns the IsVote field if non-nil, zero value otherwise.
GetIsVoteOk
func (o *SchemaGetCommentResp) GetIsVoteOk() (*bool, bool)
GetIsVoteOk returns a tuple with the IsVote field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIsVote
func (o *SchemaGetCommentResp) SetIsVote(v bool)
SetIsVote sets IsVote field to given value.
HasIsVote
func (o *SchemaGetCommentResp) HasIsVote() bool
HasIsVote returns a boolean if a field has been set.
GetMemberActions
func (o *SchemaGetCommentResp) GetMemberActions() []SchemaPermissionMemberAction
GetMemberActions returns the MemberActions field if non-nil, zero value otherwise.
GetMemberActionsOk
func (o *SchemaGetCommentResp) GetMemberActionsOk() (*[]SchemaPermissionMemberAction, bool)
GetMemberActionsOk returns a tuple with the MemberActions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMemberActions
func (o *SchemaGetCommentResp) SetMemberActions(v []SchemaPermissionMemberAction)
SetMemberActions sets MemberActions field to given value.
HasMemberActions
func (o *SchemaGetCommentResp) HasMemberActions() bool
HasMemberActions returns a boolean if a field has been set.
GetObjectId
func (o *SchemaGetCommentResp) GetObjectId() string
GetObjectId returns the ObjectId field if non-nil, zero value otherwise.
GetObjectIdOk
func (o *SchemaGetCommentResp) GetObjectIdOk() (*string, bool)
GetObjectIdOk returns a tuple with the ObjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetObjectId
func (o *SchemaGetCommentResp) SetObjectId(v string)
SetObjectId sets ObjectId field to given value.
HasObjectId
func (o *SchemaGetCommentResp) HasObjectId() bool
HasObjectId returns a boolean if a field has been set.
GetOriginalText
func (o *SchemaGetCommentResp) GetOriginalText() string
GetOriginalText returns the OriginalText field if non-nil, zero value otherwise.
GetOriginalTextOk
func (o *SchemaGetCommentResp) GetOriginalTextOk() (*string, bool)
GetOriginalTextOk returns a tuple with the OriginalText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOriginalText
func (o *SchemaGetCommentResp) SetOriginalText(v string)
SetOriginalText sets OriginalText field to given value.
HasOriginalText
func (o *SchemaGetCommentResp) HasOriginalText() bool
HasOriginalText returns a boolean if a field has been set.
GetParsedText
func (o *SchemaGetCommentResp) GetParsedText() string
GetParsedText returns the ParsedText field if non-nil, zero value otherwise.
GetParsedTextOk
func (o *SchemaGetCommentResp) GetParsedTextOk() (*string, bool)
GetParsedTextOk returns a tuple with the ParsedText field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetParsedText
func (o *SchemaGetCommentResp) SetParsedText(v string)
SetParsedText sets ParsedText field to given value.
HasParsedText
func (o *SchemaGetCommentResp) HasParsedText() bool
HasParsedText returns a boolean if a field has been set.
GetReplyCommentId
func (o *SchemaGetCommentResp) GetReplyCommentId() string
GetReplyCommentId returns the ReplyCommentId field if non-nil, zero value otherwise.
GetReplyCommentIdOk
func (o *SchemaGetCommentResp) GetReplyCommentIdOk() (*string, bool)
GetReplyCommentIdOk returns a tuple with the ReplyCommentId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReplyCommentId
func (o *SchemaGetCommentResp) SetReplyCommentId(v string)
SetReplyCommentId sets ReplyCommentId field to given value.
HasReplyCommentId
func (o *SchemaGetCommentResp) HasReplyCommentId() bool
HasReplyCommentId returns a boolean if a field has been set.
GetReplyUserDisplayName
func (o *SchemaGetCommentResp) GetReplyUserDisplayName() string
GetReplyUserDisplayName returns the ReplyUserDisplayName field if non-nil, zero value otherwise.
GetReplyUserDisplayNameOk
func (o *SchemaGetCommentResp) GetReplyUserDisplayNameOk() (*string, bool)
GetReplyUserDisplayNameOk returns a tuple with the ReplyUserDisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReplyUserDisplayName
func (o *SchemaGetCommentResp) SetReplyUserDisplayName(v string)
SetReplyUserDisplayName sets ReplyUserDisplayName field to given value.
HasReplyUserDisplayName
func (o *SchemaGetCommentResp) HasReplyUserDisplayName() bool
HasReplyUserDisplayName returns a boolean if a field has been set.
GetReplyUserId
func (o *SchemaGetCommentResp) GetReplyUserId() string
GetReplyUserId returns the ReplyUserId field if non-nil, zero value otherwise.
GetReplyUserIdOk
func (o *SchemaGetCommentResp) GetReplyUserIdOk() (*string, bool)
GetReplyUserIdOk returns a tuple with the ReplyUserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReplyUserId
func (o *SchemaGetCommentResp) SetReplyUserId(v string)
SetReplyUserId sets ReplyUserId field to given value.
HasReplyUserId
func (o *SchemaGetCommentResp) HasReplyUserId() bool
HasReplyUserId returns a boolean if a field has been set.
GetReplyUserStatus
func (o *SchemaGetCommentResp) GetReplyUserStatus() string
GetReplyUserStatus returns the ReplyUserStatus field if non-nil, zero value otherwise.
GetReplyUserStatusOk
func (o *SchemaGetCommentResp) GetReplyUserStatusOk() (*string, bool)
GetReplyUserStatusOk returns a tuple with the ReplyUserStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReplyUserStatus
func (o *SchemaGetCommentResp) SetReplyUserStatus(v string)
SetReplyUserStatus sets ReplyUserStatus field to given value.
HasReplyUserStatus
func (o *SchemaGetCommentResp) HasReplyUserStatus() bool
HasReplyUserStatus returns a boolean if a field has been set.
GetReplyUsername
func (o *SchemaGetCommentResp) GetReplyUsername() string
GetReplyUsername returns the ReplyUsername field if non-nil, zero value otherwise.
GetReplyUsernameOk
func (o *SchemaGetCommentResp) GetReplyUsernameOk() (*string, bool)
GetReplyUsernameOk returns a tuple with the ReplyUsername field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReplyUsername
func (o *SchemaGetCommentResp) SetReplyUsername(v string)
SetReplyUsername sets ReplyUsername field to given value.
HasReplyUsername
func (o *SchemaGetCommentResp) HasReplyUsername() bool
HasReplyUsername returns a boolean if a field has been set.
GetUserAvatar
func (o *SchemaGetCommentResp) GetUserAvatar() string
GetUserAvatar returns the UserAvatar field if non-nil, zero value otherwise.
GetUserAvatarOk
func (o *SchemaGetCommentResp) GetUserAvatarOk() (*string, bool)
GetUserAvatarOk returns a tuple with the UserAvatar field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUserAvatar
func (o *SchemaGetCommentResp) SetUserAvatar(v string)
SetUserAvatar sets UserAvatar field to given value.
HasUserAvatar
func (o *SchemaGetCommentResp) HasUserAvatar() bool
HasUserAvatar returns a boolean if a field has been set.
GetUserDisplayName
func (o *SchemaGetCommentResp) GetUserDisplayName() string
GetUserDisplayName returns the UserDisplayName field if non-nil, zero value otherwise.
GetUserDisplayNameOk
func (o *SchemaGetCommentResp) GetUserDisplayNameOk() (*string, bool)
GetUserDisplayNameOk returns a tuple with the UserDisplayName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUserDisplayName
func (o *SchemaGetCommentResp) SetUserDisplayName(v string)
SetUserDisplayName sets UserDisplayName field to given value.
HasUserDisplayName
func (o *SchemaGetCommentResp) HasUserDisplayName() bool
HasUserDisplayName returns a boolean if a field has been set.
GetUserId
func (o *SchemaGetCommentResp) GetUserId() string
GetUserId returns the UserId field if non-nil, zero value otherwise.
GetUserIdOk
func (o *SchemaGetCommentResp) GetUserIdOk() (*string, bool)
GetUserIdOk returns a tuple with the UserId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUserId
func (o *SchemaGetCommentResp) SetUserId(v string)
SetUserId sets UserId field to given value.
HasUserId
func (o *SchemaGetCommentResp) HasUserId() bool
HasUserId returns a boolean if a field has been set.
GetUserStatus
func (o *SchemaGetCommentResp) GetUserStatus() string
GetUserStatus returns the UserStatus field if non-nil, zero value otherwise.
GetUserStatusOk
func (o *SchemaGetCommentResp) GetUserStatusOk() (*string, bool)
GetUserStatusOk returns a tuple with the UserStatus field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUserStatus
func (o *SchemaGetCommentResp) SetUserStatus(v string)
SetUserStatus sets UserStatus field to given value.
HasUserStatus
func (o *SchemaGetCommentResp) HasUserStatus() bool
HasUserStatus returns a boolean if a field has been set.
GetUsername
func (o *SchemaGetCommentResp) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
GetUsernameOk
func (o *SchemaGetCommentResp) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUsername
func (o *SchemaGetCommentResp) SetUsername(v string)
SetUsername sets Username field to given value.
HasUsername
func (o *SchemaGetCommentResp) HasUsername() bool
HasUsername returns a boolean if a field has been set.
GetVoteCount
func (o *SchemaGetCommentResp) GetVoteCount() int32
GetVoteCount returns the VoteCount field if non-nil, zero value otherwise.
GetVoteCountOk
func (o *SchemaGetCommentResp) GetVoteCountOk() (*int32, bool)
GetVoteCountOk returns a tuple with the VoteCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVoteCount
func (o *SchemaGetCommentResp) SetVoteCount(v int32)
SetVoteCount sets VoteCount field to given value.
HasVoteCount
func (o *SchemaGetCommentResp) HasVoteCount() bool
HasVoteCount returns a boolean if a field has been set.