Name | Type | Description | Notes |
---|---|---|---|
Created | Pointer to time.Time | Timestamp when the role was created | [optional] [readonly] |
Description | string | Description of the role | |
Id | Pointer to string | Unique key for the role | [optional] [readonly] |
Label | string | Unique label for the role | |
LastUpdated | Pointer to time.Time | Timestamp when the role was last updated | [optional] [readonly] |
Links | Pointer to IamRoleLinks | [optional] |
func NewIamRole(description string, label string, ) *IamRole
NewIamRole instantiates a new IamRole 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 NewIamRoleWithDefaults() *IamRole
NewIamRoleWithDefaults instantiates a new IamRole 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 *IamRole) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *IamRole) 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.
func (o *IamRole) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *IamRole) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *IamRole) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *IamRole) 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 *IamRole) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *IamRole) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *IamRole) 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.
func (o *IamRole) SetId(v string)
SetId sets Id field to given value.
func (o *IamRole) HasId() bool
HasId returns a boolean if a field has been set.
func (o *IamRole) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *IamRole) 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.
func (o *IamRole) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *IamRole) GetLastUpdated() time.Time
GetLastUpdated returns the LastUpdated field if non-nil, zero value otherwise.
func (o *IamRole) 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.
func (o *IamRole) SetLastUpdated(v time.Time)
SetLastUpdated sets LastUpdated field to given value.
func (o *IamRole) HasLastUpdated() bool
HasLastUpdated returns a boolean if a field has been set.
func (o *IamRole) GetLinks() IamRoleLinks
GetLinks returns the Links field if non-nil, zero value otherwise.
func (o *IamRole) GetLinksOk() (*IamRoleLinks, 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.
func (o *IamRole) SetLinks(v IamRoleLinks)
SetLinks sets Links field to given value.
func (o *IamRole) HasLinks() bool
HasLinks returns a boolean if a field has been set.