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

3.9 KiB

SchemaQuestionAdd

Properties

Name Type Description Notes
CaptchaCode Pointer to string [optional]
CaptchaId Pointer to string captcha_id [optional]
Content string content
Tags []SchemaTagItem tags
Title string question title

Methods

NewSchemaQuestionAdd

func NewSchemaQuestionAdd(content string, tags []SchemaTagItem, title string, ) *SchemaQuestionAdd

NewSchemaQuestionAdd instantiates a new SchemaQuestionAdd 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

NewSchemaQuestionAddWithDefaults

func NewSchemaQuestionAddWithDefaults() *SchemaQuestionAdd

NewSchemaQuestionAddWithDefaults instantiates a new SchemaQuestionAdd 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 *SchemaQuestionAdd) GetCaptchaCode() string

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

GetCaptchaCodeOk

func (o *SchemaQuestionAdd) 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 *SchemaQuestionAdd) SetCaptchaCode(v string)

SetCaptchaCode sets CaptchaCode field to given value.

HasCaptchaCode

func (o *SchemaQuestionAdd) HasCaptchaCode() bool

HasCaptchaCode returns a boolean if a field has been set.

GetCaptchaId

func (o *SchemaQuestionAdd) GetCaptchaId() string

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

GetCaptchaIdOk

func (o *SchemaQuestionAdd) 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 *SchemaQuestionAdd) SetCaptchaId(v string)

SetCaptchaId sets CaptchaId field to given value.

HasCaptchaId

func (o *SchemaQuestionAdd) HasCaptchaId() bool

HasCaptchaId returns a boolean if a field has been set.

GetContent

func (o *SchemaQuestionAdd) GetContent() string

GetContent returns the Content field if non-nil, zero value otherwise.

GetContentOk

func (o *SchemaQuestionAdd) 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 *SchemaQuestionAdd) SetContent(v string)

SetContent sets Content field to given value.

GetTags

func (o *SchemaQuestionAdd) GetTags() []SchemaTagItem

GetTags returns the Tags field if non-nil, zero value otherwise.

GetTagsOk

func (o *SchemaQuestionAdd) 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 *SchemaQuestionAdd) SetTags(v []SchemaTagItem)

SetTags sets Tags field to given value.

GetTitle

func (o *SchemaQuestionAdd) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *SchemaQuestionAdd) 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 *SchemaQuestionAdd) SetTitle(v string)

SetTitle sets Title field to given value.

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