Files
openapi-go-answer/docs/SchemaSearchObject.md
2023-09-26 16:20:01 +08:00

8.2 KiB

SchemaSearchObject

Properties

Name Type Description Notes
Accepted Pointer to bool [optional]
AnswerCount Pointer to int32 [optional]
CreatedAt Pointer to int32 [optional]
Excerpt Pointer to string [optional]
Id Pointer to string [optional]
QuestionId Pointer to string [optional]
Status Pointer to string Status [optional]
Tags Pointer to []SchemaTagResp tags [optional]
Title Pointer to string [optional]
UserInfo Pointer to SchemaSearchObjectUser [optional]
VoteCount Pointer to int32 [optional]

Methods

NewSchemaSearchObject

func NewSchemaSearchObject() *SchemaSearchObject

NewSchemaSearchObject instantiates a new SchemaSearchObject 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

NewSchemaSearchObjectWithDefaults

func NewSchemaSearchObjectWithDefaults() *SchemaSearchObject

NewSchemaSearchObjectWithDefaults instantiates a new SchemaSearchObject 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

GetAccepted

func (o *SchemaSearchObject) GetAccepted() bool

GetAccepted returns the Accepted field if non-nil, zero value otherwise.

GetAcceptedOk

func (o *SchemaSearchObject) GetAcceptedOk() (*bool, bool)

GetAcceptedOk returns a tuple with the Accepted field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccepted

func (o *SchemaSearchObject) SetAccepted(v bool)

SetAccepted sets Accepted field to given value.

HasAccepted

func (o *SchemaSearchObject) HasAccepted() bool

HasAccepted returns a boolean if a field has been set.

GetAnswerCount

func (o *SchemaSearchObject) GetAnswerCount() int32

GetAnswerCount returns the AnswerCount field if non-nil, zero value otherwise.

GetAnswerCountOk

func (o *SchemaSearchObject) GetAnswerCountOk() (*int32, bool)

GetAnswerCountOk returns a tuple with the AnswerCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAnswerCount

func (o *SchemaSearchObject) SetAnswerCount(v int32)

SetAnswerCount sets AnswerCount field to given value.

HasAnswerCount

func (o *SchemaSearchObject) HasAnswerCount() bool

HasAnswerCount returns a boolean if a field has been set.

GetCreatedAt

func (o *SchemaSearchObject) GetCreatedAt() int32

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *SchemaSearchObject) GetCreatedAtOk() (*int32, bool)

GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreatedAt

func (o *SchemaSearchObject) SetCreatedAt(v int32)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *SchemaSearchObject) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetExcerpt

func (o *SchemaSearchObject) GetExcerpt() string

GetExcerpt returns the Excerpt field if non-nil, zero value otherwise.

GetExcerptOk

func (o *SchemaSearchObject) GetExcerptOk() (*string, bool)

GetExcerptOk returns a tuple with the Excerpt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExcerpt

func (o *SchemaSearchObject) SetExcerpt(v string)

SetExcerpt sets Excerpt field to given value.

HasExcerpt

func (o *SchemaSearchObject) HasExcerpt() bool

HasExcerpt returns a boolean if a field has been set.

GetId

func (o *SchemaSearchObject) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *SchemaSearchObject) 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 *SchemaSearchObject) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *SchemaSearchObject) HasId() bool

HasId returns a boolean if a field has been set.

GetQuestionId

func (o *SchemaSearchObject) GetQuestionId() string

GetQuestionId returns the QuestionId field if non-nil, zero value otherwise.

GetQuestionIdOk

func (o *SchemaSearchObject) GetQuestionIdOk() (*string, bool)

GetQuestionIdOk returns a tuple with the QuestionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetQuestionId

func (o *SchemaSearchObject) SetQuestionId(v string)

SetQuestionId sets QuestionId field to given value.

HasQuestionId

func (o *SchemaSearchObject) HasQuestionId() bool

HasQuestionId returns a boolean if a field has been set.

GetStatus

func (o *SchemaSearchObject) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *SchemaSearchObject) GetStatusOk() (*string, bool)

GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStatus

func (o *SchemaSearchObject) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *SchemaSearchObject) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetTags

func (o *SchemaSearchObject) GetTags() []SchemaTagResp

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

GetTagsOk

func (o *SchemaSearchObject) GetTagsOk() (*[]SchemaTagResp, 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 *SchemaSearchObject) SetTags(v []SchemaTagResp)

SetTags sets Tags field to given value.

HasTags

func (o *SchemaSearchObject) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTitle

func (o *SchemaSearchObject) GetTitle() string

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

GetTitleOk

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

SetTitle sets Title field to given value.

HasTitle

func (o *SchemaSearchObject) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetUserInfo

func (o *SchemaSearchObject) GetUserInfo() SchemaSearchObjectUser

GetUserInfo returns the UserInfo field if non-nil, zero value otherwise.

GetUserInfoOk

func (o *SchemaSearchObject) GetUserInfoOk() (*SchemaSearchObjectUser, bool)

GetUserInfoOk returns a tuple with the UserInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUserInfo

func (o *SchemaSearchObject) SetUserInfo(v SchemaSearchObjectUser)

SetUserInfo sets UserInfo field to given value.

HasUserInfo

func (o *SchemaSearchObject) HasUserInfo() bool

HasUserInfo returns a boolean if a field has been set.

GetVoteCount

func (o *SchemaSearchObject) GetVoteCount() int32

GetVoteCount returns the VoteCount field if non-nil, zero value otherwise.

GetVoteCountOk

func (o *SchemaSearchObject) GetVoteCountOk() (*int32, bool)

GetVoteCountOk returns a tuple with the VoteCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVoteCount

func (o *SchemaSearchObject) SetVoteCount(v int32)

SetVoteCount sets VoteCount field to given value.

HasVoteCount

func (o *SchemaSearchObject) HasVoteCount() bool

HasVoteCount returns a boolean if a field has been set.

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