Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | [optional] | |
Mode | Pointer to InitialPermissionsModeEnum | [optional] | |
Role | Pointer to string | [optional] | |
Permissions | Pointer to []int32 | [optional] |
func NewPatchedInitialPermissionsRequest() *PatchedInitialPermissionsRequest
NewPatchedInitialPermissionsRequest instantiates a new PatchedInitialPermissionsRequest 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 NewPatchedInitialPermissionsRequestWithDefaults() *PatchedInitialPermissionsRequest
NewPatchedInitialPermissionsRequestWithDefaults instantiates a new PatchedInitialPermissionsRequest 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 *PatchedInitialPermissionsRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *PatchedInitialPermissionsRequest) 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.
func (o *PatchedInitialPermissionsRequest) SetName(v string)
SetName sets Name field to given value.
func (o *PatchedInitialPermissionsRequest) HasName() bool
HasName returns a boolean if a field has been set.
func (o *PatchedInitialPermissionsRequest) GetMode() InitialPermissionsModeEnum
GetMode returns the Mode field if non-nil, zero value otherwise.
func (o *PatchedInitialPermissionsRequest) GetModeOk() (*InitialPermissionsModeEnum, bool)
GetModeOk returns a tuple with the Mode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PatchedInitialPermissionsRequest) SetMode(v InitialPermissionsModeEnum)
SetMode sets Mode field to given value.
func (o *PatchedInitialPermissionsRequest) HasMode() bool
HasMode returns a boolean if a field has been set.
func (o *PatchedInitialPermissionsRequest) GetRole() string
GetRole returns the Role field if non-nil, zero value otherwise.
func (o *PatchedInitialPermissionsRequest) 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.
func (o *PatchedInitialPermissionsRequest) SetRole(v string)
SetRole sets Role field to given value.
func (o *PatchedInitialPermissionsRequest) HasRole() bool
HasRole returns a boolean if a field has been set.
func (o *PatchedInitialPermissionsRequest) GetPermissions() []int32
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *PatchedInitialPermissionsRequest) GetPermissionsOk() (*[]int32, 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 *PatchedInitialPermissionsRequest) SetPermissions(v []int32)
SetPermissions sets Permissions field to given value.
func (o *PatchedInitialPermissionsRequest) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.