5.9 KiB
SchemaQuestionUpdate
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| CaptchaCode | Pointer to string | [optional] | |
| CaptchaId | Pointer to string | captcha_id | [optional] |
| Content | string | content | |
| EditSummary | Pointer to string | edit summary | [optional] |
| Id | string | question id | |
| InviteUser | Pointer to []string | [optional] | |
| Tags | []SchemaTagItem | tags | |
| Title | string | question title |
Methods
NewSchemaQuestionUpdate
func NewSchemaQuestionUpdate(content string, id string, tags []SchemaTagItem, title string, ) *SchemaQuestionUpdate
NewSchemaQuestionUpdate instantiates a new SchemaQuestionUpdate 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
NewSchemaQuestionUpdateWithDefaults
func NewSchemaQuestionUpdateWithDefaults() *SchemaQuestionUpdate
NewSchemaQuestionUpdateWithDefaults instantiates a new SchemaQuestionUpdate 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 *SchemaQuestionUpdate) GetCaptchaCode() string
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
GetCaptchaCodeOk
func (o *SchemaQuestionUpdate) 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 *SchemaQuestionUpdate) SetCaptchaCode(v string)
SetCaptchaCode sets CaptchaCode field to given value.
HasCaptchaCode
func (o *SchemaQuestionUpdate) HasCaptchaCode() bool
HasCaptchaCode returns a boolean if a field has been set.
GetCaptchaId
func (o *SchemaQuestionUpdate) GetCaptchaId() string
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
GetCaptchaIdOk
func (o *SchemaQuestionUpdate) 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 *SchemaQuestionUpdate) SetCaptchaId(v string)
SetCaptchaId sets CaptchaId field to given value.
HasCaptchaId
func (o *SchemaQuestionUpdate) HasCaptchaId() bool
HasCaptchaId returns a boolean if a field has been set.
GetContent
func (o *SchemaQuestionUpdate) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *SchemaQuestionUpdate) GetContentOk() (*string, bool)
GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContent
func (o *SchemaQuestionUpdate) SetContent(v string)
SetContent sets Content field to given value.
GetEditSummary
func (o *SchemaQuestionUpdate) GetEditSummary() string
GetEditSummary returns the EditSummary field if non-nil, zero value otherwise.
GetEditSummaryOk
func (o *SchemaQuestionUpdate) GetEditSummaryOk() (*string, bool)
GetEditSummaryOk returns a tuple with the EditSummary field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetEditSummary
func (o *SchemaQuestionUpdate) SetEditSummary(v string)
SetEditSummary sets EditSummary field to given value.
HasEditSummary
func (o *SchemaQuestionUpdate) HasEditSummary() bool
HasEditSummary returns a boolean if a field has been set.
GetId
func (o *SchemaQuestionUpdate) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *SchemaQuestionUpdate) 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.
SetId
func (o *SchemaQuestionUpdate) SetId(v string)
SetId sets Id field to given value.
GetInviteUser
func (o *SchemaQuestionUpdate) GetInviteUser() []string
GetInviteUser returns the InviteUser field if non-nil, zero value otherwise.
GetInviteUserOk
func (o *SchemaQuestionUpdate) GetInviteUserOk() (*[]string, bool)
GetInviteUserOk returns a tuple with the InviteUser field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInviteUser
func (o *SchemaQuestionUpdate) SetInviteUser(v []string)
SetInviteUser sets InviteUser field to given value.
HasInviteUser
func (o *SchemaQuestionUpdate) HasInviteUser() bool
HasInviteUser returns a boolean if a field has been set.
GetTags
func (o *SchemaQuestionUpdate) GetTags() []SchemaTagItem
GetTags returns the Tags field if non-nil, zero value otherwise.
GetTagsOk
func (o *SchemaQuestionUpdate) GetTagsOk() (*[]SchemaTagItem, bool)
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTags
func (o *SchemaQuestionUpdate) SetTags(v []SchemaTagItem)
SetTags sets Tags field to given value.
GetTitle
func (o *SchemaQuestionUpdate) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
GetTitleOk
func (o *SchemaQuestionUpdate) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTitle
func (o *SchemaQuestionUpdate) SetTitle(v string)
SetTitle sets Title field to given value.