sdk-go-zincsearch/docs/MetaUser.md
2022-06-24 13:04:50 +08:00

4.9 KiB

MetaUser

Properties

Name Type Description Notes
Id Pointer to string [optional]
CreatedAt Pointer to string [optional]
Name Pointer to string [optional]
Password Pointer to string [optional]
Role Pointer to string [optional]
Salt Pointer to string [optional]
UpdatedAt Pointer to string [optional]

Methods

NewMetaUser

func NewMetaUser() *MetaUser

NewMetaUser instantiates a new MetaUser 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

NewMetaUserWithDefaults

func NewMetaUserWithDefaults() *MetaUser

NewMetaUserWithDefaults instantiates a new MetaUser 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

GetId

func (o *MetaUser) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *MetaUser) HasId() bool

HasId returns a boolean if a field has been set.

GetCreatedAt

func (o *MetaUser) GetCreatedAt() string

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

GetCreatedAtOk

func (o *MetaUser) GetCreatedAtOk() (*string, 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 *MetaUser) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

HasCreatedAt

func (o *MetaUser) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

GetName

func (o *MetaUser) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *MetaUser) GetNameOk() (*string, bool)

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

SetName

func (o *MetaUser) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *MetaUser) HasName() bool

HasName returns a boolean if a field has been set.

GetPassword

func (o *MetaUser) GetPassword() string

GetPassword returns the Password field if non-nil, zero value otherwise.

GetPasswordOk

func (o *MetaUser) GetPasswordOk() (*string, bool)

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

SetPassword

func (o *MetaUser) SetPassword(v string)

SetPassword sets Password field to given value.

HasPassword

func (o *MetaUser) HasPassword() bool

HasPassword returns a boolean if a field has been set.

GetRole

func (o *MetaUser) GetRole() string

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *MetaUser) GetRoleOk() (*string, bool)

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

SetRole

func (o *MetaUser) SetRole(v string)

SetRole sets Role field to given value.

HasRole

func (o *MetaUser) HasRole() bool

HasRole returns a boolean if a field has been set.

GetSalt

func (o *MetaUser) GetSalt() string

GetSalt returns the Salt field if non-nil, zero value otherwise.

GetSaltOk

func (o *MetaUser) GetSaltOk() (*string, bool)

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

SetSalt

func (o *MetaUser) SetSalt(v string)

SetSalt sets Salt field to given value.

HasSalt

func (o *MetaUser) HasSalt() bool

HasSalt returns a boolean if a field has been set.

GetUpdatedAt

func (o *MetaUser) GetUpdatedAt() string

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *MetaUser) GetUpdatedAtOk() (*string, bool)

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

SetUpdatedAt

func (o *MetaUser) SetUpdatedAt(v string)

SetUpdatedAt sets UpdatedAt field to given value.

HasUpdatedAt

func (o *MetaUser) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

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