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

3.8 KiB

SchemaUserRankingResp

Properties

Name Type Description Notes
Staffs Pointer to []SchemaUserRankingSimpleInfo [optional]
UsersWithTheMostReputation Pointer to []SchemaUserRankingSimpleInfo [optional]
UsersWithTheMostVote Pointer to []SchemaUserRankingSimpleInfo [optional]

Methods

NewSchemaUserRankingResp

func NewSchemaUserRankingResp() *SchemaUserRankingResp

NewSchemaUserRankingResp instantiates a new SchemaUserRankingResp 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

NewSchemaUserRankingRespWithDefaults

func NewSchemaUserRankingRespWithDefaults() *SchemaUserRankingResp

NewSchemaUserRankingRespWithDefaults instantiates a new SchemaUserRankingResp 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

GetStaffs

func (o *SchemaUserRankingResp) GetStaffs() []SchemaUserRankingSimpleInfo

GetStaffs returns the Staffs field if non-nil, zero value otherwise.

GetStaffsOk

func (o *SchemaUserRankingResp) GetStaffsOk() (*[]SchemaUserRankingSimpleInfo, bool)

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

SetStaffs

func (o *SchemaUserRankingResp) SetStaffs(v []SchemaUserRankingSimpleInfo)

SetStaffs sets Staffs field to given value.

HasStaffs

func (o *SchemaUserRankingResp) HasStaffs() bool

HasStaffs returns a boolean if a field has been set.

GetUsersWithTheMostReputation

func (o *SchemaUserRankingResp) GetUsersWithTheMostReputation() []SchemaUserRankingSimpleInfo

GetUsersWithTheMostReputation returns the UsersWithTheMostReputation field if non-nil, zero value otherwise.

GetUsersWithTheMostReputationOk

func (o *SchemaUserRankingResp) GetUsersWithTheMostReputationOk() (*[]SchemaUserRankingSimpleInfo, bool)

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

SetUsersWithTheMostReputation

func (o *SchemaUserRankingResp) SetUsersWithTheMostReputation(v []SchemaUserRankingSimpleInfo)

SetUsersWithTheMostReputation sets UsersWithTheMostReputation field to given value.

HasUsersWithTheMostReputation

func (o *SchemaUserRankingResp) HasUsersWithTheMostReputation() bool

HasUsersWithTheMostReputation returns a boolean if a field has been set.

GetUsersWithTheMostVote

func (o *SchemaUserRankingResp) GetUsersWithTheMostVote() []SchemaUserRankingSimpleInfo

GetUsersWithTheMostVote returns the UsersWithTheMostVote field if non-nil, zero value otherwise.

GetUsersWithTheMostVoteOk

func (o *SchemaUserRankingResp) GetUsersWithTheMostVoteOk() (*[]SchemaUserRankingSimpleInfo, bool)

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

SetUsersWithTheMostVote

func (o *SchemaUserRankingResp) SetUsersWithTheMostVote(v []SchemaUserRankingSimpleInfo)

SetUsersWithTheMostVote sets UsersWithTheMostVote field to given value.

HasUsersWithTheMostVote

func (o *SchemaUserRankingResp) HasUsersWithTheMostVote() bool

HasUsersWithTheMostVote returns a boolean if a field has been set.

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