init
This commit is contained in:
134
openapi/docs/UserCreate.md
Normal file
134
openapi/docs/UserCreate.md
Normal file
@@ -0,0 +1,134 @@
|
||||
# UserCreate
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Name** | **string** | |
|
||||
**Email** | Pointer to **NullableString** | | [optional]
|
||||
**IsAdmin** | Pointer to **bool** | | [optional] [default to false]
|
||||
**Password** | **string** | |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewUserCreate
|
||||
|
||||
`func NewUserCreate(name string, password string, ) *UserCreate`
|
||||
|
||||
NewUserCreate instantiates a new UserCreate 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
|
||||
|
||||
### NewUserCreateWithDefaults
|
||||
|
||||
`func NewUserCreateWithDefaults() *UserCreate`
|
||||
|
||||
NewUserCreateWithDefaults instantiates a new UserCreate 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 *UserCreate) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *UserCreate) 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 *UserCreate) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
|
||||
### GetEmail
|
||||
|
||||
`func (o *UserCreate) GetEmail() string`
|
||||
|
||||
GetEmail returns the Email field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEmailOk
|
||||
|
||||
`func (o *UserCreate) 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 *UserCreate) SetEmail(v string)`
|
||||
|
||||
SetEmail sets Email field to given value.
|
||||
|
||||
### HasEmail
|
||||
|
||||
`func (o *UserCreate) HasEmail() bool`
|
||||
|
||||
HasEmail returns a boolean if a field has been set.
|
||||
|
||||
### SetEmailNil
|
||||
|
||||
`func (o *UserCreate) SetEmailNil(b bool)`
|
||||
|
||||
SetEmailNil sets the value for Email to be an explicit nil
|
||||
|
||||
### UnsetEmail
|
||||
`func (o *UserCreate) UnsetEmail()`
|
||||
|
||||
UnsetEmail ensures that no value is present for Email, not even an explicit nil
|
||||
### GetIsAdmin
|
||||
|
||||
`func (o *UserCreate) GetIsAdmin() bool`
|
||||
|
||||
GetIsAdmin returns the IsAdmin field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIsAdminOk
|
||||
|
||||
`func (o *UserCreate) 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 *UserCreate) SetIsAdmin(v bool)`
|
||||
|
||||
SetIsAdmin sets IsAdmin field to given value.
|
||||
|
||||
### HasIsAdmin
|
||||
|
||||
`func (o *UserCreate) HasIsAdmin() bool`
|
||||
|
||||
HasIsAdmin returns a boolean if a field has been set.
|
||||
|
||||
### GetPassword
|
||||
|
||||
`func (o *UserCreate) GetPassword() string`
|
||||
|
||||
GetPassword returns the Password field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPasswordOk
|
||||
|
||||
`func (o *UserCreate) 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 *UserCreate) SetPassword(v string)`
|
||||
|
||||
SetPassword sets Password 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user