RoleAssignmentDto
Properties
Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | Assignment Id | [optional] |
Role | Pointer to BaseReferenceDto1 | [optional] | |
Comments | Pointer to string | Comments added by the user when the assignment was made | [optional] |
AssignmentSource | Pointer to string | Source describing how this assignment was made | [optional] |
Assigner | Pointer to BaseReferenceDto1 | [optional] | |
AssignedDimensions | Pointer to []BaseReferenceDto1 | Dimensions assigned related to this role | [optional] |
AssignmentContext | Pointer to AssignmentContextDto | [optional] | |
AccountTargets | Pointer to []RoleTargetDto | [optional] | |
RemoveDate | Pointer to string | Date that the assignment will be removed | [optional] |
Methods
NewRoleAssignmentDto
func NewRoleAssignmentDto() *RoleAssignmentDto
NewRoleAssignmentDto instantiates a new RoleAssignmentDto 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
NewRoleAssignmentDtoWithDefaults
func NewRoleAssignmentDtoWithDefaults() *RoleAssignmentDto
NewRoleAssignmentDtoWithDefaults instantiates a new RoleAssignmentDto 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
GetId
func (o *RoleAssignmentDto) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *RoleAssignmentDto) GetIdOk() (*string, 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.
SetId
func (o *RoleAssignmentDto) SetId(v string)
SetId sets Id field to given value.
HasId
func (o *RoleAssignmentDto) HasId() bool
HasId returns a boolean if a field has been set.
GetRole
func (o *RoleAssignmentDto) GetRole() BaseReferenceDto1
GetRole returns the Role field if non-nil, zero value otherwise.
GetRoleOk
func (o *RoleAssignmentDto) GetRoleOk() (*BaseReferenceDto1, 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.
SetRole
func (o *RoleAssignmentDto) SetRole(v BaseReferenceDto1)
SetRole sets Role field to given value.
HasRole
func (o *RoleAssignmentDto) HasRole() bool
HasRole returns a boolean if a field has been set.
GetComments
func (o *RoleAssignmentDto) GetComments() string
GetComments returns the Comments field if non-nil, zero value otherwise.
GetCommentsOk
func (o *RoleAssignmentDto) GetCommentsOk() (*string, bool)
GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetComments
func (o *RoleAssignmentDto) SetComments(v string)
SetComments sets Comments field to given value.
HasComments
func (o *RoleAssignmentDto) HasComments() bool
HasComments returns a boolean if a field has been set.
GetAssignmentSource
func (o *RoleAssignmentDto) GetAssignmentSource() string
GetAssignmentSource returns the AssignmentSource field if non-nil, zero value otherwise.
GetAssignmentSourceOk
func (o *RoleAssignmentDto) GetAssignmentSourceOk() (*string, bool)
GetAssignmentSourceOk returns a tuple with the AssignmentSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAssignmentSource
func (o *RoleAssignmentDto) SetAssignmentSource(v string)
SetAssignmentSource sets AssignmentSource field to given value.
HasAssignmentSource
func (o *RoleAssignmentDto) HasAssignmentSource() bool
HasAssignmentSource returns a boolean if a field has been set.
GetAssigner
func (o *RoleAssignmentDto) GetAssigner() BaseReferenceDto1
GetAssigner returns the Assigner field if non-nil, zero value otherwise.
GetAssignerOk
func (o *RoleAssignmentDto) GetAssignerOk() (*BaseReferenceDto1, bool)
GetAssignerOk returns a tuple with the Assigner field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAssigner
func (o *RoleAssignmentDto) SetAssigner(v BaseReferenceDto1)
SetAssigner sets Assigner field to given value.
HasAssigner
func (o *RoleAssignmentDto) HasAssigner() bool
HasAssigner returns a boolean if a field has been set.
GetAssignedDimensions
func (o *RoleAssignmentDto) GetAssignedDimensions() []BaseReferenceDto1
GetAssignedDimensions returns the AssignedDimensions field if non-nil, zero value otherwise.
GetAssignedDimensionsOk
func (o *RoleAssignmentDto) GetAssignedDimensionsOk() (*[]BaseReferenceDto1, bool)
GetAssignedDimensionsOk returns a tuple with the AssignedDimensions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAssignedDimensions
func (o *RoleAssignmentDto) SetAssignedDimensions(v []BaseReferenceDto1)
SetAssignedDimensions sets AssignedDimensions field to given value.
HasAssignedDimensions
func (o *RoleAssignmentDto) HasAssignedDimensions() bool
HasAssignedDimensions returns a boolean if a field has been set.
GetAssignmentContext
func (o *RoleAssignmentDto) GetAssignmentContext() AssignmentContextDto
GetAssignmentContext returns the AssignmentContext field if non-nil, zero value otherwise.
GetAssignmentContextOk
func (o *RoleAssignmentDto) GetAssignmentContextOk() (*AssignmentContextDto, bool)
GetAssignmentContextOk returns a tuple with the AssignmentContext field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAssignmentContext
func (o *RoleAssignmentDto) SetAssignmentContext(v AssignmentContextDto)
SetAssignmentContext sets AssignmentContext field to given value.
HasAssignmentContext
func (o *RoleAssignmentDto) HasAssignmentContext() bool
HasAssignmentContext returns a boolean if a field has been set.
GetAccountTargets
func (o *RoleAssignmentDto) GetAccountTargets() []RoleTargetDto
GetAccountTargets returns the AccountTargets field if non-nil, zero value otherwise.
GetAccountTargetsOk
func (o *RoleAssignmentDto) GetAccountTargetsOk() (*[]RoleTargetDto, bool)
GetAccountTargetsOk returns a tuple with the AccountTargets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAccountTargets
func (o *RoleAssignmentDto) SetAccountTargets(v []RoleTargetDto)
SetAccountTargets sets AccountTargets field to given value.
HasAccountTargets
func (o *RoleAssignmentDto) HasAccountTargets() bool
HasAccountTargets returns a boolean if a field has been set.
GetRemoveDate
func (o *RoleAssignmentDto) GetRemoveDate() string
GetRemoveDate returns the RemoveDate field if non-nil, zero value otherwise.
GetRemoveDateOk
func (o *RoleAssignmentDto) GetRemoveDateOk() (*string, bool)
GetRemoveDateOk returns a tuple with the RemoveDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRemoveDate
func (o *RoleAssignmentDto) SetRemoveDate(v string)
SetRemoveDate sets RemoveDate field to given value.
HasRemoveDate
func (o *RoleAssignmentDto) HasRemoveDate() bool
HasRemoveDate returns a boolean if a field has been set.