| Name | Type | Description | Notes |
|---|---|---|---|
| Id | int32 | The Id of the security role to update | |
| Name | string | The name of the security role to update | |
| Description | string | The description to be used on the updated security role | |
| EmailAddress | Pointer to NullableString | The email address to be used on the updated security role | [optional] |
| Enabled | Pointer to bool | Whether or not the security role should be enabled | [optional] |
| Private | Pointer to bool | Whether or not the security role should be private | [optional] |
| Permissions | Pointer to []string | The permissions to include in the role. These must be supplied in the format "Area:Permission" | [optional] |
| PermissionSetId | Pointer to string | The Id of the permission set the role belongs to. | [optional] |
| Identities | Pointer to []CSSCMSDataModelModelsSecurityIdentitiesSecurityIdentityIdentifier | The Keyfactor identities to assign to the updated role | [optional] |
func NewSecurityLegacySecurityRolesSecurityRoleUpdateRequest(id int32, name string, description string, ) *SecurityLegacySecurityRolesSecurityRoleUpdateRequest
NewSecurityLegacySecurityRolesSecurityRoleUpdateRequest instantiates a new SecurityLegacySecurityRolesSecurityRoleUpdateRequest 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 NewSecurityLegacySecurityRolesSecurityRoleUpdateRequestWithDefaults() *SecurityLegacySecurityRolesSecurityRoleUpdateRequest
NewSecurityLegacySecurityRolesSecurityRoleUpdateRequestWithDefaults instantiates a new SecurityLegacySecurityRolesSecurityRoleUpdateRequest 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 *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetId() int32
GetId returns the Id field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) 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.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetId(v int32)
SetId sets Id field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) 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 *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetName(v string)
SetName sets Name field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetEmailAddress() string
GetEmailAddress returns the EmailAddress field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetEmailAddressOk() (*string, bool)
GetEmailAddressOk returns a tuple with the EmailAddress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetEmailAddress(v string)
SetEmailAddress sets EmailAddress field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) HasEmailAddress() bool
HasEmailAddress returns a boolean if a field has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetEmailAddressNil(b bool)
SetEmailAddressNil sets the value for EmailAddress to be an explicit nil
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) UnsetEmailAddress()
UnsetEmailAddress ensures that no value is present for EmailAddress, not even an explicit nil
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetEnabled(v bool)
SetEnabled sets Enabled field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetPrivate() bool
GetPrivate returns the Private field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetPrivateOk() (*bool, bool)
GetPrivateOk returns a tuple with the Private field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetPrivate(v bool)
SetPrivate sets Private field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetPermissions() []string
GetPermissions returns the Permissions field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) 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 *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetPermissions(v []string)
SetPermissions sets Permissions field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) HasPermissions() bool
HasPermissions returns a boolean if a field has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetPermissionsNil(b bool)
SetPermissionsNil sets the value for Permissions to be an explicit nil
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) UnsetPermissions()
UnsetPermissions ensures that no value is present for Permissions, not even an explicit nil
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetPermissionSetId() string
GetPermissionSetId returns the PermissionSetId field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetPermissionSetIdOk() (*string, bool)
GetPermissionSetIdOk returns a tuple with the PermissionSetId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetPermissionSetId(v string)
SetPermissionSetId sets PermissionSetId field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) HasPermissionSetId() bool
HasPermissionSetId returns a boolean if a field has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetIdentities() []CSSCMSDataModelModelsSecurityIdentitiesSecurityIdentityIdentifier
GetIdentities returns the Identities field if non-nil, zero value otherwise.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) GetIdentitiesOk() (*[]CSSCMSDataModelModelsSecurityIdentitiesSecurityIdentityIdentifier, bool)
GetIdentitiesOk returns a tuple with the Identities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetIdentities(v []CSSCMSDataModelModelsSecurityIdentitiesSecurityIdentityIdentifier)
SetIdentities sets Identities field to given value.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) HasIdentities() bool
HasIdentities returns a boolean if a field has been set.
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) SetIdentitiesNil(b bool)
SetIdentitiesNil sets the value for Identities to be an explicit nil
func (o *SecurityLegacySecurityRolesSecurityRoleUpdateRequest) UnsetIdentities()
UnsetIdentities ensures that no value is present for Identities, not even an explicit nil