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

3.8 KiB

SchemaQuestionUpdate

Properties

Name Type Description Notes
Content string content
EditSummary Pointer to string edit summary [optional]
Id string question id
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

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.

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.

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