Name | Type | Description | Notes |
---|---|---|---|
RequestedFor | []string | A list of Identity IDs for whom the Access is requested. If it's a Revoke request, there can only be one Identity ID. | |
RequestType | Pointer to AccessRequestType | [optional] | |
RequestedItems | []AccessRequestItem | ||
ClientMetadata | Pointer to map[string]string | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on associated APIs such as /account-activities. | [optional] |
func NewAccessRequest(requestedFor []string, requestedItems []AccessRequestItem, ) *AccessRequest
NewAccessRequest instantiates a new AccessRequest 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 NewAccessRequestWithDefaults() *AccessRequest
NewAccessRequestWithDefaults instantiates a new AccessRequest 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 *AccessRequest) GetRequestedFor() []string
GetRequestedFor returns the RequestedFor field if non-nil, zero value otherwise.
func (o *AccessRequest) GetRequestedForOk() (*[]string, bool)
GetRequestedForOk returns a tuple with the RequestedFor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessRequest) SetRequestedFor(v []string)
SetRequestedFor sets RequestedFor field to given value.
func (o *AccessRequest) GetRequestType() AccessRequestType
GetRequestType returns the RequestType field if non-nil, zero value otherwise.
func (o *AccessRequest) GetRequestTypeOk() (*AccessRequestType, bool)
GetRequestTypeOk returns a tuple with the RequestType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessRequest) SetRequestType(v AccessRequestType)
SetRequestType sets RequestType field to given value.
func (o *AccessRequest) HasRequestType() bool
HasRequestType returns a boolean if a field has been set.
func (o *AccessRequest) GetRequestedItems() []AccessRequestItem
GetRequestedItems returns the RequestedItems field if non-nil, zero value otherwise.
func (o *AccessRequest) GetRequestedItemsOk() (*[]AccessRequestItem, bool)
GetRequestedItemsOk returns a tuple with the RequestedItems field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccessRequest) SetRequestedItems(v []AccessRequestItem)
SetRequestedItems sets RequestedItems field to given value.
func (o *AccessRequest) GetClientMetadata() map[string]string
GetClientMetadata returns the ClientMetadata field if non-nil, zero value otherwise.
func (o *AccessRequest) 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.
func (o *AccessRequest) SetClientMetadata(v map[string]string)
SetClientMetadata sets ClientMetadata field to given value.
func (o *AccessRequest) HasClientMetadata() bool
HasClientMetadata returns a boolean if a field has been set.