5.6 KiB
SchemaQuestionAddByAnswer
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| AnswerContent | string | ||
| CaptchaCode | Pointer to string | [optional] | |
| CaptchaId | Pointer to string | captcha_id | [optional] |
| Content | string | content | |
| MentionUsernameList | Pointer to []string | [optional] | |
| Tags | []SchemaTagItem | tags | |
| Title | string | question title |
Methods
NewSchemaQuestionAddByAnswer
func NewSchemaQuestionAddByAnswer(answerContent string, content string, tags []SchemaTagItem, title string, ) *SchemaQuestionAddByAnswer
NewSchemaQuestionAddByAnswer instantiates a new SchemaQuestionAddByAnswer 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
NewSchemaQuestionAddByAnswerWithDefaults
func NewSchemaQuestionAddByAnswerWithDefaults() *SchemaQuestionAddByAnswer
NewSchemaQuestionAddByAnswerWithDefaults instantiates a new SchemaQuestionAddByAnswer 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
GetAnswerContent
func (o *SchemaQuestionAddByAnswer) GetAnswerContent() string
GetAnswerContent returns the AnswerContent field if non-nil, zero value otherwise.
GetAnswerContentOk
func (o *SchemaQuestionAddByAnswer) GetAnswerContentOk() (*string, bool)
GetAnswerContentOk returns a tuple with the AnswerContent field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAnswerContent
func (o *SchemaQuestionAddByAnswer) SetAnswerContent(v string)
SetAnswerContent sets AnswerContent field to given value.
GetCaptchaCode
func (o *SchemaQuestionAddByAnswer) GetCaptchaCode() string
GetCaptchaCode returns the CaptchaCode field if non-nil, zero value otherwise.
GetCaptchaCodeOk
func (o *SchemaQuestionAddByAnswer) 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 *SchemaQuestionAddByAnswer) SetCaptchaCode(v string)
SetCaptchaCode sets CaptchaCode field to given value.
HasCaptchaCode
func (o *SchemaQuestionAddByAnswer) HasCaptchaCode() bool
HasCaptchaCode returns a boolean if a field has been set.
GetCaptchaId
func (o *SchemaQuestionAddByAnswer) GetCaptchaId() string
GetCaptchaId returns the CaptchaId field if non-nil, zero value otherwise.
GetCaptchaIdOk
func (o *SchemaQuestionAddByAnswer) 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 *SchemaQuestionAddByAnswer) SetCaptchaId(v string)
SetCaptchaId sets CaptchaId field to given value.
HasCaptchaId
func (o *SchemaQuestionAddByAnswer) HasCaptchaId() bool
HasCaptchaId returns a boolean if a field has been set.
GetContent
func (o *SchemaQuestionAddByAnswer) GetContent() string
GetContent returns the Content field if non-nil, zero value otherwise.
GetContentOk
func (o *SchemaQuestionAddByAnswer) 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 *SchemaQuestionAddByAnswer) SetContent(v string)
SetContent sets Content field to given value.
GetMentionUsernameList
func (o *SchemaQuestionAddByAnswer) GetMentionUsernameList() []string
GetMentionUsernameList returns the MentionUsernameList field if non-nil, zero value otherwise.
GetMentionUsernameListOk
func (o *SchemaQuestionAddByAnswer) 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 *SchemaQuestionAddByAnswer) SetMentionUsernameList(v []string)
SetMentionUsernameList sets MentionUsernameList field to given value.
HasMentionUsernameList
func (o *SchemaQuestionAddByAnswer) HasMentionUsernameList() bool
HasMentionUsernameList returns a boolean if a field has been set.
GetTags
func (o *SchemaQuestionAddByAnswer) GetTags() []SchemaTagItem
GetTags returns the Tags field if non-nil, zero value otherwise.
GetTagsOk
func (o *SchemaQuestionAddByAnswer) 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 *SchemaQuestionAddByAnswer) SetTags(v []SchemaTagItem)
SetTags sets Tags field to given value.
GetTitle
func (o *SchemaQuestionAddByAnswer) GetTitle() string
GetTitle returns the Title field if non-nil, zero value otherwise.
GetTitleOk
func (o *SchemaQuestionAddByAnswer) 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 *SchemaQuestionAddByAnswer) SetTitle(v string)
SetTitle sets Title field to given value.