Files
openapi-go-answer/docs/SchemaUserLoginResp.md
2023-08-22 10:37:28 +08:00

18 KiB

SchemaUserLoginResp

Properties

Name Type Description Notes
AccessToken Pointer to string access token [optional]
AnswerCount Pointer to int32 answer count [optional]
AuthorityGroup Pointer to int32 authority group [optional]
Avatar Pointer to string avatar [optional]
Bio Pointer to string bio markdown [optional]
BioHtml Pointer to string bio html [optional]
CreatedAt Pointer to int32 create time [optional]
DisplayName Pointer to string display name [optional]
EMail Pointer to string email [optional]
FollowCount Pointer to int32 follow count [optional]
HavePassword Pointer to bool user have password [optional]
Id Pointer to string user id [optional]
IpInfo Pointer to string ip info [optional]
Language Pointer to string language [optional]
LastLoginDate Pointer to int32 last login date [optional]
Location Pointer to string location [optional]
MailStatus Pointer to int32 mail status(1 pass 2 to be verified) [optional]
Mobile Pointer to string mobile [optional]
NoticeStatus Pointer to int32 notice status(1 on 2off) [optional]
QuestionCount Pointer to int32 question count [optional]
Rank Pointer to int32 rank [optional]
RoleId Pointer to int32 role id [optional]
Status Pointer to string user status [optional]
Username Pointer to string username [optional]
Website Pointer to string website [optional]

Methods

NewSchemaUserLoginResp

func NewSchemaUserLoginResp() *SchemaUserLoginResp

NewSchemaUserLoginResp instantiates a new SchemaUserLoginResp 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

NewSchemaUserLoginRespWithDefaults

func NewSchemaUserLoginRespWithDefaults() *SchemaUserLoginResp

NewSchemaUserLoginRespWithDefaults instantiates a new SchemaUserLoginResp 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

GetAccessToken

func (o *SchemaUserLoginResp) GetAccessToken() string

GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.

GetAccessTokenOk

func (o *SchemaUserLoginResp) GetAccessTokenOk() (*string, bool)

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

SetAccessToken

func (o *SchemaUserLoginResp) SetAccessToken(v string)

SetAccessToken sets AccessToken field to given value.

HasAccessToken

func (o *SchemaUserLoginResp) HasAccessToken() bool

HasAccessToken returns a boolean if a field has been set.

GetAnswerCount

func (o *SchemaUserLoginResp) GetAnswerCount() int32

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

GetAnswerCountOk

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

SetAnswerCount sets AnswerCount field to given value.

HasAnswerCount

func (o *SchemaUserLoginResp) HasAnswerCount() bool

HasAnswerCount returns a boolean if a field has been set.

GetAuthorityGroup

func (o *SchemaUserLoginResp) GetAuthorityGroup() int32

GetAuthorityGroup returns the AuthorityGroup field if non-nil, zero value otherwise.

GetAuthorityGroupOk

func (o *SchemaUserLoginResp) GetAuthorityGroupOk() (*int32, bool)

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

SetAuthorityGroup

func (o *SchemaUserLoginResp) SetAuthorityGroup(v int32)

SetAuthorityGroup sets AuthorityGroup field to given value.

HasAuthorityGroup

func (o *SchemaUserLoginResp) HasAuthorityGroup() bool

HasAuthorityGroup returns a boolean if a field has been set.

GetAvatar

func (o *SchemaUserLoginResp) GetAvatar() string

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

GetAvatarOk

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

SetAvatar sets Avatar field to given value.

HasAvatar

func (o *SchemaUserLoginResp) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

GetBio

func (o *SchemaUserLoginResp) GetBio() string

GetBio returns the Bio field if non-nil, zero value otherwise.

GetBioOk

func (o *SchemaUserLoginResp) GetBioOk() (*string, bool)

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

SetBio

func (o *SchemaUserLoginResp) SetBio(v string)

SetBio sets Bio field to given value.

HasBio

func (o *SchemaUserLoginResp) HasBio() bool

HasBio returns a boolean if a field has been set.

GetBioHtml

func (o *SchemaUserLoginResp) GetBioHtml() string

GetBioHtml returns the BioHtml field if non-nil, zero value otherwise.

GetBioHtmlOk

func (o *SchemaUserLoginResp) GetBioHtmlOk() (*string, bool)

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

SetBioHtml

func (o *SchemaUserLoginResp) SetBioHtml(v string)

SetBioHtml sets BioHtml field to given value.

HasBioHtml

func (o *SchemaUserLoginResp) HasBioHtml() bool

HasBioHtml returns a boolean if a field has been set.

GetCreatedAt

func (o *SchemaUserLoginResp) GetCreatedAt() int32

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

GetCreatedAtOk

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

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *SchemaUserLoginResp) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetDisplayName

func (o *SchemaUserLoginResp) GetDisplayName() string

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

GetDisplayNameOk

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

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *SchemaUserLoginResp) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

GetEMail

func (o *SchemaUserLoginResp) GetEMail() string

GetEMail returns the EMail field if non-nil, zero value otherwise.

GetEMailOk

func (o *SchemaUserLoginResp) GetEMailOk() (*string, bool)

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

SetEMail

func (o *SchemaUserLoginResp) SetEMail(v string)

SetEMail sets EMail field to given value.

HasEMail

func (o *SchemaUserLoginResp) HasEMail() bool

HasEMail returns a boolean if a field has been set.

GetFollowCount

func (o *SchemaUserLoginResp) GetFollowCount() int32

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

GetFollowCountOk

func (o *SchemaUserLoginResp) 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 *SchemaUserLoginResp) SetFollowCount(v int32)

SetFollowCount sets FollowCount field to given value.

HasFollowCount

func (o *SchemaUserLoginResp) HasFollowCount() bool

HasFollowCount returns a boolean if a field has been set.

GetHavePassword

func (o *SchemaUserLoginResp) GetHavePassword() bool

GetHavePassword returns the HavePassword field if non-nil, zero value otherwise.

GetHavePasswordOk

func (o *SchemaUserLoginResp) GetHavePasswordOk() (*bool, bool)

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

SetHavePassword

func (o *SchemaUserLoginResp) SetHavePassword(v bool)

SetHavePassword sets HavePassword field to given value.

HasHavePassword

func (o *SchemaUserLoginResp) HasHavePassword() bool

HasHavePassword returns a boolean if a field has been set.

GetId

func (o *SchemaUserLoginResp) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *SchemaUserLoginResp) HasId() bool

HasId returns a boolean if a field has been set.

GetIpInfo

func (o *SchemaUserLoginResp) GetIpInfo() string

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

GetIpInfoOk

func (o *SchemaUserLoginResp) 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 *SchemaUserLoginResp) SetIpInfo(v string)

SetIpInfo sets IpInfo field to given value.

HasIpInfo

func (o *SchemaUserLoginResp) HasIpInfo() bool

HasIpInfo returns a boolean if a field has been set.

GetLanguage

func (o *SchemaUserLoginResp) GetLanguage() string

GetLanguage returns the Language field if non-nil, zero value otherwise.

GetLanguageOk

func (o *SchemaUserLoginResp) GetLanguageOk() (*string, bool)

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

SetLanguage

func (o *SchemaUserLoginResp) SetLanguage(v string)

SetLanguage sets Language field to given value.

HasLanguage

func (o *SchemaUserLoginResp) HasLanguage() bool

HasLanguage returns a boolean if a field has been set.

GetLastLoginDate

func (o *SchemaUserLoginResp) GetLastLoginDate() int32

GetLastLoginDate returns the LastLoginDate field if non-nil, zero value otherwise.

GetLastLoginDateOk

func (o *SchemaUserLoginResp) GetLastLoginDateOk() (*int32, bool)

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

SetLastLoginDate

func (o *SchemaUserLoginResp) SetLastLoginDate(v int32)

SetLastLoginDate sets LastLoginDate field to given value.

HasLastLoginDate

func (o *SchemaUserLoginResp) HasLastLoginDate() bool

HasLastLoginDate returns a boolean if a field has been set.

GetLocation

func (o *SchemaUserLoginResp) GetLocation() string

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

GetLocationOk

func (o *SchemaUserLoginResp) 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 *SchemaUserLoginResp) SetLocation(v string)

SetLocation sets Location field to given value.

HasLocation

func (o *SchemaUserLoginResp) HasLocation() bool

HasLocation returns a boolean if a field has been set.

GetMailStatus

func (o *SchemaUserLoginResp) GetMailStatus() int32

GetMailStatus returns the MailStatus field if non-nil, zero value otherwise.

GetMailStatusOk

func (o *SchemaUserLoginResp) GetMailStatusOk() (*int32, bool)

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

SetMailStatus

func (o *SchemaUserLoginResp) SetMailStatus(v int32)

SetMailStatus sets MailStatus field to given value.

HasMailStatus

func (o *SchemaUserLoginResp) HasMailStatus() bool

HasMailStatus returns a boolean if a field has been set.

GetMobile

func (o *SchemaUserLoginResp) GetMobile() string

GetMobile returns the Mobile field if non-nil, zero value otherwise.

GetMobileOk

func (o *SchemaUserLoginResp) GetMobileOk() (*string, bool)

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

SetMobile

func (o *SchemaUserLoginResp) SetMobile(v string)

SetMobile sets Mobile field to given value.

HasMobile

func (o *SchemaUserLoginResp) HasMobile() bool

HasMobile returns a boolean if a field has been set.

GetNoticeStatus

func (o *SchemaUserLoginResp) GetNoticeStatus() int32

GetNoticeStatus returns the NoticeStatus field if non-nil, zero value otherwise.

GetNoticeStatusOk

func (o *SchemaUserLoginResp) GetNoticeStatusOk() (*int32, bool)

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

SetNoticeStatus

func (o *SchemaUserLoginResp) SetNoticeStatus(v int32)

SetNoticeStatus sets NoticeStatus field to given value.

HasNoticeStatus

func (o *SchemaUserLoginResp) HasNoticeStatus() bool

HasNoticeStatus returns a boolean if a field has been set.

GetQuestionCount

func (o *SchemaUserLoginResp) GetQuestionCount() int32

GetQuestionCount returns the QuestionCount field if non-nil, zero value otherwise.

GetQuestionCountOk

func (o *SchemaUserLoginResp) GetQuestionCountOk() (*int32, bool)

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

SetQuestionCount

func (o *SchemaUserLoginResp) SetQuestionCount(v int32)

SetQuestionCount sets QuestionCount field to given value.

HasQuestionCount

func (o *SchemaUserLoginResp) HasQuestionCount() bool

HasQuestionCount returns a boolean if a field has been set.

GetRank

func (o *SchemaUserLoginResp) GetRank() int32

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

GetRankOk

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

SetRank sets Rank field to given value.

HasRank

func (o *SchemaUserLoginResp) HasRank() bool

HasRank returns a boolean if a field has been set.

GetRoleId

func (o *SchemaUserLoginResp) GetRoleId() int32

GetRoleId returns the RoleId field if non-nil, zero value otherwise.

GetRoleIdOk

func (o *SchemaUserLoginResp) GetRoleIdOk() (*int32, bool)

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

SetRoleId

func (o *SchemaUserLoginResp) SetRoleId(v int32)

SetRoleId sets RoleId field to given value.

HasRoleId

func (o *SchemaUserLoginResp) HasRoleId() bool

HasRoleId returns a boolean if a field has been set.

GetStatus

func (o *SchemaUserLoginResp) GetStatus() string

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

GetStatusOk

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

SetStatus sets Status field to given value.

HasStatus

func (o *SchemaUserLoginResp) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetUsername

func (o *SchemaUserLoginResp) GetUsername() string

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

GetUsernameOk

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

SetUsername sets Username field to given value.

HasUsername

func (o *SchemaUserLoginResp) HasUsername() bool

HasUsername returns a boolean if a field has been set.

GetWebsite

func (o *SchemaUserLoginResp) GetWebsite() string

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

GetWebsiteOk

func (o *SchemaUserLoginResp) 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 *SchemaUserLoginResp) SetWebsite(v string)

SetWebsite sets Website field to given value.

HasWebsite

func (o *SchemaUserLoginResp) HasWebsite() bool

HasWebsite returns a boolean if a field has been set.

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