MachineAccountCreateEntitlement
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | string | Entitlement id to provision. Not required to be a UUID. | |
| Comment | Pointer to string | Justification stored with the entitlement request. | [optional] [default to ""] |
| StartDate | Pointer to NullableTime | When access starts. Must be in the future and before removeDate when both are set. | [optional] |
| RemoveDate | Pointer to NullableTime | When access ends. Must be in the future and after startDate when both are set. | [optional] |
Methods
NewMachineAccountCreateEntitlement
func NewMachineAccountCreateEntitlement(id string, ) *MachineAccountCreateEntitlement
NewMachineAccountCreateEntitlement instantiates a new MachineAccountCreateEntitlement 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
NewMachineAccountCreateEntitlementWithDefaults
func NewMachineAccountCreateEntitlementWithDefaults() *MachineAccountCreateEntitlement
NewMachineAccountCreateEntitlementWithDefaults instantiates a new MachineAccountCreateEntitlement 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 *MachineAccountCreateEntitlement) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
GetIdOk
func (o *MachineAccountCreateEntitlement) 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 *MachineAccountCreateEntitlement) SetId(v string)
SetId sets Id field to given value.
GetComment
func (o *MachineAccountCreateEntitlement) GetComment() string
GetComment returns the Comment field if non-nil, zero value otherwise.
GetCommentOk
func (o *MachineAccountCreateEntitlement) 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 *MachineAccountCreateEntitlement) SetComment(v string)
SetComment sets Comment field to given value.
HasComment
func (o *MachineAccountCreateEntitlement) HasComment() bool
HasComment returns a boolean if a field has been set.
GetStartDate
func (o *MachineAccountCreateEntitlement) GetStartDate() SailPointTime
GetStartDate returns the StartDate field if non-nil, zero value otherwise.
GetStartDateOk
func (o *MachineAccountCreateEntitlement) GetStartDateOk() (*SailPointTime, bool)
GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStartDate
func (o *MachineAccountCreateEntitlement) SetStartDate(v SailPointTime)
SetStartDate sets StartDate field to given value.
HasStartDate
func (o *MachineAccountCreateEntitlement) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
SetStartDateNil
func (o *MachineAccountCreateEntitlement) SetStartDateNil(b bool)
SetStartDateNil sets the value for StartDate to be an explicit nil
UnsetStartDate
func (o *MachineAccountCreateEntitlement) UnsetStartDate()
UnsetStartDate ensures that no value is present for StartDate, not even an explicit nil
GetRemoveDate
func (o *MachineAccountCreateEntitlement) GetRemoveDate() SailPointTime
GetRemoveDate returns the RemoveDate field if non-nil, zero value otherwise.
GetRemoveDateOk
func (o *MachineAccountCreateEntitlement) GetRemoveDateOk() (*SailPointTime, 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 *MachineAccountCreateEntitlement) SetRemoveDate(v SailPointTime)
SetRemoveDate sets RemoveDate field to given value.
HasRemoveDate
func (o *MachineAccountCreateEntitlement) HasRemoveDate() bool
HasRemoveDate returns a boolean if a field has been set.
SetRemoveDateNil
func (o *MachineAccountCreateEntitlement) SetRemoveDateNil(b bool)
SetRemoveDateNil sets the value for RemoveDate to be an explicit nil
UnsetRemoveDate
func (o *MachineAccountCreateEntitlement) UnsetRemoveDate()
UnsetRemoveDate ensures that no value is present for RemoveDate, not even an explicit nil