--- id: v2024-access-requested title: AccessRequested pagination_label: AccessRequested sidebar_label: AccessRequested sidebar_class_name: gosdk keywords: ['go', 'Golang', 'sdk', 'AccessRequested', 'V2024AccessRequested'] slug: /tools/sdk/go/v2024/models/access-requested tags: ['SDK', 'Software Development Kit', 'AccessRequested', 'V2024AccessRequested'] --- # AccessRequested ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccessRequest** | Pointer to [**AccessRequestResponse1**](access-request-response1) | | [optional] **IdentityId** | Pointer to **string** | the identity id | [optional] **EventType** | Pointer to **string** | the event type | [optional] **Dt** | Pointer to **string** | the date of event | [optional] ## Methods ### NewAccessRequested `func NewAccessRequested() *AccessRequested` NewAccessRequested instantiates a new AccessRequested 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 ### NewAccessRequestedWithDefaults `func NewAccessRequestedWithDefaults() *AccessRequested` NewAccessRequestedWithDefaults instantiates a new AccessRequested 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 ### GetAccessRequest `func (o *AccessRequested) GetAccessRequest() AccessRequestResponse1` GetAccessRequest returns the AccessRequest field if non-nil, zero value otherwise. ### GetAccessRequestOk `func (o *AccessRequested) GetAccessRequestOk() (*AccessRequestResponse1, bool)` GetAccessRequestOk returns a tuple with the AccessRequest field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAccessRequest `func (o *AccessRequested) SetAccessRequest(v AccessRequestResponse1)` SetAccessRequest sets AccessRequest field to given value. ### HasAccessRequest `func (o *AccessRequested) HasAccessRequest() bool` HasAccessRequest returns a boolean if a field has been set. ### GetIdentityId `func (o *AccessRequested) GetIdentityId() string` GetIdentityId returns the IdentityId field if non-nil, zero value otherwise. ### GetIdentityIdOk `func (o *AccessRequested) GetIdentityIdOk() (*string, bool)` GetIdentityIdOk returns a tuple with the IdentityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetIdentityId `func (o *AccessRequested) SetIdentityId(v string)` SetIdentityId sets IdentityId field to given value. ### HasIdentityId `func (o *AccessRequested) HasIdentityId() bool` HasIdentityId returns a boolean if a field has been set. ### GetEventType `func (o *AccessRequested) GetEventType() string` GetEventType returns the EventType field if non-nil, zero value otherwise. ### GetEventTypeOk `func (o *AccessRequested) GetEventTypeOk() (*string, bool)` GetEventTypeOk returns a tuple with the EventType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetEventType `func (o *AccessRequested) SetEventType(v string)` SetEventType sets EventType field to given value. ### HasEventType `func (o *AccessRequested) HasEventType() bool` HasEventType returns a boolean if a field has been set. ### GetDt `func (o *AccessRequested) GetDt() string` GetDt returns the Dt field if non-nil, zero value otherwise. ### GetDtOk `func (o *AccessRequested) GetDtOk() (*string, bool)` GetDtOk returns a tuple with the Dt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDt `func (o *AccessRequested) SetDt(v string)` SetDt sets Dt field to given value. ### HasDt `func (o *AccessRequested) HasDt() bool` HasDt returns a boolean if a field has been set.