Skip to main content

RoleAssignmentRef

Properties

NameTypeDescriptionNotes
IdPointer to stringAssignment Id[optional]
RolePointer to BaseReferenceDto1[optional]

Methods

NewRoleAssignmentRef

func NewRoleAssignmentRef() *RoleAssignmentRef

NewRoleAssignmentRef instantiates a new RoleAssignmentRef 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

NewRoleAssignmentRefWithDefaults

func NewRoleAssignmentRefWithDefaults() *RoleAssignmentRef

NewRoleAssignmentRefWithDefaults instantiates a new RoleAssignmentRef 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 *RoleAssignmentRef) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *RoleAssignmentRef) 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 *RoleAssignmentRef) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *RoleAssignmentRef) HasId() bool

HasId returns a boolean if a field has been set.

GetRole

func (o *RoleAssignmentRef) GetRole() BaseReferenceDto1

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *RoleAssignmentRef) 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 *RoleAssignmentRef) SetRole(v BaseReferenceDto1)

SetRole sets Role field to given value.

HasRole

func (o *RoleAssignmentRef) HasRole() bool

HasRole returns a boolean if a field has been set.