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

15 KiB

SchemaQuestionPageResp

Properties

Name Type Description Notes
AcceptedAnswerId Pointer to string answer information [optional]
AnswerCount Pointer to int32 [optional]
CollectionCount Pointer to int32 [optional]
CreatedAt Pointer to int32 [optional]
Description Pointer to string [optional]
FollowCount Pointer to int32 [optional]
Id Pointer to string [optional]
LastAnswerId Pointer to string [optional]
OperatedAt Pointer to int32 operator information [optional]
OperationType Pointer to string [optional]
Operator Pointer to SchemaQuestionPageRespOperator [optional]
Pin Pointer to int32 1: unpin, 2: pin [optional]
Show Pointer to int32 0: show, 1: hide [optional]
Status Pointer to int32 [optional]
Tags Pointer to []SchemaTagResp [optional]
Title Pointer to string [optional]
UniqueViewCount Pointer to int32 [optional]
UrlTitle Pointer to string [optional]
ViewCount Pointer to int32 question statistical information [optional]
VoteCount Pointer to int32 [optional]

Methods

NewSchemaQuestionPageResp

func NewSchemaQuestionPageResp() *SchemaQuestionPageResp

NewSchemaQuestionPageResp instantiates a new SchemaQuestionPageResp 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

NewSchemaQuestionPageRespWithDefaults

func NewSchemaQuestionPageRespWithDefaults() *SchemaQuestionPageResp

NewSchemaQuestionPageRespWithDefaults instantiates a new SchemaQuestionPageResp 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

GetAcceptedAnswerId

func (o *SchemaQuestionPageResp) GetAcceptedAnswerId() string

GetAcceptedAnswerId returns the AcceptedAnswerId field if non-nil, zero value otherwise.

GetAcceptedAnswerIdOk

func (o *SchemaQuestionPageResp) GetAcceptedAnswerIdOk() (*string, bool)

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

SetAcceptedAnswerId

func (o *SchemaQuestionPageResp) SetAcceptedAnswerId(v string)

SetAcceptedAnswerId sets AcceptedAnswerId field to given value.

HasAcceptedAnswerId

func (o *SchemaQuestionPageResp) HasAcceptedAnswerId() bool

HasAcceptedAnswerId returns a boolean if a field has been set.

GetAnswerCount

func (o *SchemaQuestionPageResp) GetAnswerCount() int32

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

GetAnswerCountOk

func (o *SchemaQuestionPageResp) 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 *SchemaQuestionPageResp) SetAnswerCount(v int32)

SetAnswerCount sets AnswerCount field to given value.

HasAnswerCount

func (o *SchemaQuestionPageResp) HasAnswerCount() bool

HasAnswerCount returns a boolean if a field has been set.

GetCollectionCount

func (o *SchemaQuestionPageResp) GetCollectionCount() int32

GetCollectionCount returns the CollectionCount field if non-nil, zero value otherwise.

GetCollectionCountOk

func (o *SchemaQuestionPageResp) GetCollectionCountOk() (*int32, bool)

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

SetCollectionCount

func (o *SchemaQuestionPageResp) SetCollectionCount(v int32)

SetCollectionCount sets CollectionCount field to given value.

HasCollectionCount

func (o *SchemaQuestionPageResp) HasCollectionCount() bool

HasCollectionCount returns a boolean if a field has been set.

GetCreatedAt

func (o *SchemaQuestionPageResp) GetCreatedAt() int32

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

GetCreatedAtOk

func (o *SchemaQuestionPageResp) 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 *SchemaQuestionPageResp) SetCreatedAt(v int32)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *SchemaQuestionPageResp) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetDescription

func (o *SchemaQuestionPageResp) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *SchemaQuestionPageResp) GetDescriptionOk() (*string, bool)

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

SetDescription

func (o *SchemaQuestionPageResp) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *SchemaQuestionPageResp) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetFollowCount

func (o *SchemaQuestionPageResp) GetFollowCount() int32

GetFollowCount returns the FollowCount field if non-nil, zero value otherwise.

GetFollowCountOk

func (o *SchemaQuestionPageResp) GetFollowCountOk() (*int32, bool)

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

SetFollowCount

func (o *SchemaQuestionPageResp) SetFollowCount(v int32)

SetFollowCount sets FollowCount field to given value.

HasFollowCount

func (o *SchemaQuestionPageResp) HasFollowCount() bool

HasFollowCount returns a boolean if a field has been set.

GetId

func (o *SchemaQuestionPageResp) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *SchemaQuestionPageResp) HasId() bool

HasId returns a boolean if a field has been set.

GetLastAnswerId

func (o *SchemaQuestionPageResp) GetLastAnswerId() string

GetLastAnswerId returns the LastAnswerId field if non-nil, zero value otherwise.

GetLastAnswerIdOk

func (o *SchemaQuestionPageResp) GetLastAnswerIdOk() (*string, bool)

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

SetLastAnswerId

func (o *SchemaQuestionPageResp) SetLastAnswerId(v string)

SetLastAnswerId sets LastAnswerId field to given value.

HasLastAnswerId

func (o *SchemaQuestionPageResp) HasLastAnswerId() bool

HasLastAnswerId returns a boolean if a field has been set.

GetOperatedAt

func (o *SchemaQuestionPageResp) GetOperatedAt() int32

GetOperatedAt returns the OperatedAt field if non-nil, zero value otherwise.

GetOperatedAtOk

func (o *SchemaQuestionPageResp) GetOperatedAtOk() (*int32, bool)

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

SetOperatedAt

func (o *SchemaQuestionPageResp) SetOperatedAt(v int32)

SetOperatedAt sets OperatedAt field to given value.

HasOperatedAt

func (o *SchemaQuestionPageResp) HasOperatedAt() bool

HasOperatedAt returns a boolean if a field has been set.

GetOperationType

func (o *SchemaQuestionPageResp) GetOperationType() string

GetOperationType returns the OperationType field if non-nil, zero value otherwise.

GetOperationTypeOk

func (o *SchemaQuestionPageResp) GetOperationTypeOk() (*string, bool)

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

SetOperationType

func (o *SchemaQuestionPageResp) SetOperationType(v string)

SetOperationType sets OperationType field to given value.

HasOperationType

func (o *SchemaQuestionPageResp) HasOperationType() bool

HasOperationType returns a boolean if a field has been set.

GetOperator

func (o *SchemaQuestionPageResp) GetOperator() SchemaQuestionPageRespOperator

GetOperator returns the Operator field if non-nil, zero value otherwise.

GetOperatorOk

func (o *SchemaQuestionPageResp) GetOperatorOk() (*SchemaQuestionPageRespOperator, bool)

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

SetOperator

func (o *SchemaQuestionPageResp) SetOperator(v SchemaQuestionPageRespOperator)

SetOperator sets Operator field to given value.

HasOperator

func (o *SchemaQuestionPageResp) HasOperator() bool

HasOperator returns a boolean if a field has been set.

GetPin

func (o *SchemaQuestionPageResp) GetPin() int32

GetPin returns the Pin field if non-nil, zero value otherwise.

GetPinOk

func (o *SchemaQuestionPageResp) GetPinOk() (*int32, bool)

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

SetPin

func (o *SchemaQuestionPageResp) SetPin(v int32)

SetPin sets Pin field to given value.

HasPin

func (o *SchemaQuestionPageResp) HasPin() bool

HasPin returns a boolean if a field has been set.

GetShow

func (o *SchemaQuestionPageResp) GetShow() int32

GetShow returns the Show field if non-nil, zero value otherwise.

GetShowOk

func (o *SchemaQuestionPageResp) GetShowOk() (*int32, bool)

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

SetShow

func (o *SchemaQuestionPageResp) SetShow(v int32)

SetShow sets Show field to given value.

HasShow

func (o *SchemaQuestionPageResp) HasShow() bool

HasShow returns a boolean if a field has been set.

GetStatus

func (o *SchemaQuestionPageResp) GetStatus() int32

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

GetStatusOk

func (o *SchemaQuestionPageResp) GetStatusOk() (*int32, 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 *SchemaQuestionPageResp) SetStatus(v int32)

SetStatus sets Status field to given value.

HasStatus

func (o *SchemaQuestionPageResp) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetTags

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

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

GetTagsOk

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

SetTags sets Tags field to given value.

HasTags

func (o *SchemaQuestionPageResp) HasTags() bool

HasTags returns a boolean if a field has been set.

GetTitle

func (o *SchemaQuestionPageResp) GetTitle() string

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

GetTitleOk

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

SetTitle sets Title field to given value.

HasTitle

func (o *SchemaQuestionPageResp) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetUniqueViewCount

func (o *SchemaQuestionPageResp) GetUniqueViewCount() int32

GetUniqueViewCount returns the UniqueViewCount field if non-nil, zero value otherwise.

GetUniqueViewCountOk

func (o *SchemaQuestionPageResp) GetUniqueViewCountOk() (*int32, bool)

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

SetUniqueViewCount

func (o *SchemaQuestionPageResp) SetUniqueViewCount(v int32)

SetUniqueViewCount sets UniqueViewCount field to given value.

HasUniqueViewCount

func (o *SchemaQuestionPageResp) HasUniqueViewCount() bool

HasUniqueViewCount returns a boolean if a field has been set.

GetUrlTitle

func (o *SchemaQuestionPageResp) GetUrlTitle() string

GetUrlTitle returns the UrlTitle field if non-nil, zero value otherwise.

GetUrlTitleOk

func (o *SchemaQuestionPageResp) GetUrlTitleOk() (*string, bool)

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

SetUrlTitle

func (o *SchemaQuestionPageResp) SetUrlTitle(v string)

SetUrlTitle sets UrlTitle field to given value.

HasUrlTitle

func (o *SchemaQuestionPageResp) HasUrlTitle() bool

HasUrlTitle returns a boolean if a field has been set.

GetViewCount

func (o *SchemaQuestionPageResp) GetViewCount() int32

GetViewCount returns the ViewCount field if non-nil, zero value otherwise.

GetViewCountOk

func (o *SchemaQuestionPageResp) GetViewCountOk() (*int32, bool)

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

SetViewCount

func (o *SchemaQuestionPageResp) SetViewCount(v int32)

SetViewCount sets ViewCount field to given value.

HasViewCount

func (o *SchemaQuestionPageResp) HasViewCount() bool

HasViewCount returns a boolean if a field has been set.

GetVoteCount

func (o *SchemaQuestionPageResp) GetVoteCount() int32

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

GetVoteCountOk

func (o *SchemaQuestionPageResp) 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 *SchemaQuestionPageResp) SetVoteCount(v int32)

SetVoteCount sets VoteCount field to given value.

HasVoteCount

func (o *SchemaQuestionPageResp) HasVoteCount() bool

HasVoteCount returns a boolean if a field has been set.

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