Skip to content

Latest commit

 

History

History
290 lines (157 loc) · 7.76 KB

Role.md

File metadata and controls

290 lines (157 loc) · 7.76 KB

Role

Properties

Name Type Description Notes
AccessDate Pointer to time.Time [optional]
AccessDateDisplay Pointer to string [optional]
ClientPermissions Pointer to []string [optional]
Comment Pointer to string [optional]
CreationDate Pointer to time.Time [optional]
DeleteProtection Pointer to bool [optional]
ModificationDate Pointer to time.Time [optional]
RoleAuthMethodsAssoc Pointer to []RoleAuthMethodAssociation [optional]
RoleName Pointer to string [optional]
Rules Pointer to Rules [optional]

Methods

NewRole

func NewRole() *Role

NewRole instantiates a new Role 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

NewRoleWithDefaults

func NewRoleWithDefaults() *Role

NewRoleWithDefaults instantiates a new Role 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

GetAccessDate

func (o *Role) GetAccessDate() time.Time

GetAccessDate returns the AccessDate field if non-nil, zero value otherwise.

GetAccessDateOk

func (o *Role) GetAccessDateOk() (*time.Time, bool)

GetAccessDateOk returns a tuple with the AccessDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccessDate

func (o *Role) SetAccessDate(v time.Time)

SetAccessDate sets AccessDate field to given value.

HasAccessDate

func (o *Role) HasAccessDate() bool

HasAccessDate returns a boolean if a field has been set.

GetAccessDateDisplay

func (o *Role) GetAccessDateDisplay() string

GetAccessDateDisplay returns the AccessDateDisplay field if non-nil, zero value otherwise.

GetAccessDateDisplayOk

func (o *Role) GetAccessDateDisplayOk() (*string, bool)

GetAccessDateDisplayOk returns a tuple with the AccessDateDisplay field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAccessDateDisplay

func (o *Role) SetAccessDateDisplay(v string)

SetAccessDateDisplay sets AccessDateDisplay field to given value.

HasAccessDateDisplay

func (o *Role) HasAccessDateDisplay() bool

HasAccessDateDisplay returns a boolean if a field has been set.

GetClientPermissions

func (o *Role) GetClientPermissions() []string

GetClientPermissions returns the ClientPermissions field if non-nil, zero value otherwise.

GetClientPermissionsOk

func (o *Role) GetClientPermissionsOk() (*[]string, bool)

GetClientPermissionsOk returns a tuple with the ClientPermissions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetClientPermissions

func (o *Role) SetClientPermissions(v []string)

SetClientPermissions sets ClientPermissions field to given value.

HasClientPermissions

func (o *Role) HasClientPermissions() bool

HasClientPermissions returns a boolean if a field has been set.

GetComment

func (o *Role) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk

func (o *Role) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetComment

func (o *Role) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *Role) HasComment() bool

HasComment returns a boolean if a field has been set.

GetCreationDate

func (o *Role) GetCreationDate() time.Time

GetCreationDate returns the CreationDate field if non-nil, zero value otherwise.

GetCreationDateOk

func (o *Role) GetCreationDateOk() (*time.Time, bool)

GetCreationDateOk returns a tuple with the CreationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetCreationDate

func (o *Role) SetCreationDate(v time.Time)

SetCreationDate sets CreationDate field to given value.

HasCreationDate

func (o *Role) HasCreationDate() bool

HasCreationDate returns a boolean if a field has been set.

GetDeleteProtection

func (o *Role) GetDeleteProtection() bool

GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.

GetDeleteProtectionOk

func (o *Role) GetDeleteProtectionOk() (*bool, bool)

GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDeleteProtection

func (o *Role) SetDeleteProtection(v bool)

SetDeleteProtection sets DeleteProtection field to given value.

HasDeleteProtection

func (o *Role) HasDeleteProtection() bool

HasDeleteProtection returns a boolean if a field has been set.

GetModificationDate

func (o *Role) GetModificationDate() time.Time

GetModificationDate returns the ModificationDate field if non-nil, zero value otherwise.

GetModificationDateOk

func (o *Role) GetModificationDateOk() (*time.Time, bool)

GetModificationDateOk returns a tuple with the ModificationDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModificationDate

func (o *Role) SetModificationDate(v time.Time)

SetModificationDate sets ModificationDate field to given value.

HasModificationDate

func (o *Role) HasModificationDate() bool

HasModificationDate returns a boolean if a field has been set.

GetRoleAuthMethodsAssoc

func (o *Role) GetRoleAuthMethodsAssoc() []RoleAuthMethodAssociation

GetRoleAuthMethodsAssoc returns the RoleAuthMethodsAssoc field if non-nil, zero value otherwise.

GetRoleAuthMethodsAssocOk

func (o *Role) GetRoleAuthMethodsAssocOk() (*[]RoleAuthMethodAssociation, bool)

GetRoleAuthMethodsAssocOk returns a tuple with the RoleAuthMethodsAssoc field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRoleAuthMethodsAssoc

func (o *Role) SetRoleAuthMethodsAssoc(v []RoleAuthMethodAssociation)

SetRoleAuthMethodsAssoc sets RoleAuthMethodsAssoc field to given value.

HasRoleAuthMethodsAssoc

func (o *Role) HasRoleAuthMethodsAssoc() bool

HasRoleAuthMethodsAssoc returns a boolean if a field has been set.

GetRoleName

func (o *Role) GetRoleName() string

GetRoleName returns the RoleName field if non-nil, zero value otherwise.

GetRoleNameOk

func (o *Role) GetRoleNameOk() (*string, bool)

GetRoleNameOk returns a tuple with the RoleName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRoleName

func (o *Role) SetRoleName(v string)

SetRoleName sets RoleName field to given value.

HasRoleName

func (o *Role) HasRoleName() bool

HasRoleName returns a boolean if a field has been set.

GetRules

func (o *Role) GetRules() Rules

GetRules returns the Rules field if non-nil, zero value otherwise.

GetRulesOk

func (o *Role) GetRulesOk() (*Rules, bool)

GetRulesOk returns a tuple with the Rules field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRules

func (o *Role) SetRules(v Rules)

SetRules sets Rules field to given value.

HasRules

func (o *Role) HasRules() bool

HasRules returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]