Skip to content

Latest commit

 

History

History
290 lines (157 loc) · 6.91 KB

Role.md

File metadata and controls

290 lines (157 loc) · 6.91 KB

Role

Properties

Name Type Description Notes
AssignmentType Pointer to string [optional]
Created Pointer to time.Time [optional] [readonly]
Description Pointer to string [optional]
Id Pointer to string [optional] [readonly]
Label Pointer to string [optional] [readonly]
LastUpdated Pointer to time.Time [optional] [readonly]
Status Pointer to string [optional]
Type Pointer to string [optional]
Embedded Pointer to map[string]map[string]interface{} [optional] [readonly]
Links Pointer to LinksSelf [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

GetAssignmentType

func (o *Role) GetAssignmentType() string

GetAssignmentType returns the AssignmentType field if non-nil, zero value otherwise.

GetAssignmentTypeOk

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

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

SetAssignmentType

func (o *Role) SetAssignmentType(v string)

SetAssignmentType sets AssignmentType field to given value.

HasAssignmentType

func (o *Role) HasAssignmentType() bool

HasAssignmentType returns a boolean if a field has been set.

GetCreated

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

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

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

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

SetCreated

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

SetCreated sets Created field to given value.

HasCreated

func (o *Role) HasCreated() bool

HasCreated returns a boolean if a field has been set.

GetDescription

func (o *Role) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *Role) 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.

SetDescription

func (o *Role) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *Role) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetId

func (o *Role) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *Role) HasId() bool

HasId returns a boolean if a field has been set.

GetLabel

func (o *Role) GetLabel() string

GetLabel returns the Label field if non-nil, zero value otherwise.

GetLabelOk

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

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

SetLabel

func (o *Role) SetLabel(v string)

SetLabel sets Label field to given value.

HasLabel

func (o *Role) HasLabel() bool

HasLabel returns a boolean if a field has been set.

GetLastUpdated

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

GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.

GetLastUpdatedOk

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

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

SetLastUpdated

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

SetLastUpdated sets LastUpdated field to given value.

HasLastUpdated

func (o *Role) HasLastUpdated() bool

HasLastUpdated returns a boolean if a field has been set.

GetStatus

func (o *Role) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

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

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

SetStatus

func (o *Role) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *Role) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetType

func (o *Role) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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

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

SetType

func (o *Role) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *Role) HasType() bool

HasType returns a boolean if a field has been set.

GetEmbedded

func (o *Role) GetEmbedded() map[string]map[string]interface{}

GetEmbedded returns the Embedded field if non-nil, zero value otherwise.

GetEmbeddedOk

func (o *Role) GetEmbeddedOk() (*map[string]map[string]interface{}, bool)

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

SetEmbedded

func (o *Role) SetEmbedded(v map[string]map[string]interface{})

SetEmbedded sets Embedded field to given value.

HasEmbedded

func (o *Role) HasEmbedded() bool

HasEmbedded returns a boolean if a field has been set.

GetLinks

func (o *Role) GetLinks() LinksSelf

GetLinks returns the Links field if non-nil, zero value otherwise.

GetLinksOk

func (o *Role) GetLinksOk() (*LinksSelf, bool)

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

SetLinks

func (o *Role) SetLinks(v LinksSelf)

SetLinks sets Links field to given value.

HasLinks

func (o *Role) HasLinks() bool

HasLinks returns a boolean if a field has been set.

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