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

9.0 KiB

SchemaGetUserPageResp

Properties

Name Type Description Notes
Avatar Pointer to string avatar [optional]
CreatedAt Pointer to int32 create time [optional]
DeletedAt Pointer to int32 delete time [optional]
DisplayName Pointer to string display name [optional]
EMail Pointer to string email [optional]
Rank Pointer to int32 rank [optional]
RoleId Pointer to int32 role id [optional]
RoleName Pointer to string role name [optional]
Status Pointer to string user status(normal,suspended,deleted,inactive) [optional]
SuspendedAt Pointer to int32 suspended time [optional]
UserId Pointer to string user id [optional]
Username Pointer to string username [optional]

Methods

NewSchemaGetUserPageResp

func NewSchemaGetUserPageResp() *SchemaGetUserPageResp

NewSchemaGetUserPageResp instantiates a new SchemaGetUserPageResp 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

NewSchemaGetUserPageRespWithDefaults

func NewSchemaGetUserPageRespWithDefaults() *SchemaGetUserPageResp

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

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

GetAvatarOk

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

SetAvatar sets Avatar field to given value.

HasAvatar

func (o *SchemaGetUserPageResp) HasAvatar() bool

HasAvatar returns a boolean if a field has been set.

GetCreatedAt

func (o *SchemaGetUserPageResp) GetCreatedAt() int32

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

GetCreatedAtOk

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

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *SchemaGetUserPageResp) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetDeletedAt

func (o *SchemaGetUserPageResp) GetDeletedAt() int32

GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.

GetDeletedAtOk

func (o *SchemaGetUserPageResp) GetDeletedAtOk() (*int32, bool)

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

SetDeletedAt

func (o *SchemaGetUserPageResp) SetDeletedAt(v int32)

SetDeletedAt sets DeletedAt field to given value.

HasDeletedAt

func (o *SchemaGetUserPageResp) HasDeletedAt() bool

HasDeletedAt returns a boolean if a field has been set.

GetDisplayName

func (o *SchemaGetUserPageResp) GetDisplayName() string

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

GetDisplayNameOk

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

SetDisplayName sets DisplayName field to given value.

HasDisplayName

func (o *SchemaGetUserPageResp) HasDisplayName() bool

HasDisplayName returns a boolean if a field has been set.

GetEMail

func (o *SchemaGetUserPageResp) GetEMail() string

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

GetEMailOk

func (o *SchemaGetUserPageResp) 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 *SchemaGetUserPageResp) SetEMail(v string)

SetEMail sets EMail field to given value.

HasEMail

func (o *SchemaGetUserPageResp) HasEMail() bool

HasEMail returns a boolean if a field has been set.

GetRank

func (o *SchemaGetUserPageResp) GetRank() int32

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

GetRankOk

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

SetRank sets Rank field to given value.

HasRank

func (o *SchemaGetUserPageResp) HasRank() bool

HasRank returns a boolean if a field has been set.

GetRoleId

func (o *SchemaGetUserPageResp) GetRoleId() int32

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

GetRoleIdOk

func (o *SchemaGetUserPageResp) 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 *SchemaGetUserPageResp) SetRoleId(v int32)

SetRoleId sets RoleId field to given value.

HasRoleId

func (o *SchemaGetUserPageResp) HasRoleId() bool

HasRoleId returns a boolean if a field has been set.

GetRoleName

func (o *SchemaGetUserPageResp) GetRoleName() string

GetRoleName returns the RoleName field if non-nil, zero value otherwise.

GetRoleNameOk

func (o *SchemaGetUserPageResp) GetRoleNameOk() (*string, bool)

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

SetRoleName

func (o *SchemaGetUserPageResp) SetRoleName(v string)

SetRoleName sets RoleName field to given value.

HasRoleName

func (o *SchemaGetUserPageResp) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

GetStatus

func (o *SchemaGetUserPageResp) GetStatus() string

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

GetStatusOk

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

SetStatus sets Status field to given value.

HasStatus

func (o *SchemaGetUserPageResp) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetSuspendedAt

func (o *SchemaGetUserPageResp) GetSuspendedAt() int32

GetSuspendedAt returns the SuspendedAt field if non-nil, zero value otherwise.

GetSuspendedAtOk

func (o *SchemaGetUserPageResp) GetSuspendedAtOk() (*int32, bool)

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

SetSuspendedAt

func (o *SchemaGetUserPageResp) SetSuspendedAt(v int32)

SetSuspendedAt sets SuspendedAt field to given value.

HasSuspendedAt

func (o *SchemaGetUserPageResp) HasSuspendedAt() bool

HasSuspendedAt returns a boolean if a field has been set.

GetUserId

func (o *SchemaGetUserPageResp) GetUserId() string

GetUserId returns the UserId field if non-nil, zero value otherwise.

GetUserIdOk

func (o *SchemaGetUserPageResp) GetUserIdOk() (*string, bool)

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

SetUserId

func (o *SchemaGetUserPageResp) SetUserId(v string)

SetUserId sets UserId field to given value.

HasUserId

func (o *SchemaGetUserPageResp) HasUserId() bool

HasUserId returns a boolean if a field has been set.

GetUsername

func (o *SchemaGetUserPageResp) GetUsername() string

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

GetUsernameOk

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

SetUsername sets Username field to given value.

HasUsername

func (o *SchemaGetUserPageResp) HasUsername() bool

HasUsername returns a boolean if a field has been set.

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