3.6 KiB
SchemaUpdateCommentReq
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CaptchaCode | Pointer to string | [optional] | |
| CaptchaId | Pointer to string | whether user can delete it | [optional] |
| CommentId | string | comment id | |
| OriginalText | string | original comment content |
Methods
NewSchemaUpdateCommentReq
func NewSchemaUpdateCommentReq(commentId string, originalText string, ) *SchemaUpdateCommentReq
NewSchemaUpdateCommentReq instantiates a new SchemaUpdateCommentReq 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
NewSchemaUpdateCommentReqWithDefaults
func NewSchemaUpdateCommentReqWithDefaults() *SchemaUpdateCommentReq
NewSchemaUpdateCommentReqWithDefaults instantiates a new SchemaUpdateCommentReq 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 *SchemaUpdateCommentReq) GetCaptchaCode() string
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
GetCaptchaCodeOk
func (o *SchemaUpdateCommentReq) 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 *SchemaUpdateCommentReq) SetCaptchaCode(v string)
SetCaptchaCode sets CaptchaCode field to given value.
HasCaptchaCode
func (o *SchemaUpdateCommentReq) HasCaptchaCode() bool
HasCaptchaCode returns a boolean if a field has been set.
GetCaptchaId
func (o *SchemaUpdateCommentReq) GetCaptchaId() string
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
GetCaptchaIdOk
func (o *SchemaUpdateCommentReq) 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 *SchemaUpdateCommentReq) SetCaptchaId(v string)
SetCaptchaId sets CaptchaId field to given value.
HasCaptchaId
func (o *SchemaUpdateCommentReq) HasCaptchaId() bool
HasCaptchaId returns a boolean if a field has been set.
GetCommentId
func (o *SchemaUpdateCommentReq) GetCommentId() string
GetCommentId returns the CommentId field if non-nil, zero value otherwise.
GetCommentIdOk
func (o *SchemaUpdateCommentReq) 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 *SchemaUpdateCommentReq) SetCommentId(v string)
SetCommentId sets CommentId field to given value.
GetOriginalText
func (o *SchemaUpdateCommentReq) GetOriginalText() string
GetOriginalText returns the OriginalText field if non-nil, zero value otherwise.
GetOriginalTextOk
func (o *SchemaUpdateCommentReq) 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 *SchemaUpdateCommentReq) SetOriginalText(v string)
SetOriginalText sets OriginalText field to given value.