Files
openapi-go-answer/docs/SchemaAddCommentReq.md
2023-08-22 10:37:28 +08:00

5.1 KiB

SchemaAddCommentReq

Properties

Name Type Description Notes
CaptchaCode Pointer to string [optional]
CaptchaId Pointer to string captcha_id [optional]
MentionUsernameList Pointer to []string @ user id list [optional]
ObjectId string object id
OriginalText string original comment content
ReplyCommentId Pointer to string reply comment id [optional]

Methods

NewSchemaAddCommentReq

func NewSchemaAddCommentReq(objectId string, originalText string, ) *SchemaAddCommentReq

NewSchemaAddCommentReq instantiates a new SchemaAddCommentReq 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

NewSchemaAddCommentReqWithDefaults

func NewSchemaAddCommentReqWithDefaults() *SchemaAddCommentReq

NewSchemaAddCommentReqWithDefaults instantiates a new SchemaAddCommentReq 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

GetCaptchaCode

func (o *SchemaAddCommentReq) GetCaptchaCode() string

GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.

GetCaptchaCodeOk

func (o *SchemaAddCommentReq) GetCaptchaCodeOk() (*string, bool)

GetCaptchaCodeOk returns a tuple with the CaptchaCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCaptchaCode

func (o *SchemaAddCommentReq) SetCaptchaCode(v string)

SetCaptchaCode sets CaptchaCode field to given value.

HasCaptchaCode

func (o *SchemaAddCommentReq) HasCaptchaCode() bool

HasCaptchaCode returns a boolean if a field has been set.

GetCaptchaId

func (o *SchemaAddCommentReq) GetCaptchaId() string

GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.

GetCaptchaIdOk

func (o *SchemaAddCommentReq) GetCaptchaIdOk() (*string, bool)

GetCaptchaIdOk returns a tuple with the CaptchaId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCaptchaId

func (o *SchemaAddCommentReq) SetCaptchaId(v string)

SetCaptchaId sets CaptchaId field to given value.

HasCaptchaId

func (o *SchemaAddCommentReq) HasCaptchaId() bool

HasCaptchaId returns a boolean if a field has been set.

GetMentionUsernameList

func (o *SchemaAddCommentReq) GetMentionUsernameList() []string

GetMentionUsernameList returns the MentionUsernameList field if non-nil, zero value otherwise.

GetMentionUsernameListOk

func (o *SchemaAddCommentReq) GetMentionUsernameListOk() (*[]string, bool)

GetMentionUsernameListOk returns a tuple with the MentionUsernameList field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMentionUsernameList

func (o *SchemaAddCommentReq) SetMentionUsernameList(v []string)

SetMentionUsernameList sets MentionUsernameList field to given value.

HasMentionUsernameList

func (o *SchemaAddCommentReq) HasMentionUsernameList() bool

HasMentionUsernameList returns a boolean if a field has been set.

GetObjectId

func (o *SchemaAddCommentReq) GetObjectId() string

GetObjectId returns the ObjectId field if non-nil, zero value otherwise.

GetObjectIdOk

func (o *SchemaAddCommentReq) 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 *SchemaAddCommentReq) SetObjectId(v string)

SetObjectId sets ObjectId field to given value.

GetOriginalText

func (o *SchemaAddCommentReq) GetOriginalText() string

GetOriginalText returns the OriginalText field if non-nil, zero value otherwise.

GetOriginalTextOk

func (o *SchemaAddCommentReq) 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 *SchemaAddCommentReq) SetOriginalText(v string)

SetOriginalText sets OriginalText field to given value.

GetReplyCommentId

func (o *SchemaAddCommentReq) GetReplyCommentId() string

GetReplyCommentId returns the ReplyCommentId field if non-nil, zero value otherwise.

GetReplyCommentIdOk

func (o *SchemaAddCommentReq) 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 *SchemaAddCommentReq) SetReplyCommentId(v string)

SetReplyCommentId sets ReplyCommentId field to given value.

HasReplyCommentId

func (o *SchemaAddCommentReq) HasReplyCommentId() bool

HasReplyCommentId returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]