Files
openapi-go-answer/docs/SchemaQuestionAddByAnswer.md
2023-08-18 10:03:31 +08:00

3.3 KiB

SchemaQuestionAddByAnswer

Properties

Name Type Description Notes
AnswerContent string
Content string content
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.

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.

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.

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