Skip to main content

AccessRequestItem

Properties​

NameTypeDescriptionNotes
TypestringThe type of the item being requested.
IdstringID of Role, Access Profile or Entitlement being requested.
CommentPointer to stringComment provided by requester. * Comment is required when the request is of type Revoke Access.[optional]
ClientMetadataPointer to map[string]stringArbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities and /access-request-status.[optional]
StartDatePointer to SailPointTimeThe date and time the role or access profile or entitlement is/will be provisioned to the specified identity. Also known as the sunrise date. * Specify a date-time in the future. * This date-time can be used to indicate date-time when access item will be provisioned on the identity account. A GRANT_ACCESS request can use startDate to specify when to schedule provisioning of access item for an identity/account & a MODIFY_ACCESS request can use startDate to change the provisioning date-time of already assigned access item. But REVOKE_ACCESS request can not have startDate field. You can change the sunrise date in requests for yourself or others you are authorized to request for. * If the startDate is in the past, then the provisioning will be processed as soon as possible, but no guarantees can be made about when the provisioning will occur. If the startDate is in the future, then the provisioning will be scheduled to occur on that date and time. If no startDate is provided, then the provisioning will be processed as soon as possible.[optional]
RemoveDatePointer to SailPointTimeThe date and time the role or access profile or entitlement is no longer assigned to the specified identity. Also known as the expiration date. * Specify a date-time in the future. * The current SLA for the deprovisioning is 24 hours. * This date-time can be used to change the duration of an existing access item assignment for the specified identity. A GRANT_ACCESS request can extend duration or even remove an expiration date, and either a GRANT_ACCESS or REVOKE_ACCESS request can reduce duration or add an expiration date where one has not previously been present. You can change the expiration date in requests for yourself or others you are authorized to request for.[optional]
AssignmentIdPointer to NullableStringThe assignmentId for a specific role assignment on the identity. This id is used to revoke that specific roleAssignment on that identity. * For use with REVOKE_ACCESS requests for roles for identities with multiple accounts on a single source.[optional]
NativeIdentityPointer to NullableStringThe unique identifier for an account on the identity, designated as the account ID attribute in the source's account schema. This is used to revoke a specific attributeAssignment on the identity. * For use with REVOKE_ACCESS requests for entitlements for identities with multiple accounts on a single source.[optional]
FormInstanceIdPointer to NullableStringOptional ID of a completed form instance for this line item. For human GRANT_ACCESS requests, include when the requested role, access profile, or entitlement has an associated formDefinitionId in its request configuration. An empty formInstanceId on a GRANT_ACCESS item is rejected with HTTP 400. Not used for REVOKE_ACCESS.[optional]

Methods​

NewAccessRequestItem​

func NewAccessRequestItem(type_ string, id string, ) *AccessRequestItem

NewAccessRequestItem instantiates a new AccessRequestItem 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

NewAccessRequestItemWithDefaults​

func NewAccessRequestItemWithDefaults() *AccessRequestItem

NewAccessRequestItemWithDefaults instantiates a new AccessRequestItem 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

GetType​

func (o *AccessRequestItem) GetType() string

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

GetTypeOk​

func (o *AccessRequestItem) 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 *AccessRequestItem) SetType(v string)

SetType sets Type field to given value.

GetId​

func (o *AccessRequestItem) GetId() string

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

GetIdOk​

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

SetId sets Id field to given value.

GetComment​

func (o *AccessRequestItem) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk​

func (o *AccessRequestItem) 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 *AccessRequestItem) SetComment(v string)

SetComment sets Comment field to given value.

HasComment​

func (o *AccessRequestItem) HasComment() bool

HasComment returns a boolean if a field has been set.

GetClientMetadata​

func (o *AccessRequestItem) GetClientMetadata() map[string]string

GetClientMetadata returns the ClientMetadata field if non-nil, zero value otherwise.

GetClientMetadataOk​

func (o *AccessRequestItem) GetClientMetadataOk() (*map[string]string, bool)

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

SetClientMetadata​

func (o *AccessRequestItem) SetClientMetadata(v map[string]string)

SetClientMetadata sets ClientMetadata field to given value.

HasClientMetadata​

func (o *AccessRequestItem) HasClientMetadata() bool

HasClientMetadata returns a boolean if a field has been set.

GetStartDate​

func (o *AccessRequestItem) GetStartDate() SailPointTime

GetStartDate returns the StartDate field if non-nil, zero value otherwise.

GetStartDateOk​

func (o *AccessRequestItem) 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 *AccessRequestItem) SetStartDate(v SailPointTime)

SetStartDate sets StartDate field to given value.

HasStartDate​

func (o *AccessRequestItem) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

GetRemoveDate​

func (o *AccessRequestItem) GetRemoveDate() SailPointTime

GetRemoveDate returns the RemoveDate field if non-nil, zero value otherwise.

GetRemoveDateOk​

func (o *AccessRequestItem) 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 *AccessRequestItem) SetRemoveDate(v SailPointTime)

SetRemoveDate sets RemoveDate field to given value.

HasRemoveDate​

func (o *AccessRequestItem) HasRemoveDate() bool

HasRemoveDate returns a boolean if a field has been set.

GetAssignmentId​

func (o *AccessRequestItem) GetAssignmentId() string

GetAssignmentId returns the AssignmentId field if non-nil, zero value otherwise.

GetAssignmentIdOk​

func (o *AccessRequestItem) GetAssignmentIdOk() (*string, bool)

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

SetAssignmentId​

func (o *AccessRequestItem) SetAssignmentId(v string)

SetAssignmentId sets AssignmentId field to given value.

HasAssignmentId​

func (o *AccessRequestItem) HasAssignmentId() bool

HasAssignmentId returns a boolean if a field has been set.

SetAssignmentIdNil​

func (o *AccessRequestItem) SetAssignmentIdNil(b bool)

SetAssignmentIdNil sets the value for AssignmentId to be an explicit nil

UnsetAssignmentId​

func (o *AccessRequestItem) UnsetAssignmentId()

UnsetAssignmentId ensures that no value is present for AssignmentId, not even an explicit nil

GetNativeIdentity​

func (o *AccessRequestItem) GetNativeIdentity() string

GetNativeIdentity returns the NativeIdentity field if non-nil, zero value otherwise.

GetNativeIdentityOk​

func (o *AccessRequestItem) GetNativeIdentityOk() (*string, bool)

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

SetNativeIdentity​

func (o *AccessRequestItem) SetNativeIdentity(v string)

SetNativeIdentity sets NativeIdentity field to given value.

HasNativeIdentity​

func (o *AccessRequestItem) HasNativeIdentity() bool

HasNativeIdentity returns a boolean if a field has been set.

SetNativeIdentityNil​

func (o *AccessRequestItem) SetNativeIdentityNil(b bool)

SetNativeIdentityNil sets the value for NativeIdentity to be an explicit nil

UnsetNativeIdentity​

func (o *AccessRequestItem) UnsetNativeIdentity()

UnsetNativeIdentity ensures that no value is present for NativeIdentity, not even an explicit nil

GetFormInstanceId​

func (o *AccessRequestItem) GetFormInstanceId() string

GetFormInstanceId returns the FormInstanceId field if non-nil, zero value otherwise.

GetFormInstanceIdOk​

func (o *AccessRequestItem) GetFormInstanceIdOk() (*string, bool)

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

SetFormInstanceId​

func (o *AccessRequestItem) SetFormInstanceId(v string)

SetFormInstanceId sets FormInstanceId field to given value.

HasFormInstanceId​

func (o *AccessRequestItem) HasFormInstanceId() bool

HasFormInstanceId returns a boolean if a field has been set.

SetFormInstanceIdNil​

func (o *AccessRequestItem) SetFormInstanceIdNil(b bool)

SetFormInstanceIdNil sets the value for FormInstanceId to be an explicit nil

UnsetFormInstanceId​

func (o *AccessRequestItem) UnsetFormInstanceId()

UnsetFormInstanceId ensures that no value is present for FormInstanceId, not even an explicit nil