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

4.5 KiB

SchemaUserRankingSimpleInfo

Properties

Name Type Description Notes
Avatar Pointer to string avatar [optional]
DisplayName Pointer to string display name [optional]
Rank Pointer to int32 rank [optional]
Username Pointer to string username [optional]
VoteCount Pointer to int32 vote [optional]

Methods

NewSchemaUserRankingSimpleInfo

func NewSchemaUserRankingSimpleInfo() *SchemaUserRankingSimpleInfo

NewSchemaUserRankingSimpleInfo instantiates a new SchemaUserRankingSimpleInfo 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

NewSchemaUserRankingSimpleInfoWithDefaults

func NewSchemaUserRankingSimpleInfoWithDefaults() *SchemaUserRankingSimpleInfo

NewSchemaUserRankingSimpleInfoWithDefaults instantiates a new SchemaUserRankingSimpleInfo 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

GetAvatar

func (o *SchemaUserRankingSimpleInfo) GetAvatar() string

GetAvatar returns the Avatar field if non-nil, zero value otherwise.

GetAvatarOk

func (o *SchemaUserRankingSimpleInfo) GetAvatarOk() (*string, bool)

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

SetAvatar

func (o *SchemaUserRankingSimpleInfo) SetAvatar(v string)

SetAvatar sets Avatar field to given value.

HasAvatar

func (o *SchemaUserRankingSimpleInfo) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

GetDisplayName

func (o *SchemaUserRankingSimpleInfo) GetDisplayName() string

GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.

GetDisplayNameOk

func (o *SchemaUserRankingSimpleInfo) GetDisplayNameOk() (*string, bool)

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

SetDisplayName

func (o *SchemaUserRankingSimpleInfo) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *SchemaUserRankingSimpleInfo) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

GetRank

func (o *SchemaUserRankingSimpleInfo) GetRank() int32

GetRank returns the Rank field if non-nil, zero value otherwise.

GetRankOk

func (o *SchemaUserRankingSimpleInfo) GetRankOk() (*int32, bool)

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

SetRank

func (o *SchemaUserRankingSimpleInfo) SetRank(v int32)

SetRank sets Rank field to given value.

HasRank

func (o *SchemaUserRankingSimpleInfo) HasRank() bool

HasRank returns a boolean if a field has been set.

GetUsername

func (o *SchemaUserRankingSimpleInfo) GetUsername() string

GetUsername returns the Username field if non-nil, zero value otherwise.

GetUsernameOk

func (o *SchemaUserRankingSimpleInfo) GetUsernameOk() (*string, bool)

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

SetUsername

func (o *SchemaUserRankingSimpleInfo) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *SchemaUserRankingSimpleInfo) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetVoteCount

func (o *SchemaUserRankingSimpleInfo) GetVoteCount() int32

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

GetVoteCountOk

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

SetVoteCount sets VoteCount field to given value.

HasVoteCount

func (o *SchemaUserRankingSimpleInfo) HasVoteCount() bool

HasVoteCount returns a boolean if a field has been set.

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