Skip to content

Latest commit

 

History

History
124 lines (67 loc) · 3.97 KB

AccessRequest.md

File metadata and controls

124 lines (67 loc) · 3.97 KB

AccessRequest

Properties

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]

Methods

NewAccessRequest

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

NewAccessRequestWithDefaults

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

GetRequestedFor

func (o *AccessRequest) GetRequestedFor() []string

GetRequestedFor returns the RequestedFor field if non-nil, zero value otherwise.

GetRequestedForOk

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.

SetRequestedFor

func (o *AccessRequest) SetRequestedFor(v []string)

SetRequestedFor sets RequestedFor field to given value.

GetRequestType

func (o *AccessRequest) GetRequestType() AccessRequestType

GetRequestType returns the RequestType field if non-nil, zero value otherwise.

GetRequestTypeOk

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.

SetRequestType

func (o *AccessRequest) SetRequestType(v AccessRequestType)

SetRequestType sets RequestType field to given value.

HasRequestType

func (o *AccessRequest) HasRequestType() bool

HasRequestType returns a boolean if a field has been set.

GetRequestedItems

func (o *AccessRequest) GetRequestedItems() []AccessRequestItem

GetRequestedItems returns the RequestedItems field if non-nil, zero value otherwise.

GetRequestedItemsOk

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.

SetRequestedItems

func (o *AccessRequest) SetRequestedItems(v []AccessRequestItem)

SetRequestedItems sets RequestedItems field to given value.

GetClientMetadata

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

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

GetClientMetadataOk

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.

SetClientMetadata

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

SetClientMetadata sets ClientMetadata field to given value.

HasClientMetadata

func (o *AccessRequest) HasClientMetadata() bool

HasClientMetadata returns a boolean if a field has been set.

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