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

6.7 KiB

SchemaUserBasicInfo

Properties

Name Type Description Notes
Avatar Pointer to string [optional]
DisplayName Pointer to string [optional]
Id Pointer to string [optional]
IpInfo Pointer to string [optional]
Location Pointer to string [optional]
Rank Pointer to int32 [optional]
Status Pointer to string [optional]
Username Pointer to string [optional]
Website Pointer to string [optional]

Methods

NewSchemaUserBasicInfo

func NewSchemaUserBasicInfo() *SchemaUserBasicInfo

NewSchemaUserBasicInfo instantiates a new SchemaUserBasicInfo 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

NewSchemaUserBasicInfoWithDefaults

func NewSchemaUserBasicInfoWithDefaults() *SchemaUserBasicInfo

NewSchemaUserBasicInfoWithDefaults instantiates a new SchemaUserBasicInfo 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 *SchemaUserBasicInfo) GetAvatar() string

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

GetAvatarOk

func (o *SchemaUserBasicInfo) 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 *SchemaUserBasicInfo) SetAvatar(v string)

SetAvatar sets Avatar field to given value.

HasAvatar

func (o *SchemaUserBasicInfo) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

GetDisplayName

func (o *SchemaUserBasicInfo) GetDisplayName() string

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

GetDisplayNameOk

func (o *SchemaUserBasicInfo) 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 *SchemaUserBasicInfo) SetDisplayName(v string)

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *SchemaUserBasicInfo) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

GetId

func (o *SchemaUserBasicInfo) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *SchemaUserBasicInfo) HasId() bool

HasId returns a boolean if a field has been set.

GetIpInfo

func (o *SchemaUserBasicInfo) GetIpInfo() string

GetIpInfo returns the IpInfo field if non-nil, zero value otherwise.

GetIpInfoOk

func (o *SchemaUserBasicInfo) GetIpInfoOk() (*string, bool)

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

SetIpInfo

func (o *SchemaUserBasicInfo) SetIpInfo(v string)

SetIpInfo sets IpInfo field to given value.

HasIpInfo

func (o *SchemaUserBasicInfo) HasIpInfo() bool

HasIpInfo returns a boolean if a field has been set.

GetLocation

func (o *SchemaUserBasicInfo) GetLocation() string

GetLocation returns the Location field if non-nil, zero value otherwise.

GetLocationOk

func (o *SchemaUserBasicInfo) GetLocationOk() (*string, bool)

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

SetLocation

func (o *SchemaUserBasicInfo) SetLocation(v string)

SetLocation sets Location field to given value.

HasLocation

func (o *SchemaUserBasicInfo) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetRank

func (o *SchemaUserBasicInfo) GetRank() int32

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

GetRankOk

func (o *SchemaUserBasicInfo) 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 *SchemaUserBasicInfo) SetRank(v int32)

SetRank sets Rank field to given value.

HasRank

func (o *SchemaUserBasicInfo) HasRank() bool

HasRank returns a boolean if a field has been set.

GetStatus

func (o *SchemaUserBasicInfo) GetStatus() string

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

GetStatusOk

func (o *SchemaUserBasicInfo) 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 *SchemaUserBasicInfo) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *SchemaUserBasicInfo) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetUsername

func (o *SchemaUserBasicInfo) GetUsername() string

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

GetUsernameOk

func (o *SchemaUserBasicInfo) 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 *SchemaUserBasicInfo) SetUsername(v string)

SetUsername sets Username field to given value.

HasUsername

func (o *SchemaUserBasicInfo) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetWebsite

func (o *SchemaUserBasicInfo) GetWebsite() string

GetWebsite returns the Website field if non-nil, zero value otherwise.

GetWebsiteOk

func (o *SchemaUserBasicInfo) GetWebsiteOk() (*string, bool)

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

SetWebsite

func (o *SchemaUserBasicInfo) SetWebsite(v string)

SetWebsite sets Website field to given value.

HasWebsite

func (o *SchemaUserBasicInfo) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

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