Name | Type | Description | Notes |
---|---|---|---|
Permissions | []string | ||
Username | string |
func NewUser(permissions []string, username string, ) *User
NewUser instantiates a new User 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
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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
func (o *User) GetPermissions() []string
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *User) GetPermissionsOk() (*[]string, bool)
GetPermissionsOk returns a tuple with the Permissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *User) SetPermissions(v []string)
SetPermissions sets Permissions field to given value.
func (o *User) GetUsername() string
GetUsername returns the Username field if non-nil, zero value otherwise.
func (o *User) 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.
func (o *User) SetUsername(v string)
SetUsername sets Username field to given value.