# UserDB ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Name** | **string** | | **Email** | Pointer to **NullableString** | | [optional] **IsAdmin** | Pointer to **bool** | | [optional] [default to false] **Id** | Pointer to **NullableInt32** | | [optional] **Passwordhash** | **string** | | ## Methods ### NewUserDB `func NewUserDB(name string, passwordhash string, ) *UserDB` NewUserDB instantiates a new UserDB 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 ### NewUserDBWithDefaults `func NewUserDBWithDefaults() *UserDB` NewUserDBWithDefaults instantiates a new UserDB 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 ### GetName `func (o *UserDB) GetName() string` GetName returns the Name field if non-nil, zero value otherwise. ### GetNameOk `func (o *UserDB) 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 *UserDB) SetName(v string)` SetName sets Name field to given value. ### GetEmail `func (o *UserDB) GetEmail() string` GetEmail returns the Email field if non-nil, zero value otherwise. ### GetEmailOk `func (o *UserDB) 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 *UserDB) SetEmail(v string)` SetEmail sets Email field to given value. ### HasEmail `func (o *UserDB) HasEmail() bool` HasEmail returns a boolean if a field has been set. ### SetEmailNil `func (o *UserDB) SetEmailNil(b bool)` SetEmailNil sets the value for Email to be an explicit nil ### UnsetEmail `func (o *UserDB) UnsetEmail()` UnsetEmail ensures that no value is present for Email, not even an explicit nil ### GetIsAdmin `func (o *UserDB) GetIsAdmin() bool` GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise. ### GetIsAdminOk `func (o *UserDB) GetIsAdminOk() (*bool, bool)` GetIsAdminOk returns a tuple with the IsAdmin field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIsAdmin `func (o *UserDB) SetIsAdmin(v bool)` SetIsAdmin sets IsAdmin field to given value. ### HasIsAdmin `func (o *UserDB) HasIsAdmin() bool` HasIsAdmin returns a boolean if a field has been set. ### GetId `func (o *UserDB) GetId() int32` GetId returns the Id field if non-nil, zero value otherwise. ### GetIdOk `func (o *UserDB) GetIdOk() (*int32, 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 *UserDB) SetId(v int32)` SetId sets Id field to given value. ### HasId `func (o *UserDB) HasId() bool` HasId returns a boolean if a field has been set. ### SetIdNil `func (o *UserDB) SetIdNil(b bool)` SetIdNil sets the value for Id to be an explicit nil ### UnsetId `func (o *UserDB) UnsetId()` UnsetId ensures that no value is present for Id, not even an explicit nil ### GetPasswordhash `func (o *UserDB) GetPasswordhash() string` GetPasswordhash returns the Passwordhash field if non-nil, zero value otherwise. ### GetPasswordhashOk `func (o *UserDB) GetPasswordhashOk() (*string, bool)` GetPasswordhashOk returns a tuple with the Passwordhash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPasswordhash `func (o *UserDB) SetPasswordhash(v string)` SetPasswordhash sets Passwordhash field to given value. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)