19 KiB
SchemaGetCurrentLoginUserInfoResp
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 SchemaAvatarInfo | [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] |
| Pointer to string | [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
NewSchemaGetCurrentLoginUserInfoResp
func NewSchemaGetCurrentLoginUserInfoResp() *SchemaGetCurrentLoginUserInfoResp
NewSchemaGetCurrentLoginUserInfoResp instantiates a new SchemaGetCurrentLoginUserInfoResp 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
NewSchemaGetCurrentLoginUserInfoRespWithDefaults
func NewSchemaGetCurrentLoginUserInfoRespWithDefaults() *SchemaGetCurrentLoginUserInfoResp
NewSchemaGetCurrentLoginUserInfoRespWithDefaults instantiates a new SchemaGetCurrentLoginUserInfoResp 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 *SchemaGetCurrentLoginUserInfoResp) GetAccessToken() string
GetAccessToken returns the AccessToken field if non-nil, zero value otherwise.
GetAccessTokenOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetAccessToken(v string)
SetAccessToken sets AccessToken field to given value.
HasAccessToken
func (o *SchemaGetCurrentLoginUserInfoResp) HasAccessToken() bool
HasAccessToken returns a boolean if a field has been set.
GetAnswerCount
func (o *SchemaGetCurrentLoginUserInfoResp) GetAnswerCount() int32
GetAnswerCount returns the AnswerCount field if non-nil, zero value otherwise.
GetAnswerCountOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetAnswerCount(v int32)
SetAnswerCount sets AnswerCount field to given value.
HasAnswerCount
func (o *SchemaGetCurrentLoginUserInfoResp) HasAnswerCount() bool
HasAnswerCount returns a boolean if a field has been set.
GetAuthorityGroup
func (o *SchemaGetCurrentLoginUserInfoResp) GetAuthorityGroup() int32
GetAuthorityGroup returns the AuthorityGroup field if non-nil, zero value otherwise.
GetAuthorityGroupOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetAuthorityGroup(v int32)
SetAuthorityGroup sets AuthorityGroup field to given value.
HasAuthorityGroup
func (o *SchemaGetCurrentLoginUserInfoResp) HasAuthorityGroup() bool
HasAuthorityGroup returns a boolean if a field has been set.
GetAvatar
func (o *SchemaGetCurrentLoginUserInfoResp) GetAvatar() SchemaAvatarInfo
GetAvatar returns the Avatar field if non-nil, zero value otherwise.
GetAvatarOk
func (o *SchemaGetCurrentLoginUserInfoResp) GetAvatarOk() (*SchemaAvatarInfo, 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 *SchemaGetCurrentLoginUserInfoResp) SetAvatar(v SchemaAvatarInfo)
SetAvatar sets Avatar field to given value.
HasAvatar
func (o *SchemaGetCurrentLoginUserInfoResp) HasAvatar() bool
HasAvatar returns a boolean if a field has been set.
GetBio
func (o *SchemaGetCurrentLoginUserInfoResp) GetBio() string
GetBio returns the Bio field if non-nil, zero value otherwise.
GetBioOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetBio(v string)
SetBio sets Bio field to given value.
HasBio
func (o *SchemaGetCurrentLoginUserInfoResp) HasBio() bool
HasBio returns a boolean if a field has been set.
GetBioHtml
func (o *SchemaGetCurrentLoginUserInfoResp) GetBioHtml() string
GetBioHtml returns the BioHtml field if non-nil, zero value otherwise.
GetBioHtmlOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetBioHtml(v string)
SetBioHtml sets BioHtml field to given value.
HasBioHtml
func (o *SchemaGetCurrentLoginUserInfoResp) HasBioHtml() bool
HasBioHtml returns a boolean if a field has been set.
GetCreatedAt
func (o *SchemaGetCurrentLoginUserInfoResp) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
GetCreatedAtOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetCreatedAt(v int32)
SetCreatedAt sets CreatedAt field to given value.
HasCreatedAt
func (o *SchemaGetCurrentLoginUserInfoResp) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
GetDisplayName
func (o *SchemaGetCurrentLoginUserInfoResp) GetDisplayName() string
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
GetDisplayNameOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetDisplayName(v string)
SetDisplayName sets DisplayName field to given value.
HasDisplayName
func (o *SchemaGetCurrentLoginUserInfoResp) HasDisplayName() bool
HasDisplayName returns a boolean if a field has been set.
GetEMail
func (o *SchemaGetCurrentLoginUserInfoResp) GetEMail() string
GetEMail returns the EMail field if non-nil, zero value otherwise.
GetEMailOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetEMail(v string)
SetEMail sets EMail field to given value.
HasEMail
func (o *SchemaGetCurrentLoginUserInfoResp) HasEMail() bool
HasEMail returns a boolean if a field has been set.
GetFollowCount
func (o *SchemaGetCurrentLoginUserInfoResp) GetFollowCount() int32
GetFollowCount returns the FollowCount field if non-nil, zero value otherwise.
GetFollowCountOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetFollowCount(v int32)
SetFollowCount sets FollowCount field to given value.
HasFollowCount
func (o *SchemaGetCurrentLoginUserInfoResp) HasFollowCount() bool
HasFollowCount returns a boolean if a field has been set.
GetHavePassword
func (o *SchemaGetCurrentLoginUserInfoResp) GetHavePassword() bool
GetHavePassword returns the HavePassword field if non-nil, zero value otherwise.
GetHavePasswordOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetHavePassword(v bool)
SetHavePassword sets HavePassword field to given value.
HasHavePassword
func (o *SchemaGetCurrentLoginUserInfoResp) HasHavePassword() bool
HasHavePassword returns a boolean if a field has been set.
GetId
func (o *SchemaGetCurrentLoginUserInfoResp) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *SchemaGetCurrentLoginUserInfoResp) HasId() bool
HasId returns a boolean if a field has been set.
GetIpInfo
func (o *SchemaGetCurrentLoginUserInfoResp) GetIpInfo() string
GetIpInfo returns the IpInfo field if non-nil, zero value otherwise.
GetIpInfoOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetIpInfo(v string)
SetIpInfo sets IpInfo field to given value.
HasIpInfo
func (o *SchemaGetCurrentLoginUserInfoResp) HasIpInfo() bool
HasIpInfo returns a boolean if a field has been set.
GetLanguage
func (o *SchemaGetCurrentLoginUserInfoResp) GetLanguage() string
GetLanguage returns the Language field if non-nil, zero value otherwise.
GetLanguageOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetLanguage(v string)
SetLanguage sets Language field to given value.
HasLanguage
func (o *SchemaGetCurrentLoginUserInfoResp) HasLanguage() bool
HasLanguage returns a boolean if a field has been set.
GetLastLoginDate
func (o *SchemaGetCurrentLoginUserInfoResp) GetLastLoginDate() int32
GetLastLoginDate returns the LastLoginDate field if non-nil, zero value otherwise.
GetLastLoginDateOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetLastLoginDate(v int32)
SetLastLoginDate sets LastLoginDate field to given value.
HasLastLoginDate
func (o *SchemaGetCurrentLoginUserInfoResp) HasLastLoginDate() bool
HasLastLoginDate returns a boolean if a field has been set.
GetLocation
func (o *SchemaGetCurrentLoginUserInfoResp) GetLocation() string
GetLocation returns the Location field if non-nil, zero value otherwise.
GetLocationOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetLocation(v string)
SetLocation sets Location field to given value.
HasLocation
func (o *SchemaGetCurrentLoginUserInfoResp) HasLocation() bool
HasLocation returns a boolean if a field has been set.
GetMailStatus
func (o *SchemaGetCurrentLoginUserInfoResp) GetMailStatus() int32
GetMailStatus returns the MailStatus field if non-nil, zero value otherwise.
GetMailStatusOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetMailStatus(v int32)
SetMailStatus sets MailStatus field to given value.
HasMailStatus
func (o *SchemaGetCurrentLoginUserInfoResp) HasMailStatus() bool
HasMailStatus returns a boolean if a field has been set.
GetMobile
func (o *SchemaGetCurrentLoginUserInfoResp) GetMobile() string
GetMobile returns the Mobile field if non-nil, zero value otherwise.
GetMobileOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetMobile(v string)
SetMobile sets Mobile field to given value.
HasMobile
func (o *SchemaGetCurrentLoginUserInfoResp) HasMobile() bool
HasMobile returns a boolean if a field has been set.
GetNoticeStatus
func (o *SchemaGetCurrentLoginUserInfoResp) GetNoticeStatus() int32
GetNoticeStatus returns the NoticeStatus field if non-nil, zero value otherwise.
GetNoticeStatusOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetNoticeStatus(v int32)
SetNoticeStatus sets NoticeStatus field to given value.
HasNoticeStatus
func (o *SchemaGetCurrentLoginUserInfoResp) HasNoticeStatus() bool
HasNoticeStatus returns a boolean if a field has been set.
GetQuestionCount
func (o *SchemaGetCurrentLoginUserInfoResp) GetQuestionCount() int32
GetQuestionCount returns the QuestionCount field if non-nil, zero value otherwise.
GetQuestionCountOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetQuestionCount(v int32)
SetQuestionCount sets QuestionCount field to given value.
HasQuestionCount
func (o *SchemaGetCurrentLoginUserInfoResp) HasQuestionCount() bool
HasQuestionCount returns a boolean if a field has been set.
GetRank
func (o *SchemaGetCurrentLoginUserInfoResp) GetRank() int32
GetRank returns the Rank field if non-nil, zero value otherwise.
GetRankOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetRank(v int32)
SetRank sets Rank field to given value.
HasRank
func (o *SchemaGetCurrentLoginUserInfoResp) HasRank() bool
HasRank returns a boolean if a field has been set.
GetRoleId
func (o *SchemaGetCurrentLoginUserInfoResp) GetRoleId() int32
GetRoleId returns the RoleId field if non-nil, zero value otherwise.
GetRoleIdOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetRoleId(v int32)
SetRoleId sets RoleId field to given value.
HasRoleId
func (o *SchemaGetCurrentLoginUserInfoResp) HasRoleId() bool
HasRoleId returns a boolean if a field has been set.
GetStatus
func (o *SchemaGetCurrentLoginUserInfoResp) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *SchemaGetCurrentLoginUserInfoResp) HasStatus() bool
HasStatus returns a boolean if a field has been set.
GetUsername
func (o *SchemaGetCurrentLoginUserInfoResp) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
GetUsernameOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetUsername(v string)
SetUsername sets Username field to given value.
HasUsername
func (o *SchemaGetCurrentLoginUserInfoResp) HasUsername() bool
HasUsername returns a boolean if a field has been set.
GetWebsite
func (o *SchemaGetCurrentLoginUserInfoResp) GetWebsite() string
GetWebsite returns the Website field if non-nil, zero value otherwise.
GetWebsiteOk
func (o *SchemaGetCurrentLoginUserInfoResp) 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 *SchemaGetCurrentLoginUserInfoResp) SetWebsite(v string)
SetWebsite sets Website field to given value.
HasWebsite
func (o *SchemaGetCurrentLoginUserInfoResp) HasWebsite() bool
HasWebsite returns a boolean if a field has been set.