From 0a3de89f24166cb6e1fc7129de183e56c44f3ad4 Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Mon, 20 Jan 2025 06:31:11 +0000 Subject: [PATCH] Automated build 'Automated commit 'ISCARP-15677 :- Added changes for access request administrator api doc (#1934) * Added changes for access request administrator api doc * Minor changes to fix errors * Updated filters and review comments * Updated filters * Fixed error * Updated filter for v3 api * Fixed error' by github action: 12862281443' go sdk: 12862306705 --- api_beta/api/openapi.yaml | 2 + api_beta/api_access_requests.go | 2 +- api_beta/docs/AccessRequestsAPI.md | 4 +- api_v2024/.openapi-generator/FILES | 28 + api_v2024/README.md | 15 + api_v2024/api/openapi.yaml | 1111 ++++++++++++++++- api_v2024/api_access_requests.go | 262 +++- .../docs/AccessRequestAdminItemStatus.md | 754 +++++++++++ ...tAdminItemStatusCancelledRequestDetails.md | 108 ++ ...questAdminItemStatusSodViolationContext.md | 128 ++ api_v2024/docs/AccessRequestsAPI.md | 89 +- api_v2024/docs/ApprovalForwardHistory1.md | 206 +++ api_v2024/docs/ApprovalStatusDto1.md | 304 +++++ api_v2024/docs/CancelledRequestDetails1.md | 108 ++ api_v2024/docs/ErrorMessageDto1.md | 128 ++ api_v2024/docs/ManualWorkItemDetails1.md | 216 ++++ api_v2024/docs/SodExemptCriteria1.md | 134 ++ api_v2024/docs/SodViolationCheckResult1.md | 164 +++ api_v2024/docs/SodViolationContext1.md | 82 ++ ...lationContext1ConflictingAccessCriteria.md | 82 ++ ...t1ConflictingAccessCriteriaLeftCriteria.md | 56 + .../SodViolationContextCheckCompleted1.md | 128 ++ .../model_access_request_admin_item_status.go | 1094 ++++++++++++++++ ...n_item_status_cancelled_request_details.go | 232 ++++ ...admin_item_status_sod_violation_context.go | 251 ++++ api_v2024/model_approval_forward_history_1.go | 366 ++++++ api_v2024/model_approval_status_dto_1.go | 492 ++++++++ .../model_cancelled_request_details_1.go | 232 ++++ api_v2024/model_error_message_dto_1.go | 251 ++++ api_v2024/model_manual_work_item_details_1.go | 369 ++++++ api_v2024/model_sod_exempt_criteria_1.go | 273 ++++ .../model_sod_violation_check_result_1.go | 271 ++++ api_v2024/model_sod_violation_context_1.go | 192 +++ ...n_context_1_conflicting_access_criteria.go | 192 +++ ...nflicting_access_criteria_left_criteria.go | 155 +++ ...sod_violation_context_check_completed_1.go | 251 ++++ api_v2024/test/api_access_requests_test.go | 12 + api_v3/api/openapi.yaml | 2 + api_v3/api_access_requests.go | 2 +- api_v3/docs/AccessRequestsAPI.md | 4 +- 40 files changed, 8703 insertions(+), 49 deletions(-) create mode 100644 api_v2024/docs/AccessRequestAdminItemStatus.md create mode 100644 api_v2024/docs/AccessRequestAdminItemStatusCancelledRequestDetails.md create mode 100644 api_v2024/docs/AccessRequestAdminItemStatusSodViolationContext.md create mode 100644 api_v2024/docs/ApprovalForwardHistory1.md create mode 100644 api_v2024/docs/ApprovalStatusDto1.md create mode 100644 api_v2024/docs/CancelledRequestDetails1.md create mode 100644 api_v2024/docs/ErrorMessageDto1.md create mode 100644 api_v2024/docs/ManualWorkItemDetails1.md create mode 100644 api_v2024/docs/SodExemptCriteria1.md create mode 100644 api_v2024/docs/SodViolationCheckResult1.md create mode 100644 api_v2024/docs/SodViolationContext1.md create mode 100644 api_v2024/docs/SodViolationContext1ConflictingAccessCriteria.md create mode 100644 api_v2024/docs/SodViolationContext1ConflictingAccessCriteriaLeftCriteria.md create mode 100644 api_v2024/docs/SodViolationContextCheckCompleted1.md create mode 100644 api_v2024/model_access_request_admin_item_status.go create mode 100644 api_v2024/model_access_request_admin_item_status_cancelled_request_details.go create mode 100644 api_v2024/model_access_request_admin_item_status_sod_violation_context.go create mode 100644 api_v2024/model_approval_forward_history_1.go create mode 100644 api_v2024/model_approval_status_dto_1.go create mode 100644 api_v2024/model_cancelled_request_details_1.go create mode 100644 api_v2024/model_error_message_dto_1.go create mode 100644 api_v2024/model_manual_work_item_details_1.go create mode 100644 api_v2024/model_sod_exempt_criteria_1.go create mode 100644 api_v2024/model_sod_violation_check_result_1.go create mode 100644 api_v2024/model_sod_violation_context_1.go create mode 100644 api_v2024/model_sod_violation_context_1_conflicting_access_criteria.go create mode 100644 api_v2024/model_sod_violation_context_1_conflicting_access_criteria_left_criteria.go create mode 100644 api_v2024/model_sod_violation_context_check_completed_1.go diff --git a/api_beta/api/openapi.yaml b/api_beta/api/openapi.yaml index d100f8184..8d636d234 100644 --- a/api_beta/api/openapi.yaml +++ b/api_beta/api/openapi.yaml @@ -2961,6 +2961,8 @@ paths: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* + + **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* example: accountActivityItemId eq "2c918086771c86df0177401efcdf54c0" in: query name: filters diff --git a/api_beta/api_access_requests.go b/api_beta/api_access_requests.go index 51f341908..e20ff51e3 100644 --- a/api_beta/api_access_requests.go +++ b/api_beta/api_access_requests.go @@ -777,7 +777,7 @@ func (r ApiListAccessRequestStatusRequest) Offset(offset int32) ApiListAccessReq return r } -// Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* +// Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* func (r ApiListAccessRequestStatusRequest) Filters(filters string) ApiListAccessRequestStatusRequest { r.filters = &filters return r diff --git a/api_beta/docs/AccessRequestsAPI.md b/api_beta/docs/AccessRequestsAPI.md index 585bb5faa..fe03d3a32 100644 --- a/api_beta/docs/AccessRequestsAPI.md +++ b/api_beta/docs/AccessRequestsAPI.md @@ -300,7 +300,7 @@ func main() { count := false // bool | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. (optional) (default to false) limit := int32(100) // int32 | Max number of results to return. (optional) (default to 250) offset := int32(10) // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. (optional) - filters := "accountActivityItemId eq "2c918086771c86df0177401efcdf54c0"" // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* (optional) + filters := "accountActivityItemId eq "2c918086771c86df0177401efcdf54c0"" // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* (optional) sorters := "created" // string | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name** (optional) requestState := "request-state=EXECUTING" // string | Filter the results by the state of the request. The only valid value is *EXECUTING*. (optional) @@ -334,7 +334,7 @@ Name | Type | Description | Notes **count** | **bool** | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. | [default to false] **limit** | **int32** | Max number of results to return. | [default to 250] **offset** | **int32** | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. | - **filters** | **string** | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* | + **filters** | **string** | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* | **sorters** | **string** | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name** | **requestState** | **string** | Filter the results by the state of the request. The only valid value is *EXECUTING*. | diff --git a/api_v2024/.openapi-generator/FILES b/api_v2024/.openapi-generator/FILES index d7acda268..8090ea33d 100644 --- a/api_v2024/.openapi-generator/FILES +++ b/api_v2024/.openapi-generator/FILES @@ -128,6 +128,9 @@ docs/AccessProfileUsageUsedByInner.md docs/AccessProfilesAPI.md docs/AccessRecommendationMessage.md docs/AccessRequest.md +docs/AccessRequestAdminItemStatus.md +docs/AccessRequestAdminItemStatusCancelledRequestDetails.md +docs/AccessRequestAdminItemStatusSodViolationContext.md docs/AccessRequestApprovalsAPI.md docs/AccessRequestApproversListResponse.md docs/AccessRequestConfig.md @@ -233,6 +236,7 @@ docs/ApprovalComment1.md docs/ApprovalComment2.md docs/ApprovalDescription.md docs/ApprovalForwardHistory.md +docs/ApprovalForwardHistory1.md docs/ApprovalIdentity.md docs/ApprovalInfoResponse.md docs/ApprovalItemDetails.md @@ -244,6 +248,7 @@ docs/ApprovalScheme.md docs/ApprovalSchemeForRole.md docs/ApprovalStatus.md docs/ApprovalStatusDto.md +docs/ApprovalStatusDto1.md docs/ApprovalStatusDtoCurrentOwner.md docs/ApprovalStatusDtoOriginalOwner.md docs/ApprovalSummary.md @@ -327,6 +332,7 @@ docs/CampaignTemplateOwnerRef.md docs/CampaignsDeleteRequest.md docs/CancelAccessRequest.md docs/CancelledRequestDetails.md +docs/CancelledRequestDetails1.md docs/Certification.md docs/CertificationCampaignFiltersAPI.md docs/CertificationCampaignsAPI.md @@ -469,6 +475,7 @@ docs/EntityCreatedByDTO.md docs/Error.md docs/ErrorMessage.md docs/ErrorMessageDto.md +docs/ErrorMessageDto1.md docs/ErrorResponseDto.md docs/EvaluateResponse.md docs/Event.md @@ -667,6 +674,7 @@ docs/ManagerCorrelationMapping.md docs/ManualDiscoverApplications.md docs/ManualDiscoverApplicationsTemplate.md docs/ManualWorkItemDetails.md +docs/ManualWorkItemDetails1.md docs/ManualWorkItemDetailsCurrentOwner.md docs/ManualWorkItemDetailsOriginalOwner.md docs/ManualWorkItemState.md @@ -1010,6 +1018,7 @@ docs/SimIntegrationDetailsAllOfBeforeProvisioningRule.md docs/SlimCampaign.md docs/SlimDiscoveredApplications.md docs/SodExemptCriteria.md +docs/SodExemptCriteria1.md docs/SodPolicy.md docs/SodPolicyConflictingAccessCriteria.md docs/SodPolicyDto.md @@ -1019,8 +1028,13 @@ docs/SodRecipient.md docs/SodReportResultDto.md docs/SodViolationCheck.md docs/SodViolationCheckResult.md +docs/SodViolationCheckResult1.md docs/SodViolationContext.md +docs/SodViolationContext1.md +docs/SodViolationContext1ConflictingAccessCriteria.md +docs/SodViolationContext1ConflictingAccessCriteriaLeftCriteria.md docs/SodViolationContextCheckCompleted.md +docs/SodViolationContextCheckCompleted1.md docs/SodViolationContextConflictingAccessCriteria.md docs/SodViolationContextConflictingAccessCriteriaLeftCriteria.md docs/Source.md @@ -1239,6 +1253,9 @@ model_access_profile_usage.go model_access_profile_usage_used_by_inner.go model_access_recommendation_message.go model_access_request.go +model_access_request_admin_item_status.go +model_access_request_admin_item_status_cancelled_request_details.go +model_access_request_admin_item_status_sod_violation_context.go model_access_request_approvers_list_response.go model_access_request_config.go model_access_request_context.go @@ -1336,6 +1353,7 @@ model_approval_comment_1.go model_approval_comment_2.go model_approval_description.go model_approval_forward_history.go +model_approval_forward_history_1.go model_approval_identity.go model_approval_info_response.go model_approval_item_details.go @@ -1347,6 +1365,7 @@ model_approval_scheme.go model_approval_scheme_for_role.go model_approval_status.go model_approval_status_dto.go +model_approval_status_dto_1.go model_approval_status_dto_current_owner.go model_approval_status_dto_original_owner.go model_approval_summary.go @@ -1425,6 +1444,7 @@ model_campaign_template_owner_ref.go model_campaigns_delete_request.go model_cancel_access_request.go model_cancelled_request_details.go +model_cancelled_request_details_1.go model_certification.go model_certification_decision.go model_certification_dto.go @@ -1556,6 +1576,7 @@ model_entity_created_by_dto.go model_error.go model_error_message.go model_error_message_dto.go +model_error_message_dto_1.go model_error_response_dto.go model_evaluate_response.go model_event.go @@ -1737,6 +1758,7 @@ model_manager_correlation_mapping.go model_manual_discover_applications.go model_manual_discover_applications_template.go model_manual_work_item_details.go +model_manual_work_item_details_1.go model_manual_work_item_details_current_owner.go model_manual_work_item_details_original_owner.go model_manual_work_item_state.go @@ -2054,6 +2076,7 @@ model_sim_integration_details_all_of_before_provisioning_rule.go model_slim_campaign.go model_slim_discovered_applications.go model_sod_exempt_criteria.go +model_sod_exempt_criteria_1.go model_sod_policy.go model_sod_policy_conflicting_access_criteria.go model_sod_policy_dto.go @@ -2063,8 +2086,13 @@ model_sod_recipient.go model_sod_report_result_dto.go model_sod_violation_check.go model_sod_violation_check_result.go +model_sod_violation_check_result_1.go model_sod_violation_context.go +model_sod_violation_context_1.go +model_sod_violation_context_1_conflicting_access_criteria.go +model_sod_violation_context_1_conflicting_access_criteria_left_criteria.go model_sod_violation_context_check_completed.go +model_sod_violation_context_check_completed_1.go model_sod_violation_context_conflicting_access_criteria.go model_sod_violation_context_conflicting_access_criteria_left_criteria.go model_source.go diff --git a/api_v2024/README.md b/api_v2024/README.md index 229190c77..f7729e3bd 100644 --- a/api_v2024/README.md +++ b/api_v2024/README.md @@ -107,6 +107,7 @@ Class | Method | HTTP request | Description *AccessRequestsAPI* | [**CreateAccessRequest**](docs/AccessRequestsAPI.md#createaccessrequest) | **Post** /access-requests | Submit Access Request *AccessRequestsAPI* | [**GetAccessRequestConfig**](docs/AccessRequestsAPI.md#getaccessrequestconfig) | **Get** /access-request-config | Get Access Request Configuration *AccessRequestsAPI* | [**ListAccessRequestStatus**](docs/AccessRequestsAPI.md#listaccessrequeststatus) | **Get** /access-request-status | Access Request Status +*AccessRequestsAPI* | [**ListAdministratorsAccessRequestStatus**](docs/AccessRequestsAPI.md#listadministratorsaccessrequeststatus) | **Get** /access-request-administration | Access Request Status for Administrators *AccessRequestsAPI* | [**SetAccessRequestConfig**](docs/AccessRequestsAPI.md#setaccessrequestconfig) | **Put** /access-request-config | Update Access Request Configuration *AccountActivitiesAPI* | [**GetAccountActivity**](docs/AccountActivitiesAPI.md#getaccountactivity) | **Get** /account-activities/{id} | Get an Account Activity *AccountActivitiesAPI* | [**ListAccountActivities**](docs/AccountActivitiesAPI.md#listaccountactivities) | **Get** /account-activities | List Account Activities @@ -759,6 +760,9 @@ Class | Method | HTTP request | Description - [AccessProfileUsageUsedByInner](docs/AccessProfileUsageUsedByInner.md) - [AccessRecommendationMessage](docs/AccessRecommendationMessage.md) - [AccessRequest](docs/AccessRequest.md) + - [AccessRequestAdminItemStatus](docs/AccessRequestAdminItemStatus.md) + - [AccessRequestAdminItemStatusCancelledRequestDetails](docs/AccessRequestAdminItemStatusCancelledRequestDetails.md) + - [AccessRequestAdminItemStatusSodViolationContext](docs/AccessRequestAdminItemStatusSodViolationContext.md) - [AccessRequestApproversListResponse](docs/AccessRequestApproversListResponse.md) - [AccessRequestConfig](docs/AccessRequestConfig.md) - [AccessRequestContext](docs/AccessRequestContext.md) @@ -856,6 +860,7 @@ Class | Method | HTTP request | Description - [ApprovalComment2](docs/ApprovalComment2.md) - [ApprovalDescription](docs/ApprovalDescription.md) - [ApprovalForwardHistory](docs/ApprovalForwardHistory.md) + - [ApprovalForwardHistory1](docs/ApprovalForwardHistory1.md) - [ApprovalIdentity](docs/ApprovalIdentity.md) - [ApprovalInfoResponse](docs/ApprovalInfoResponse.md) - [ApprovalItemDetails](docs/ApprovalItemDetails.md) @@ -867,6 +872,7 @@ Class | Method | HTTP request | Description - [ApprovalSchemeForRole](docs/ApprovalSchemeForRole.md) - [ApprovalStatus](docs/ApprovalStatus.md) - [ApprovalStatusDto](docs/ApprovalStatusDto.md) + - [ApprovalStatusDto1](docs/ApprovalStatusDto1.md) - [ApprovalStatusDtoCurrentOwner](docs/ApprovalStatusDtoCurrentOwner.md) - [ApprovalStatusDtoOriginalOwner](docs/ApprovalStatusDtoOriginalOwner.md) - [ApprovalSummary](docs/ApprovalSummary.md) @@ -945,6 +951,7 @@ Class | Method | HTTP request | Description - [CampaignsDeleteRequest](docs/CampaignsDeleteRequest.md) - [CancelAccessRequest](docs/CancelAccessRequest.md) - [CancelledRequestDetails](docs/CancelledRequestDetails.md) + - [CancelledRequestDetails1](docs/CancelledRequestDetails1.md) - [Certification](docs/Certification.md) - [CertificationDecision](docs/CertificationDecision.md) - [CertificationDto](docs/CertificationDto.md) @@ -1076,6 +1083,7 @@ Class | Method | HTTP request | Description - [Error](docs/Error.md) - [ErrorMessage](docs/ErrorMessage.md) - [ErrorMessageDto](docs/ErrorMessageDto.md) + - [ErrorMessageDto1](docs/ErrorMessageDto1.md) - [ErrorResponseDto](docs/ErrorResponseDto.md) - [EvaluateResponse](docs/EvaluateResponse.md) - [Event](docs/Event.md) @@ -1257,6 +1265,7 @@ Class | Method | HTTP request | Description - [ManualDiscoverApplications](docs/ManualDiscoverApplications.md) - [ManualDiscoverApplicationsTemplate](docs/ManualDiscoverApplicationsTemplate.md) - [ManualWorkItemDetails](docs/ManualWorkItemDetails.md) + - [ManualWorkItemDetails1](docs/ManualWorkItemDetails1.md) - [ManualWorkItemDetailsCurrentOwner](docs/ManualWorkItemDetailsCurrentOwner.md) - [ManualWorkItemDetailsOriginalOwner](docs/ManualWorkItemDetailsOriginalOwner.md) - [ManualWorkItemState](docs/ManualWorkItemState.md) @@ -1574,6 +1583,7 @@ Class | Method | HTTP request | Description - [SlimCampaign](docs/SlimCampaign.md) - [SlimDiscoveredApplications](docs/SlimDiscoveredApplications.md) - [SodExemptCriteria](docs/SodExemptCriteria.md) + - [SodExemptCriteria1](docs/SodExemptCriteria1.md) - [SodPolicy](docs/SodPolicy.md) - [SodPolicyConflictingAccessCriteria](docs/SodPolicyConflictingAccessCriteria.md) - [SodPolicyDto](docs/SodPolicyDto.md) @@ -1583,8 +1593,13 @@ Class | Method | HTTP request | Description - [SodReportResultDto](docs/SodReportResultDto.md) - [SodViolationCheck](docs/SodViolationCheck.md) - [SodViolationCheckResult](docs/SodViolationCheckResult.md) + - [SodViolationCheckResult1](docs/SodViolationCheckResult1.md) - [SodViolationContext](docs/SodViolationContext.md) + - [SodViolationContext1](docs/SodViolationContext1.md) + - [SodViolationContext1ConflictingAccessCriteria](docs/SodViolationContext1ConflictingAccessCriteria.md) + - [SodViolationContext1ConflictingAccessCriteriaLeftCriteria](docs/SodViolationContext1ConflictingAccessCriteriaLeftCriteria.md) - [SodViolationContextCheckCompleted](docs/SodViolationContextCheckCompleted.md) + - [SodViolationContextCheckCompleted1](docs/SodViolationContextCheckCompleted1.md) - [SodViolationContextConflictingAccessCriteria](docs/SodViolationContextConflictingAccessCriteria.md) - [SodViolationContextConflictingAccessCriteriaLeftCriteria](docs/SodViolationContextConflictingAccessCriteriaLeftCriteria.md) - [Source](docs/Source.md) diff --git a/api_v2024/api/openapi.yaml b/api_v2024/api/openapi.yaml index 26d2b5786..9b1e4da0d 100644 --- a/api_v2024/api/openapi.yaml +++ b/api_v2024/api/openapi.yaml @@ -2843,6 +2843,8 @@ paths: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* + + **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* example: accountActivityItemId eq "2c918086771c86df0177401efcdf54c0" in: query name: filters @@ -2941,6 +2943,188 @@ paths: - Access Requests x-sailpoint-userLevels: - ORG_ADMIN + /access-request-administration: + get: + description: |- + Use this API to get access request statuses of all the access requests in the org based on the specified query parameters. + Any user with user level ORG_ADMIN or scope idn:access-request-administration:read can access this endpoint to get the access request statuses + operationId: listAdministratorsAccessRequestStatus + parameters: + - description: Filter the results by the identity the requests were made for. + *me* indicates the current user. Mutually exclusive with *regarding-identity*. + example: 2c9180877b2b6ea4017b2c545f971429 + in: query + name: requested-for + required: false + schema: + type: string + - description: Filter the results by the identity who made the requests. *me* + indicates the current user. Mutually exclusive with *regarding-identity*. + example: 2c9180877b2b6ea4017b2c545f971429 + in: query + name: requested-by + required: false + schema: + type: string + - description: Filter the results by the specified identity who is either the + requester or target of the requests. *me* indicates the current user. Mutually + exclusive with *requested-for* and *requested-by*. + example: 2c9180877b2b6ea4017b2c545f971429 + in: query + name: regarding-identity + required: false + schema: + type: string + - description: Filter the results by the specified identity who is the owner + of the Identity Request Work Item. *me* indicates the current user. + example: 2c9180877b2b6ea4017b2c545f971429 + in: query + name: assigned-to + required: false + schema: + type: string + - description: "If this is true, the *X-Total-Count* response header populates\ + \ with the number of results that would be returned if limit and offset\ + \ were ignored." + example: false + in: query + name: count + required: false + schema: + default: false + type: boolean + - description: Max number of results to return. + example: 100 + in: query + name: limit + required: false + schema: + default: 250 + format: int32 + maximum: 250 + minimum: 0 + type: integer + - description: Offset into the full result set. Usually specified with *limit* + to paginate through the results. Defaults to 0 if not specified. + example: 10 + in: query + name: offset + required: false + schema: + format: int32 + minimum: 0 + type: integer + - description: |- + Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) + + Filtering is supported for the following fields and operators: + + **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* + + **accessRequestId**: *in* + + **status**: *in, eq, ne* + + **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* + example: accountActivityItemId eq "2c918086771c86df0177401efcdf54c0" + in: query + name: filters + required: false + schema: + type: string + - description: |- + Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) + + Sorting is supported for the following fields: **created, modified, accountActivityItemId, name, accessRequestId** + example: created + in: query + name: sorters + required: false + schema: + format: comma-separated + type: string + - description: Filter the results by the state of the request. The only valid + value is *EXECUTING*. + example: request-state=EXECUTING + in: query + name: request-state + required: false + schema: + type: string + responses: + "200": + content: + application/json: + schema: + items: + $ref: '#/components/schemas/AccessRequestAdminItemStatus' + type: array + description: List of requested item statuses. + "400": + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponseDto' + description: Client Error - Returned if the request body is invalid. + "401": + content: + application/json: + schema: + $ref: '#/components/schemas/listAccessProfiles_401_response' + description: "Unauthorized - Returned if there is no authorization header,\ + \ or if the JWT token is expired." + "403": + content: + application/json: + examples: + "403": + summary: An example of a 403 response object + value: + detailCode: 403 Forbidden + trackingId: b21b1f7ce4da4d639f2c62a57171b427 + messages: + - locale: en-US + localeOrigin: DEFAULT + text: The server understood the request but refuses to authorize + it. + schema: + $ref: '#/components/schemas/ErrorResponseDto' + description: "Forbidden - Returned if the user you are running as, doesn't\ + \ have access to this end-point." + "429": + content: + application/json: + schema: + $ref: '#/components/schemas/listAccessProfiles_429_response' + description: Too Many Requests - Returned in response to too many requests + in a given period of time - rate limited. The Retry-After header in the + response includes how long to wait before trying again. + "500": + content: + application/json: + examples: + "500": + summary: An example of a 500 response object + value: + detailCode: 500.0 Internal Fault + trackingId: b21b1f7ce4da4d639f2c62a57171b427 + messages: + - locale: en-US + localeOrigin: DEFAULT + text: An internal fault occurred. + schema: + $ref: '#/components/schemas/ErrorResponseDto' + description: Internal Server Error - Returned if there is an unexpected + error. + security: + - userAuth: + - idn:access-request-administration:read + summary: Access Request Status for Administrators + tags: + - Access Requests + x-sailpoint-userLevels: + - ORG_ADMIN + - idn:access-request-administration:read /access-request-approvals/pending: get: description: This endpoint returns a list of pending approvals. See "owner-id" @@ -80904,49 +81088,71 @@ components: nullable: true type: object type: object - PendingApproval: + AccessRequestAdminItemStatus: example: requester: name: William Wilson id: 2c7180a46faadee4016fb4e018c20648 type: IDENTITY requestedFor: - - name: Robert Robinson - id: 2c4180a46faadee4016fb4e018c20626 - type: IDENTITY - - name: Robert Robinson - id: 2c4180a46faadee4016fb4e018c20626 - type: IDENTITY - - name: Robert Robinson - id: 2c4180a46faadee4016fb4e018c20626 - type: IDENTITY - - name: Robert Robinson - id: 2c4180a46faadee4016fb4e018c20626 - type: IDENTITY - - name: Robert Robinson - id: 2c4180a46faadee4016fb4e018c20626 - type: IDENTITY - owner: - name: Support - id: 2c9180a46faadee4016fb4e018c20639 + name: William Wilson + id: 2c9180835d191a86015d28455b4b232a type: IDENTITY - removeDate: 2020-07-11T00:00:00Z - requestType: GRANT_ACCESS - commentRequiredWhenRejected: true - created: 2017-07-11T18:45:37.098Z - previousReviewersComments: - - created: 2017-07-11T18:45:37.098Z - author: - name: john.doe - id: 2c9180847e25f377017e2ae8cae4650b + removeDate: 2019-10-23T00:00:00Z + clientMetadata: + key1: value1 + key2: value2 + approvalDetails: + - errorMessages: + - localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + - localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + removeDate: 2020-07-11T00:00:00Z + originalOwner: + name: Michael Michaels + id: 2c7180a46faadee4016fb4e018c20642 type: IDENTITY - comment: This is a comment. - - created: 2017-07-11T18:45:37.098Z - author: - name: john.doe - id: 2c9180847e25f377017e2ae8cae4650b + scheme: MANAGER + currentOwner: + name: Allen Albertson + id: 2c3780a46faadee4016fb4e018c20652 type: IDENTITY - comment: This is a comment. + modified: 2019-08-23T18:52:57.398Z + comment: I approve this request + forwarded: false + status: PENDING + - errorMessages: + - localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + - localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + removeDate: 2020-07-11T00:00:00Z + originalOwner: + name: Michael Michaels + id: 2c7180a46faadee4016fb4e018c20642 + type: IDENTITY + scheme: MANAGER + currentOwner: + name: Allen Albertson + id: 2c3780a46faadee4016fb4e018c20652 + type: IDENTITY + modified: 2019-08-23T18:52:57.398Z + comment: I approve this request + forwarded: false + status: PENDING + cancelable: true + reauthorizationRequired: true + requestType: GRANT_ACCESS + created: 2019-08-23T18:40:35.772Z requesterComment: created: 2017-07-11T18:45:37.098Z author: @@ -80954,12 +81160,331 @@ components: id: 2c9180847e25f377017e2ae8cae4650b type: IDENTITY comment: This is a comment. - currentRemoveDate: 2020-07-11T00:00:00Z - requestedObject: - name: Applied Research Access - description: "Access to research information, lab results, and schematics" - id: 2c9180835d2e5168015d32f890ca1581 - type: ROLE + preApprovalTriggerDetails: + decision: APPROVED + comment: Access is Approved + reviewer: John Doe + description: This is the Engineering role that engineers are granted. + type: ACCESS_PROFILE + errorMessages: + - locale: en-US + localeOrigin: DEFAULT + text: Error Message + - locale: en-US + localeOrigin: DEFAULT + text: Error Message + sodViolationContext: + violationCheckResult: + clientMetadata: + requestedAppName: test-app + requestedAppId: 2c91808f7892918f0178b78da4a305a1 + violationContexts: + - conflictingAccessCriteria: + leftCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + rightCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + policy: + name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + - conflictingAccessCriteria: + leftCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + rightCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + policy: + name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + violatedPolicies: + - name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + - name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + message: + localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + state: SUCCESS + uuid: f73d16e9-a038-46c5-b217-1246e15fdbdd + cancelledRequestDetails: + owner: + name: Support + id: 2c9180a46faadee4016fb4e018c20639 + type: IDENTITY + modified: 2019-12-20T09:17:12.192Z + comment: This request must be cancelled. + accessRequestId: 2b838de9-db9b-abcf-e646-d4f274ad4238 + provisioningDetails: + orderedSubPhaseReferences: manualWorkItemDetails + accountActivityItemId: 2c9180926cbfbddd016cbfc7c3b10010 + name: AccessProfile1 + manualWorkItemDetails: + - originalOwner: + name: Michael Michaels + id: 2c7180a46faadee4016fb4e018c20642 + type: IDENTITY + currentOwner: + name: Allen Albertson + id: 2c3780a46faadee4016fb4e018c20652 + type: IDENTITY + modified: 2019-08-23T18:52:57.398Z + forwardHistory: + - forwarderName: William Wilson + reassignmentType: AUTOMATIC_REASSIGNMENT + modified: 2019-08-23T18:52:57.398Z + oldApproverName: Frank Mir + newApproverName: Al Volta + comment: Forwarding from Frank to Al + - forwarderName: William Wilson + reassignmentType: AUTOMATIC_REASSIGNMENT + modified: 2019-08-23T18:52:57.398Z + oldApproverName: Frank Mir + newApproverName: Al Volta + comment: Forwarding from Frank to Al + forwarded: true + status: PENDING + - originalOwner: + name: Michael Michaels + id: 2c7180a46faadee4016fb4e018c20642 + type: IDENTITY + currentOwner: + name: Allen Albertson + id: 2c3780a46faadee4016fb4e018c20652 + type: IDENTITY + modified: 2019-08-23T18:52:57.398Z + forwardHistory: + - forwarderName: William Wilson + reassignmentType: AUTOMATIC_REASSIGNMENT + modified: 2019-08-23T18:52:57.398Z + oldApproverName: Frank Mir + newApproverName: Al Volta + comment: Forwarding from Frank to Al + - forwarderName: William Wilson + reassignmentType: AUTOMATIC_REASSIGNMENT + modified: 2019-08-23T18:52:57.398Z + oldApproverName: Frank Mir + newApproverName: Al Volta + comment: Forwarding from Frank to Al + forwarded: true + status: PENDING + modified: 2019-08-23T18:52:59.162Z + state: EXECUTING + accessRequestPhases: + - result: SUCCESSFUL + phaseReference: approvalDetails + name: APPROVAL_PHASE + started: 2020-07-11T00:00:00Z + finished: 2020-07-12T00:00:00Z + state: COMPLETED + - result: SUCCESSFUL + phaseReference: approvalDetails + name: APPROVAL_PHASE + started: 2020-07-11T00:00:00Z + finished: 2020-07-12T00:00:00Z + state: COMPLETED + properties: + name: + description: Human-readable display name of the item being requested. + example: AccessProfile1 + nullable: true + type: string + type: + description: Type of requested object. + enum: + - ACCESS_PROFILE + - ROLE + - ENTITLEMENT + - null + example: ACCESS_PROFILE + nullable: true + type: string + cancelledRequestDetails: + $ref: '#/components/schemas/AccessRequestAdminItemStatus_cancelledRequestDetails' + errorMessages: + description: "List of localized error messages, if any, encountered during\ + \ the approval/provisioning process." + items: + $ref: '#/components/schemas/ErrorMessageDtoList_1' + nullable: true + type: array + state: + $ref: '#/components/schemas/RequestedItemStatusRequestState' + approvalDetails: + description: Approval details for each item. + items: + $ref: '#/components/schemas/ApprovalStatusDto_1' + type: array + manualWorkItemDetails: + description: Manual work items created for provisioning the item. + items: + $ref: '#/components/schemas/ManualWorkItemDetails_1' + nullable: true + type: array + accountActivityItemId: + description: Id of associated account activity item. + example: 2c9180926cbfbddd016cbfc7c3b10010 + type: string + requestType: + $ref: '#/components/schemas/AccessRequestType' + modified: + description: When the request was last modified. + example: 2019-08-23T18:52:59.162Z + format: date-time + nullable: true + type: string + created: + description: When the request was created. + example: 2019-08-23T18:40:35.772Z + format: date-time + type: string + requester: + $ref: '#/components/schemas/AccessItemRequester' + requestedFor: + $ref: '#/components/schemas/RequestedItemStatus_requestedFor' + requesterComment: + $ref: '#/components/schemas/RequestedItemStatus_requesterComment' + sodViolationContext: + $ref: '#/components/schemas/AccessRequestAdminItemStatus_sodViolationContext' + provisioningDetails: + $ref: '#/components/schemas/RequestedItemStatus_provisioningDetails' + preApprovalTriggerDetails: + $ref: '#/components/schemas/RequestedItemStatus_preApprovalTriggerDetails' + accessRequestPhases: + description: "A list of Phases that the Access Request has gone through\ + \ in order, to help determine the status of the request." + items: + $ref: '#/components/schemas/AccessRequestPhases' + nullable: true + type: array + description: + description: Description associated to the requested object. + example: This is the Engineering role that engineers are granted. + nullable: true + type: string + removeDate: + description: When the role access is scheduled for removal. + example: 2019-10-23T00:00:00Z + format: date-time + nullable: true + type: string + cancelable: + default: false + description: True if the request can be canceled. + example: true + type: boolean + reauthorizationRequired: + default: false + description: True if re-auth is required. + example: true + type: boolean + accessRequestId: + description: This is the account activity id. + example: 2b838de9-db9b-abcf-e646-d4f274ad4238 + type: string + clientMetadata: + additionalProperties: + type: string + description: "Arbitrary key-value pairs, if any were included in the corresponding\ + \ access request" + example: + key1: value1 + key2: value2 + nullable: true + type: object + type: object + PendingApproval: + example: + requester: + name: William Wilson + id: 2c7180a46faadee4016fb4e018c20648 + type: IDENTITY + requestedFor: + - name: Robert Robinson + id: 2c4180a46faadee4016fb4e018c20626 + type: IDENTITY + - name: Robert Robinson + id: 2c4180a46faadee4016fb4e018c20626 + type: IDENTITY + - name: Robert Robinson + id: 2c4180a46faadee4016fb4e018c20626 + type: IDENTITY + - name: Robert Robinson + id: 2c4180a46faadee4016fb4e018c20626 + type: IDENTITY + - name: Robert Robinson + id: 2c4180a46faadee4016fb4e018c20626 + type: IDENTITY + owner: + name: Support + id: 2c9180a46faadee4016fb4e018c20639 + type: IDENTITY + removeDate: 2020-07-11T00:00:00Z + requestType: GRANT_ACCESS + commentRequiredWhenRejected: true + created: 2017-07-11T18:45:37.098Z + previousReviewersComments: + - created: 2017-07-11T18:45:37.098Z + author: + name: john.doe + id: 2c9180847e25f377017e2ae8cae4650b + type: IDENTITY + comment: This is a comment. + - created: 2017-07-11T18:45:37.098Z + author: + name: john.doe + id: 2c9180847e25f377017e2ae8cae4650b + type: IDENTITY + comment: This is a comment. + requesterComment: + created: 2017-07-11T18:45:37.098Z + author: + name: john.doe + id: 2c9180847e25f377017e2ae8cae4650b + type: IDENTITY + comment: This is a comment. + currentRemoveDate: 2020-07-11T00:00:00Z + requestedObject: + name: Applied Research Access + description: "Access to research information, lab results, and schematics" + id: 2c9180835d2e5168015d32f890ca1581 + type: ROLE sodViolationContext: violationCheckResult: clientMetadata: @@ -101007,6 +101532,169 @@ components: nullable: true type: string type: object + CancelledRequestDetails_1: + description: Provides additional details for a request that has been cancelled. + properties: + comment: + description: Comment made by the owner when cancelling the associated request. + example: This request must be cancelled. + type: string + owner: + $ref: '#/components/schemas/OwnerDto' + modified: + description: Date comment was added by the owner when cancelling the associated + request. + example: 2019-12-20T09:17:12.192Z + format: date-time + type: string + type: object + ErrorMessageDtoList_1: + description: List of error messages + example: + locale: en-US + localeOrigin: DEFAULT + text: Error Message + items: + $ref: '#/components/schemas/ErrorMessageDto_1' + type: array + ApprovalStatusDto_1: + example: + errorMessages: + - localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + - localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + removeDate: 2020-07-11T00:00:00Z + originalOwner: + name: Michael Michaels + id: 2c7180a46faadee4016fb4e018c20642 + type: IDENTITY + scheme: MANAGER + currentOwner: + name: Allen Albertson + id: 2c3780a46faadee4016fb4e018c20652 + type: IDENTITY + modified: 2019-08-23T18:52:57.398Z + comment: I approve this request + forwarded: false + status: PENDING + properties: + forwarded: + default: false + description: True if the request for this item was forwarded from one owner + to another. + example: false + type: boolean + originalOwner: + $ref: '#/components/schemas/ApprovalStatusDto_originalOwner' + currentOwner: + $ref: '#/components/schemas/ApprovalStatusDto_currentOwner' + modified: + description: Time at which item was modified. + example: 2019-08-23T18:52:57.398Z + format: date-time + nullable: true + type: string + status: + $ref: '#/components/schemas/ManualWorkItemState' + scheme: + $ref: '#/components/schemas/ApprovalScheme' + errorMessages: + description: "If the request failed, includes any error messages that were\ + \ generated." + items: + $ref: '#/components/schemas/ErrorMessageDto_1' + nullable: true + type: array + comment: + description: "Comment, if any, provided by the approver." + example: I approve this request + nullable: true + type: string + removeDate: + description: The date the role or access profile or entitlement is no longer + assigned to the specified identity. + example: 2020-07-11T00:00:00Z + format: date-time + nullable: true + type: string + type: object + ManualWorkItemDetails_1: + example: + originalOwner: + name: Michael Michaels + id: 2c7180a46faadee4016fb4e018c20642 + type: IDENTITY + currentOwner: + name: Allen Albertson + id: 2c3780a46faadee4016fb4e018c20652 + type: IDENTITY + modified: 2019-08-23T18:52:57.398Z + forwardHistory: + - forwarderName: William Wilson + reassignmentType: AUTOMATIC_REASSIGNMENT + modified: 2019-08-23T18:52:57.398Z + oldApproverName: Frank Mir + newApproverName: Al Volta + comment: Forwarding from Frank to Al + - forwarderName: William Wilson + reassignmentType: AUTOMATIC_REASSIGNMENT + modified: 2019-08-23T18:52:57.398Z + oldApproverName: Frank Mir + newApproverName: Al Volta + comment: Forwarding from Frank to Al + forwarded: true + status: PENDING + properties: + forwarded: + default: false + description: True if the request for this item was forwarded from one owner + to another. + example: true + type: boolean + originalOwner: + $ref: '#/components/schemas/ManualWorkItemDetails_originalOwner' + currentOwner: + $ref: '#/components/schemas/ManualWorkItemDetails_currentOwner' + modified: + description: Time at which item was modified. + example: 2019-08-23T18:52:57.398Z + format: date-time + type: string + status: + $ref: '#/components/schemas/ManualWorkItemState' + forwardHistory: + description: The history of approval forward action. + items: + $ref: '#/components/schemas/ApprovalForwardHistory_1' + nullable: true + type: array + type: object + SodViolationContextCheckCompleted_1: + description: An object referencing a completed SOD violation check + nullable: true + properties: + state: + description: The status of SOD violation check + enum: + - SUCCESS + - ERROR + - null + example: SUCCESS + nullable: true + type: string + uuid: + description: The id of the Violation check event + example: f73d16e9-a038-46c5-b217-1246e15fdbdd + nullable: true + type: string + violationCheckResult: + $ref: '#/components/schemas/SodViolationCheckResult_1' + type: object AccessItemRequestedFor: description: Identity the access item is requested for. example: @@ -108090,6 +108778,156 @@ components: nullable: true type: array type: object + ErrorMessageDto_1: + example: + localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + properties: + locale: + description: "The locale for the message text, a BCP 47 language tag." + example: en-US + nullable: true + type: string + localeOrigin: + $ref: '#/components/schemas/LocaleOrigin' + text: + description: Actual text of the error message in the indicated locale. + example: The request was syntactically correct but its content is semantically + invalid. + type: string + type: object + ApprovalForwardHistory_1: + example: + forwarderName: William Wilson + reassignmentType: AUTOMATIC_REASSIGNMENT + modified: 2019-08-23T18:52:57.398Z + oldApproverName: Frank Mir + newApproverName: Al Volta + comment: Forwarding from Frank to Al + properties: + oldApproverName: + description: Display name of approver from whom the approval was forwarded. + example: Frank Mir + type: string + newApproverName: + description: Display name of approver to whom the approval was forwarded. + example: Al Volta + type: string + comment: + description: Comment made while forwarding. + example: Forwarding from Frank to Al + nullable: true + type: string + modified: + description: Time at which approval was forwarded. + example: 2019-08-23T18:52:57.398Z + format: date-time + type: string + forwarderName: + description: Display name of forwarder who forwarded the approval. + example: William Wilson + nullable: true + type: string + reassignmentType: + $ref: '#/components/schemas/ReassignmentType' + type: object + SodViolationCheckResult_1: + description: The inner object representing the completed SOD Violation check + example: + clientMetadata: + requestedAppName: test-app + requestedAppId: 2c91808f7892918f0178b78da4a305a1 + violationContexts: + - conflictingAccessCriteria: + leftCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + rightCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + policy: + name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + - conflictingAccessCriteria: + leftCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + rightCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + policy: + name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + violatedPolicies: + - name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + - name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + message: + localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + properties: + message: + $ref: '#/components/schemas/ErrorMessageDto_1' + clientMetadata: + additionalProperties: + type: string + description: Arbitrary key-value pairs. They will never be processed by + the IdentityNow system but will be returned on completion of the violation + check. + example: + requestedAppName: test-app + requestedAppId: 2c91808f7892918f0178b78da4a305a1 + nullable: true + type: object + violationContexts: + items: + $ref: '#/components/schemas/SodViolationContext_1' + nullable: true + type: array + violatedPolicies: + description: A list of the SOD policies that were violated. + items: + $ref: '#/components/schemas/SodPolicyDto' + nullable: true + type: array + type: object ReassignmentType: description: "The approval reassignment type. \n* MANUAL_REASSIGNMENT: An approval\ \ with this reassignment type has been specifically reassigned by the approval\ @@ -109791,6 +110629,40 @@ components: conflictingAccessCriteria: $ref: '#/components/schemas/SodViolationContext_conflictingAccessCriteria' type: object + SodViolationContext_1: + description: The contextual information of the violated criteria + example: + conflictingAccessCriteria: + leftCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + rightCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + policy: + name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + properties: + policy: + $ref: '#/components/schemas/SodPolicyDto' + conflictingAccessCriteria: + $ref: '#/components/schemas/SodViolationContext_1_conflictingAccessCriteria' + type: object RoleCriteriaOperation: description: An operation enum: @@ -110226,6 +111098,30 @@ components: example: My HR Entitlement type: string type: object + SodExemptCriteria_1: + description: Details of the Entitlement criteria + example: + existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + properties: + existing: + default: false + description: If the entitlement already belonged to the user or not. + example: true + type: boolean + type: + $ref: '#/components/schemas/DtoType' + id: + description: Entitlement ID + example: 2c918085771e9d3301773b3cb66f6398 + type: string + name: + description: Entitlement name + example: My HR Entitlement + type: string + type: object RoleCriteriaKeyType: description: "Indicates whether the associated criteria represents an expression\ \ on identity attributes, account attributes, or entitlements, respectively." @@ -112235,6 +113131,94 @@ components: decision: APPROVED comment: Access is Approved reviewer: John Doe + AccessRequestAdminItemStatus_cancelledRequestDetails: + allOf: + - $ref: '#/components/schemas/CancelledRequestDetails_1' + - nullable: true + type: object + example: + owner: + name: Support + id: 2c9180a46faadee4016fb4e018c20639 + type: IDENTITY + modified: 2019-12-20T09:17:12.192Z + comment: This request must be cancelled. + AccessRequestAdminItemStatus_sodViolationContext: + allOf: + - $ref: '#/components/schemas/SodViolationContextCheckCompleted_1' + - description: The details of the SOD violations for the associated approval. + nullable: true + type: object + example: + violationCheckResult: + clientMetadata: + requestedAppName: test-app + requestedAppId: 2c91808f7892918f0178b78da4a305a1 + violationContexts: + - conflictingAccessCriteria: + leftCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + rightCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + policy: + name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + - conflictingAccessCriteria: + leftCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + rightCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + policy: + name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + violatedPolicies: + - name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + - name: Business SOD Policy + id: 0f11f2a4-7c94-4bf3-a2bd-742580fe3bde + type: SOD_POLICY + message: + localeOrigin: DEFAULT + text: The request was syntactically correct but its content is semantically + invalid. + locale: en-US + state: SUCCESS + uuid: f73d16e9-a038-46c5-b217-1246e15fdbdd PendingApproval_owner: description: Access item owner's identity. example: @@ -116236,6 +117220,53 @@ components: rightCriteria: $ref: '#/components/schemas/SodViolationContext_conflictingAccessCriteria_leftCriteria' type: object + SodViolationContext_1_conflictingAccessCriteria_leftCriteria: + example: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + properties: + criteriaList: + items: + $ref: '#/components/schemas/SodExemptCriteria_1' + type: array + type: object + SodViolationContext_1_conflictingAccessCriteria: + description: The object which contains the left and right hand side of the entitlements + that got violated according to the policy. + example: + leftCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + rightCriteria: + criteriaList: + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + - existing: true + name: My HR Entitlement + id: 2c918085771e9d3301773b3cb66f6398 + type: IDENTITY + properties: + leftCriteria: + $ref: '#/components/schemas/SodViolationContext_1_conflictingAccessCriteria_leftCriteria' + rightCriteria: + $ref: '#/components/schemas/SodViolationContext_1_conflictingAccessCriteria_leftCriteria' + type: object ExceptionCriteria_criteriaList_inner: allOf: - $ref: '#/components/schemas/ExceptionCriteriaAccess' diff --git a/api_v2024/api_access_requests.go b/api_v2024/api_access_requests.go index fbb151a1e..203f8d24c 100644 --- a/api_v2024/api_access_requests.go +++ b/api_v2024/api_access_requests.go @@ -1151,7 +1151,7 @@ func (r ApiListAccessRequestStatusRequest) Offset(offset int32) ApiListAccessReq return r } -// Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* +// Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* func (r ApiListAccessRequestStatusRequest) Filters(filters string) ApiListAccessRequestStatusRequest { r.filters = &filters return r @@ -1355,6 +1355,266 @@ func (a *AccessRequestsAPIService) ListAccessRequestStatusExecute(r ApiListAcces return localVarReturnValue, localVarHTTPResponse, nil } +type ApiListAdministratorsAccessRequestStatusRequest struct { + ctx context.Context + ApiService *AccessRequestsAPIService + requestedFor *string + requestedBy *string + regardingIdentity *string + assignedTo *string + count *bool + limit *int32 + offset *int32 + filters *string + sorters *string + requestState *string +} + +// Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. +func (r ApiListAdministratorsAccessRequestStatusRequest) RequestedFor(requestedFor string) ApiListAdministratorsAccessRequestStatusRequest { + r.requestedFor = &requestedFor + return r +} + +// Filter the results by the identity who made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*. +func (r ApiListAdministratorsAccessRequestStatusRequest) RequestedBy(requestedBy string) ApiListAdministratorsAccessRequestStatusRequest { + r.requestedBy = &requestedBy + return r +} + +// Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. +func (r ApiListAdministratorsAccessRequestStatusRequest) RegardingIdentity(regardingIdentity string) ApiListAdministratorsAccessRequestStatusRequest { + r.regardingIdentity = ®ardingIdentity + return r +} + +// Filter the results by the specified identity who is the owner of the Identity Request Work Item. *me* indicates the current user. +func (r ApiListAdministratorsAccessRequestStatusRequest) AssignedTo(assignedTo string) ApiListAdministratorsAccessRequestStatusRequest { + r.assignedTo = &assignedTo + return r +} + +// If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. +func (r ApiListAdministratorsAccessRequestStatusRequest) Count(count bool) ApiListAdministratorsAccessRequestStatusRequest { + r.count = &count + return r +} + +// Max number of results to return. +func (r ApiListAdministratorsAccessRequestStatusRequest) Limit(limit int32) ApiListAdministratorsAccessRequestStatusRequest { + r.limit = &limit + return r +} + +// Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. +func (r ApiListAdministratorsAccessRequestStatusRequest) Offset(offset int32) ApiListAdministratorsAccessRequestStatusRequest { + r.offset = &offset + return r +} + +// Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* +func (r ApiListAdministratorsAccessRequestStatusRequest) Filters(filters string) ApiListAdministratorsAccessRequestStatusRequest { + r.filters = &filters + return r +} + +// Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name, accessRequestId** +func (r ApiListAdministratorsAccessRequestStatusRequest) Sorters(sorters string) ApiListAdministratorsAccessRequestStatusRequest { + r.sorters = &sorters + return r +} + +// Filter the results by the state of the request. The only valid value is *EXECUTING*. +func (r ApiListAdministratorsAccessRequestStatusRequest) RequestState(requestState string) ApiListAdministratorsAccessRequestStatusRequest { + r.requestState = &requestState + return r +} + +func (r ApiListAdministratorsAccessRequestStatusRequest) Execute() ([]AccessRequestAdminItemStatus, *http.Response, error) { + return r.ApiService.ListAdministratorsAccessRequestStatusExecute(r) +} + +/* +ListAdministratorsAccessRequestStatus Access Request Status for Administrators + +Use this API to get access request statuses of all the access requests in the org based on the specified query parameters. +Any user with user level ORG_ADMIN or scope idn:access-request-administration:read can access this endpoint to get the access request statuses + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ApiListAdministratorsAccessRequestStatusRequest +*/ +func (a *AccessRequestsAPIService) ListAdministratorsAccessRequestStatus(ctx context.Context) ApiListAdministratorsAccessRequestStatusRequest { + return ApiListAdministratorsAccessRequestStatusRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// @return []AccessRequestAdminItemStatus +func (a *AccessRequestsAPIService) ListAdministratorsAccessRequestStatusExecute(r ApiListAdministratorsAccessRequestStatusRequest) ([]AccessRequestAdminItemStatus, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue []AccessRequestAdminItemStatus + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AccessRequestsAPIService.ListAdministratorsAccessRequestStatus") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/access-request-administration" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.requestedFor != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "requested-for", r.requestedFor, "", "") + } + if r.requestedBy != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "requested-by", r.requestedBy, "", "") + } + if r.regardingIdentity != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "regarding-identity", r.regardingIdentity, "", "") + } + if r.assignedTo != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "assigned-to", r.assignedTo, "", "") + } + if r.count != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "count", r.count, "", "") + } else { + var defaultValue bool = false + r.count = &defaultValue + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "", "") + } else { + var defaultValue int32 = 250 + r.limit = &defaultValue + } + if r.offset != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "offset", r.offset, "", "") + } + if r.filters != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "filters", r.filters, "", "") + } + if r.sorters != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "sorters", r.sorters, "", "") + } + if r.requestState != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "request-state", r.requestState, "", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{"application/json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + if localVarHTTPResponse.StatusCode == 400 { + var v ErrorResponseDto + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 401 { + var v ListAccessProfiles401Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 403 { + var v ErrorResponseDto + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 429 { + var v ListAccessProfiles429Response + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + if localVarHTTPResponse.StatusCode == 500 { + var v ErrorResponseDto + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, &v) + newErr.model = v + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + type ApiSetAccessRequestConfigRequest struct { ctx context.Context ApiService *AccessRequestsAPIService diff --git a/api_v2024/docs/AccessRequestAdminItemStatus.md b/api_v2024/docs/AccessRequestAdminItemStatus.md new file mode 100644 index 000000000..88d42e7d8 --- /dev/null +++ b/api_v2024/docs/AccessRequestAdminItemStatus.md @@ -0,0 +1,754 @@ +# AccessRequestAdminItemStatus + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Name** | Pointer to **NullableString** | Human-readable display name of the item being requested. | [optional] +**Type** | Pointer to **NullableString** | Type of requested object. | [optional] +**CancelledRequestDetails** | Pointer to [**AccessRequestAdminItemStatusCancelledRequestDetails**](AccessRequestAdminItemStatusCancelledRequestDetails.md) | | [optional] +**ErrorMessages** | Pointer to [**[][]ErrorMessageDto1**]([]ErrorMessageDto1.md) | List of localized error messages, if any, encountered during the approval/provisioning process. | [optional] +**State** | Pointer to [**RequestedItemStatusRequestState**](RequestedItemStatusRequestState.md) | | [optional] +**ApprovalDetails** | Pointer to [**[]ApprovalStatusDto1**](ApprovalStatusDto1.md) | Approval details for each item. | [optional] +**ManualWorkItemDetails** | Pointer to [**[]ManualWorkItemDetails1**](ManualWorkItemDetails1.md) | Manual work items created for provisioning the item. | [optional] +**AccountActivityItemId** | Pointer to **string** | Id of associated account activity item. | [optional] +**RequestType** | Pointer to [**NullableAccessRequestType**](AccessRequestType.md) | | [optional] +**Modified** | Pointer to **NullableTime** | When the request was last modified. | [optional] +**Created** | Pointer to **time.Time** | When the request was created. | [optional] +**Requester** | Pointer to [**AccessItemRequester**](AccessItemRequester.md) | | [optional] +**RequestedFor** | Pointer to [**RequestedItemStatusRequestedFor**](RequestedItemStatusRequestedFor.md) | | [optional] +**RequesterComment** | Pointer to [**RequestedItemStatusRequesterComment**](RequestedItemStatusRequesterComment.md) | | [optional] +**SodViolationContext** | Pointer to [**AccessRequestAdminItemStatusSodViolationContext**](AccessRequestAdminItemStatusSodViolationContext.md) | | [optional] +**ProvisioningDetails** | Pointer to [**RequestedItemStatusProvisioningDetails**](RequestedItemStatusProvisioningDetails.md) | | [optional] +**PreApprovalTriggerDetails** | Pointer to [**RequestedItemStatusPreApprovalTriggerDetails**](RequestedItemStatusPreApprovalTriggerDetails.md) | | [optional] +**AccessRequestPhases** | Pointer to [**[]AccessRequestPhases**](AccessRequestPhases.md) | A list of Phases that the Access Request has gone through in order, to help determine the status of the request. | [optional] +**Description** | Pointer to **NullableString** | Description associated to the requested object. | [optional] +**RemoveDate** | Pointer to **NullableTime** | When the role access is scheduled for removal. | [optional] +**Cancelable** | Pointer to **bool** | True if the request can be canceled. | [optional] [default to false] +**ReauthorizationRequired** | Pointer to **bool** | True if re-auth is required. | [optional] [default to false] +**AccessRequestId** | Pointer to **string** | This is the account activity id. | [optional] +**ClientMetadata** | Pointer to **map[string]string** | Arbitrary key-value pairs, if any were included in the corresponding access request | [optional] + +## Methods + +### NewAccessRequestAdminItemStatus + +`func NewAccessRequestAdminItemStatus() *AccessRequestAdminItemStatus` + +NewAccessRequestAdminItemStatus instantiates a new AccessRequestAdminItemStatus 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 + +### NewAccessRequestAdminItemStatusWithDefaults + +`func NewAccessRequestAdminItemStatusWithDefaults() *AccessRequestAdminItemStatus` + +NewAccessRequestAdminItemStatusWithDefaults instantiates a new AccessRequestAdminItemStatus 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 + +### GetName + +`func (o *AccessRequestAdminItemStatus) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *AccessRequestAdminItemStatus) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *AccessRequestAdminItemStatus) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *AccessRequestAdminItemStatus) HasName() bool` + +HasName returns a boolean if a field has been set. + +### SetNameNil + +`func (o *AccessRequestAdminItemStatus) SetNameNil(b bool)` + + SetNameNil sets the value for Name to be an explicit nil + +### UnsetName +`func (o *AccessRequestAdminItemStatus) UnsetName()` + +UnsetName ensures that no value is present for Name, not even an explicit nil +### GetType + +`func (o *AccessRequestAdminItemStatus) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *AccessRequestAdminItemStatus) 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 *AccessRequestAdminItemStatus) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *AccessRequestAdminItemStatus) HasType() bool` + +HasType returns a boolean if a field has been set. + +### SetTypeNil + +`func (o *AccessRequestAdminItemStatus) SetTypeNil(b bool)` + + SetTypeNil sets the value for Type to be an explicit nil + +### UnsetType +`func (o *AccessRequestAdminItemStatus) UnsetType()` + +UnsetType ensures that no value is present for Type, not even an explicit nil +### GetCancelledRequestDetails + +`func (o *AccessRequestAdminItemStatus) GetCancelledRequestDetails() AccessRequestAdminItemStatusCancelledRequestDetails` + +GetCancelledRequestDetails returns the CancelledRequestDetails field if non-nil, zero value otherwise. + +### GetCancelledRequestDetailsOk + +`func (o *AccessRequestAdminItemStatus) GetCancelledRequestDetailsOk() (*AccessRequestAdminItemStatusCancelledRequestDetails, bool)` + +GetCancelledRequestDetailsOk returns a tuple with the CancelledRequestDetails field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCancelledRequestDetails + +`func (o *AccessRequestAdminItemStatus) SetCancelledRequestDetails(v AccessRequestAdminItemStatusCancelledRequestDetails)` + +SetCancelledRequestDetails sets CancelledRequestDetails field to given value. + +### HasCancelledRequestDetails + +`func (o *AccessRequestAdminItemStatus) HasCancelledRequestDetails() bool` + +HasCancelledRequestDetails returns a boolean if a field has been set. + +### GetErrorMessages + +`func (o *AccessRequestAdminItemStatus) GetErrorMessages() [][]ErrorMessageDto1` + +GetErrorMessages returns the ErrorMessages field if non-nil, zero value otherwise. + +### GetErrorMessagesOk + +`func (o *AccessRequestAdminItemStatus) GetErrorMessagesOk() (*[][]ErrorMessageDto1, bool)` + +GetErrorMessagesOk returns a tuple with the ErrorMessages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrorMessages + +`func (o *AccessRequestAdminItemStatus) SetErrorMessages(v [][]ErrorMessageDto1)` + +SetErrorMessages sets ErrorMessages field to given value. + +### HasErrorMessages + +`func (o *AccessRequestAdminItemStatus) HasErrorMessages() bool` + +HasErrorMessages returns a boolean if a field has been set. + +### SetErrorMessagesNil + +`func (o *AccessRequestAdminItemStatus) SetErrorMessagesNil(b bool)` + + SetErrorMessagesNil sets the value for ErrorMessages to be an explicit nil + +### UnsetErrorMessages +`func (o *AccessRequestAdminItemStatus) UnsetErrorMessages()` + +UnsetErrorMessages ensures that no value is present for ErrorMessages, not even an explicit nil +### GetState + +`func (o *AccessRequestAdminItemStatus) GetState() RequestedItemStatusRequestState` + +GetState returns the State field if non-nil, zero value otherwise. + +### GetStateOk + +`func (o *AccessRequestAdminItemStatus) GetStateOk() (*RequestedItemStatusRequestState, bool)` + +GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetState + +`func (o *AccessRequestAdminItemStatus) SetState(v RequestedItemStatusRequestState)` + +SetState sets State field to given value. + +### HasState + +`func (o *AccessRequestAdminItemStatus) HasState() bool` + +HasState returns a boolean if a field has been set. + +### GetApprovalDetails + +`func (o *AccessRequestAdminItemStatus) GetApprovalDetails() []ApprovalStatusDto1` + +GetApprovalDetails returns the ApprovalDetails field if non-nil, zero value otherwise. + +### GetApprovalDetailsOk + +`func (o *AccessRequestAdminItemStatus) GetApprovalDetailsOk() (*[]ApprovalStatusDto1, bool)` + +GetApprovalDetailsOk returns a tuple with the ApprovalDetails field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetApprovalDetails + +`func (o *AccessRequestAdminItemStatus) SetApprovalDetails(v []ApprovalStatusDto1)` + +SetApprovalDetails sets ApprovalDetails field to given value. + +### HasApprovalDetails + +`func (o *AccessRequestAdminItemStatus) HasApprovalDetails() bool` + +HasApprovalDetails returns a boolean if a field has been set. + +### GetManualWorkItemDetails + +`func (o *AccessRequestAdminItemStatus) GetManualWorkItemDetails() []ManualWorkItemDetails1` + +GetManualWorkItemDetails returns the ManualWorkItemDetails field if non-nil, zero value otherwise. + +### GetManualWorkItemDetailsOk + +`func (o *AccessRequestAdminItemStatus) GetManualWorkItemDetailsOk() (*[]ManualWorkItemDetails1, bool)` + +GetManualWorkItemDetailsOk returns a tuple with the ManualWorkItemDetails field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetManualWorkItemDetails + +`func (o *AccessRequestAdminItemStatus) SetManualWorkItemDetails(v []ManualWorkItemDetails1)` + +SetManualWorkItemDetails sets ManualWorkItemDetails field to given value. + +### HasManualWorkItemDetails + +`func (o *AccessRequestAdminItemStatus) HasManualWorkItemDetails() bool` + +HasManualWorkItemDetails returns a boolean if a field has been set. + +### SetManualWorkItemDetailsNil + +`func (o *AccessRequestAdminItemStatus) SetManualWorkItemDetailsNil(b bool)` + + SetManualWorkItemDetailsNil sets the value for ManualWorkItemDetails to be an explicit nil + +### UnsetManualWorkItemDetails +`func (o *AccessRequestAdminItemStatus) UnsetManualWorkItemDetails()` + +UnsetManualWorkItemDetails ensures that no value is present for ManualWorkItemDetails, not even an explicit nil +### GetAccountActivityItemId + +`func (o *AccessRequestAdminItemStatus) GetAccountActivityItemId() string` + +GetAccountActivityItemId returns the AccountActivityItemId field if non-nil, zero value otherwise. + +### GetAccountActivityItemIdOk + +`func (o *AccessRequestAdminItemStatus) GetAccountActivityItemIdOk() (*string, bool)` + +GetAccountActivityItemIdOk returns a tuple with the AccountActivityItemId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccountActivityItemId + +`func (o *AccessRequestAdminItemStatus) SetAccountActivityItemId(v string)` + +SetAccountActivityItemId sets AccountActivityItemId field to given value. + +### HasAccountActivityItemId + +`func (o *AccessRequestAdminItemStatus) HasAccountActivityItemId() bool` + +HasAccountActivityItemId returns a boolean if a field has been set. + +### GetRequestType + +`func (o *AccessRequestAdminItemStatus) GetRequestType() AccessRequestType` + +GetRequestType returns the RequestType field if non-nil, zero value otherwise. + +### GetRequestTypeOk + +`func (o *AccessRequestAdminItemStatus) 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 *AccessRequestAdminItemStatus) SetRequestType(v AccessRequestType)` + +SetRequestType sets RequestType field to given value. + +### HasRequestType + +`func (o *AccessRequestAdminItemStatus) HasRequestType() bool` + +HasRequestType returns a boolean if a field has been set. + +### SetRequestTypeNil + +`func (o *AccessRequestAdminItemStatus) SetRequestTypeNil(b bool)` + + SetRequestTypeNil sets the value for RequestType to be an explicit nil + +### UnsetRequestType +`func (o *AccessRequestAdminItemStatus) UnsetRequestType()` + +UnsetRequestType ensures that no value is present for RequestType, not even an explicit nil +### GetModified + +`func (o *AccessRequestAdminItemStatus) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *AccessRequestAdminItemStatus) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *AccessRequestAdminItemStatus) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + +### HasModified + +`func (o *AccessRequestAdminItemStatus) HasModified() bool` + +HasModified returns a boolean if a field has been set. + +### SetModifiedNil + +`func (o *AccessRequestAdminItemStatus) SetModifiedNil(b bool)` + + SetModifiedNil sets the value for Modified to be an explicit nil + +### UnsetModified +`func (o *AccessRequestAdminItemStatus) UnsetModified()` + +UnsetModified ensures that no value is present for Modified, not even an explicit nil +### GetCreated + +`func (o *AccessRequestAdminItemStatus) GetCreated() time.Time` + +GetCreated returns the Created field if non-nil, zero value otherwise. + +### GetCreatedOk + +`func (o *AccessRequestAdminItemStatus) GetCreatedOk() (*time.Time, bool)` + +GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCreated + +`func (o *AccessRequestAdminItemStatus) SetCreated(v time.Time)` + +SetCreated sets Created field to given value. + +### HasCreated + +`func (o *AccessRequestAdminItemStatus) HasCreated() bool` + +HasCreated returns a boolean if a field has been set. + +### GetRequester + +`func (o *AccessRequestAdminItemStatus) GetRequester() AccessItemRequester` + +GetRequester returns the Requester field if non-nil, zero value otherwise. + +### GetRequesterOk + +`func (o *AccessRequestAdminItemStatus) GetRequesterOk() (*AccessItemRequester, bool)` + +GetRequesterOk returns a tuple with the Requester field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequester + +`func (o *AccessRequestAdminItemStatus) SetRequester(v AccessItemRequester)` + +SetRequester sets Requester field to given value. + +### HasRequester + +`func (o *AccessRequestAdminItemStatus) HasRequester() bool` + +HasRequester returns a boolean if a field has been set. + +### GetRequestedFor + +`func (o *AccessRequestAdminItemStatus) GetRequestedFor() RequestedItemStatusRequestedFor` + +GetRequestedFor returns the RequestedFor field if non-nil, zero value otherwise. + +### GetRequestedForOk + +`func (o *AccessRequestAdminItemStatus) GetRequestedForOk() (*RequestedItemStatusRequestedFor, 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 *AccessRequestAdminItemStatus) SetRequestedFor(v RequestedItemStatusRequestedFor)` + +SetRequestedFor sets RequestedFor field to given value. + +### HasRequestedFor + +`func (o *AccessRequestAdminItemStatus) HasRequestedFor() bool` + +HasRequestedFor returns a boolean if a field has been set. + +### GetRequesterComment + +`func (o *AccessRequestAdminItemStatus) GetRequesterComment() RequestedItemStatusRequesterComment` + +GetRequesterComment returns the RequesterComment field if non-nil, zero value otherwise. + +### GetRequesterCommentOk + +`func (o *AccessRequestAdminItemStatus) GetRequesterCommentOk() (*RequestedItemStatusRequesterComment, bool)` + +GetRequesterCommentOk returns a tuple with the RequesterComment field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequesterComment + +`func (o *AccessRequestAdminItemStatus) SetRequesterComment(v RequestedItemStatusRequesterComment)` + +SetRequesterComment sets RequesterComment field to given value. + +### HasRequesterComment + +`func (o *AccessRequestAdminItemStatus) HasRequesterComment() bool` + +HasRequesterComment returns a boolean if a field has been set. + +### GetSodViolationContext + +`func (o *AccessRequestAdminItemStatus) GetSodViolationContext() AccessRequestAdminItemStatusSodViolationContext` + +GetSodViolationContext returns the SodViolationContext field if non-nil, zero value otherwise. + +### GetSodViolationContextOk + +`func (o *AccessRequestAdminItemStatus) GetSodViolationContextOk() (*AccessRequestAdminItemStatusSodViolationContext, bool)` + +GetSodViolationContextOk returns a tuple with the SodViolationContext field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSodViolationContext + +`func (o *AccessRequestAdminItemStatus) SetSodViolationContext(v AccessRequestAdminItemStatusSodViolationContext)` + +SetSodViolationContext sets SodViolationContext field to given value. + +### HasSodViolationContext + +`func (o *AccessRequestAdminItemStatus) HasSodViolationContext() bool` + +HasSodViolationContext returns a boolean if a field has been set. + +### GetProvisioningDetails + +`func (o *AccessRequestAdminItemStatus) GetProvisioningDetails() RequestedItemStatusProvisioningDetails` + +GetProvisioningDetails returns the ProvisioningDetails field if non-nil, zero value otherwise. + +### GetProvisioningDetailsOk + +`func (o *AccessRequestAdminItemStatus) GetProvisioningDetailsOk() (*RequestedItemStatusProvisioningDetails, bool)` + +GetProvisioningDetailsOk returns a tuple with the ProvisioningDetails field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetProvisioningDetails + +`func (o *AccessRequestAdminItemStatus) SetProvisioningDetails(v RequestedItemStatusProvisioningDetails)` + +SetProvisioningDetails sets ProvisioningDetails field to given value. + +### HasProvisioningDetails + +`func (o *AccessRequestAdminItemStatus) HasProvisioningDetails() bool` + +HasProvisioningDetails returns a boolean if a field has been set. + +### GetPreApprovalTriggerDetails + +`func (o *AccessRequestAdminItemStatus) GetPreApprovalTriggerDetails() RequestedItemStatusPreApprovalTriggerDetails` + +GetPreApprovalTriggerDetails returns the PreApprovalTriggerDetails field if non-nil, zero value otherwise. + +### GetPreApprovalTriggerDetailsOk + +`func (o *AccessRequestAdminItemStatus) GetPreApprovalTriggerDetailsOk() (*RequestedItemStatusPreApprovalTriggerDetails, bool)` + +GetPreApprovalTriggerDetailsOk returns a tuple with the PreApprovalTriggerDetails field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreApprovalTriggerDetails + +`func (o *AccessRequestAdminItemStatus) SetPreApprovalTriggerDetails(v RequestedItemStatusPreApprovalTriggerDetails)` + +SetPreApprovalTriggerDetails sets PreApprovalTriggerDetails field to given value. + +### HasPreApprovalTriggerDetails + +`func (o *AccessRequestAdminItemStatus) HasPreApprovalTriggerDetails() bool` + +HasPreApprovalTriggerDetails returns a boolean if a field has been set. + +### GetAccessRequestPhases + +`func (o *AccessRequestAdminItemStatus) GetAccessRequestPhases() []AccessRequestPhases` + +GetAccessRequestPhases returns the AccessRequestPhases field if non-nil, zero value otherwise. + +### GetAccessRequestPhasesOk + +`func (o *AccessRequestAdminItemStatus) GetAccessRequestPhasesOk() (*[]AccessRequestPhases, bool)` + +GetAccessRequestPhasesOk returns a tuple with the AccessRequestPhases field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccessRequestPhases + +`func (o *AccessRequestAdminItemStatus) SetAccessRequestPhases(v []AccessRequestPhases)` + +SetAccessRequestPhases sets AccessRequestPhases field to given value. + +### HasAccessRequestPhases + +`func (o *AccessRequestAdminItemStatus) HasAccessRequestPhases() bool` + +HasAccessRequestPhases returns a boolean if a field has been set. + +### SetAccessRequestPhasesNil + +`func (o *AccessRequestAdminItemStatus) SetAccessRequestPhasesNil(b bool)` + + SetAccessRequestPhasesNil sets the value for AccessRequestPhases to be an explicit nil + +### UnsetAccessRequestPhases +`func (o *AccessRequestAdminItemStatus) UnsetAccessRequestPhases()` + +UnsetAccessRequestPhases ensures that no value is present for AccessRequestPhases, not even an explicit nil +### GetDescription + +`func (o *AccessRequestAdminItemStatus) GetDescription() string` + +GetDescription returns the Description field if non-nil, zero value otherwise. + +### GetDescriptionOk + +`func (o *AccessRequestAdminItemStatus) GetDescriptionOk() (*string, bool)` + +GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDescription + +`func (o *AccessRequestAdminItemStatus) SetDescription(v string)` + +SetDescription sets Description field to given value. + +### HasDescription + +`func (o *AccessRequestAdminItemStatus) HasDescription() bool` + +HasDescription returns a boolean if a field has been set. + +### SetDescriptionNil + +`func (o *AccessRequestAdminItemStatus) SetDescriptionNil(b bool)` + + SetDescriptionNil sets the value for Description to be an explicit nil + +### UnsetDescription +`func (o *AccessRequestAdminItemStatus) UnsetDescription()` + +UnsetDescription ensures that no value is present for Description, not even an explicit nil +### GetRemoveDate + +`func (o *AccessRequestAdminItemStatus) GetRemoveDate() time.Time` + +GetRemoveDate returns the RemoveDate field if non-nil, zero value otherwise. + +### GetRemoveDateOk + +`func (o *AccessRequestAdminItemStatus) GetRemoveDateOk() (*time.Time, 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 *AccessRequestAdminItemStatus) SetRemoveDate(v time.Time)` + +SetRemoveDate sets RemoveDate field to given value. + +### HasRemoveDate + +`func (o *AccessRequestAdminItemStatus) HasRemoveDate() bool` + +HasRemoveDate returns a boolean if a field has been set. + +### SetRemoveDateNil + +`func (o *AccessRequestAdminItemStatus) SetRemoveDateNil(b bool)` + + SetRemoveDateNil sets the value for RemoveDate to be an explicit nil + +### UnsetRemoveDate +`func (o *AccessRequestAdminItemStatus) UnsetRemoveDate()` + +UnsetRemoveDate ensures that no value is present for RemoveDate, not even an explicit nil +### GetCancelable + +`func (o *AccessRequestAdminItemStatus) GetCancelable() bool` + +GetCancelable returns the Cancelable field if non-nil, zero value otherwise. + +### GetCancelableOk + +`func (o *AccessRequestAdminItemStatus) GetCancelableOk() (*bool, bool)` + +GetCancelableOk returns a tuple with the Cancelable field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCancelable + +`func (o *AccessRequestAdminItemStatus) SetCancelable(v bool)` + +SetCancelable sets Cancelable field to given value. + +### HasCancelable + +`func (o *AccessRequestAdminItemStatus) HasCancelable() bool` + +HasCancelable returns a boolean if a field has been set. + +### GetReauthorizationRequired + +`func (o *AccessRequestAdminItemStatus) GetReauthorizationRequired() bool` + +GetReauthorizationRequired returns the ReauthorizationRequired field if non-nil, zero value otherwise. + +### GetReauthorizationRequiredOk + +`func (o *AccessRequestAdminItemStatus) GetReauthorizationRequiredOk() (*bool, bool)` + +GetReauthorizationRequiredOk returns a tuple with the ReauthorizationRequired field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReauthorizationRequired + +`func (o *AccessRequestAdminItemStatus) SetReauthorizationRequired(v bool)` + +SetReauthorizationRequired sets ReauthorizationRequired field to given value. + +### HasReauthorizationRequired + +`func (o *AccessRequestAdminItemStatus) HasReauthorizationRequired() bool` + +HasReauthorizationRequired returns a boolean if a field has been set. + +### GetAccessRequestId + +`func (o *AccessRequestAdminItemStatus) GetAccessRequestId() string` + +GetAccessRequestId returns the AccessRequestId field if non-nil, zero value otherwise. + +### GetAccessRequestIdOk + +`func (o *AccessRequestAdminItemStatus) GetAccessRequestIdOk() (*string, bool)` + +GetAccessRequestIdOk returns a tuple with the AccessRequestId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAccessRequestId + +`func (o *AccessRequestAdminItemStatus) SetAccessRequestId(v string)` + +SetAccessRequestId sets AccessRequestId field to given value. + +### HasAccessRequestId + +`func (o *AccessRequestAdminItemStatus) HasAccessRequestId() bool` + +HasAccessRequestId returns a boolean if a field has been set. + +### GetClientMetadata + +`func (o *AccessRequestAdminItemStatus) GetClientMetadata() map[string]string` + +GetClientMetadata returns the ClientMetadata field if non-nil, zero value otherwise. + +### GetClientMetadataOk + +`func (o *AccessRequestAdminItemStatus) 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 *AccessRequestAdminItemStatus) SetClientMetadata(v map[string]string)` + +SetClientMetadata sets ClientMetadata field to given value. + +### HasClientMetadata + +`func (o *AccessRequestAdminItemStatus) HasClientMetadata() bool` + +HasClientMetadata returns a boolean if a field has been set. + +### SetClientMetadataNil + +`func (o *AccessRequestAdminItemStatus) SetClientMetadataNil(b bool)` + + SetClientMetadataNil sets the value for ClientMetadata to be an explicit nil + +### UnsetClientMetadata +`func (o *AccessRequestAdminItemStatus) UnsetClientMetadata()` + +UnsetClientMetadata ensures that no value is present for ClientMetadata, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/AccessRequestAdminItemStatusCancelledRequestDetails.md b/api_v2024/docs/AccessRequestAdminItemStatusCancelledRequestDetails.md new file mode 100644 index 000000000..99a93df84 --- /dev/null +++ b/api_v2024/docs/AccessRequestAdminItemStatusCancelledRequestDetails.md @@ -0,0 +1,108 @@ +# AccessRequestAdminItemStatusCancelledRequestDetails + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | Pointer to **string** | Comment made by the owner when cancelling the associated request. | [optional] +**Owner** | Pointer to [**OwnerDto**](OwnerDto.md) | | [optional] +**Modified** | Pointer to **time.Time** | Date comment was added by the owner when cancelling the associated request. | [optional] + +## Methods + +### NewAccessRequestAdminItemStatusCancelledRequestDetails + +`func NewAccessRequestAdminItemStatusCancelledRequestDetails() *AccessRequestAdminItemStatusCancelledRequestDetails` + +NewAccessRequestAdminItemStatusCancelledRequestDetails instantiates a new AccessRequestAdminItemStatusCancelledRequestDetails 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 + +### NewAccessRequestAdminItemStatusCancelledRequestDetailsWithDefaults + +`func NewAccessRequestAdminItemStatusCancelledRequestDetailsWithDefaults() *AccessRequestAdminItemStatusCancelledRequestDetails` + +NewAccessRequestAdminItemStatusCancelledRequestDetailsWithDefaults instantiates a new AccessRequestAdminItemStatusCancelledRequestDetails 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 + +### GetComment + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) 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 *AccessRequestAdminItemStatusCancelledRequestDetails) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### GetOwner + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetOwner() OwnerDto` + +GetOwner returns the Owner field if non-nil, zero value otherwise. + +### GetOwnerOk + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetOwnerOk() (*OwnerDto, bool)` + +GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOwner + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) SetOwner(v OwnerDto)` + +SetOwner sets Owner field to given value. + +### HasOwner + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) HasOwner() bool` + +HasOwner returns a boolean if a field has been set. + +### GetModified + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + +### HasModified + +`func (o *AccessRequestAdminItemStatusCancelledRequestDetails) HasModified() bool` + +HasModified returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/AccessRequestAdminItemStatusSodViolationContext.md b/api_v2024/docs/AccessRequestAdminItemStatusSodViolationContext.md new file mode 100644 index 000000000..db91383a5 --- /dev/null +++ b/api_v2024/docs/AccessRequestAdminItemStatusSodViolationContext.md @@ -0,0 +1,128 @@ +# AccessRequestAdminItemStatusSodViolationContext + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | Pointer to **NullableString** | The status of SOD violation check | [optional] +**Uuid** | Pointer to **NullableString** | The id of the Violation check event | [optional] +**ViolationCheckResult** | Pointer to [**SodViolationCheckResult1**](SodViolationCheckResult1.md) | | [optional] + +## Methods + +### NewAccessRequestAdminItemStatusSodViolationContext + +`func NewAccessRequestAdminItemStatusSodViolationContext() *AccessRequestAdminItemStatusSodViolationContext` + +NewAccessRequestAdminItemStatusSodViolationContext instantiates a new AccessRequestAdminItemStatusSodViolationContext 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 + +### NewAccessRequestAdminItemStatusSodViolationContextWithDefaults + +`func NewAccessRequestAdminItemStatusSodViolationContextWithDefaults() *AccessRequestAdminItemStatusSodViolationContext` + +NewAccessRequestAdminItemStatusSodViolationContextWithDefaults instantiates a new AccessRequestAdminItemStatusSodViolationContext 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 + +### GetState + +`func (o *AccessRequestAdminItemStatusSodViolationContext) GetState() string` + +GetState returns the State field if non-nil, zero value otherwise. + +### GetStateOk + +`func (o *AccessRequestAdminItemStatusSodViolationContext) GetStateOk() (*string, bool)` + +GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetState + +`func (o *AccessRequestAdminItemStatusSodViolationContext) SetState(v string)` + +SetState sets State field to given value. + +### HasState + +`func (o *AccessRequestAdminItemStatusSodViolationContext) HasState() bool` + +HasState returns a boolean if a field has been set. + +### SetStateNil + +`func (o *AccessRequestAdminItemStatusSodViolationContext) SetStateNil(b bool)` + + SetStateNil sets the value for State to be an explicit nil + +### UnsetState +`func (o *AccessRequestAdminItemStatusSodViolationContext) UnsetState()` + +UnsetState ensures that no value is present for State, not even an explicit nil +### GetUuid + +`func (o *AccessRequestAdminItemStatusSodViolationContext) GetUuid() string` + +GetUuid returns the Uuid field if non-nil, zero value otherwise. + +### GetUuidOk + +`func (o *AccessRequestAdminItemStatusSodViolationContext) GetUuidOk() (*string, bool)` + +GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUuid + +`func (o *AccessRequestAdminItemStatusSodViolationContext) SetUuid(v string)` + +SetUuid sets Uuid field to given value. + +### HasUuid + +`func (o *AccessRequestAdminItemStatusSodViolationContext) HasUuid() bool` + +HasUuid returns a boolean if a field has been set. + +### SetUuidNil + +`func (o *AccessRequestAdminItemStatusSodViolationContext) SetUuidNil(b bool)` + + SetUuidNil sets the value for Uuid to be an explicit nil + +### UnsetUuid +`func (o *AccessRequestAdminItemStatusSodViolationContext) UnsetUuid()` + +UnsetUuid ensures that no value is present for Uuid, not even an explicit nil +### GetViolationCheckResult + +`func (o *AccessRequestAdminItemStatusSodViolationContext) GetViolationCheckResult() SodViolationCheckResult1` + +GetViolationCheckResult returns the ViolationCheckResult field if non-nil, zero value otherwise. + +### GetViolationCheckResultOk + +`func (o *AccessRequestAdminItemStatusSodViolationContext) GetViolationCheckResultOk() (*SodViolationCheckResult1, bool)` + +GetViolationCheckResultOk returns a tuple with the ViolationCheckResult field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetViolationCheckResult + +`func (o *AccessRequestAdminItemStatusSodViolationContext) SetViolationCheckResult(v SodViolationCheckResult1)` + +SetViolationCheckResult sets ViolationCheckResult field to given value. + +### HasViolationCheckResult + +`func (o *AccessRequestAdminItemStatusSodViolationContext) HasViolationCheckResult() bool` + +HasViolationCheckResult returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/AccessRequestsAPI.md b/api_v2024/docs/AccessRequestsAPI.md index 41b3604ab..b76964064 100644 --- a/api_v2024/docs/AccessRequestsAPI.md +++ b/api_v2024/docs/AccessRequestsAPI.md @@ -11,6 +11,7 @@ Method | HTTP request | Description [**CreateAccessRequest**](AccessRequestsAPI.md#CreateAccessRequest) | **Post** /access-requests | Submit Access Request [**GetAccessRequestConfig**](AccessRequestsAPI.md#GetAccessRequestConfig) | **Get** /access-request-config | Get Access Request Configuration [**ListAccessRequestStatus**](AccessRequestsAPI.md#ListAccessRequestStatus) | **Get** /access-request-status | Access Request Status +[**ListAdministratorsAccessRequestStatus**](AccessRequestsAPI.md#ListAdministratorsAccessRequestStatus) | **Get** /access-request-administration | Access Request Status for Administrators [**SetAccessRequestConfig**](AccessRequestsAPI.md#SetAccessRequestConfig) | **Put** /access-request-config | Update Access Request Configuration @@ -436,7 +437,7 @@ func main() { count := false // bool | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. (optional) (default to false) limit := int32(100) // int32 | Max number of results to return. (optional) (default to 250) offset := int32(10) // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. (optional) - filters := "accountActivityItemId eq "2c918086771c86df0177401efcdf54c0"" // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* (optional) + filters := "accountActivityItemId eq "2c918086771c86df0177401efcdf54c0"" // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* (optional) sorters := "created" // string | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name** (optional) requestState := "request-state=EXECUTING" // string | Filter the results by the state of the request. The only valid value is *EXECUTING*. (optional) @@ -470,7 +471,7 @@ Name | Type | Description | Notes **count** | **bool** | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. | [default to false] **limit** | **int32** | Max number of results to return. | [default to 250] **offset** | **int32** | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. | - **filters** | **string** | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* | + **filters** | **string** | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* | **sorters** | **string** | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name** | **requestState** | **string** | Filter the results by the state of the request. The only valid value is *EXECUTING*. | @@ -492,6 +493,90 @@ Name | Type | Description | Notes [[Back to README]](../README.md) +## ListAdministratorsAccessRequestStatus + +> []AccessRequestAdminItemStatus ListAdministratorsAccessRequestStatus(ctx).RequestedFor(requestedFor).RequestedBy(requestedBy).RegardingIdentity(regardingIdentity).AssignedTo(assignedTo).Count(count).Limit(limit).Offset(offset).Filters(filters).Sorters(sorters).RequestState(requestState).Execute() + +Access Request Status for Administrators + + + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/sailpoint-oss/golang-sdk/v2" +) + +func main() { + requestedFor := "2c9180877b2b6ea4017b2c545f971429" // string | Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. (optional) + requestedBy := "2c9180877b2b6ea4017b2c545f971429" // string | Filter the results by the identity who made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*. (optional) + regardingIdentity := "2c9180877b2b6ea4017b2c545f971429" // string | Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. (optional) + assignedTo := "2c9180877b2b6ea4017b2c545f971429" // string | Filter the results by the specified identity who is the owner of the Identity Request Work Item. *me* indicates the current user. (optional) + count := false // bool | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. (optional) (default to false) + limit := int32(100) // int32 | Max number of results to return. (optional) (default to 250) + offset := int32(10) // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. (optional) + filters := "accountActivityItemId eq "2c918086771c86df0177401efcdf54c0"" // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* (optional) + sorters := "created" // string | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name, accessRequestId** (optional) + requestState := "request-state=EXECUTING" // string | Filter the results by the state of the request. The only valid value is *EXECUTING*. (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + resp, r, err := apiClient.AccessRequestsAPI.ListAdministratorsAccessRequestStatus(context.Background()).RequestedFor(requestedFor).RequestedBy(requestedBy).RegardingIdentity(regardingIdentity).AssignedTo(assignedTo).Count(count).Limit(limit).Offset(offset).Filters(filters).Sorters(sorters).RequestState(requestState).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.ListAdministratorsAccessRequestStatus``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } + // response from `ListAdministratorsAccessRequestStatus`: []AccessRequestAdminItemStatus + fmt.Fprintf(os.Stdout, "Response from `AccessRequestsAPI.ListAdministratorsAccessRequestStatus`: %v\n", resp) +} +``` + +### Path Parameters + + + +### Other Parameters + +Other parameters are passed through a pointer to a apiListAdministratorsAccessRequestStatusRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **requestedFor** | **string** | Filter the results by the identity the requests were made for. *me* indicates the current user. Mutually exclusive with *regarding-identity*. | + **requestedBy** | **string** | Filter the results by the identity who made the requests. *me* indicates the current user. Mutually exclusive with *regarding-identity*. | + **regardingIdentity** | **string** | Filter the results by the specified identity who is either the requester or target of the requests. *me* indicates the current user. Mutually exclusive with *requested-for* and *requested-by*. | + **assignedTo** | **string** | Filter the results by the specified identity who is the owner of the Identity Request Work Item. *me* indicates the current user. | + **count** | **bool** | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. | [default to false] + **limit** | **int32** | Max number of results to return. | [default to 250] + **offset** | **int32** | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. | + **filters** | **string** | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **accessRequestId**: *in* **status**: *in, eq, ne* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* | + **sorters** | **string** | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name, accessRequestId** | + **requestState** | **string** | Filter the results by the state of the request. The only valid value is *EXECUTING*. | + +### Return type + +[**[]AccessRequestAdminItemStatus**](AccessRequestAdminItemStatus.md) + +### Authorization + +[userAuth](../README.md#userAuth), [userAuth](../README.md#userAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + ## SetAccessRequestConfig > AccessRequestConfig SetAccessRequestConfig(ctx).AccessRequestConfig(accessRequestConfig).Execute() diff --git a/api_v2024/docs/ApprovalForwardHistory1.md b/api_v2024/docs/ApprovalForwardHistory1.md new file mode 100644 index 000000000..46a03eb57 --- /dev/null +++ b/api_v2024/docs/ApprovalForwardHistory1.md @@ -0,0 +1,206 @@ +# ApprovalForwardHistory1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**OldApproverName** | Pointer to **string** | Display name of approver from whom the approval was forwarded. | [optional] +**NewApproverName** | Pointer to **string** | Display name of approver to whom the approval was forwarded. | [optional] +**Comment** | Pointer to **NullableString** | Comment made while forwarding. | [optional] +**Modified** | Pointer to **time.Time** | Time at which approval was forwarded. | [optional] +**ForwarderName** | Pointer to **NullableString** | Display name of forwarder who forwarded the approval. | [optional] +**ReassignmentType** | Pointer to [**ReassignmentType**](ReassignmentType.md) | | [optional] + +## Methods + +### NewApprovalForwardHistory1 + +`func NewApprovalForwardHistory1() *ApprovalForwardHistory1` + +NewApprovalForwardHistory1 instantiates a new ApprovalForwardHistory1 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 + +### NewApprovalForwardHistory1WithDefaults + +`func NewApprovalForwardHistory1WithDefaults() *ApprovalForwardHistory1` + +NewApprovalForwardHistory1WithDefaults instantiates a new ApprovalForwardHistory1 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 + +### GetOldApproverName + +`func (o *ApprovalForwardHistory1) GetOldApproverName() string` + +GetOldApproverName returns the OldApproverName field if non-nil, zero value otherwise. + +### GetOldApproverNameOk + +`func (o *ApprovalForwardHistory1) GetOldApproverNameOk() (*string, bool)` + +GetOldApproverNameOk returns a tuple with the OldApproverName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOldApproverName + +`func (o *ApprovalForwardHistory1) SetOldApproverName(v string)` + +SetOldApproverName sets OldApproverName field to given value. + +### HasOldApproverName + +`func (o *ApprovalForwardHistory1) HasOldApproverName() bool` + +HasOldApproverName returns a boolean if a field has been set. + +### GetNewApproverName + +`func (o *ApprovalForwardHistory1) GetNewApproverName() string` + +GetNewApproverName returns the NewApproverName field if non-nil, zero value otherwise. + +### GetNewApproverNameOk + +`func (o *ApprovalForwardHistory1) GetNewApproverNameOk() (*string, bool)` + +GetNewApproverNameOk returns a tuple with the NewApproverName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNewApproverName + +`func (o *ApprovalForwardHistory1) SetNewApproverName(v string)` + +SetNewApproverName sets NewApproverName field to given value. + +### HasNewApproverName + +`func (o *ApprovalForwardHistory1) HasNewApproverName() bool` + +HasNewApproverName returns a boolean if a field has been set. + +### GetComment + +`func (o *ApprovalForwardHistory1) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *ApprovalForwardHistory1) 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 *ApprovalForwardHistory1) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *ApprovalForwardHistory1) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### SetCommentNil + +`func (o *ApprovalForwardHistory1) SetCommentNil(b bool)` + + SetCommentNil sets the value for Comment to be an explicit nil + +### UnsetComment +`func (o *ApprovalForwardHistory1) UnsetComment()` + +UnsetComment ensures that no value is present for Comment, not even an explicit nil +### GetModified + +`func (o *ApprovalForwardHistory1) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *ApprovalForwardHistory1) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *ApprovalForwardHistory1) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + +### HasModified + +`func (o *ApprovalForwardHistory1) HasModified() bool` + +HasModified returns a boolean if a field has been set. + +### GetForwarderName + +`func (o *ApprovalForwardHistory1) GetForwarderName() string` + +GetForwarderName returns the ForwarderName field if non-nil, zero value otherwise. + +### GetForwarderNameOk + +`func (o *ApprovalForwardHistory1) GetForwarderNameOk() (*string, bool)` + +GetForwarderNameOk returns a tuple with the ForwarderName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForwarderName + +`func (o *ApprovalForwardHistory1) SetForwarderName(v string)` + +SetForwarderName sets ForwarderName field to given value. + +### HasForwarderName + +`func (o *ApprovalForwardHistory1) HasForwarderName() bool` + +HasForwarderName returns a boolean if a field has been set. + +### SetForwarderNameNil + +`func (o *ApprovalForwardHistory1) SetForwarderNameNil(b bool)` + + SetForwarderNameNil sets the value for ForwarderName to be an explicit nil + +### UnsetForwarderName +`func (o *ApprovalForwardHistory1) UnsetForwarderName()` + +UnsetForwarderName ensures that no value is present for ForwarderName, not even an explicit nil +### GetReassignmentType + +`func (o *ApprovalForwardHistory1) GetReassignmentType() ReassignmentType` + +GetReassignmentType returns the ReassignmentType field if non-nil, zero value otherwise. + +### GetReassignmentTypeOk + +`func (o *ApprovalForwardHistory1) GetReassignmentTypeOk() (*ReassignmentType, bool)` + +GetReassignmentTypeOk returns a tuple with the ReassignmentType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetReassignmentType + +`func (o *ApprovalForwardHistory1) SetReassignmentType(v ReassignmentType)` + +SetReassignmentType sets ReassignmentType field to given value. + +### HasReassignmentType + +`func (o *ApprovalForwardHistory1) HasReassignmentType() bool` + +HasReassignmentType returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/ApprovalStatusDto1.md b/api_v2024/docs/ApprovalStatusDto1.md new file mode 100644 index 000000000..8e00b8d7a --- /dev/null +++ b/api_v2024/docs/ApprovalStatusDto1.md @@ -0,0 +1,304 @@ +# ApprovalStatusDto1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Forwarded** | Pointer to **bool** | True if the request for this item was forwarded from one owner to another. | [optional] [default to false] +**OriginalOwner** | Pointer to [**ApprovalStatusDtoOriginalOwner**](ApprovalStatusDtoOriginalOwner.md) | | [optional] +**CurrentOwner** | Pointer to [**ApprovalStatusDtoCurrentOwner**](ApprovalStatusDtoCurrentOwner.md) | | [optional] +**Modified** | Pointer to **NullableTime** | Time at which item was modified. | [optional] +**Status** | Pointer to [**ManualWorkItemState**](ManualWorkItemState.md) | | [optional] +**Scheme** | Pointer to [**ApprovalScheme**](ApprovalScheme.md) | | [optional] +**ErrorMessages** | Pointer to [**[]ErrorMessageDto1**](ErrorMessageDto1.md) | If the request failed, includes any error messages that were generated. | [optional] +**Comment** | Pointer to **NullableString** | Comment, if any, provided by the approver. | [optional] +**RemoveDate** | Pointer to **NullableTime** | The date the role or access profile or entitlement is no longer assigned to the specified identity. | [optional] + +## Methods + +### NewApprovalStatusDto1 + +`func NewApprovalStatusDto1() *ApprovalStatusDto1` + +NewApprovalStatusDto1 instantiates a new ApprovalStatusDto1 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 + +### NewApprovalStatusDto1WithDefaults + +`func NewApprovalStatusDto1WithDefaults() *ApprovalStatusDto1` + +NewApprovalStatusDto1WithDefaults instantiates a new ApprovalStatusDto1 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 + +### GetForwarded + +`func (o *ApprovalStatusDto1) GetForwarded() bool` + +GetForwarded returns the Forwarded field if non-nil, zero value otherwise. + +### GetForwardedOk + +`func (o *ApprovalStatusDto1) GetForwardedOk() (*bool, bool)` + +GetForwardedOk returns a tuple with the Forwarded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForwarded + +`func (o *ApprovalStatusDto1) SetForwarded(v bool)` + +SetForwarded sets Forwarded field to given value. + +### HasForwarded + +`func (o *ApprovalStatusDto1) HasForwarded() bool` + +HasForwarded returns a boolean if a field has been set. + +### GetOriginalOwner + +`func (o *ApprovalStatusDto1) GetOriginalOwner() ApprovalStatusDtoOriginalOwner` + +GetOriginalOwner returns the OriginalOwner field if non-nil, zero value otherwise. + +### GetOriginalOwnerOk + +`func (o *ApprovalStatusDto1) GetOriginalOwnerOk() (*ApprovalStatusDtoOriginalOwner, bool)` + +GetOriginalOwnerOk returns a tuple with the OriginalOwner field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginalOwner + +`func (o *ApprovalStatusDto1) SetOriginalOwner(v ApprovalStatusDtoOriginalOwner)` + +SetOriginalOwner sets OriginalOwner field to given value. + +### HasOriginalOwner + +`func (o *ApprovalStatusDto1) HasOriginalOwner() bool` + +HasOriginalOwner returns a boolean if a field has been set. + +### GetCurrentOwner + +`func (o *ApprovalStatusDto1) GetCurrentOwner() ApprovalStatusDtoCurrentOwner` + +GetCurrentOwner returns the CurrentOwner field if non-nil, zero value otherwise. + +### GetCurrentOwnerOk + +`func (o *ApprovalStatusDto1) GetCurrentOwnerOk() (*ApprovalStatusDtoCurrentOwner, bool)` + +GetCurrentOwnerOk returns a tuple with the CurrentOwner field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCurrentOwner + +`func (o *ApprovalStatusDto1) SetCurrentOwner(v ApprovalStatusDtoCurrentOwner)` + +SetCurrentOwner sets CurrentOwner field to given value. + +### HasCurrentOwner + +`func (o *ApprovalStatusDto1) HasCurrentOwner() bool` + +HasCurrentOwner returns a boolean if a field has been set. + +### GetModified + +`func (o *ApprovalStatusDto1) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *ApprovalStatusDto1) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *ApprovalStatusDto1) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + +### HasModified + +`func (o *ApprovalStatusDto1) HasModified() bool` + +HasModified returns a boolean if a field has been set. + +### SetModifiedNil + +`func (o *ApprovalStatusDto1) SetModifiedNil(b bool)` + + SetModifiedNil sets the value for Modified to be an explicit nil + +### UnsetModified +`func (o *ApprovalStatusDto1) UnsetModified()` + +UnsetModified ensures that no value is present for Modified, not even an explicit nil +### GetStatus + +`func (o *ApprovalStatusDto1) GetStatus() ManualWorkItemState` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ApprovalStatusDto1) GetStatusOk() (*ManualWorkItemState, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ApprovalStatusDto1) SetStatus(v ManualWorkItemState)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *ApprovalStatusDto1) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetScheme + +`func (o *ApprovalStatusDto1) GetScheme() ApprovalScheme` + +GetScheme returns the Scheme field if non-nil, zero value otherwise. + +### GetSchemeOk + +`func (o *ApprovalStatusDto1) GetSchemeOk() (*ApprovalScheme, bool)` + +GetSchemeOk returns a tuple with the Scheme field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetScheme + +`func (o *ApprovalStatusDto1) SetScheme(v ApprovalScheme)` + +SetScheme sets Scheme field to given value. + +### HasScheme + +`func (o *ApprovalStatusDto1) HasScheme() bool` + +HasScheme returns a boolean if a field has been set. + +### GetErrorMessages + +`func (o *ApprovalStatusDto1) GetErrorMessages() []ErrorMessageDto1` + +GetErrorMessages returns the ErrorMessages field if non-nil, zero value otherwise. + +### GetErrorMessagesOk + +`func (o *ApprovalStatusDto1) GetErrorMessagesOk() (*[]ErrorMessageDto1, bool)` + +GetErrorMessagesOk returns a tuple with the ErrorMessages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetErrorMessages + +`func (o *ApprovalStatusDto1) SetErrorMessages(v []ErrorMessageDto1)` + +SetErrorMessages sets ErrorMessages field to given value. + +### HasErrorMessages + +`func (o *ApprovalStatusDto1) HasErrorMessages() bool` + +HasErrorMessages returns a boolean if a field has been set. + +### SetErrorMessagesNil + +`func (o *ApprovalStatusDto1) SetErrorMessagesNil(b bool)` + + SetErrorMessagesNil sets the value for ErrorMessages to be an explicit nil + +### UnsetErrorMessages +`func (o *ApprovalStatusDto1) UnsetErrorMessages()` + +UnsetErrorMessages ensures that no value is present for ErrorMessages, not even an explicit nil +### GetComment + +`func (o *ApprovalStatusDto1) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *ApprovalStatusDto1) 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 *ApprovalStatusDto1) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *ApprovalStatusDto1) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### SetCommentNil + +`func (o *ApprovalStatusDto1) SetCommentNil(b bool)` + + SetCommentNil sets the value for Comment to be an explicit nil + +### UnsetComment +`func (o *ApprovalStatusDto1) UnsetComment()` + +UnsetComment ensures that no value is present for Comment, not even an explicit nil +### GetRemoveDate + +`func (o *ApprovalStatusDto1) GetRemoveDate() time.Time` + +GetRemoveDate returns the RemoveDate field if non-nil, zero value otherwise. + +### GetRemoveDateOk + +`func (o *ApprovalStatusDto1) GetRemoveDateOk() (*time.Time, 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 *ApprovalStatusDto1) SetRemoveDate(v time.Time)` + +SetRemoveDate sets RemoveDate field to given value. + +### HasRemoveDate + +`func (o *ApprovalStatusDto1) HasRemoveDate() bool` + +HasRemoveDate returns a boolean if a field has been set. + +### SetRemoveDateNil + +`func (o *ApprovalStatusDto1) SetRemoveDateNil(b bool)` + + SetRemoveDateNil sets the value for RemoveDate to be an explicit nil + +### UnsetRemoveDate +`func (o *ApprovalStatusDto1) UnsetRemoveDate()` + +UnsetRemoveDate ensures that no value is present for RemoveDate, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/CancelledRequestDetails1.md b/api_v2024/docs/CancelledRequestDetails1.md new file mode 100644 index 000000000..2c0c0cad6 --- /dev/null +++ b/api_v2024/docs/CancelledRequestDetails1.md @@ -0,0 +1,108 @@ +# CancelledRequestDetails1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Comment** | Pointer to **string** | Comment made by the owner when cancelling the associated request. | [optional] +**Owner** | Pointer to [**OwnerDto**](OwnerDto.md) | | [optional] +**Modified** | Pointer to **time.Time** | Date comment was added by the owner when cancelling the associated request. | [optional] + +## Methods + +### NewCancelledRequestDetails1 + +`func NewCancelledRequestDetails1() *CancelledRequestDetails1` + +NewCancelledRequestDetails1 instantiates a new CancelledRequestDetails1 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 + +### NewCancelledRequestDetails1WithDefaults + +`func NewCancelledRequestDetails1WithDefaults() *CancelledRequestDetails1` + +NewCancelledRequestDetails1WithDefaults instantiates a new CancelledRequestDetails1 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 + +### GetComment + +`func (o *CancelledRequestDetails1) GetComment() string` + +GetComment returns the Comment field if non-nil, zero value otherwise. + +### GetCommentOk + +`func (o *CancelledRequestDetails1) 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 *CancelledRequestDetails1) SetComment(v string)` + +SetComment sets Comment field to given value. + +### HasComment + +`func (o *CancelledRequestDetails1) HasComment() bool` + +HasComment returns a boolean if a field has been set. + +### GetOwner + +`func (o *CancelledRequestDetails1) GetOwner() OwnerDto` + +GetOwner returns the Owner field if non-nil, zero value otherwise. + +### GetOwnerOk + +`func (o *CancelledRequestDetails1) GetOwnerOk() (*OwnerDto, bool)` + +GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOwner + +`func (o *CancelledRequestDetails1) SetOwner(v OwnerDto)` + +SetOwner sets Owner field to given value. + +### HasOwner + +`func (o *CancelledRequestDetails1) HasOwner() bool` + +HasOwner returns a boolean if a field has been set. + +### GetModified + +`func (o *CancelledRequestDetails1) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *CancelledRequestDetails1) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *CancelledRequestDetails1) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + +### HasModified + +`func (o *CancelledRequestDetails1) HasModified() bool` + +HasModified returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/ErrorMessageDto1.md b/api_v2024/docs/ErrorMessageDto1.md new file mode 100644 index 000000000..0ed1d7c4e --- /dev/null +++ b/api_v2024/docs/ErrorMessageDto1.md @@ -0,0 +1,128 @@ +# ErrorMessageDto1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Locale** | Pointer to **NullableString** | The locale for the message text, a BCP 47 language tag. | [optional] +**LocaleOrigin** | Pointer to [**NullableLocaleOrigin**](LocaleOrigin.md) | | [optional] +**Text** | Pointer to **string** | Actual text of the error message in the indicated locale. | [optional] + +## Methods + +### NewErrorMessageDto1 + +`func NewErrorMessageDto1() *ErrorMessageDto1` + +NewErrorMessageDto1 instantiates a new ErrorMessageDto1 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 + +### NewErrorMessageDto1WithDefaults + +`func NewErrorMessageDto1WithDefaults() *ErrorMessageDto1` + +NewErrorMessageDto1WithDefaults instantiates a new ErrorMessageDto1 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 + +### GetLocale + +`func (o *ErrorMessageDto1) GetLocale() string` + +GetLocale returns the Locale field if non-nil, zero value otherwise. + +### GetLocaleOk + +`func (o *ErrorMessageDto1) GetLocaleOk() (*string, bool)` + +GetLocaleOk returns a tuple with the Locale field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocale + +`func (o *ErrorMessageDto1) SetLocale(v string)` + +SetLocale sets Locale field to given value. + +### HasLocale + +`func (o *ErrorMessageDto1) HasLocale() bool` + +HasLocale returns a boolean if a field has been set. + +### SetLocaleNil + +`func (o *ErrorMessageDto1) SetLocaleNil(b bool)` + + SetLocaleNil sets the value for Locale to be an explicit nil + +### UnsetLocale +`func (o *ErrorMessageDto1) UnsetLocale()` + +UnsetLocale ensures that no value is present for Locale, not even an explicit nil +### GetLocaleOrigin + +`func (o *ErrorMessageDto1) GetLocaleOrigin() LocaleOrigin` + +GetLocaleOrigin returns the LocaleOrigin field if non-nil, zero value otherwise. + +### GetLocaleOriginOk + +`func (o *ErrorMessageDto1) GetLocaleOriginOk() (*LocaleOrigin, bool)` + +GetLocaleOriginOk returns a tuple with the LocaleOrigin field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLocaleOrigin + +`func (o *ErrorMessageDto1) SetLocaleOrigin(v LocaleOrigin)` + +SetLocaleOrigin sets LocaleOrigin field to given value. + +### HasLocaleOrigin + +`func (o *ErrorMessageDto1) HasLocaleOrigin() bool` + +HasLocaleOrigin returns a boolean if a field has been set. + +### SetLocaleOriginNil + +`func (o *ErrorMessageDto1) SetLocaleOriginNil(b bool)` + + SetLocaleOriginNil sets the value for LocaleOrigin to be an explicit nil + +### UnsetLocaleOrigin +`func (o *ErrorMessageDto1) UnsetLocaleOrigin()` + +UnsetLocaleOrigin ensures that no value is present for LocaleOrigin, not even an explicit nil +### GetText + +`func (o *ErrorMessageDto1) GetText() string` + +GetText returns the Text field if non-nil, zero value otherwise. + +### GetTextOk + +`func (o *ErrorMessageDto1) GetTextOk() (*string, bool)` + +GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetText + +`func (o *ErrorMessageDto1) SetText(v string)` + +SetText sets Text field to given value. + +### HasText + +`func (o *ErrorMessageDto1) HasText() bool` + +HasText returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/ManualWorkItemDetails1.md b/api_v2024/docs/ManualWorkItemDetails1.md new file mode 100644 index 000000000..16ef2457d --- /dev/null +++ b/api_v2024/docs/ManualWorkItemDetails1.md @@ -0,0 +1,216 @@ +# ManualWorkItemDetails1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Forwarded** | Pointer to **bool** | True if the request for this item was forwarded from one owner to another. | [optional] [default to false] +**OriginalOwner** | Pointer to [**NullableManualWorkItemDetailsOriginalOwner**](ManualWorkItemDetailsOriginalOwner.md) | | [optional] +**CurrentOwner** | Pointer to [**NullableManualWorkItemDetailsCurrentOwner**](ManualWorkItemDetailsCurrentOwner.md) | | [optional] +**Modified** | Pointer to **time.Time** | Time at which item was modified. | [optional] +**Status** | Pointer to [**ManualWorkItemState**](ManualWorkItemState.md) | | [optional] +**ForwardHistory** | Pointer to [**[]ApprovalForwardHistory1**](ApprovalForwardHistory1.md) | The history of approval forward action. | [optional] + +## Methods + +### NewManualWorkItemDetails1 + +`func NewManualWorkItemDetails1() *ManualWorkItemDetails1` + +NewManualWorkItemDetails1 instantiates a new ManualWorkItemDetails1 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 + +### NewManualWorkItemDetails1WithDefaults + +`func NewManualWorkItemDetails1WithDefaults() *ManualWorkItemDetails1` + +NewManualWorkItemDetails1WithDefaults instantiates a new ManualWorkItemDetails1 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 + +### GetForwarded + +`func (o *ManualWorkItemDetails1) GetForwarded() bool` + +GetForwarded returns the Forwarded field if non-nil, zero value otherwise. + +### GetForwardedOk + +`func (o *ManualWorkItemDetails1) GetForwardedOk() (*bool, bool)` + +GetForwardedOk returns a tuple with the Forwarded field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForwarded + +`func (o *ManualWorkItemDetails1) SetForwarded(v bool)` + +SetForwarded sets Forwarded field to given value. + +### HasForwarded + +`func (o *ManualWorkItemDetails1) HasForwarded() bool` + +HasForwarded returns a boolean if a field has been set. + +### GetOriginalOwner + +`func (o *ManualWorkItemDetails1) GetOriginalOwner() ManualWorkItemDetailsOriginalOwner` + +GetOriginalOwner returns the OriginalOwner field if non-nil, zero value otherwise. + +### GetOriginalOwnerOk + +`func (o *ManualWorkItemDetails1) GetOriginalOwnerOk() (*ManualWorkItemDetailsOriginalOwner, bool)` + +GetOriginalOwnerOk returns a tuple with the OriginalOwner field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOriginalOwner + +`func (o *ManualWorkItemDetails1) SetOriginalOwner(v ManualWorkItemDetailsOriginalOwner)` + +SetOriginalOwner sets OriginalOwner field to given value. + +### HasOriginalOwner + +`func (o *ManualWorkItemDetails1) HasOriginalOwner() bool` + +HasOriginalOwner returns a boolean if a field has been set. + +### SetOriginalOwnerNil + +`func (o *ManualWorkItemDetails1) SetOriginalOwnerNil(b bool)` + + SetOriginalOwnerNil sets the value for OriginalOwner to be an explicit nil + +### UnsetOriginalOwner +`func (o *ManualWorkItemDetails1) UnsetOriginalOwner()` + +UnsetOriginalOwner ensures that no value is present for OriginalOwner, not even an explicit nil +### GetCurrentOwner + +`func (o *ManualWorkItemDetails1) GetCurrentOwner() ManualWorkItemDetailsCurrentOwner` + +GetCurrentOwner returns the CurrentOwner field if non-nil, zero value otherwise. + +### GetCurrentOwnerOk + +`func (o *ManualWorkItemDetails1) GetCurrentOwnerOk() (*ManualWorkItemDetailsCurrentOwner, bool)` + +GetCurrentOwnerOk returns a tuple with the CurrentOwner field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCurrentOwner + +`func (o *ManualWorkItemDetails1) SetCurrentOwner(v ManualWorkItemDetailsCurrentOwner)` + +SetCurrentOwner sets CurrentOwner field to given value. + +### HasCurrentOwner + +`func (o *ManualWorkItemDetails1) HasCurrentOwner() bool` + +HasCurrentOwner returns a boolean if a field has been set. + +### SetCurrentOwnerNil + +`func (o *ManualWorkItemDetails1) SetCurrentOwnerNil(b bool)` + + SetCurrentOwnerNil sets the value for CurrentOwner to be an explicit nil + +### UnsetCurrentOwner +`func (o *ManualWorkItemDetails1) UnsetCurrentOwner()` + +UnsetCurrentOwner ensures that no value is present for CurrentOwner, not even an explicit nil +### GetModified + +`func (o *ManualWorkItemDetails1) GetModified() time.Time` + +GetModified returns the Modified field if non-nil, zero value otherwise. + +### GetModifiedOk + +`func (o *ManualWorkItemDetails1) GetModifiedOk() (*time.Time, bool)` + +GetModifiedOk returns a tuple with the Modified field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetModified + +`func (o *ManualWorkItemDetails1) SetModified(v time.Time)` + +SetModified sets Modified field to given value. + +### HasModified + +`func (o *ManualWorkItemDetails1) HasModified() bool` + +HasModified returns a boolean if a field has been set. + +### GetStatus + +`func (o *ManualWorkItemDetails1) GetStatus() ManualWorkItemState` + +GetStatus returns the Status field if non-nil, zero value otherwise. + +### GetStatusOk + +`func (o *ManualWorkItemDetails1) GetStatusOk() (*ManualWorkItemState, bool)` + +GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetStatus + +`func (o *ManualWorkItemDetails1) SetStatus(v ManualWorkItemState)` + +SetStatus sets Status field to given value. + +### HasStatus + +`func (o *ManualWorkItemDetails1) HasStatus() bool` + +HasStatus returns a boolean if a field has been set. + +### GetForwardHistory + +`func (o *ManualWorkItemDetails1) GetForwardHistory() []ApprovalForwardHistory1` + +GetForwardHistory returns the ForwardHistory field if non-nil, zero value otherwise. + +### GetForwardHistoryOk + +`func (o *ManualWorkItemDetails1) GetForwardHistoryOk() (*[]ApprovalForwardHistory1, bool)` + +GetForwardHistoryOk returns a tuple with the ForwardHistory field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetForwardHistory + +`func (o *ManualWorkItemDetails1) SetForwardHistory(v []ApprovalForwardHistory1)` + +SetForwardHistory sets ForwardHistory field to given value. + +### HasForwardHistory + +`func (o *ManualWorkItemDetails1) HasForwardHistory() bool` + +HasForwardHistory returns a boolean if a field has been set. + +### SetForwardHistoryNil + +`func (o *ManualWorkItemDetails1) SetForwardHistoryNil(b bool)` + + SetForwardHistoryNil sets the value for ForwardHistory to be an explicit nil + +### UnsetForwardHistory +`func (o *ManualWorkItemDetails1) UnsetForwardHistory()` + +UnsetForwardHistory ensures that no value is present for ForwardHistory, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/SodExemptCriteria1.md b/api_v2024/docs/SodExemptCriteria1.md new file mode 100644 index 000000000..96b21e37e --- /dev/null +++ b/api_v2024/docs/SodExemptCriteria1.md @@ -0,0 +1,134 @@ +# SodExemptCriteria1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Existing** | Pointer to **bool** | If the entitlement already belonged to the user or not. | [optional] [default to false] +**Type** | Pointer to [**DtoType**](DtoType.md) | | [optional] +**Id** | Pointer to **string** | Entitlement ID | [optional] +**Name** | Pointer to **string** | Entitlement name | [optional] + +## Methods + +### NewSodExemptCriteria1 + +`func NewSodExemptCriteria1() *SodExemptCriteria1` + +NewSodExemptCriteria1 instantiates a new SodExemptCriteria1 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 + +### NewSodExemptCriteria1WithDefaults + +`func NewSodExemptCriteria1WithDefaults() *SodExemptCriteria1` + +NewSodExemptCriteria1WithDefaults instantiates a new SodExemptCriteria1 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 + +### GetExisting + +`func (o *SodExemptCriteria1) GetExisting() bool` + +GetExisting returns the Existing field if non-nil, zero value otherwise. + +### GetExistingOk + +`func (o *SodExemptCriteria1) GetExistingOk() (*bool, bool)` + +GetExistingOk returns a tuple with the Existing field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetExisting + +`func (o *SodExemptCriteria1) SetExisting(v bool)` + +SetExisting sets Existing field to given value. + +### HasExisting + +`func (o *SodExemptCriteria1) HasExisting() bool` + +HasExisting returns a boolean if a field has been set. + +### GetType + +`func (o *SodExemptCriteria1) GetType() DtoType` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *SodExemptCriteria1) GetTypeOk() (*DtoType, 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 *SodExemptCriteria1) SetType(v DtoType)` + +SetType sets Type field to given value. + +### HasType + +`func (o *SodExemptCriteria1) HasType() bool` + +HasType returns a boolean if a field has been set. + +### GetId + +`func (o *SodExemptCriteria1) GetId() string` + +GetId returns the Id field if non-nil, zero value otherwise. + +### GetIdOk + +`func (o *SodExemptCriteria1) 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 *SodExemptCriteria1) SetId(v string)` + +SetId sets Id field to given value. + +### HasId + +`func (o *SodExemptCriteria1) HasId() bool` + +HasId returns a boolean if a field has been set. + +### GetName + +`func (o *SodExemptCriteria1) GetName() string` + +GetName returns the Name field if non-nil, zero value otherwise. + +### GetNameOk + +`func (o *SodExemptCriteria1) GetNameOk() (*string, bool)` + +GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetName + +`func (o *SodExemptCriteria1) SetName(v string)` + +SetName sets Name field to given value. + +### HasName + +`func (o *SodExemptCriteria1) HasName() bool` + +HasName returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/SodViolationCheckResult1.md b/api_v2024/docs/SodViolationCheckResult1.md new file mode 100644 index 000000000..6bb6bb714 --- /dev/null +++ b/api_v2024/docs/SodViolationCheckResult1.md @@ -0,0 +1,164 @@ +# SodViolationCheckResult1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | Pointer to [**ErrorMessageDto1**](ErrorMessageDto1.md) | | [optional] +**ClientMetadata** | Pointer to **map[string]string** | Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. | [optional] +**ViolationContexts** | Pointer to [**[]SodViolationContext1**](SodViolationContext1.md) | | [optional] +**ViolatedPolicies** | Pointer to [**[]SodPolicyDto**](SodPolicyDto.md) | A list of the SOD policies that were violated. | [optional] + +## Methods + +### NewSodViolationCheckResult1 + +`func NewSodViolationCheckResult1() *SodViolationCheckResult1` + +NewSodViolationCheckResult1 instantiates a new SodViolationCheckResult1 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 + +### NewSodViolationCheckResult1WithDefaults + +`func NewSodViolationCheckResult1WithDefaults() *SodViolationCheckResult1` + +NewSodViolationCheckResult1WithDefaults instantiates a new SodViolationCheckResult1 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 + +### GetMessage + +`func (o *SodViolationCheckResult1) GetMessage() ErrorMessageDto1` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *SodViolationCheckResult1) GetMessageOk() (*ErrorMessageDto1, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *SodViolationCheckResult1) SetMessage(v ErrorMessageDto1)` + +SetMessage sets Message field to given value. + +### HasMessage + +`func (o *SodViolationCheckResult1) HasMessage() bool` + +HasMessage returns a boolean if a field has been set. + +### GetClientMetadata + +`func (o *SodViolationCheckResult1) GetClientMetadata() map[string]string` + +GetClientMetadata returns the ClientMetadata field if non-nil, zero value otherwise. + +### GetClientMetadataOk + +`func (o *SodViolationCheckResult1) 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 *SodViolationCheckResult1) SetClientMetadata(v map[string]string)` + +SetClientMetadata sets ClientMetadata field to given value. + +### HasClientMetadata + +`func (o *SodViolationCheckResult1) HasClientMetadata() bool` + +HasClientMetadata returns a boolean if a field has been set. + +### SetClientMetadataNil + +`func (o *SodViolationCheckResult1) SetClientMetadataNil(b bool)` + + SetClientMetadataNil sets the value for ClientMetadata to be an explicit nil + +### UnsetClientMetadata +`func (o *SodViolationCheckResult1) UnsetClientMetadata()` + +UnsetClientMetadata ensures that no value is present for ClientMetadata, not even an explicit nil +### GetViolationContexts + +`func (o *SodViolationCheckResult1) GetViolationContexts() []SodViolationContext1` + +GetViolationContexts returns the ViolationContexts field if non-nil, zero value otherwise. + +### GetViolationContextsOk + +`func (o *SodViolationCheckResult1) GetViolationContextsOk() (*[]SodViolationContext1, bool)` + +GetViolationContextsOk returns a tuple with the ViolationContexts field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetViolationContexts + +`func (o *SodViolationCheckResult1) SetViolationContexts(v []SodViolationContext1)` + +SetViolationContexts sets ViolationContexts field to given value. + +### HasViolationContexts + +`func (o *SodViolationCheckResult1) HasViolationContexts() bool` + +HasViolationContexts returns a boolean if a field has been set. + +### SetViolationContextsNil + +`func (o *SodViolationCheckResult1) SetViolationContextsNil(b bool)` + + SetViolationContextsNil sets the value for ViolationContexts to be an explicit nil + +### UnsetViolationContexts +`func (o *SodViolationCheckResult1) UnsetViolationContexts()` + +UnsetViolationContexts ensures that no value is present for ViolationContexts, not even an explicit nil +### GetViolatedPolicies + +`func (o *SodViolationCheckResult1) GetViolatedPolicies() []SodPolicyDto` + +GetViolatedPolicies returns the ViolatedPolicies field if non-nil, zero value otherwise. + +### GetViolatedPoliciesOk + +`func (o *SodViolationCheckResult1) GetViolatedPoliciesOk() (*[]SodPolicyDto, bool)` + +GetViolatedPoliciesOk returns a tuple with the ViolatedPolicies field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetViolatedPolicies + +`func (o *SodViolationCheckResult1) SetViolatedPolicies(v []SodPolicyDto)` + +SetViolatedPolicies sets ViolatedPolicies field to given value. + +### HasViolatedPolicies + +`func (o *SodViolationCheckResult1) HasViolatedPolicies() bool` + +HasViolatedPolicies returns a boolean if a field has been set. + +### SetViolatedPoliciesNil + +`func (o *SodViolationCheckResult1) SetViolatedPoliciesNil(b bool)` + + SetViolatedPoliciesNil sets the value for ViolatedPolicies to be an explicit nil + +### UnsetViolatedPolicies +`func (o *SodViolationCheckResult1) UnsetViolatedPolicies()` + +UnsetViolatedPolicies ensures that no value is present for ViolatedPolicies, not even an explicit nil + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/SodViolationContext1.md b/api_v2024/docs/SodViolationContext1.md new file mode 100644 index 000000000..ea33a458a --- /dev/null +++ b/api_v2024/docs/SodViolationContext1.md @@ -0,0 +1,82 @@ +# SodViolationContext1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Policy** | Pointer to [**SodPolicyDto**](SodPolicyDto.md) | | [optional] +**ConflictingAccessCriteria** | Pointer to [**SodViolationContext1ConflictingAccessCriteria**](SodViolationContext1ConflictingAccessCriteria.md) | | [optional] + +## Methods + +### NewSodViolationContext1 + +`func NewSodViolationContext1() *SodViolationContext1` + +NewSodViolationContext1 instantiates a new SodViolationContext1 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 + +### NewSodViolationContext1WithDefaults + +`func NewSodViolationContext1WithDefaults() *SodViolationContext1` + +NewSodViolationContext1WithDefaults instantiates a new SodViolationContext1 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 + +### GetPolicy + +`func (o *SodViolationContext1) GetPolicy() SodPolicyDto` + +GetPolicy returns the Policy field if non-nil, zero value otherwise. + +### GetPolicyOk + +`func (o *SodViolationContext1) GetPolicyOk() (*SodPolicyDto, bool)` + +GetPolicyOk returns a tuple with the Policy field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPolicy + +`func (o *SodViolationContext1) SetPolicy(v SodPolicyDto)` + +SetPolicy sets Policy field to given value. + +### HasPolicy + +`func (o *SodViolationContext1) HasPolicy() bool` + +HasPolicy returns a boolean if a field has been set. + +### GetConflictingAccessCriteria + +`func (o *SodViolationContext1) GetConflictingAccessCriteria() SodViolationContext1ConflictingAccessCriteria` + +GetConflictingAccessCriteria returns the ConflictingAccessCriteria field if non-nil, zero value otherwise. + +### GetConflictingAccessCriteriaOk + +`func (o *SodViolationContext1) GetConflictingAccessCriteriaOk() (*SodViolationContext1ConflictingAccessCriteria, bool)` + +GetConflictingAccessCriteriaOk returns a tuple with the ConflictingAccessCriteria field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetConflictingAccessCriteria + +`func (o *SodViolationContext1) SetConflictingAccessCriteria(v SodViolationContext1ConflictingAccessCriteria)` + +SetConflictingAccessCriteria sets ConflictingAccessCriteria field to given value. + +### HasConflictingAccessCriteria + +`func (o *SodViolationContext1) HasConflictingAccessCriteria() bool` + +HasConflictingAccessCriteria returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/SodViolationContext1ConflictingAccessCriteria.md b/api_v2024/docs/SodViolationContext1ConflictingAccessCriteria.md new file mode 100644 index 000000000..e08e229ac --- /dev/null +++ b/api_v2024/docs/SodViolationContext1ConflictingAccessCriteria.md @@ -0,0 +1,82 @@ +# SodViolationContext1ConflictingAccessCriteria + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LeftCriteria** | Pointer to [**SodViolationContext1ConflictingAccessCriteriaLeftCriteria**](SodViolationContext1ConflictingAccessCriteriaLeftCriteria.md) | | [optional] +**RightCriteria** | Pointer to [**SodViolationContext1ConflictingAccessCriteriaLeftCriteria**](SodViolationContext1ConflictingAccessCriteriaLeftCriteria.md) | | [optional] + +## Methods + +### NewSodViolationContext1ConflictingAccessCriteria + +`func NewSodViolationContext1ConflictingAccessCriteria() *SodViolationContext1ConflictingAccessCriteria` + +NewSodViolationContext1ConflictingAccessCriteria instantiates a new SodViolationContext1ConflictingAccessCriteria 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 + +### NewSodViolationContext1ConflictingAccessCriteriaWithDefaults + +`func NewSodViolationContext1ConflictingAccessCriteriaWithDefaults() *SodViolationContext1ConflictingAccessCriteria` + +NewSodViolationContext1ConflictingAccessCriteriaWithDefaults instantiates a new SodViolationContext1ConflictingAccessCriteria 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 + +### GetLeftCriteria + +`func (o *SodViolationContext1ConflictingAccessCriteria) GetLeftCriteria() SodViolationContext1ConflictingAccessCriteriaLeftCriteria` + +GetLeftCriteria returns the LeftCriteria field if non-nil, zero value otherwise. + +### GetLeftCriteriaOk + +`func (o *SodViolationContext1ConflictingAccessCriteria) GetLeftCriteriaOk() (*SodViolationContext1ConflictingAccessCriteriaLeftCriteria, bool)` + +GetLeftCriteriaOk returns a tuple with the LeftCriteria field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLeftCriteria + +`func (o *SodViolationContext1ConflictingAccessCriteria) SetLeftCriteria(v SodViolationContext1ConflictingAccessCriteriaLeftCriteria)` + +SetLeftCriteria sets LeftCriteria field to given value. + +### HasLeftCriteria + +`func (o *SodViolationContext1ConflictingAccessCriteria) HasLeftCriteria() bool` + +HasLeftCriteria returns a boolean if a field has been set. + +### GetRightCriteria + +`func (o *SodViolationContext1ConflictingAccessCriteria) GetRightCriteria() SodViolationContext1ConflictingAccessCriteriaLeftCriteria` + +GetRightCriteria returns the RightCriteria field if non-nil, zero value otherwise. + +### GetRightCriteriaOk + +`func (o *SodViolationContext1ConflictingAccessCriteria) GetRightCriteriaOk() (*SodViolationContext1ConflictingAccessCriteriaLeftCriteria, bool)` + +GetRightCriteriaOk returns a tuple with the RightCriteria field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRightCriteria + +`func (o *SodViolationContext1ConflictingAccessCriteria) SetRightCriteria(v SodViolationContext1ConflictingAccessCriteriaLeftCriteria)` + +SetRightCriteria sets RightCriteria field to given value. + +### HasRightCriteria + +`func (o *SodViolationContext1ConflictingAccessCriteria) HasRightCriteria() bool` + +HasRightCriteria returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/SodViolationContext1ConflictingAccessCriteriaLeftCriteria.md b/api_v2024/docs/SodViolationContext1ConflictingAccessCriteriaLeftCriteria.md new file mode 100644 index 000000000..9b5b125f0 --- /dev/null +++ b/api_v2024/docs/SodViolationContext1ConflictingAccessCriteriaLeftCriteria.md @@ -0,0 +1,56 @@ +# SodViolationContext1ConflictingAccessCriteriaLeftCriteria + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CriteriaList** | Pointer to [**[]SodExemptCriteria1**](SodExemptCriteria1.md) | | [optional] + +## Methods + +### NewSodViolationContext1ConflictingAccessCriteriaLeftCriteria + +`func NewSodViolationContext1ConflictingAccessCriteriaLeftCriteria() *SodViolationContext1ConflictingAccessCriteriaLeftCriteria` + +NewSodViolationContext1ConflictingAccessCriteriaLeftCriteria instantiates a new SodViolationContext1ConflictingAccessCriteriaLeftCriteria 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 + +### NewSodViolationContext1ConflictingAccessCriteriaLeftCriteriaWithDefaults + +`func NewSodViolationContext1ConflictingAccessCriteriaLeftCriteriaWithDefaults() *SodViolationContext1ConflictingAccessCriteriaLeftCriteria` + +NewSodViolationContext1ConflictingAccessCriteriaLeftCriteriaWithDefaults instantiates a new SodViolationContext1ConflictingAccessCriteriaLeftCriteria 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 + +### GetCriteriaList + +`func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) GetCriteriaList() []SodExemptCriteria1` + +GetCriteriaList returns the CriteriaList field if non-nil, zero value otherwise. + +### GetCriteriaListOk + +`func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) GetCriteriaListOk() (*[]SodExemptCriteria1, bool)` + +GetCriteriaListOk returns a tuple with the CriteriaList field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCriteriaList + +`func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) SetCriteriaList(v []SodExemptCriteria1)` + +SetCriteriaList sets CriteriaList field to given value. + +### HasCriteriaList + +`func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) HasCriteriaList() bool` + +HasCriteriaList returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/docs/SodViolationContextCheckCompleted1.md b/api_v2024/docs/SodViolationContextCheckCompleted1.md new file mode 100644 index 000000000..1f74ce942 --- /dev/null +++ b/api_v2024/docs/SodViolationContextCheckCompleted1.md @@ -0,0 +1,128 @@ +# SodViolationContextCheckCompleted1 + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**State** | Pointer to **NullableString** | The status of SOD violation check | [optional] +**Uuid** | Pointer to **NullableString** | The id of the Violation check event | [optional] +**ViolationCheckResult** | Pointer to [**SodViolationCheckResult1**](SodViolationCheckResult1.md) | | [optional] + +## Methods + +### NewSodViolationContextCheckCompleted1 + +`func NewSodViolationContextCheckCompleted1() *SodViolationContextCheckCompleted1` + +NewSodViolationContextCheckCompleted1 instantiates a new SodViolationContextCheckCompleted1 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 + +### NewSodViolationContextCheckCompleted1WithDefaults + +`func NewSodViolationContextCheckCompleted1WithDefaults() *SodViolationContextCheckCompleted1` + +NewSodViolationContextCheckCompleted1WithDefaults instantiates a new SodViolationContextCheckCompleted1 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 + +### GetState + +`func (o *SodViolationContextCheckCompleted1) GetState() string` + +GetState returns the State field if non-nil, zero value otherwise. + +### GetStateOk + +`func (o *SodViolationContextCheckCompleted1) GetStateOk() (*string, bool)` + +GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetState + +`func (o *SodViolationContextCheckCompleted1) SetState(v string)` + +SetState sets State field to given value. + +### HasState + +`func (o *SodViolationContextCheckCompleted1) HasState() bool` + +HasState returns a boolean if a field has been set. + +### SetStateNil + +`func (o *SodViolationContextCheckCompleted1) SetStateNil(b bool)` + + SetStateNil sets the value for State to be an explicit nil + +### UnsetState +`func (o *SodViolationContextCheckCompleted1) UnsetState()` + +UnsetState ensures that no value is present for State, not even an explicit nil +### GetUuid + +`func (o *SodViolationContextCheckCompleted1) GetUuid() string` + +GetUuid returns the Uuid field if non-nil, zero value otherwise. + +### GetUuidOk + +`func (o *SodViolationContextCheckCompleted1) GetUuidOk() (*string, bool)` + +GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUuid + +`func (o *SodViolationContextCheckCompleted1) SetUuid(v string)` + +SetUuid sets Uuid field to given value. + +### HasUuid + +`func (o *SodViolationContextCheckCompleted1) HasUuid() bool` + +HasUuid returns a boolean if a field has been set. + +### SetUuidNil + +`func (o *SodViolationContextCheckCompleted1) SetUuidNil(b bool)` + + SetUuidNil sets the value for Uuid to be an explicit nil + +### UnsetUuid +`func (o *SodViolationContextCheckCompleted1) UnsetUuid()` + +UnsetUuid ensures that no value is present for Uuid, not even an explicit nil +### GetViolationCheckResult + +`func (o *SodViolationContextCheckCompleted1) GetViolationCheckResult() SodViolationCheckResult1` + +GetViolationCheckResult returns the ViolationCheckResult field if non-nil, zero value otherwise. + +### GetViolationCheckResultOk + +`func (o *SodViolationContextCheckCompleted1) GetViolationCheckResultOk() (*SodViolationCheckResult1, bool)` + +GetViolationCheckResultOk returns a tuple with the ViolationCheckResult field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetViolationCheckResult + +`func (o *SodViolationContextCheckCompleted1) SetViolationCheckResult(v SodViolationCheckResult1)` + +SetViolationCheckResult sets ViolationCheckResult field to given value. + +### HasViolationCheckResult + +`func (o *SodViolationContextCheckCompleted1) HasViolationCheckResult() bool` + +HasViolationCheckResult returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/api_v2024/model_access_request_admin_item_status.go b/api_v2024/model_access_request_admin_item_status.go new file mode 100644 index 000000000..e668c6e83 --- /dev/null +++ b/api_v2024/model_access_request_admin_item_status.go @@ -0,0 +1,1094 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" + +) + +// checks if the AccessRequestAdminItemStatus type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AccessRequestAdminItemStatus{} + +// AccessRequestAdminItemStatus struct for AccessRequestAdminItemStatus +type AccessRequestAdminItemStatus struct { + // Human-readable display name of the item being requested. + Name NullableString `json:"name,omitempty"` + // Type of requested object. + Type NullableString `json:"type,omitempty"` + CancelledRequestDetails *AccessRequestAdminItemStatusCancelledRequestDetails `json:"cancelledRequestDetails,omitempty"` + // List of localized error messages, if any, encountered during the approval/provisioning process. + ErrorMessages [][]ErrorMessageDto1 `json:"errorMessages,omitempty"` + State *RequestedItemStatusRequestState `json:"state,omitempty"` + // Approval details for each item. + ApprovalDetails []ApprovalStatusDto1 `json:"approvalDetails,omitempty"` + // Manual work items created for provisioning the item. + ManualWorkItemDetails []ManualWorkItemDetails1 `json:"manualWorkItemDetails,omitempty"` + // Id of associated account activity item. + AccountActivityItemId *string `json:"accountActivityItemId,omitempty"` + RequestType NullableAccessRequestType `json:"requestType,omitempty"` + // When the request was last modified. + Modified NullableTime `json:"modified,omitempty"` + // When the request was created. + Created *SailPointTime `json:"created,omitempty"` + Requester *AccessItemRequester `json:"requester,omitempty"` + RequestedFor *RequestedItemStatusRequestedFor `json:"requestedFor,omitempty"` + RequesterComment *RequestedItemStatusRequesterComment `json:"requesterComment,omitempty"` + SodViolationContext *AccessRequestAdminItemStatusSodViolationContext `json:"sodViolationContext,omitempty"` + ProvisioningDetails *RequestedItemStatusProvisioningDetails `json:"provisioningDetails,omitempty"` + PreApprovalTriggerDetails *RequestedItemStatusPreApprovalTriggerDetails `json:"preApprovalTriggerDetails,omitempty"` + // A list of Phases that the Access Request has gone through in order, to help determine the status of the request. + AccessRequestPhases []AccessRequestPhases `json:"accessRequestPhases,omitempty"` + // Description associated to the requested object. + Description NullableString `json:"description,omitempty"` + // When the role access is scheduled for removal. + RemoveDate NullableTime `json:"removeDate,omitempty"` + // True if the request can be canceled. + Cancelable *bool `json:"cancelable,omitempty"` + // True if re-auth is required. + ReauthorizationRequired *bool `json:"reauthorizationRequired,omitempty"` + // This is the account activity id. + AccessRequestId *string `json:"accessRequestId,omitempty"` + // Arbitrary key-value pairs, if any were included in the corresponding access request + ClientMetadata map[string]string `json:"clientMetadata,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AccessRequestAdminItemStatus AccessRequestAdminItemStatus + +// NewAccessRequestAdminItemStatus instantiates a new AccessRequestAdminItemStatus 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 NewAccessRequestAdminItemStatus() *AccessRequestAdminItemStatus { + this := AccessRequestAdminItemStatus{} + var cancelable bool = false + this.Cancelable = &cancelable + var reauthorizationRequired bool = false + this.ReauthorizationRequired = &reauthorizationRequired + return &this +} + +// NewAccessRequestAdminItemStatusWithDefaults instantiates a new AccessRequestAdminItemStatus 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 NewAccessRequestAdminItemStatusWithDefaults() *AccessRequestAdminItemStatus { + this := AccessRequestAdminItemStatus{} + var cancelable bool = false + this.Cancelable = &cancelable + var reauthorizationRequired bool = false + this.ReauthorizationRequired = &reauthorizationRequired + return &this +} + +// GetName returns the Name field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetName() string { + if o == nil || IsNil(o.Name.Get()) { + var ret string + return ret + } + return *o.Name.Get() +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Name.Get(), o.Name.IsSet() +} + +// HasName returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasName() bool { + if o != nil && o.Name.IsSet() { + return true + } + + return false +} + +// SetName gets a reference to the given NullableString and assigns it to the Name field. +func (o *AccessRequestAdminItemStatus) SetName(v string) { + o.Name.Set(&v) +} +// SetNameNil sets the value for Name to be an explicit nil +func (o *AccessRequestAdminItemStatus) SetNameNil() { + o.Name.Set(nil) +} + +// UnsetName ensures that no value is present for Name, not even an explicit nil +func (o *AccessRequestAdminItemStatus) UnsetName() { + o.Name.Unset() +} + +// GetType returns the Type field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetType() string { + if o == nil || IsNil(o.Type.Get()) { + var ret string + return ret + } + return *o.Type.Get() +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetTypeOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Type.Get(), o.Type.IsSet() +} + +// HasType returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasType() bool { + if o != nil && o.Type.IsSet() { + return true + } + + return false +} + +// SetType gets a reference to the given NullableString and assigns it to the Type field. +func (o *AccessRequestAdminItemStatus) SetType(v string) { + o.Type.Set(&v) +} +// SetTypeNil sets the value for Type to be an explicit nil +func (o *AccessRequestAdminItemStatus) SetTypeNil() { + o.Type.Set(nil) +} + +// UnsetType ensures that no value is present for Type, not even an explicit nil +func (o *AccessRequestAdminItemStatus) UnsetType() { + o.Type.Unset() +} + +// GetCancelledRequestDetails returns the CancelledRequestDetails field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetCancelledRequestDetails() AccessRequestAdminItemStatusCancelledRequestDetails { + if o == nil || IsNil(o.CancelledRequestDetails) { + var ret AccessRequestAdminItemStatusCancelledRequestDetails + return ret + } + return *o.CancelledRequestDetails +} + +// GetCancelledRequestDetailsOk returns a tuple with the CancelledRequestDetails field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetCancelledRequestDetailsOk() (*AccessRequestAdminItemStatusCancelledRequestDetails, bool) { + if o == nil || IsNil(o.CancelledRequestDetails) { + return nil, false + } + return o.CancelledRequestDetails, true +} + +// HasCancelledRequestDetails returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasCancelledRequestDetails() bool { + if o != nil && !IsNil(o.CancelledRequestDetails) { + return true + } + + return false +} + +// SetCancelledRequestDetails gets a reference to the given AccessRequestAdminItemStatusCancelledRequestDetails and assigns it to the CancelledRequestDetails field. +func (o *AccessRequestAdminItemStatus) SetCancelledRequestDetails(v AccessRequestAdminItemStatusCancelledRequestDetails) { + o.CancelledRequestDetails = &v +} + +// GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetErrorMessages() [][]ErrorMessageDto1 { + if o == nil { + var ret [][]ErrorMessageDto1 + return ret + } + return o.ErrorMessages +} + +// GetErrorMessagesOk returns a tuple with the ErrorMessages field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetErrorMessagesOk() ([][]ErrorMessageDto1, bool) { + if o == nil || IsNil(o.ErrorMessages) { + return nil, false + } + return o.ErrorMessages, true +} + +// HasErrorMessages returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasErrorMessages() bool { + if o != nil && !IsNil(o.ErrorMessages) { + return true + } + + return false +} + +// SetErrorMessages gets a reference to the given [][]ErrorMessageDto1 and assigns it to the ErrorMessages field. +func (o *AccessRequestAdminItemStatus) SetErrorMessages(v [][]ErrorMessageDto1) { + o.ErrorMessages = v +} + +// GetState returns the State field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetState() RequestedItemStatusRequestState { + if o == nil || IsNil(o.State) { + var ret RequestedItemStatusRequestState + return ret + } + return *o.State +} + +// GetStateOk returns a tuple with the State field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetStateOk() (*RequestedItemStatusRequestState, bool) { + if o == nil || IsNil(o.State) { + return nil, false + } + return o.State, true +} + +// HasState returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasState() bool { + if o != nil && !IsNil(o.State) { + return true + } + + return false +} + +// SetState gets a reference to the given RequestedItemStatusRequestState and assigns it to the State field. +func (o *AccessRequestAdminItemStatus) SetState(v RequestedItemStatusRequestState) { + o.State = &v +} + +// GetApprovalDetails returns the ApprovalDetails field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetApprovalDetails() []ApprovalStatusDto1 { + if o == nil || IsNil(o.ApprovalDetails) { + var ret []ApprovalStatusDto1 + return ret + } + return o.ApprovalDetails +} + +// GetApprovalDetailsOk returns a tuple with the ApprovalDetails field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetApprovalDetailsOk() ([]ApprovalStatusDto1, bool) { + if o == nil || IsNil(o.ApprovalDetails) { + return nil, false + } + return o.ApprovalDetails, true +} + +// HasApprovalDetails returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasApprovalDetails() bool { + if o != nil && !IsNil(o.ApprovalDetails) { + return true + } + + return false +} + +// SetApprovalDetails gets a reference to the given []ApprovalStatusDto1 and assigns it to the ApprovalDetails field. +func (o *AccessRequestAdminItemStatus) SetApprovalDetails(v []ApprovalStatusDto1) { + o.ApprovalDetails = v +} + +// GetManualWorkItemDetails returns the ManualWorkItemDetails field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetManualWorkItemDetails() []ManualWorkItemDetails1 { + if o == nil { + var ret []ManualWorkItemDetails1 + return ret + } + return o.ManualWorkItemDetails +} + +// GetManualWorkItemDetailsOk returns a tuple with the ManualWorkItemDetails field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetManualWorkItemDetailsOk() ([]ManualWorkItemDetails1, bool) { + if o == nil || IsNil(o.ManualWorkItemDetails) { + return nil, false + } + return o.ManualWorkItemDetails, true +} + +// HasManualWorkItemDetails returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasManualWorkItemDetails() bool { + if o != nil && !IsNil(o.ManualWorkItemDetails) { + return true + } + + return false +} + +// SetManualWorkItemDetails gets a reference to the given []ManualWorkItemDetails1 and assigns it to the ManualWorkItemDetails field. +func (o *AccessRequestAdminItemStatus) SetManualWorkItemDetails(v []ManualWorkItemDetails1) { + o.ManualWorkItemDetails = v +} + +// GetAccountActivityItemId returns the AccountActivityItemId field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetAccountActivityItemId() string { + if o == nil || IsNil(o.AccountActivityItemId) { + var ret string + return ret + } + return *o.AccountActivityItemId +} + +// GetAccountActivityItemIdOk returns a tuple with the AccountActivityItemId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetAccountActivityItemIdOk() (*string, bool) { + if o == nil || IsNil(o.AccountActivityItemId) { + return nil, false + } + return o.AccountActivityItemId, true +} + +// HasAccountActivityItemId returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasAccountActivityItemId() bool { + if o != nil && !IsNil(o.AccountActivityItemId) { + return true + } + + return false +} + +// SetAccountActivityItemId gets a reference to the given string and assigns it to the AccountActivityItemId field. +func (o *AccessRequestAdminItemStatus) SetAccountActivityItemId(v string) { + o.AccountActivityItemId = &v +} + +// GetRequestType returns the RequestType field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetRequestType() AccessRequestType { + if o == nil || IsNil(o.RequestType.Get()) { + var ret AccessRequestType + return ret + } + return *o.RequestType.Get() +} + +// GetRequestTypeOk returns a tuple with the RequestType field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetRequestTypeOk() (*AccessRequestType, bool) { + if o == nil { + return nil, false + } + return o.RequestType.Get(), o.RequestType.IsSet() +} + +// HasRequestType returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasRequestType() bool { + if o != nil && o.RequestType.IsSet() { + return true + } + + return false +} + +// SetRequestType gets a reference to the given NullableAccessRequestType and assigns it to the RequestType field. +func (o *AccessRequestAdminItemStatus) SetRequestType(v AccessRequestType) { + o.RequestType.Set(&v) +} +// SetRequestTypeNil sets the value for RequestType to be an explicit nil +func (o *AccessRequestAdminItemStatus) SetRequestTypeNil() { + o.RequestType.Set(nil) +} + +// UnsetRequestType ensures that no value is present for RequestType, not even an explicit nil +func (o *AccessRequestAdminItemStatus) UnsetRequestType() { + o.RequestType.Unset() +} + +// GetModified returns the Modified field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetModified() SailPointTime { + if o == nil || IsNil(o.Modified.Get()) { + var ret SailPointTime + return ret + } + return *o.Modified.Get() +} + +// GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetModifiedOk() (*SailPointTime, bool) { + if o == nil { + return nil, false + } + return o.Modified.Get(), o.Modified.IsSet() +} + +// HasModified returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasModified() bool { + if o != nil && o.Modified.IsSet() { + return true + } + + return false +} + +// SetModified gets a reference to the given NullableTime and assigns it to the Modified field. +func (o *AccessRequestAdminItemStatus) SetModified(v SailPointTime) { + o.Modified.Set(&v) +} +// SetModifiedNil sets the value for Modified to be an explicit nil +func (o *AccessRequestAdminItemStatus) SetModifiedNil() { + o.Modified.Set(nil) +} + +// UnsetModified ensures that no value is present for Modified, not even an explicit nil +func (o *AccessRequestAdminItemStatus) UnsetModified() { + o.Modified.Unset() +} + +// GetCreated returns the Created field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetCreated() SailPointTime { + if o == nil || IsNil(o.Created) { + var ret SailPointTime + return ret + } + return *o.Created +} + +// GetCreatedOk returns a tuple with the Created field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetCreatedOk() (*SailPointTime, bool) { + if o == nil || IsNil(o.Created) { + return nil, false + } + return o.Created, true +} + +// HasCreated returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasCreated() bool { + if o != nil && !IsNil(o.Created) { + return true + } + + return false +} + +// SetCreated gets a reference to the given SailPointTime and assigns it to the Created field. +func (o *AccessRequestAdminItemStatus) SetCreated(v SailPointTime) { + o.Created = &v +} + +// GetRequester returns the Requester field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetRequester() AccessItemRequester { + if o == nil || IsNil(o.Requester) { + var ret AccessItemRequester + return ret + } + return *o.Requester +} + +// GetRequesterOk returns a tuple with the Requester field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetRequesterOk() (*AccessItemRequester, bool) { + if o == nil || IsNil(o.Requester) { + return nil, false + } + return o.Requester, true +} + +// HasRequester returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasRequester() bool { + if o != nil && !IsNil(o.Requester) { + return true + } + + return false +} + +// SetRequester gets a reference to the given AccessItemRequester and assigns it to the Requester field. +func (o *AccessRequestAdminItemStatus) SetRequester(v AccessItemRequester) { + o.Requester = &v +} + +// GetRequestedFor returns the RequestedFor field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetRequestedFor() RequestedItemStatusRequestedFor { + if o == nil || IsNil(o.RequestedFor) { + var ret RequestedItemStatusRequestedFor + return ret + } + return *o.RequestedFor +} + +// GetRequestedForOk returns a tuple with the RequestedFor field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetRequestedForOk() (*RequestedItemStatusRequestedFor, bool) { + if o == nil || IsNil(o.RequestedFor) { + return nil, false + } + return o.RequestedFor, true +} + +// HasRequestedFor returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasRequestedFor() bool { + if o != nil && !IsNil(o.RequestedFor) { + return true + } + + return false +} + +// SetRequestedFor gets a reference to the given RequestedItemStatusRequestedFor and assigns it to the RequestedFor field. +func (o *AccessRequestAdminItemStatus) SetRequestedFor(v RequestedItemStatusRequestedFor) { + o.RequestedFor = &v +} + +// GetRequesterComment returns the RequesterComment field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetRequesterComment() RequestedItemStatusRequesterComment { + if o == nil || IsNil(o.RequesterComment) { + var ret RequestedItemStatusRequesterComment + return ret + } + return *o.RequesterComment +} + +// GetRequesterCommentOk returns a tuple with the RequesterComment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetRequesterCommentOk() (*RequestedItemStatusRequesterComment, bool) { + if o == nil || IsNil(o.RequesterComment) { + return nil, false + } + return o.RequesterComment, true +} + +// HasRequesterComment returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasRequesterComment() bool { + if o != nil && !IsNil(o.RequesterComment) { + return true + } + + return false +} + +// SetRequesterComment gets a reference to the given RequestedItemStatusRequesterComment and assigns it to the RequesterComment field. +func (o *AccessRequestAdminItemStatus) SetRequesterComment(v RequestedItemStatusRequesterComment) { + o.RequesterComment = &v +} + +// GetSodViolationContext returns the SodViolationContext field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetSodViolationContext() AccessRequestAdminItemStatusSodViolationContext { + if o == nil || IsNil(o.SodViolationContext) { + var ret AccessRequestAdminItemStatusSodViolationContext + return ret + } + return *o.SodViolationContext +} + +// GetSodViolationContextOk returns a tuple with the SodViolationContext field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetSodViolationContextOk() (*AccessRequestAdminItemStatusSodViolationContext, bool) { + if o == nil || IsNil(o.SodViolationContext) { + return nil, false + } + return o.SodViolationContext, true +} + +// HasSodViolationContext returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasSodViolationContext() bool { + if o != nil && !IsNil(o.SodViolationContext) { + return true + } + + return false +} + +// SetSodViolationContext gets a reference to the given AccessRequestAdminItemStatusSodViolationContext and assigns it to the SodViolationContext field. +func (o *AccessRequestAdminItemStatus) SetSodViolationContext(v AccessRequestAdminItemStatusSodViolationContext) { + o.SodViolationContext = &v +} + +// GetProvisioningDetails returns the ProvisioningDetails field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetProvisioningDetails() RequestedItemStatusProvisioningDetails { + if o == nil || IsNil(o.ProvisioningDetails) { + var ret RequestedItemStatusProvisioningDetails + return ret + } + return *o.ProvisioningDetails +} + +// GetProvisioningDetailsOk returns a tuple with the ProvisioningDetails field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetProvisioningDetailsOk() (*RequestedItemStatusProvisioningDetails, bool) { + if o == nil || IsNil(o.ProvisioningDetails) { + return nil, false + } + return o.ProvisioningDetails, true +} + +// HasProvisioningDetails returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasProvisioningDetails() bool { + if o != nil && !IsNil(o.ProvisioningDetails) { + return true + } + + return false +} + +// SetProvisioningDetails gets a reference to the given RequestedItemStatusProvisioningDetails and assigns it to the ProvisioningDetails field. +func (o *AccessRequestAdminItemStatus) SetProvisioningDetails(v RequestedItemStatusProvisioningDetails) { + o.ProvisioningDetails = &v +} + +// GetPreApprovalTriggerDetails returns the PreApprovalTriggerDetails field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetPreApprovalTriggerDetails() RequestedItemStatusPreApprovalTriggerDetails { + if o == nil || IsNil(o.PreApprovalTriggerDetails) { + var ret RequestedItemStatusPreApprovalTriggerDetails + return ret + } + return *o.PreApprovalTriggerDetails +} + +// GetPreApprovalTriggerDetailsOk returns a tuple with the PreApprovalTriggerDetails field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetPreApprovalTriggerDetailsOk() (*RequestedItemStatusPreApprovalTriggerDetails, bool) { + if o == nil || IsNil(o.PreApprovalTriggerDetails) { + return nil, false + } + return o.PreApprovalTriggerDetails, true +} + +// HasPreApprovalTriggerDetails returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasPreApprovalTriggerDetails() bool { + if o != nil && !IsNil(o.PreApprovalTriggerDetails) { + return true + } + + return false +} + +// SetPreApprovalTriggerDetails gets a reference to the given RequestedItemStatusPreApprovalTriggerDetails and assigns it to the PreApprovalTriggerDetails field. +func (o *AccessRequestAdminItemStatus) SetPreApprovalTriggerDetails(v RequestedItemStatusPreApprovalTriggerDetails) { + o.PreApprovalTriggerDetails = &v +} + +// GetAccessRequestPhases returns the AccessRequestPhases field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetAccessRequestPhases() []AccessRequestPhases { + if o == nil { + var ret []AccessRequestPhases + return ret + } + return o.AccessRequestPhases +} + +// GetAccessRequestPhasesOk returns a tuple with the AccessRequestPhases field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetAccessRequestPhasesOk() ([]AccessRequestPhases, bool) { + if o == nil || IsNil(o.AccessRequestPhases) { + return nil, false + } + return o.AccessRequestPhases, true +} + +// HasAccessRequestPhases returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasAccessRequestPhases() bool { + if o != nil && !IsNil(o.AccessRequestPhases) { + return true + } + + return false +} + +// SetAccessRequestPhases gets a reference to the given []AccessRequestPhases and assigns it to the AccessRequestPhases field. +func (o *AccessRequestAdminItemStatus) SetAccessRequestPhases(v []AccessRequestPhases) { + o.AccessRequestPhases = v +} + +// GetDescription returns the Description field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetDescription() string { + if o == nil || IsNil(o.Description.Get()) { + var ret string + return ret + } + return *o.Description.Get() +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetDescriptionOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Description.Get(), o.Description.IsSet() +} + +// HasDescription returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasDescription() bool { + if o != nil && o.Description.IsSet() { + return true + } + + return false +} + +// SetDescription gets a reference to the given NullableString and assigns it to the Description field. +func (o *AccessRequestAdminItemStatus) SetDescription(v string) { + o.Description.Set(&v) +} +// SetDescriptionNil sets the value for Description to be an explicit nil +func (o *AccessRequestAdminItemStatus) SetDescriptionNil() { + o.Description.Set(nil) +} + +// UnsetDescription ensures that no value is present for Description, not even an explicit nil +func (o *AccessRequestAdminItemStatus) UnsetDescription() { + o.Description.Unset() +} + +// GetRemoveDate returns the RemoveDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetRemoveDate() SailPointTime { + if o == nil || IsNil(o.RemoveDate.Get()) { + var ret SailPointTime + return ret + } + return *o.RemoveDate.Get() +} + +// GetRemoveDateOk returns a tuple with the RemoveDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetRemoveDateOk() (*SailPointTime, bool) { + if o == nil { + return nil, false + } + return o.RemoveDate.Get(), o.RemoveDate.IsSet() +} + +// HasRemoveDate returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasRemoveDate() bool { + if o != nil && o.RemoveDate.IsSet() { + return true + } + + return false +} + +// SetRemoveDate gets a reference to the given NullableTime and assigns it to the RemoveDate field. +func (o *AccessRequestAdminItemStatus) SetRemoveDate(v SailPointTime) { + o.RemoveDate.Set(&v) +} +// SetRemoveDateNil sets the value for RemoveDate to be an explicit nil +func (o *AccessRequestAdminItemStatus) SetRemoveDateNil() { + o.RemoveDate.Set(nil) +} + +// UnsetRemoveDate ensures that no value is present for RemoveDate, not even an explicit nil +func (o *AccessRequestAdminItemStatus) UnsetRemoveDate() { + o.RemoveDate.Unset() +} + +// GetCancelable returns the Cancelable field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetCancelable() bool { + if o == nil || IsNil(o.Cancelable) { + var ret bool + return ret + } + return *o.Cancelable +} + +// GetCancelableOk returns a tuple with the Cancelable field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetCancelableOk() (*bool, bool) { + if o == nil || IsNil(o.Cancelable) { + return nil, false + } + return o.Cancelable, true +} + +// HasCancelable returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasCancelable() bool { + if o != nil && !IsNil(o.Cancelable) { + return true + } + + return false +} + +// SetCancelable gets a reference to the given bool and assigns it to the Cancelable field. +func (o *AccessRequestAdminItemStatus) SetCancelable(v bool) { + o.Cancelable = &v +} + +// GetReauthorizationRequired returns the ReauthorizationRequired field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetReauthorizationRequired() bool { + if o == nil || IsNil(o.ReauthorizationRequired) { + var ret bool + return ret + } + return *o.ReauthorizationRequired +} + +// GetReauthorizationRequiredOk returns a tuple with the ReauthorizationRequired field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetReauthorizationRequiredOk() (*bool, bool) { + if o == nil || IsNil(o.ReauthorizationRequired) { + return nil, false + } + return o.ReauthorizationRequired, true +} + +// HasReauthorizationRequired returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasReauthorizationRequired() bool { + if o != nil && !IsNil(o.ReauthorizationRequired) { + return true + } + + return false +} + +// SetReauthorizationRequired gets a reference to the given bool and assigns it to the ReauthorizationRequired field. +func (o *AccessRequestAdminItemStatus) SetReauthorizationRequired(v bool) { + o.ReauthorizationRequired = &v +} + +// GetAccessRequestId returns the AccessRequestId field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatus) GetAccessRequestId() string { + if o == nil || IsNil(o.AccessRequestId) { + var ret string + return ret + } + return *o.AccessRequestId +} + +// GetAccessRequestIdOk returns a tuple with the AccessRequestId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatus) GetAccessRequestIdOk() (*string, bool) { + if o == nil || IsNil(o.AccessRequestId) { + return nil, false + } + return o.AccessRequestId, true +} + +// HasAccessRequestId returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasAccessRequestId() bool { + if o != nil && !IsNil(o.AccessRequestId) { + return true + } + + return false +} + +// SetAccessRequestId gets a reference to the given string and assigns it to the AccessRequestId field. +func (o *AccessRequestAdminItemStatus) SetAccessRequestId(v string) { + o.AccessRequestId = &v +} + +// GetClientMetadata returns the ClientMetadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatus) GetClientMetadata() map[string]string { + if o == nil { + var ret map[string]string + return ret + } + return o.ClientMetadata +} + +// GetClientMetadataOk returns a tuple with the ClientMetadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatus) GetClientMetadataOk() (*map[string]string, bool) { + if o == nil || IsNil(o.ClientMetadata) { + return nil, false + } + return &o.ClientMetadata, true +} + +// HasClientMetadata returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatus) HasClientMetadata() bool { + if o != nil && !IsNil(o.ClientMetadata) { + return true + } + + return false +} + +// SetClientMetadata gets a reference to the given map[string]string and assigns it to the ClientMetadata field. +func (o *AccessRequestAdminItemStatus) SetClientMetadata(v map[string]string) { + o.ClientMetadata = v +} + +func (o AccessRequestAdminItemStatus) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AccessRequestAdminItemStatus) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Name.IsSet() { + toSerialize["name"] = o.Name.Get() + } + if o.Type.IsSet() { + toSerialize["type"] = o.Type.Get() + } + if !IsNil(o.CancelledRequestDetails) { + toSerialize["cancelledRequestDetails"] = o.CancelledRequestDetails + } + if o.ErrorMessages != nil { + toSerialize["errorMessages"] = o.ErrorMessages + } + if !IsNil(o.State) { + toSerialize["state"] = o.State + } + if !IsNil(o.ApprovalDetails) { + toSerialize["approvalDetails"] = o.ApprovalDetails + } + if o.ManualWorkItemDetails != nil { + toSerialize["manualWorkItemDetails"] = o.ManualWorkItemDetails + } + if !IsNil(o.AccountActivityItemId) { + toSerialize["accountActivityItemId"] = o.AccountActivityItemId + } + if o.RequestType.IsSet() { + toSerialize["requestType"] = o.RequestType.Get() + } + if o.Modified.IsSet() { + toSerialize["modified"] = o.Modified.Get() + } + if !IsNil(o.Created) { + toSerialize["created"] = o.Created + } + if !IsNil(o.Requester) { + toSerialize["requester"] = o.Requester + } + if !IsNil(o.RequestedFor) { + toSerialize["requestedFor"] = o.RequestedFor + } + if !IsNil(o.RequesterComment) { + toSerialize["requesterComment"] = o.RequesterComment + } + if !IsNil(o.SodViolationContext) { + toSerialize["sodViolationContext"] = o.SodViolationContext + } + if !IsNil(o.ProvisioningDetails) { + toSerialize["provisioningDetails"] = o.ProvisioningDetails + } + if !IsNil(o.PreApprovalTriggerDetails) { + toSerialize["preApprovalTriggerDetails"] = o.PreApprovalTriggerDetails + } + if o.AccessRequestPhases != nil { + toSerialize["accessRequestPhases"] = o.AccessRequestPhases + } + if o.Description.IsSet() { + toSerialize["description"] = o.Description.Get() + } + if o.RemoveDate.IsSet() { + toSerialize["removeDate"] = o.RemoveDate.Get() + } + if !IsNil(o.Cancelable) { + toSerialize["cancelable"] = o.Cancelable + } + if !IsNil(o.ReauthorizationRequired) { + toSerialize["reauthorizationRequired"] = o.ReauthorizationRequired + } + if !IsNil(o.AccessRequestId) { + toSerialize["accessRequestId"] = o.AccessRequestId + } + if o.ClientMetadata != nil { + toSerialize["clientMetadata"] = o.ClientMetadata + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AccessRequestAdminItemStatus) UnmarshalJSON(data []byte) (err error) { + varAccessRequestAdminItemStatus := _AccessRequestAdminItemStatus{} + + err = json.Unmarshal(data, &varAccessRequestAdminItemStatus) + + if err != nil { + return err + } + + *o = AccessRequestAdminItemStatus(varAccessRequestAdminItemStatus) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "name") + delete(additionalProperties, "type") + delete(additionalProperties, "cancelledRequestDetails") + delete(additionalProperties, "errorMessages") + delete(additionalProperties, "state") + delete(additionalProperties, "approvalDetails") + delete(additionalProperties, "manualWorkItemDetails") + delete(additionalProperties, "accountActivityItemId") + delete(additionalProperties, "requestType") + delete(additionalProperties, "modified") + delete(additionalProperties, "created") + delete(additionalProperties, "requester") + delete(additionalProperties, "requestedFor") + delete(additionalProperties, "requesterComment") + delete(additionalProperties, "sodViolationContext") + delete(additionalProperties, "provisioningDetails") + delete(additionalProperties, "preApprovalTriggerDetails") + delete(additionalProperties, "accessRequestPhases") + delete(additionalProperties, "description") + delete(additionalProperties, "removeDate") + delete(additionalProperties, "cancelable") + delete(additionalProperties, "reauthorizationRequired") + delete(additionalProperties, "accessRequestId") + delete(additionalProperties, "clientMetadata") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAccessRequestAdminItemStatus struct { + value *AccessRequestAdminItemStatus + isSet bool +} + +func (v NullableAccessRequestAdminItemStatus) Get() *AccessRequestAdminItemStatus { + return v.value +} + +func (v *NullableAccessRequestAdminItemStatus) Set(val *AccessRequestAdminItemStatus) { + v.value = val + v.isSet = true +} + +func (v NullableAccessRequestAdminItemStatus) IsSet() bool { + return v.isSet +} + +func (v *NullableAccessRequestAdminItemStatus) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAccessRequestAdminItemStatus(val *AccessRequestAdminItemStatus) *NullableAccessRequestAdminItemStatus { + return &NullableAccessRequestAdminItemStatus{value: val, isSet: true} +} + +func (v NullableAccessRequestAdminItemStatus) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAccessRequestAdminItemStatus) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_access_request_admin_item_status_cancelled_request_details.go b/api_v2024/model_access_request_admin_item_status_cancelled_request_details.go new file mode 100644 index 000000000..7f441fdba --- /dev/null +++ b/api_v2024/model_access_request_admin_item_status_cancelled_request_details.go @@ -0,0 +1,232 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" + +) + +// checks if the AccessRequestAdminItemStatusCancelledRequestDetails type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AccessRequestAdminItemStatusCancelledRequestDetails{} + +// AccessRequestAdminItemStatusCancelledRequestDetails struct for AccessRequestAdminItemStatusCancelledRequestDetails +type AccessRequestAdminItemStatusCancelledRequestDetails struct { + // Comment made by the owner when cancelling the associated request. + Comment *string `json:"comment,omitempty"` + Owner *OwnerDto `json:"owner,omitempty"` + // Date comment was added by the owner when cancelling the associated request. + Modified *SailPointTime `json:"modified,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AccessRequestAdminItemStatusCancelledRequestDetails AccessRequestAdminItemStatusCancelledRequestDetails + +// NewAccessRequestAdminItemStatusCancelledRequestDetails instantiates a new AccessRequestAdminItemStatusCancelledRequestDetails 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 NewAccessRequestAdminItemStatusCancelledRequestDetails() *AccessRequestAdminItemStatusCancelledRequestDetails { + this := AccessRequestAdminItemStatusCancelledRequestDetails{} + return &this +} + +// NewAccessRequestAdminItemStatusCancelledRequestDetailsWithDefaults instantiates a new AccessRequestAdminItemStatusCancelledRequestDetails 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 NewAccessRequestAdminItemStatusCancelledRequestDetailsWithDefaults() *AccessRequestAdminItemStatusCancelledRequestDetails { + this := AccessRequestAdminItemStatusCancelledRequestDetails{} + return &this +} + +// GetComment returns the Comment field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetComment() string { + if o == nil || IsNil(o.Comment) { + var ret string + return ret + } + return *o.Comment +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetCommentOk() (*string, bool) { + if o == nil || IsNil(o.Comment) { + return nil, false + } + return o.Comment, true +} + +// HasComment returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) HasComment() bool { + if o != nil && !IsNil(o.Comment) { + return true + } + + return false +} + +// SetComment gets a reference to the given string and assigns it to the Comment field. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) SetComment(v string) { + o.Comment = &v +} + +// GetOwner returns the Owner field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetOwner() OwnerDto { + if o == nil || IsNil(o.Owner) { + var ret OwnerDto + return ret + } + return *o.Owner +} + +// GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetOwnerOk() (*OwnerDto, bool) { + if o == nil || IsNil(o.Owner) { + return nil, false + } + return o.Owner, true +} + +// HasOwner returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) HasOwner() bool { + if o != nil && !IsNil(o.Owner) { + return true + } + + return false +} + +// SetOwner gets a reference to the given OwnerDto and assigns it to the Owner field. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) SetOwner(v OwnerDto) { + o.Owner = &v +} + +// GetModified returns the Modified field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetModified() SailPointTime { + if o == nil || IsNil(o.Modified) { + var ret SailPointTime + return ret + } + return *o.Modified +} + +// GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) GetModifiedOk() (*SailPointTime, bool) { + if o == nil || IsNil(o.Modified) { + return nil, false + } + return o.Modified, true +} + +// HasModified returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) HasModified() bool { + if o != nil && !IsNil(o.Modified) { + return true + } + + return false +} + +// SetModified gets a reference to the given SailPointTime and assigns it to the Modified field. +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) SetModified(v SailPointTime) { + o.Modified = &v +} + +func (o AccessRequestAdminItemStatusCancelledRequestDetails) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AccessRequestAdminItemStatusCancelledRequestDetails) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Comment) { + toSerialize["comment"] = o.Comment + } + if !IsNil(o.Owner) { + toSerialize["owner"] = o.Owner + } + if !IsNil(o.Modified) { + toSerialize["modified"] = o.Modified + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AccessRequestAdminItemStatusCancelledRequestDetails) UnmarshalJSON(data []byte) (err error) { + varAccessRequestAdminItemStatusCancelledRequestDetails := _AccessRequestAdminItemStatusCancelledRequestDetails{} + + err = json.Unmarshal(data, &varAccessRequestAdminItemStatusCancelledRequestDetails) + + if err != nil { + return err + } + + *o = AccessRequestAdminItemStatusCancelledRequestDetails(varAccessRequestAdminItemStatusCancelledRequestDetails) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "comment") + delete(additionalProperties, "owner") + delete(additionalProperties, "modified") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAccessRequestAdminItemStatusCancelledRequestDetails struct { + value *AccessRequestAdminItemStatusCancelledRequestDetails + isSet bool +} + +func (v NullableAccessRequestAdminItemStatusCancelledRequestDetails) Get() *AccessRequestAdminItemStatusCancelledRequestDetails { + return v.value +} + +func (v *NullableAccessRequestAdminItemStatusCancelledRequestDetails) Set(val *AccessRequestAdminItemStatusCancelledRequestDetails) { + v.value = val + v.isSet = true +} + +func (v NullableAccessRequestAdminItemStatusCancelledRequestDetails) IsSet() bool { + return v.isSet +} + +func (v *NullableAccessRequestAdminItemStatusCancelledRequestDetails) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAccessRequestAdminItemStatusCancelledRequestDetails(val *AccessRequestAdminItemStatusCancelledRequestDetails) *NullableAccessRequestAdminItemStatusCancelledRequestDetails { + return &NullableAccessRequestAdminItemStatusCancelledRequestDetails{value: val, isSet: true} +} + +func (v NullableAccessRequestAdminItemStatusCancelledRequestDetails) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAccessRequestAdminItemStatusCancelledRequestDetails) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_access_request_admin_item_status_sod_violation_context.go b/api_v2024/model_access_request_admin_item_status_sod_violation_context.go new file mode 100644 index 000000000..c37efd3bc --- /dev/null +++ b/api_v2024/model_access_request_admin_item_status_sod_violation_context.go @@ -0,0 +1,251 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" +) + +// checks if the AccessRequestAdminItemStatusSodViolationContext type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AccessRequestAdminItemStatusSodViolationContext{} + +// AccessRequestAdminItemStatusSodViolationContext struct for AccessRequestAdminItemStatusSodViolationContext +type AccessRequestAdminItemStatusSodViolationContext struct { + // The status of SOD violation check + State NullableString `json:"state,omitempty"` + // The id of the Violation check event + Uuid NullableString `json:"uuid,omitempty"` + ViolationCheckResult *SodViolationCheckResult1 `json:"violationCheckResult,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AccessRequestAdminItemStatusSodViolationContext AccessRequestAdminItemStatusSodViolationContext + +// NewAccessRequestAdminItemStatusSodViolationContext instantiates a new AccessRequestAdminItemStatusSodViolationContext 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 NewAccessRequestAdminItemStatusSodViolationContext() *AccessRequestAdminItemStatusSodViolationContext { + this := AccessRequestAdminItemStatusSodViolationContext{} + return &this +} + +// NewAccessRequestAdminItemStatusSodViolationContextWithDefaults instantiates a new AccessRequestAdminItemStatusSodViolationContext 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 NewAccessRequestAdminItemStatusSodViolationContextWithDefaults() *AccessRequestAdminItemStatusSodViolationContext { + this := AccessRequestAdminItemStatusSodViolationContext{} + return &this +} + +// GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatusSodViolationContext) GetState() string { + if o == nil || IsNil(o.State.Get()) { + var ret string + return ret + } + return *o.State.Get() +} + +// GetStateOk returns a tuple with the State field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatusSodViolationContext) GetStateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.State.Get(), o.State.IsSet() +} + +// HasState returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatusSodViolationContext) HasState() bool { + if o != nil && o.State.IsSet() { + return true + } + + return false +} + +// SetState gets a reference to the given NullableString and assigns it to the State field. +func (o *AccessRequestAdminItemStatusSodViolationContext) SetState(v string) { + o.State.Set(&v) +} +// SetStateNil sets the value for State to be an explicit nil +func (o *AccessRequestAdminItemStatusSodViolationContext) SetStateNil() { + o.State.Set(nil) +} + +// UnsetState ensures that no value is present for State, not even an explicit nil +func (o *AccessRequestAdminItemStatusSodViolationContext) UnsetState() { + o.State.Unset() +} + +// GetUuid returns the Uuid field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *AccessRequestAdminItemStatusSodViolationContext) GetUuid() string { + if o == nil || IsNil(o.Uuid.Get()) { + var ret string + return ret + } + return *o.Uuid.Get() +} + +// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *AccessRequestAdminItemStatusSodViolationContext) GetUuidOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Uuid.Get(), o.Uuid.IsSet() +} + +// HasUuid returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatusSodViolationContext) HasUuid() bool { + if o != nil && o.Uuid.IsSet() { + return true + } + + return false +} + +// SetUuid gets a reference to the given NullableString and assigns it to the Uuid field. +func (o *AccessRequestAdminItemStatusSodViolationContext) SetUuid(v string) { + o.Uuid.Set(&v) +} +// SetUuidNil sets the value for Uuid to be an explicit nil +func (o *AccessRequestAdminItemStatusSodViolationContext) SetUuidNil() { + o.Uuid.Set(nil) +} + +// UnsetUuid ensures that no value is present for Uuid, not even an explicit nil +func (o *AccessRequestAdminItemStatusSodViolationContext) UnsetUuid() { + o.Uuid.Unset() +} + +// GetViolationCheckResult returns the ViolationCheckResult field value if set, zero value otherwise. +func (o *AccessRequestAdminItemStatusSodViolationContext) GetViolationCheckResult() SodViolationCheckResult1 { + if o == nil || IsNil(o.ViolationCheckResult) { + var ret SodViolationCheckResult1 + return ret + } + return *o.ViolationCheckResult +} + +// GetViolationCheckResultOk returns a tuple with the ViolationCheckResult field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AccessRequestAdminItemStatusSodViolationContext) GetViolationCheckResultOk() (*SodViolationCheckResult1, bool) { + if o == nil || IsNil(o.ViolationCheckResult) { + return nil, false + } + return o.ViolationCheckResult, true +} + +// HasViolationCheckResult returns a boolean if a field has been set. +func (o *AccessRequestAdminItemStatusSodViolationContext) HasViolationCheckResult() bool { + if o != nil && !IsNil(o.ViolationCheckResult) { + return true + } + + return false +} + +// SetViolationCheckResult gets a reference to the given SodViolationCheckResult1 and assigns it to the ViolationCheckResult field. +func (o *AccessRequestAdminItemStatusSodViolationContext) SetViolationCheckResult(v SodViolationCheckResult1) { + o.ViolationCheckResult = &v +} + +func (o AccessRequestAdminItemStatusSodViolationContext) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AccessRequestAdminItemStatusSodViolationContext) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.State.IsSet() { + toSerialize["state"] = o.State.Get() + } + if o.Uuid.IsSet() { + toSerialize["uuid"] = o.Uuid.Get() + } + if !IsNil(o.ViolationCheckResult) { + toSerialize["violationCheckResult"] = o.ViolationCheckResult + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AccessRequestAdminItemStatusSodViolationContext) UnmarshalJSON(data []byte) (err error) { + varAccessRequestAdminItemStatusSodViolationContext := _AccessRequestAdminItemStatusSodViolationContext{} + + err = json.Unmarshal(data, &varAccessRequestAdminItemStatusSodViolationContext) + + if err != nil { + return err + } + + *o = AccessRequestAdminItemStatusSodViolationContext(varAccessRequestAdminItemStatusSodViolationContext) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "state") + delete(additionalProperties, "uuid") + delete(additionalProperties, "violationCheckResult") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAccessRequestAdminItemStatusSodViolationContext struct { + value *AccessRequestAdminItemStatusSodViolationContext + isSet bool +} + +func (v NullableAccessRequestAdminItemStatusSodViolationContext) Get() *AccessRequestAdminItemStatusSodViolationContext { + return v.value +} + +func (v *NullableAccessRequestAdminItemStatusSodViolationContext) Set(val *AccessRequestAdminItemStatusSodViolationContext) { + v.value = val + v.isSet = true +} + +func (v NullableAccessRequestAdminItemStatusSodViolationContext) IsSet() bool { + return v.isSet +} + +func (v *NullableAccessRequestAdminItemStatusSodViolationContext) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAccessRequestAdminItemStatusSodViolationContext(val *AccessRequestAdminItemStatusSodViolationContext) *NullableAccessRequestAdminItemStatusSodViolationContext { + return &NullableAccessRequestAdminItemStatusSodViolationContext{value: val, isSet: true} +} + +func (v NullableAccessRequestAdminItemStatusSodViolationContext) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAccessRequestAdminItemStatusSodViolationContext) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_approval_forward_history_1.go b/api_v2024/model_approval_forward_history_1.go new file mode 100644 index 000000000..01d219c9f --- /dev/null +++ b/api_v2024/model_approval_forward_history_1.go @@ -0,0 +1,366 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" + +) + +// checks if the ApprovalForwardHistory1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ApprovalForwardHistory1{} + +// ApprovalForwardHistory1 struct for ApprovalForwardHistory1 +type ApprovalForwardHistory1 struct { + // Display name of approver from whom the approval was forwarded. + OldApproverName *string `json:"oldApproverName,omitempty"` + // Display name of approver to whom the approval was forwarded. + NewApproverName *string `json:"newApproverName,omitempty"` + // Comment made while forwarding. + Comment NullableString `json:"comment,omitempty"` + // Time at which approval was forwarded. + Modified *SailPointTime `json:"modified,omitempty"` + // Display name of forwarder who forwarded the approval. + ForwarderName NullableString `json:"forwarderName,omitempty"` + ReassignmentType *ReassignmentType `json:"reassignmentType,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ApprovalForwardHistory1 ApprovalForwardHistory1 + +// NewApprovalForwardHistory1 instantiates a new ApprovalForwardHistory1 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 NewApprovalForwardHistory1() *ApprovalForwardHistory1 { + this := ApprovalForwardHistory1{} + return &this +} + +// NewApprovalForwardHistory1WithDefaults instantiates a new ApprovalForwardHistory1 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 NewApprovalForwardHistory1WithDefaults() *ApprovalForwardHistory1 { + this := ApprovalForwardHistory1{} + return &this +} + +// GetOldApproverName returns the OldApproverName field value if set, zero value otherwise. +func (o *ApprovalForwardHistory1) GetOldApproverName() string { + if o == nil || IsNil(o.OldApproverName) { + var ret string + return ret + } + return *o.OldApproverName +} + +// GetOldApproverNameOk returns a tuple with the OldApproverName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalForwardHistory1) GetOldApproverNameOk() (*string, bool) { + if o == nil || IsNil(o.OldApproverName) { + return nil, false + } + return o.OldApproverName, true +} + +// HasOldApproverName returns a boolean if a field has been set. +func (o *ApprovalForwardHistory1) HasOldApproverName() bool { + if o != nil && !IsNil(o.OldApproverName) { + return true + } + + return false +} + +// SetOldApproverName gets a reference to the given string and assigns it to the OldApproverName field. +func (o *ApprovalForwardHistory1) SetOldApproverName(v string) { + o.OldApproverName = &v +} + +// GetNewApproverName returns the NewApproverName field value if set, zero value otherwise. +func (o *ApprovalForwardHistory1) GetNewApproverName() string { + if o == nil || IsNil(o.NewApproverName) { + var ret string + return ret + } + return *o.NewApproverName +} + +// GetNewApproverNameOk returns a tuple with the NewApproverName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalForwardHistory1) GetNewApproverNameOk() (*string, bool) { + if o == nil || IsNil(o.NewApproverName) { + return nil, false + } + return o.NewApproverName, true +} + +// HasNewApproverName returns a boolean if a field has been set. +func (o *ApprovalForwardHistory1) HasNewApproverName() bool { + if o != nil && !IsNil(o.NewApproverName) { + return true + } + + return false +} + +// SetNewApproverName gets a reference to the given string and assigns it to the NewApproverName field. +func (o *ApprovalForwardHistory1) SetNewApproverName(v string) { + o.NewApproverName = &v +} + +// GetComment returns the Comment field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ApprovalForwardHistory1) GetComment() string { + if o == nil || IsNil(o.Comment.Get()) { + var ret string + return ret + } + return *o.Comment.Get() +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ApprovalForwardHistory1) GetCommentOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Comment.Get(), o.Comment.IsSet() +} + +// HasComment returns a boolean if a field has been set. +func (o *ApprovalForwardHistory1) HasComment() bool { + if o != nil && o.Comment.IsSet() { + return true + } + + return false +} + +// SetComment gets a reference to the given NullableString and assigns it to the Comment field. +func (o *ApprovalForwardHistory1) SetComment(v string) { + o.Comment.Set(&v) +} +// SetCommentNil sets the value for Comment to be an explicit nil +func (o *ApprovalForwardHistory1) SetCommentNil() { + o.Comment.Set(nil) +} + +// UnsetComment ensures that no value is present for Comment, not even an explicit nil +func (o *ApprovalForwardHistory1) UnsetComment() { + o.Comment.Unset() +} + +// GetModified returns the Modified field value if set, zero value otherwise. +func (o *ApprovalForwardHistory1) GetModified() SailPointTime { + if o == nil || IsNil(o.Modified) { + var ret SailPointTime + return ret + } + return *o.Modified +} + +// GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalForwardHistory1) GetModifiedOk() (*SailPointTime, bool) { + if o == nil || IsNil(o.Modified) { + return nil, false + } + return o.Modified, true +} + +// HasModified returns a boolean if a field has been set. +func (o *ApprovalForwardHistory1) HasModified() bool { + if o != nil && !IsNil(o.Modified) { + return true + } + + return false +} + +// SetModified gets a reference to the given SailPointTime and assigns it to the Modified field. +func (o *ApprovalForwardHistory1) SetModified(v SailPointTime) { + o.Modified = &v +} + +// GetForwarderName returns the ForwarderName field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ApprovalForwardHistory1) GetForwarderName() string { + if o == nil || IsNil(o.ForwarderName.Get()) { + var ret string + return ret + } + return *o.ForwarderName.Get() +} + +// GetForwarderNameOk returns a tuple with the ForwarderName field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ApprovalForwardHistory1) GetForwarderNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.ForwarderName.Get(), o.ForwarderName.IsSet() +} + +// HasForwarderName returns a boolean if a field has been set. +func (o *ApprovalForwardHistory1) HasForwarderName() bool { + if o != nil && o.ForwarderName.IsSet() { + return true + } + + return false +} + +// SetForwarderName gets a reference to the given NullableString and assigns it to the ForwarderName field. +func (o *ApprovalForwardHistory1) SetForwarderName(v string) { + o.ForwarderName.Set(&v) +} +// SetForwarderNameNil sets the value for ForwarderName to be an explicit nil +func (o *ApprovalForwardHistory1) SetForwarderNameNil() { + o.ForwarderName.Set(nil) +} + +// UnsetForwarderName ensures that no value is present for ForwarderName, not even an explicit nil +func (o *ApprovalForwardHistory1) UnsetForwarderName() { + o.ForwarderName.Unset() +} + +// GetReassignmentType returns the ReassignmentType field value if set, zero value otherwise. +func (o *ApprovalForwardHistory1) GetReassignmentType() ReassignmentType { + if o == nil || IsNil(o.ReassignmentType) { + var ret ReassignmentType + return ret + } + return *o.ReassignmentType +} + +// GetReassignmentTypeOk returns a tuple with the ReassignmentType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalForwardHistory1) GetReassignmentTypeOk() (*ReassignmentType, bool) { + if o == nil || IsNil(o.ReassignmentType) { + return nil, false + } + return o.ReassignmentType, true +} + +// HasReassignmentType returns a boolean if a field has been set. +func (o *ApprovalForwardHistory1) HasReassignmentType() bool { + if o != nil && !IsNil(o.ReassignmentType) { + return true + } + + return false +} + +// SetReassignmentType gets a reference to the given ReassignmentType and assigns it to the ReassignmentType field. +func (o *ApprovalForwardHistory1) SetReassignmentType(v ReassignmentType) { + o.ReassignmentType = &v +} + +func (o ApprovalForwardHistory1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ApprovalForwardHistory1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.OldApproverName) { + toSerialize["oldApproverName"] = o.OldApproverName + } + if !IsNil(o.NewApproverName) { + toSerialize["newApproverName"] = o.NewApproverName + } + if o.Comment.IsSet() { + toSerialize["comment"] = o.Comment.Get() + } + if !IsNil(o.Modified) { + toSerialize["modified"] = o.Modified + } + if o.ForwarderName.IsSet() { + toSerialize["forwarderName"] = o.ForwarderName.Get() + } + if !IsNil(o.ReassignmentType) { + toSerialize["reassignmentType"] = o.ReassignmentType + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ApprovalForwardHistory1) UnmarshalJSON(data []byte) (err error) { + varApprovalForwardHistory1 := _ApprovalForwardHistory1{} + + err = json.Unmarshal(data, &varApprovalForwardHistory1) + + if err != nil { + return err + } + + *o = ApprovalForwardHistory1(varApprovalForwardHistory1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "oldApproverName") + delete(additionalProperties, "newApproverName") + delete(additionalProperties, "comment") + delete(additionalProperties, "modified") + delete(additionalProperties, "forwarderName") + delete(additionalProperties, "reassignmentType") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableApprovalForwardHistory1 struct { + value *ApprovalForwardHistory1 + isSet bool +} + +func (v NullableApprovalForwardHistory1) Get() *ApprovalForwardHistory1 { + return v.value +} + +func (v *NullableApprovalForwardHistory1) Set(val *ApprovalForwardHistory1) { + v.value = val + v.isSet = true +} + +func (v NullableApprovalForwardHistory1) IsSet() bool { + return v.isSet +} + +func (v *NullableApprovalForwardHistory1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableApprovalForwardHistory1(val *ApprovalForwardHistory1) *NullableApprovalForwardHistory1 { + return &NullableApprovalForwardHistory1{value: val, isSet: true} +} + +func (v NullableApprovalForwardHistory1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableApprovalForwardHistory1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_approval_status_dto_1.go b/api_v2024/model_approval_status_dto_1.go new file mode 100644 index 000000000..aa6aef9d9 --- /dev/null +++ b/api_v2024/model_approval_status_dto_1.go @@ -0,0 +1,492 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" + +) + +// checks if the ApprovalStatusDto1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ApprovalStatusDto1{} + +// ApprovalStatusDto1 struct for ApprovalStatusDto1 +type ApprovalStatusDto1 struct { + // True if the request for this item was forwarded from one owner to another. + Forwarded *bool `json:"forwarded,omitempty"` + OriginalOwner *ApprovalStatusDtoOriginalOwner `json:"originalOwner,omitempty"` + CurrentOwner *ApprovalStatusDtoCurrentOwner `json:"currentOwner,omitempty"` + // Time at which item was modified. + Modified NullableTime `json:"modified,omitempty"` + Status *ManualWorkItemState `json:"status,omitempty"` + Scheme *ApprovalScheme `json:"scheme,omitempty"` + // If the request failed, includes any error messages that were generated. + ErrorMessages []ErrorMessageDto1 `json:"errorMessages,omitempty"` + // Comment, if any, provided by the approver. + Comment NullableString `json:"comment,omitempty"` + // The date the role or access profile or entitlement is no longer assigned to the specified identity. + RemoveDate NullableTime `json:"removeDate,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ApprovalStatusDto1 ApprovalStatusDto1 + +// NewApprovalStatusDto1 instantiates a new ApprovalStatusDto1 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 NewApprovalStatusDto1() *ApprovalStatusDto1 { + this := ApprovalStatusDto1{} + var forwarded bool = false + this.Forwarded = &forwarded + return &this +} + +// NewApprovalStatusDto1WithDefaults instantiates a new ApprovalStatusDto1 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 NewApprovalStatusDto1WithDefaults() *ApprovalStatusDto1 { + this := ApprovalStatusDto1{} + var forwarded bool = false + this.Forwarded = &forwarded + return &this +} + +// GetForwarded returns the Forwarded field value if set, zero value otherwise. +func (o *ApprovalStatusDto1) GetForwarded() bool { + if o == nil || IsNil(o.Forwarded) { + var ret bool + return ret + } + return *o.Forwarded +} + +// GetForwardedOk returns a tuple with the Forwarded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalStatusDto1) GetForwardedOk() (*bool, bool) { + if o == nil || IsNil(o.Forwarded) { + return nil, false + } + return o.Forwarded, true +} + +// HasForwarded returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasForwarded() bool { + if o != nil && !IsNil(o.Forwarded) { + return true + } + + return false +} + +// SetForwarded gets a reference to the given bool and assigns it to the Forwarded field. +func (o *ApprovalStatusDto1) SetForwarded(v bool) { + o.Forwarded = &v +} + +// GetOriginalOwner returns the OriginalOwner field value if set, zero value otherwise. +func (o *ApprovalStatusDto1) GetOriginalOwner() ApprovalStatusDtoOriginalOwner { + if o == nil || IsNil(o.OriginalOwner) { + var ret ApprovalStatusDtoOriginalOwner + return ret + } + return *o.OriginalOwner +} + +// GetOriginalOwnerOk returns a tuple with the OriginalOwner field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalStatusDto1) GetOriginalOwnerOk() (*ApprovalStatusDtoOriginalOwner, bool) { + if o == nil || IsNil(o.OriginalOwner) { + return nil, false + } + return o.OriginalOwner, true +} + +// HasOriginalOwner returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasOriginalOwner() bool { + if o != nil && !IsNil(o.OriginalOwner) { + return true + } + + return false +} + +// SetOriginalOwner gets a reference to the given ApprovalStatusDtoOriginalOwner and assigns it to the OriginalOwner field. +func (o *ApprovalStatusDto1) SetOriginalOwner(v ApprovalStatusDtoOriginalOwner) { + o.OriginalOwner = &v +} + +// GetCurrentOwner returns the CurrentOwner field value if set, zero value otherwise. +func (o *ApprovalStatusDto1) GetCurrentOwner() ApprovalStatusDtoCurrentOwner { + if o == nil || IsNil(o.CurrentOwner) { + var ret ApprovalStatusDtoCurrentOwner + return ret + } + return *o.CurrentOwner +} + +// GetCurrentOwnerOk returns a tuple with the CurrentOwner field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalStatusDto1) GetCurrentOwnerOk() (*ApprovalStatusDtoCurrentOwner, bool) { + if o == nil || IsNil(o.CurrentOwner) { + return nil, false + } + return o.CurrentOwner, true +} + +// HasCurrentOwner returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasCurrentOwner() bool { + if o != nil && !IsNil(o.CurrentOwner) { + return true + } + + return false +} + +// SetCurrentOwner gets a reference to the given ApprovalStatusDtoCurrentOwner and assigns it to the CurrentOwner field. +func (o *ApprovalStatusDto1) SetCurrentOwner(v ApprovalStatusDtoCurrentOwner) { + o.CurrentOwner = &v +} + +// GetModified returns the Modified field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ApprovalStatusDto1) GetModified() SailPointTime { + if o == nil || IsNil(o.Modified.Get()) { + var ret SailPointTime + return ret + } + return *o.Modified.Get() +} + +// GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ApprovalStatusDto1) GetModifiedOk() (*SailPointTime, bool) { + if o == nil { + return nil, false + } + return o.Modified.Get(), o.Modified.IsSet() +} + +// HasModified returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasModified() bool { + if o != nil && o.Modified.IsSet() { + return true + } + + return false +} + +// SetModified gets a reference to the given NullableTime and assigns it to the Modified field. +func (o *ApprovalStatusDto1) SetModified(v SailPointTime) { + o.Modified.Set(&v) +} +// SetModifiedNil sets the value for Modified to be an explicit nil +func (o *ApprovalStatusDto1) SetModifiedNil() { + o.Modified.Set(nil) +} + +// UnsetModified ensures that no value is present for Modified, not even an explicit nil +func (o *ApprovalStatusDto1) UnsetModified() { + o.Modified.Unset() +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *ApprovalStatusDto1) GetStatus() ManualWorkItemState { + if o == nil || IsNil(o.Status) { + var ret ManualWorkItemState + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalStatusDto1) GetStatusOk() (*ManualWorkItemState, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given ManualWorkItemState and assigns it to the Status field. +func (o *ApprovalStatusDto1) SetStatus(v ManualWorkItemState) { + o.Status = &v +} + +// GetScheme returns the Scheme field value if set, zero value otherwise. +func (o *ApprovalStatusDto1) GetScheme() ApprovalScheme { + if o == nil || IsNil(o.Scheme) { + var ret ApprovalScheme + return ret + } + return *o.Scheme +} + +// GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApprovalStatusDto1) GetSchemeOk() (*ApprovalScheme, bool) { + if o == nil || IsNil(o.Scheme) { + return nil, false + } + return o.Scheme, true +} + +// HasScheme returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasScheme() bool { + if o != nil && !IsNil(o.Scheme) { + return true + } + + return false +} + +// SetScheme gets a reference to the given ApprovalScheme and assigns it to the Scheme field. +func (o *ApprovalStatusDto1) SetScheme(v ApprovalScheme) { + o.Scheme = &v +} + +// GetErrorMessages returns the ErrorMessages field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ApprovalStatusDto1) GetErrorMessages() []ErrorMessageDto1 { + if o == nil { + var ret []ErrorMessageDto1 + return ret + } + return o.ErrorMessages +} + +// GetErrorMessagesOk returns a tuple with the ErrorMessages field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ApprovalStatusDto1) GetErrorMessagesOk() ([]ErrorMessageDto1, bool) { + if o == nil || IsNil(o.ErrorMessages) { + return nil, false + } + return o.ErrorMessages, true +} + +// HasErrorMessages returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasErrorMessages() bool { + if o != nil && !IsNil(o.ErrorMessages) { + return true + } + + return false +} + +// SetErrorMessages gets a reference to the given []ErrorMessageDto1 and assigns it to the ErrorMessages field. +func (o *ApprovalStatusDto1) SetErrorMessages(v []ErrorMessageDto1) { + o.ErrorMessages = v +} + +// GetComment returns the Comment field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ApprovalStatusDto1) GetComment() string { + if o == nil || IsNil(o.Comment.Get()) { + var ret string + return ret + } + return *o.Comment.Get() +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ApprovalStatusDto1) GetCommentOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Comment.Get(), o.Comment.IsSet() +} + +// HasComment returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasComment() bool { + if o != nil && o.Comment.IsSet() { + return true + } + + return false +} + +// SetComment gets a reference to the given NullableString and assigns it to the Comment field. +func (o *ApprovalStatusDto1) SetComment(v string) { + o.Comment.Set(&v) +} +// SetCommentNil sets the value for Comment to be an explicit nil +func (o *ApprovalStatusDto1) SetCommentNil() { + o.Comment.Set(nil) +} + +// UnsetComment ensures that no value is present for Comment, not even an explicit nil +func (o *ApprovalStatusDto1) UnsetComment() { + o.Comment.Unset() +} + +// GetRemoveDate returns the RemoveDate field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ApprovalStatusDto1) GetRemoveDate() SailPointTime { + if o == nil || IsNil(o.RemoveDate.Get()) { + var ret SailPointTime + return ret + } + return *o.RemoveDate.Get() +} + +// GetRemoveDateOk returns a tuple with the RemoveDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ApprovalStatusDto1) GetRemoveDateOk() (*SailPointTime, bool) { + if o == nil { + return nil, false + } + return o.RemoveDate.Get(), o.RemoveDate.IsSet() +} + +// HasRemoveDate returns a boolean if a field has been set. +func (o *ApprovalStatusDto1) HasRemoveDate() bool { + if o != nil && o.RemoveDate.IsSet() { + return true + } + + return false +} + +// SetRemoveDate gets a reference to the given NullableTime and assigns it to the RemoveDate field. +func (o *ApprovalStatusDto1) SetRemoveDate(v SailPointTime) { + o.RemoveDate.Set(&v) +} +// SetRemoveDateNil sets the value for RemoveDate to be an explicit nil +func (o *ApprovalStatusDto1) SetRemoveDateNil() { + o.RemoveDate.Set(nil) +} + +// UnsetRemoveDate ensures that no value is present for RemoveDate, not even an explicit nil +func (o *ApprovalStatusDto1) UnsetRemoveDate() { + o.RemoveDate.Unset() +} + +func (o ApprovalStatusDto1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ApprovalStatusDto1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Forwarded) { + toSerialize["forwarded"] = o.Forwarded + } + if !IsNil(o.OriginalOwner) { + toSerialize["originalOwner"] = o.OriginalOwner + } + if !IsNil(o.CurrentOwner) { + toSerialize["currentOwner"] = o.CurrentOwner + } + if o.Modified.IsSet() { + toSerialize["modified"] = o.Modified.Get() + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if !IsNil(o.Scheme) { + toSerialize["scheme"] = o.Scheme + } + if o.ErrorMessages != nil { + toSerialize["errorMessages"] = o.ErrorMessages + } + if o.Comment.IsSet() { + toSerialize["comment"] = o.Comment.Get() + } + if o.RemoveDate.IsSet() { + toSerialize["removeDate"] = o.RemoveDate.Get() + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ApprovalStatusDto1) UnmarshalJSON(data []byte) (err error) { + varApprovalStatusDto1 := _ApprovalStatusDto1{} + + err = json.Unmarshal(data, &varApprovalStatusDto1) + + if err != nil { + return err + } + + *o = ApprovalStatusDto1(varApprovalStatusDto1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "forwarded") + delete(additionalProperties, "originalOwner") + delete(additionalProperties, "currentOwner") + delete(additionalProperties, "modified") + delete(additionalProperties, "status") + delete(additionalProperties, "scheme") + delete(additionalProperties, "errorMessages") + delete(additionalProperties, "comment") + delete(additionalProperties, "removeDate") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableApprovalStatusDto1 struct { + value *ApprovalStatusDto1 + isSet bool +} + +func (v NullableApprovalStatusDto1) Get() *ApprovalStatusDto1 { + return v.value +} + +func (v *NullableApprovalStatusDto1) Set(val *ApprovalStatusDto1) { + v.value = val + v.isSet = true +} + +func (v NullableApprovalStatusDto1) IsSet() bool { + return v.isSet +} + +func (v *NullableApprovalStatusDto1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableApprovalStatusDto1(val *ApprovalStatusDto1) *NullableApprovalStatusDto1 { + return &NullableApprovalStatusDto1{value: val, isSet: true} +} + +func (v NullableApprovalStatusDto1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableApprovalStatusDto1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_cancelled_request_details_1.go b/api_v2024/model_cancelled_request_details_1.go new file mode 100644 index 000000000..cc768dc56 --- /dev/null +++ b/api_v2024/model_cancelled_request_details_1.go @@ -0,0 +1,232 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" + +) + +// checks if the CancelledRequestDetails1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &CancelledRequestDetails1{} + +// CancelledRequestDetails1 Provides additional details for a request that has been cancelled. +type CancelledRequestDetails1 struct { + // Comment made by the owner when cancelling the associated request. + Comment *string `json:"comment,omitempty"` + Owner *OwnerDto `json:"owner,omitempty"` + // Date comment was added by the owner when cancelling the associated request. + Modified *SailPointTime `json:"modified,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _CancelledRequestDetails1 CancelledRequestDetails1 + +// NewCancelledRequestDetails1 instantiates a new CancelledRequestDetails1 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 NewCancelledRequestDetails1() *CancelledRequestDetails1 { + this := CancelledRequestDetails1{} + return &this +} + +// NewCancelledRequestDetails1WithDefaults instantiates a new CancelledRequestDetails1 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 NewCancelledRequestDetails1WithDefaults() *CancelledRequestDetails1 { + this := CancelledRequestDetails1{} + return &this +} + +// GetComment returns the Comment field value if set, zero value otherwise. +func (o *CancelledRequestDetails1) GetComment() string { + if o == nil || IsNil(o.Comment) { + var ret string + return ret + } + return *o.Comment +} + +// GetCommentOk returns a tuple with the Comment field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CancelledRequestDetails1) GetCommentOk() (*string, bool) { + if o == nil || IsNil(o.Comment) { + return nil, false + } + return o.Comment, true +} + +// HasComment returns a boolean if a field has been set. +func (o *CancelledRequestDetails1) HasComment() bool { + if o != nil && !IsNil(o.Comment) { + return true + } + + return false +} + +// SetComment gets a reference to the given string and assigns it to the Comment field. +func (o *CancelledRequestDetails1) SetComment(v string) { + o.Comment = &v +} + +// GetOwner returns the Owner field value if set, zero value otherwise. +func (o *CancelledRequestDetails1) GetOwner() OwnerDto { + if o == nil || IsNil(o.Owner) { + var ret OwnerDto + return ret + } + return *o.Owner +} + +// GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CancelledRequestDetails1) GetOwnerOk() (*OwnerDto, bool) { + if o == nil || IsNil(o.Owner) { + return nil, false + } + return o.Owner, true +} + +// HasOwner returns a boolean if a field has been set. +func (o *CancelledRequestDetails1) HasOwner() bool { + if o != nil && !IsNil(o.Owner) { + return true + } + + return false +} + +// SetOwner gets a reference to the given OwnerDto and assigns it to the Owner field. +func (o *CancelledRequestDetails1) SetOwner(v OwnerDto) { + o.Owner = &v +} + +// GetModified returns the Modified field value if set, zero value otherwise. +func (o *CancelledRequestDetails1) GetModified() SailPointTime { + if o == nil || IsNil(o.Modified) { + var ret SailPointTime + return ret + } + return *o.Modified +} + +// GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CancelledRequestDetails1) GetModifiedOk() (*SailPointTime, bool) { + if o == nil || IsNil(o.Modified) { + return nil, false + } + return o.Modified, true +} + +// HasModified returns a boolean if a field has been set. +func (o *CancelledRequestDetails1) HasModified() bool { + if o != nil && !IsNil(o.Modified) { + return true + } + + return false +} + +// SetModified gets a reference to the given SailPointTime and assigns it to the Modified field. +func (o *CancelledRequestDetails1) SetModified(v SailPointTime) { + o.Modified = &v +} + +func (o CancelledRequestDetails1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o CancelledRequestDetails1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Comment) { + toSerialize["comment"] = o.Comment + } + if !IsNil(o.Owner) { + toSerialize["owner"] = o.Owner + } + if !IsNil(o.Modified) { + toSerialize["modified"] = o.Modified + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *CancelledRequestDetails1) UnmarshalJSON(data []byte) (err error) { + varCancelledRequestDetails1 := _CancelledRequestDetails1{} + + err = json.Unmarshal(data, &varCancelledRequestDetails1) + + if err != nil { + return err + } + + *o = CancelledRequestDetails1(varCancelledRequestDetails1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "comment") + delete(additionalProperties, "owner") + delete(additionalProperties, "modified") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableCancelledRequestDetails1 struct { + value *CancelledRequestDetails1 + isSet bool +} + +func (v NullableCancelledRequestDetails1) Get() *CancelledRequestDetails1 { + return v.value +} + +func (v *NullableCancelledRequestDetails1) Set(val *CancelledRequestDetails1) { + v.value = val + v.isSet = true +} + +func (v NullableCancelledRequestDetails1) IsSet() bool { + return v.isSet +} + +func (v *NullableCancelledRequestDetails1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableCancelledRequestDetails1(val *CancelledRequestDetails1) *NullableCancelledRequestDetails1 { + return &NullableCancelledRequestDetails1{value: val, isSet: true} +} + +func (v NullableCancelledRequestDetails1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableCancelledRequestDetails1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_error_message_dto_1.go b/api_v2024/model_error_message_dto_1.go new file mode 100644 index 000000000..c89f1bd89 --- /dev/null +++ b/api_v2024/model_error_message_dto_1.go @@ -0,0 +1,251 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" +) + +// checks if the ErrorMessageDto1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ErrorMessageDto1{} + +// ErrorMessageDto1 struct for ErrorMessageDto1 +type ErrorMessageDto1 struct { + // The locale for the message text, a BCP 47 language tag. + Locale NullableString `json:"locale,omitempty"` + LocaleOrigin NullableLocaleOrigin `json:"localeOrigin,omitempty"` + // Actual text of the error message in the indicated locale. + Text *string `json:"text,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ErrorMessageDto1 ErrorMessageDto1 + +// NewErrorMessageDto1 instantiates a new ErrorMessageDto1 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 NewErrorMessageDto1() *ErrorMessageDto1 { + this := ErrorMessageDto1{} + return &this +} + +// NewErrorMessageDto1WithDefaults instantiates a new ErrorMessageDto1 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 NewErrorMessageDto1WithDefaults() *ErrorMessageDto1 { + this := ErrorMessageDto1{} + return &this +} + +// GetLocale returns the Locale field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ErrorMessageDto1) GetLocale() string { + if o == nil || IsNil(o.Locale.Get()) { + var ret string + return ret + } + return *o.Locale.Get() +} + +// GetLocaleOk returns a tuple with the Locale field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ErrorMessageDto1) GetLocaleOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Locale.Get(), o.Locale.IsSet() +} + +// HasLocale returns a boolean if a field has been set. +func (o *ErrorMessageDto1) HasLocale() bool { + if o != nil && o.Locale.IsSet() { + return true + } + + return false +} + +// SetLocale gets a reference to the given NullableString and assigns it to the Locale field. +func (o *ErrorMessageDto1) SetLocale(v string) { + o.Locale.Set(&v) +} +// SetLocaleNil sets the value for Locale to be an explicit nil +func (o *ErrorMessageDto1) SetLocaleNil() { + o.Locale.Set(nil) +} + +// UnsetLocale ensures that no value is present for Locale, not even an explicit nil +func (o *ErrorMessageDto1) UnsetLocale() { + o.Locale.Unset() +} + +// GetLocaleOrigin returns the LocaleOrigin field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ErrorMessageDto1) GetLocaleOrigin() LocaleOrigin { + if o == nil || IsNil(o.LocaleOrigin.Get()) { + var ret LocaleOrigin + return ret + } + return *o.LocaleOrigin.Get() +} + +// GetLocaleOriginOk returns a tuple with the LocaleOrigin field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ErrorMessageDto1) GetLocaleOriginOk() (*LocaleOrigin, bool) { + if o == nil { + return nil, false + } + return o.LocaleOrigin.Get(), o.LocaleOrigin.IsSet() +} + +// HasLocaleOrigin returns a boolean if a field has been set. +func (o *ErrorMessageDto1) HasLocaleOrigin() bool { + if o != nil && o.LocaleOrigin.IsSet() { + return true + } + + return false +} + +// SetLocaleOrigin gets a reference to the given NullableLocaleOrigin and assigns it to the LocaleOrigin field. +func (o *ErrorMessageDto1) SetLocaleOrigin(v LocaleOrigin) { + o.LocaleOrigin.Set(&v) +} +// SetLocaleOriginNil sets the value for LocaleOrigin to be an explicit nil +func (o *ErrorMessageDto1) SetLocaleOriginNil() { + o.LocaleOrigin.Set(nil) +} + +// UnsetLocaleOrigin ensures that no value is present for LocaleOrigin, not even an explicit nil +func (o *ErrorMessageDto1) UnsetLocaleOrigin() { + o.LocaleOrigin.Unset() +} + +// GetText returns the Text field value if set, zero value otherwise. +func (o *ErrorMessageDto1) GetText() string { + if o == nil || IsNil(o.Text) { + var ret string + return ret + } + return *o.Text +} + +// GetTextOk returns a tuple with the Text field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ErrorMessageDto1) GetTextOk() (*string, bool) { + if o == nil || IsNil(o.Text) { + return nil, false + } + return o.Text, true +} + +// HasText returns a boolean if a field has been set. +func (o *ErrorMessageDto1) HasText() bool { + if o != nil && !IsNil(o.Text) { + return true + } + + return false +} + +// SetText gets a reference to the given string and assigns it to the Text field. +func (o *ErrorMessageDto1) SetText(v string) { + o.Text = &v +} + +func (o ErrorMessageDto1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ErrorMessageDto1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.Locale.IsSet() { + toSerialize["locale"] = o.Locale.Get() + } + if o.LocaleOrigin.IsSet() { + toSerialize["localeOrigin"] = o.LocaleOrigin.Get() + } + if !IsNil(o.Text) { + toSerialize["text"] = o.Text + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ErrorMessageDto1) UnmarshalJSON(data []byte) (err error) { + varErrorMessageDto1 := _ErrorMessageDto1{} + + err = json.Unmarshal(data, &varErrorMessageDto1) + + if err != nil { + return err + } + + *o = ErrorMessageDto1(varErrorMessageDto1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "locale") + delete(additionalProperties, "localeOrigin") + delete(additionalProperties, "text") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableErrorMessageDto1 struct { + value *ErrorMessageDto1 + isSet bool +} + +func (v NullableErrorMessageDto1) Get() *ErrorMessageDto1 { + return v.value +} + +func (v *NullableErrorMessageDto1) Set(val *ErrorMessageDto1) { + v.value = val + v.isSet = true +} + +func (v NullableErrorMessageDto1) IsSet() bool { + return v.isSet +} + +func (v *NullableErrorMessageDto1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableErrorMessageDto1(val *ErrorMessageDto1) *NullableErrorMessageDto1 { + return &NullableErrorMessageDto1{value: val, isSet: true} +} + +func (v NullableErrorMessageDto1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableErrorMessageDto1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_manual_work_item_details_1.go b/api_v2024/model_manual_work_item_details_1.go new file mode 100644 index 000000000..5df0ead71 --- /dev/null +++ b/api_v2024/model_manual_work_item_details_1.go @@ -0,0 +1,369 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" + +) + +// checks if the ManualWorkItemDetails1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &ManualWorkItemDetails1{} + +// ManualWorkItemDetails1 struct for ManualWorkItemDetails1 +type ManualWorkItemDetails1 struct { + // True if the request for this item was forwarded from one owner to another. + Forwarded *bool `json:"forwarded,omitempty"` + OriginalOwner NullableManualWorkItemDetailsOriginalOwner `json:"originalOwner,omitempty"` + CurrentOwner NullableManualWorkItemDetailsCurrentOwner `json:"currentOwner,omitempty"` + // Time at which item was modified. + Modified *SailPointTime `json:"modified,omitempty"` + Status *ManualWorkItemState `json:"status,omitempty"` + // The history of approval forward action. + ForwardHistory []ApprovalForwardHistory1 `json:"forwardHistory,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _ManualWorkItemDetails1 ManualWorkItemDetails1 + +// NewManualWorkItemDetails1 instantiates a new ManualWorkItemDetails1 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 NewManualWorkItemDetails1() *ManualWorkItemDetails1 { + this := ManualWorkItemDetails1{} + var forwarded bool = false + this.Forwarded = &forwarded + return &this +} + +// NewManualWorkItemDetails1WithDefaults instantiates a new ManualWorkItemDetails1 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 NewManualWorkItemDetails1WithDefaults() *ManualWorkItemDetails1 { + this := ManualWorkItemDetails1{} + var forwarded bool = false + this.Forwarded = &forwarded + return &this +} + +// GetForwarded returns the Forwarded field value if set, zero value otherwise. +func (o *ManualWorkItemDetails1) GetForwarded() bool { + if o == nil || IsNil(o.Forwarded) { + var ret bool + return ret + } + return *o.Forwarded +} + +// GetForwardedOk returns a tuple with the Forwarded field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualWorkItemDetails1) GetForwardedOk() (*bool, bool) { + if o == nil || IsNil(o.Forwarded) { + return nil, false + } + return o.Forwarded, true +} + +// HasForwarded returns a boolean if a field has been set. +func (o *ManualWorkItemDetails1) HasForwarded() bool { + if o != nil && !IsNil(o.Forwarded) { + return true + } + + return false +} + +// SetForwarded gets a reference to the given bool and assigns it to the Forwarded field. +func (o *ManualWorkItemDetails1) SetForwarded(v bool) { + o.Forwarded = &v +} + +// GetOriginalOwner returns the OriginalOwner field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ManualWorkItemDetails1) GetOriginalOwner() ManualWorkItemDetailsOriginalOwner { + if o == nil || IsNil(o.OriginalOwner.Get()) { + var ret ManualWorkItemDetailsOriginalOwner + return ret + } + return *o.OriginalOwner.Get() +} + +// GetOriginalOwnerOk returns a tuple with the OriginalOwner field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ManualWorkItemDetails1) GetOriginalOwnerOk() (*ManualWorkItemDetailsOriginalOwner, bool) { + if o == nil { + return nil, false + } + return o.OriginalOwner.Get(), o.OriginalOwner.IsSet() +} + +// HasOriginalOwner returns a boolean if a field has been set. +func (o *ManualWorkItemDetails1) HasOriginalOwner() bool { + if o != nil && o.OriginalOwner.IsSet() { + return true + } + + return false +} + +// SetOriginalOwner gets a reference to the given NullableManualWorkItemDetailsOriginalOwner and assigns it to the OriginalOwner field. +func (o *ManualWorkItemDetails1) SetOriginalOwner(v ManualWorkItemDetailsOriginalOwner) { + o.OriginalOwner.Set(&v) +} +// SetOriginalOwnerNil sets the value for OriginalOwner to be an explicit nil +func (o *ManualWorkItemDetails1) SetOriginalOwnerNil() { + o.OriginalOwner.Set(nil) +} + +// UnsetOriginalOwner ensures that no value is present for OriginalOwner, not even an explicit nil +func (o *ManualWorkItemDetails1) UnsetOriginalOwner() { + o.OriginalOwner.Unset() +} + +// GetCurrentOwner returns the CurrentOwner field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ManualWorkItemDetails1) GetCurrentOwner() ManualWorkItemDetailsCurrentOwner { + if o == nil || IsNil(o.CurrentOwner.Get()) { + var ret ManualWorkItemDetailsCurrentOwner + return ret + } + return *o.CurrentOwner.Get() +} + +// GetCurrentOwnerOk returns a tuple with the CurrentOwner field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ManualWorkItemDetails1) GetCurrentOwnerOk() (*ManualWorkItemDetailsCurrentOwner, bool) { + if o == nil { + return nil, false + } + return o.CurrentOwner.Get(), o.CurrentOwner.IsSet() +} + +// HasCurrentOwner returns a boolean if a field has been set. +func (o *ManualWorkItemDetails1) HasCurrentOwner() bool { + if o != nil && o.CurrentOwner.IsSet() { + return true + } + + return false +} + +// SetCurrentOwner gets a reference to the given NullableManualWorkItemDetailsCurrentOwner and assigns it to the CurrentOwner field. +func (o *ManualWorkItemDetails1) SetCurrentOwner(v ManualWorkItemDetailsCurrentOwner) { + o.CurrentOwner.Set(&v) +} +// SetCurrentOwnerNil sets the value for CurrentOwner to be an explicit nil +func (o *ManualWorkItemDetails1) SetCurrentOwnerNil() { + o.CurrentOwner.Set(nil) +} + +// UnsetCurrentOwner ensures that no value is present for CurrentOwner, not even an explicit nil +func (o *ManualWorkItemDetails1) UnsetCurrentOwner() { + o.CurrentOwner.Unset() +} + +// GetModified returns the Modified field value if set, zero value otherwise. +func (o *ManualWorkItemDetails1) GetModified() SailPointTime { + if o == nil || IsNil(o.Modified) { + var ret SailPointTime + return ret + } + return *o.Modified +} + +// GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualWorkItemDetails1) GetModifiedOk() (*SailPointTime, bool) { + if o == nil || IsNil(o.Modified) { + return nil, false + } + return o.Modified, true +} + +// HasModified returns a boolean if a field has been set. +func (o *ManualWorkItemDetails1) HasModified() bool { + if o != nil && !IsNil(o.Modified) { + return true + } + + return false +} + +// SetModified gets a reference to the given SailPointTime and assigns it to the Modified field. +func (o *ManualWorkItemDetails1) SetModified(v SailPointTime) { + o.Modified = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise. +func (o *ManualWorkItemDetails1) GetStatus() ManualWorkItemState { + if o == nil || IsNil(o.Status) { + var ret ManualWorkItemState + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ManualWorkItemDetails1) GetStatusOk() (*ManualWorkItemState, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *ManualWorkItemDetails1) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given ManualWorkItemState and assigns it to the Status field. +func (o *ManualWorkItemDetails1) SetStatus(v ManualWorkItemState) { + o.Status = &v +} + +// GetForwardHistory returns the ForwardHistory field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *ManualWorkItemDetails1) GetForwardHistory() []ApprovalForwardHistory1 { + if o == nil { + var ret []ApprovalForwardHistory1 + return ret + } + return o.ForwardHistory +} + +// GetForwardHistoryOk returns a tuple with the ForwardHistory field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *ManualWorkItemDetails1) GetForwardHistoryOk() ([]ApprovalForwardHistory1, bool) { + if o == nil || IsNil(o.ForwardHistory) { + return nil, false + } + return o.ForwardHistory, true +} + +// HasForwardHistory returns a boolean if a field has been set. +func (o *ManualWorkItemDetails1) HasForwardHistory() bool { + if o != nil && !IsNil(o.ForwardHistory) { + return true + } + + return false +} + +// SetForwardHistory gets a reference to the given []ApprovalForwardHistory1 and assigns it to the ForwardHistory field. +func (o *ManualWorkItemDetails1) SetForwardHistory(v []ApprovalForwardHistory1) { + o.ForwardHistory = v +} + +func (o ManualWorkItemDetails1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o ManualWorkItemDetails1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Forwarded) { + toSerialize["forwarded"] = o.Forwarded + } + if o.OriginalOwner.IsSet() { + toSerialize["originalOwner"] = o.OriginalOwner.Get() + } + if o.CurrentOwner.IsSet() { + toSerialize["currentOwner"] = o.CurrentOwner.Get() + } + if !IsNil(o.Modified) { + toSerialize["modified"] = o.Modified + } + if !IsNil(o.Status) { + toSerialize["status"] = o.Status + } + if o.ForwardHistory != nil { + toSerialize["forwardHistory"] = o.ForwardHistory + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *ManualWorkItemDetails1) UnmarshalJSON(data []byte) (err error) { + varManualWorkItemDetails1 := _ManualWorkItemDetails1{} + + err = json.Unmarshal(data, &varManualWorkItemDetails1) + + if err != nil { + return err + } + + *o = ManualWorkItemDetails1(varManualWorkItemDetails1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "forwarded") + delete(additionalProperties, "originalOwner") + delete(additionalProperties, "currentOwner") + delete(additionalProperties, "modified") + delete(additionalProperties, "status") + delete(additionalProperties, "forwardHistory") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableManualWorkItemDetails1 struct { + value *ManualWorkItemDetails1 + isSet bool +} + +func (v NullableManualWorkItemDetails1) Get() *ManualWorkItemDetails1 { + return v.value +} + +func (v *NullableManualWorkItemDetails1) Set(val *ManualWorkItemDetails1) { + v.value = val + v.isSet = true +} + +func (v NullableManualWorkItemDetails1) IsSet() bool { + return v.isSet +} + +func (v *NullableManualWorkItemDetails1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableManualWorkItemDetails1(val *ManualWorkItemDetails1) *NullableManualWorkItemDetails1 { + return &NullableManualWorkItemDetails1{value: val, isSet: true} +} + +func (v NullableManualWorkItemDetails1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableManualWorkItemDetails1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_sod_exempt_criteria_1.go b/api_v2024/model_sod_exempt_criteria_1.go new file mode 100644 index 000000000..f68baa90f --- /dev/null +++ b/api_v2024/model_sod_exempt_criteria_1.go @@ -0,0 +1,273 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" +) + +// checks if the SodExemptCriteria1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SodExemptCriteria1{} + +// SodExemptCriteria1 Details of the Entitlement criteria +type SodExemptCriteria1 struct { + // If the entitlement already belonged to the user or not. + Existing *bool `json:"existing,omitempty"` + Type *DtoType `json:"type,omitempty"` + // Entitlement ID + Id *string `json:"id,omitempty"` + // Entitlement name + Name *string `json:"name,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SodExemptCriteria1 SodExemptCriteria1 + +// NewSodExemptCriteria1 instantiates a new SodExemptCriteria1 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 NewSodExemptCriteria1() *SodExemptCriteria1 { + this := SodExemptCriteria1{} + var existing bool = false + this.Existing = &existing + return &this +} + +// NewSodExemptCriteria1WithDefaults instantiates a new SodExemptCriteria1 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 NewSodExemptCriteria1WithDefaults() *SodExemptCriteria1 { + this := SodExemptCriteria1{} + var existing bool = false + this.Existing = &existing + return &this +} + +// GetExisting returns the Existing field value if set, zero value otherwise. +func (o *SodExemptCriteria1) GetExisting() bool { + if o == nil || IsNil(o.Existing) { + var ret bool + return ret + } + return *o.Existing +} + +// GetExistingOk returns a tuple with the Existing field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodExemptCriteria1) GetExistingOk() (*bool, bool) { + if o == nil || IsNil(o.Existing) { + return nil, false + } + return o.Existing, true +} + +// HasExisting returns a boolean if a field has been set. +func (o *SodExemptCriteria1) HasExisting() bool { + if o != nil && !IsNil(o.Existing) { + return true + } + + return false +} + +// SetExisting gets a reference to the given bool and assigns it to the Existing field. +func (o *SodExemptCriteria1) SetExisting(v bool) { + o.Existing = &v +} + +// GetType returns the Type field value if set, zero value otherwise. +func (o *SodExemptCriteria1) GetType() DtoType { + if o == nil || IsNil(o.Type) { + var ret DtoType + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodExemptCriteria1) GetTypeOk() (*DtoType, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *SodExemptCriteria1) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given DtoType and assigns it to the Type field. +func (o *SodExemptCriteria1) SetType(v DtoType) { + o.Type = &v +} + +// GetId returns the Id field value if set, zero value otherwise. +func (o *SodExemptCriteria1) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodExemptCriteria1) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *SodExemptCriteria1) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *SodExemptCriteria1) SetId(v string) { + o.Id = &v +} + +// GetName returns the Name field value if set, zero value otherwise. +func (o *SodExemptCriteria1) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodExemptCriteria1) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *SodExemptCriteria1) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *SodExemptCriteria1) SetName(v string) { + o.Name = &v +} + +func (o SodExemptCriteria1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SodExemptCriteria1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Existing) { + toSerialize["existing"] = o.Existing + } + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + if !IsNil(o.Id) { + toSerialize["id"] = o.Id + } + if !IsNil(o.Name) { + toSerialize["name"] = o.Name + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SodExemptCriteria1) UnmarshalJSON(data []byte) (err error) { + varSodExemptCriteria1 := _SodExemptCriteria1{} + + err = json.Unmarshal(data, &varSodExemptCriteria1) + + if err != nil { + return err + } + + *o = SodExemptCriteria1(varSodExemptCriteria1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "existing") + delete(additionalProperties, "type") + delete(additionalProperties, "id") + delete(additionalProperties, "name") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSodExemptCriteria1 struct { + value *SodExemptCriteria1 + isSet bool +} + +func (v NullableSodExemptCriteria1) Get() *SodExemptCriteria1 { + return v.value +} + +func (v *NullableSodExemptCriteria1) Set(val *SodExemptCriteria1) { + v.value = val + v.isSet = true +} + +func (v NullableSodExemptCriteria1) IsSet() bool { + return v.isSet +} + +func (v *NullableSodExemptCriteria1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSodExemptCriteria1(val *SodExemptCriteria1) *NullableSodExemptCriteria1 { + return &NullableSodExemptCriteria1{value: val, isSet: true} +} + +func (v NullableSodExemptCriteria1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSodExemptCriteria1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_sod_violation_check_result_1.go b/api_v2024/model_sod_violation_check_result_1.go new file mode 100644 index 000000000..ac5fc5e5a --- /dev/null +++ b/api_v2024/model_sod_violation_check_result_1.go @@ -0,0 +1,271 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" +) + +// checks if the SodViolationCheckResult1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SodViolationCheckResult1{} + +// SodViolationCheckResult1 The inner object representing the completed SOD Violation check +type SodViolationCheckResult1 struct { + Message *ErrorMessageDto1 `json:"message,omitempty"` + // Arbitrary key-value pairs. They will never be processed by the IdentityNow system but will be returned on completion of the violation check. + ClientMetadata map[string]string `json:"clientMetadata,omitempty"` + ViolationContexts []SodViolationContext1 `json:"violationContexts,omitempty"` + // A list of the SOD policies that were violated. + ViolatedPolicies []SodPolicyDto `json:"violatedPolicies,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SodViolationCheckResult1 SodViolationCheckResult1 + +// NewSodViolationCheckResult1 instantiates a new SodViolationCheckResult1 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 NewSodViolationCheckResult1() *SodViolationCheckResult1 { + this := SodViolationCheckResult1{} + return &this +} + +// NewSodViolationCheckResult1WithDefaults instantiates a new SodViolationCheckResult1 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 NewSodViolationCheckResult1WithDefaults() *SodViolationCheckResult1 { + this := SodViolationCheckResult1{} + return &this +} + +// GetMessage returns the Message field value if set, zero value otherwise. +func (o *SodViolationCheckResult1) GetMessage() ErrorMessageDto1 { + if o == nil || IsNil(o.Message) { + var ret ErrorMessageDto1 + return ret + } + return *o.Message +} + +// GetMessageOk returns a tuple with the Message field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodViolationCheckResult1) GetMessageOk() (*ErrorMessageDto1, bool) { + if o == nil || IsNil(o.Message) { + return nil, false + } + return o.Message, true +} + +// HasMessage returns a boolean if a field has been set. +func (o *SodViolationCheckResult1) HasMessage() bool { + if o != nil && !IsNil(o.Message) { + return true + } + + return false +} + +// SetMessage gets a reference to the given ErrorMessageDto1 and assigns it to the Message field. +func (o *SodViolationCheckResult1) SetMessage(v ErrorMessageDto1) { + o.Message = &v +} + +// GetClientMetadata returns the ClientMetadata field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SodViolationCheckResult1) GetClientMetadata() map[string]string { + if o == nil { + var ret map[string]string + return ret + } + return o.ClientMetadata +} + +// GetClientMetadataOk returns a tuple with the ClientMetadata field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SodViolationCheckResult1) GetClientMetadataOk() (*map[string]string, bool) { + if o == nil || IsNil(o.ClientMetadata) { + return nil, false + } + return &o.ClientMetadata, true +} + +// HasClientMetadata returns a boolean if a field has been set. +func (o *SodViolationCheckResult1) HasClientMetadata() bool { + if o != nil && !IsNil(o.ClientMetadata) { + return true + } + + return false +} + +// SetClientMetadata gets a reference to the given map[string]string and assigns it to the ClientMetadata field. +func (o *SodViolationCheckResult1) SetClientMetadata(v map[string]string) { + o.ClientMetadata = v +} + +// GetViolationContexts returns the ViolationContexts field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SodViolationCheckResult1) GetViolationContexts() []SodViolationContext1 { + if o == nil { + var ret []SodViolationContext1 + return ret + } + return o.ViolationContexts +} + +// GetViolationContextsOk returns a tuple with the ViolationContexts field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SodViolationCheckResult1) GetViolationContextsOk() ([]SodViolationContext1, bool) { + if o == nil || IsNil(o.ViolationContexts) { + return nil, false + } + return o.ViolationContexts, true +} + +// HasViolationContexts returns a boolean if a field has been set. +func (o *SodViolationCheckResult1) HasViolationContexts() bool { + if o != nil && !IsNil(o.ViolationContexts) { + return true + } + + return false +} + +// SetViolationContexts gets a reference to the given []SodViolationContext1 and assigns it to the ViolationContexts field. +func (o *SodViolationCheckResult1) SetViolationContexts(v []SodViolationContext1) { + o.ViolationContexts = v +} + +// GetViolatedPolicies returns the ViolatedPolicies field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SodViolationCheckResult1) GetViolatedPolicies() []SodPolicyDto { + if o == nil { + var ret []SodPolicyDto + return ret + } + return o.ViolatedPolicies +} + +// GetViolatedPoliciesOk returns a tuple with the ViolatedPolicies field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SodViolationCheckResult1) GetViolatedPoliciesOk() ([]SodPolicyDto, bool) { + if o == nil || IsNil(o.ViolatedPolicies) { + return nil, false + } + return o.ViolatedPolicies, true +} + +// HasViolatedPolicies returns a boolean if a field has been set. +func (o *SodViolationCheckResult1) HasViolatedPolicies() bool { + if o != nil && !IsNil(o.ViolatedPolicies) { + return true + } + + return false +} + +// SetViolatedPolicies gets a reference to the given []SodPolicyDto and assigns it to the ViolatedPolicies field. +func (o *SodViolationCheckResult1) SetViolatedPolicies(v []SodPolicyDto) { + o.ViolatedPolicies = v +} + +func (o SodViolationCheckResult1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SodViolationCheckResult1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Message) { + toSerialize["message"] = o.Message + } + if o.ClientMetadata != nil { + toSerialize["clientMetadata"] = o.ClientMetadata + } + if o.ViolationContexts != nil { + toSerialize["violationContexts"] = o.ViolationContexts + } + if o.ViolatedPolicies != nil { + toSerialize["violatedPolicies"] = o.ViolatedPolicies + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SodViolationCheckResult1) UnmarshalJSON(data []byte) (err error) { + varSodViolationCheckResult1 := _SodViolationCheckResult1{} + + err = json.Unmarshal(data, &varSodViolationCheckResult1) + + if err != nil { + return err + } + + *o = SodViolationCheckResult1(varSodViolationCheckResult1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "message") + delete(additionalProperties, "clientMetadata") + delete(additionalProperties, "violationContexts") + delete(additionalProperties, "violatedPolicies") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSodViolationCheckResult1 struct { + value *SodViolationCheckResult1 + isSet bool +} + +func (v NullableSodViolationCheckResult1) Get() *SodViolationCheckResult1 { + return v.value +} + +func (v *NullableSodViolationCheckResult1) Set(val *SodViolationCheckResult1) { + v.value = val + v.isSet = true +} + +func (v NullableSodViolationCheckResult1) IsSet() bool { + return v.isSet +} + +func (v *NullableSodViolationCheckResult1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSodViolationCheckResult1(val *SodViolationCheckResult1) *NullableSodViolationCheckResult1 { + return &NullableSodViolationCheckResult1{value: val, isSet: true} +} + +func (v NullableSodViolationCheckResult1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSodViolationCheckResult1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_sod_violation_context_1.go b/api_v2024/model_sod_violation_context_1.go new file mode 100644 index 000000000..e78ebf976 --- /dev/null +++ b/api_v2024/model_sod_violation_context_1.go @@ -0,0 +1,192 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" +) + +// checks if the SodViolationContext1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SodViolationContext1{} + +// SodViolationContext1 The contextual information of the violated criteria +type SodViolationContext1 struct { + Policy *SodPolicyDto `json:"policy,omitempty"` + ConflictingAccessCriteria *SodViolationContext1ConflictingAccessCriteria `json:"conflictingAccessCriteria,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SodViolationContext1 SodViolationContext1 + +// NewSodViolationContext1 instantiates a new SodViolationContext1 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 NewSodViolationContext1() *SodViolationContext1 { + this := SodViolationContext1{} + return &this +} + +// NewSodViolationContext1WithDefaults instantiates a new SodViolationContext1 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 NewSodViolationContext1WithDefaults() *SodViolationContext1 { + this := SodViolationContext1{} + return &this +} + +// GetPolicy returns the Policy field value if set, zero value otherwise. +func (o *SodViolationContext1) GetPolicy() SodPolicyDto { + if o == nil || IsNil(o.Policy) { + var ret SodPolicyDto + return ret + } + return *o.Policy +} + +// GetPolicyOk returns a tuple with the Policy field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodViolationContext1) GetPolicyOk() (*SodPolicyDto, bool) { + if o == nil || IsNil(o.Policy) { + return nil, false + } + return o.Policy, true +} + +// HasPolicy returns a boolean if a field has been set. +func (o *SodViolationContext1) HasPolicy() bool { + if o != nil && !IsNil(o.Policy) { + return true + } + + return false +} + +// SetPolicy gets a reference to the given SodPolicyDto and assigns it to the Policy field. +func (o *SodViolationContext1) SetPolicy(v SodPolicyDto) { + o.Policy = &v +} + +// GetConflictingAccessCriteria returns the ConflictingAccessCriteria field value if set, zero value otherwise. +func (o *SodViolationContext1) GetConflictingAccessCriteria() SodViolationContext1ConflictingAccessCriteria { + if o == nil || IsNil(o.ConflictingAccessCriteria) { + var ret SodViolationContext1ConflictingAccessCriteria + return ret + } + return *o.ConflictingAccessCriteria +} + +// GetConflictingAccessCriteriaOk returns a tuple with the ConflictingAccessCriteria field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodViolationContext1) GetConflictingAccessCriteriaOk() (*SodViolationContext1ConflictingAccessCriteria, bool) { + if o == nil || IsNil(o.ConflictingAccessCriteria) { + return nil, false + } + return o.ConflictingAccessCriteria, true +} + +// HasConflictingAccessCriteria returns a boolean if a field has been set. +func (o *SodViolationContext1) HasConflictingAccessCriteria() bool { + if o != nil && !IsNil(o.ConflictingAccessCriteria) { + return true + } + + return false +} + +// SetConflictingAccessCriteria gets a reference to the given SodViolationContext1ConflictingAccessCriteria and assigns it to the ConflictingAccessCriteria field. +func (o *SodViolationContext1) SetConflictingAccessCriteria(v SodViolationContext1ConflictingAccessCriteria) { + o.ConflictingAccessCriteria = &v +} + +func (o SodViolationContext1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SodViolationContext1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Policy) { + toSerialize["policy"] = o.Policy + } + if !IsNil(o.ConflictingAccessCriteria) { + toSerialize["conflictingAccessCriteria"] = o.ConflictingAccessCriteria + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SodViolationContext1) UnmarshalJSON(data []byte) (err error) { + varSodViolationContext1 := _SodViolationContext1{} + + err = json.Unmarshal(data, &varSodViolationContext1) + + if err != nil { + return err + } + + *o = SodViolationContext1(varSodViolationContext1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "policy") + delete(additionalProperties, "conflictingAccessCriteria") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSodViolationContext1 struct { + value *SodViolationContext1 + isSet bool +} + +func (v NullableSodViolationContext1) Get() *SodViolationContext1 { + return v.value +} + +func (v *NullableSodViolationContext1) Set(val *SodViolationContext1) { + v.value = val + v.isSet = true +} + +func (v NullableSodViolationContext1) IsSet() bool { + return v.isSet +} + +func (v *NullableSodViolationContext1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSodViolationContext1(val *SodViolationContext1) *NullableSodViolationContext1 { + return &NullableSodViolationContext1{value: val, isSet: true} +} + +func (v NullableSodViolationContext1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSodViolationContext1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_sod_violation_context_1_conflicting_access_criteria.go b/api_v2024/model_sod_violation_context_1_conflicting_access_criteria.go new file mode 100644 index 000000000..a0441057b --- /dev/null +++ b/api_v2024/model_sod_violation_context_1_conflicting_access_criteria.go @@ -0,0 +1,192 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" +) + +// checks if the SodViolationContext1ConflictingAccessCriteria type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SodViolationContext1ConflictingAccessCriteria{} + +// SodViolationContext1ConflictingAccessCriteria The object which contains the left and right hand side of the entitlements that got violated according to the policy. +type SodViolationContext1ConflictingAccessCriteria struct { + LeftCriteria *SodViolationContext1ConflictingAccessCriteriaLeftCriteria `json:"leftCriteria,omitempty"` + RightCriteria *SodViolationContext1ConflictingAccessCriteriaLeftCriteria `json:"rightCriteria,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SodViolationContext1ConflictingAccessCriteria SodViolationContext1ConflictingAccessCriteria + +// NewSodViolationContext1ConflictingAccessCriteria instantiates a new SodViolationContext1ConflictingAccessCriteria 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 NewSodViolationContext1ConflictingAccessCriteria() *SodViolationContext1ConflictingAccessCriteria { + this := SodViolationContext1ConflictingAccessCriteria{} + return &this +} + +// NewSodViolationContext1ConflictingAccessCriteriaWithDefaults instantiates a new SodViolationContext1ConflictingAccessCriteria 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 NewSodViolationContext1ConflictingAccessCriteriaWithDefaults() *SodViolationContext1ConflictingAccessCriteria { + this := SodViolationContext1ConflictingAccessCriteria{} + return &this +} + +// GetLeftCriteria returns the LeftCriteria field value if set, zero value otherwise. +func (o *SodViolationContext1ConflictingAccessCriteria) GetLeftCriteria() SodViolationContext1ConflictingAccessCriteriaLeftCriteria { + if o == nil || IsNil(o.LeftCriteria) { + var ret SodViolationContext1ConflictingAccessCriteriaLeftCriteria + return ret + } + return *o.LeftCriteria +} + +// GetLeftCriteriaOk returns a tuple with the LeftCriteria field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodViolationContext1ConflictingAccessCriteria) GetLeftCriteriaOk() (*SodViolationContext1ConflictingAccessCriteriaLeftCriteria, bool) { + if o == nil || IsNil(o.LeftCriteria) { + return nil, false + } + return o.LeftCriteria, true +} + +// HasLeftCriteria returns a boolean if a field has been set. +func (o *SodViolationContext1ConflictingAccessCriteria) HasLeftCriteria() bool { + if o != nil && !IsNil(o.LeftCriteria) { + return true + } + + return false +} + +// SetLeftCriteria gets a reference to the given SodViolationContext1ConflictingAccessCriteriaLeftCriteria and assigns it to the LeftCriteria field. +func (o *SodViolationContext1ConflictingAccessCriteria) SetLeftCriteria(v SodViolationContext1ConflictingAccessCriteriaLeftCriteria) { + o.LeftCriteria = &v +} + +// GetRightCriteria returns the RightCriteria field value if set, zero value otherwise. +func (o *SodViolationContext1ConflictingAccessCriteria) GetRightCriteria() SodViolationContext1ConflictingAccessCriteriaLeftCriteria { + if o == nil || IsNil(o.RightCriteria) { + var ret SodViolationContext1ConflictingAccessCriteriaLeftCriteria + return ret + } + return *o.RightCriteria +} + +// GetRightCriteriaOk returns a tuple with the RightCriteria field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodViolationContext1ConflictingAccessCriteria) GetRightCriteriaOk() (*SodViolationContext1ConflictingAccessCriteriaLeftCriteria, bool) { + if o == nil || IsNil(o.RightCriteria) { + return nil, false + } + return o.RightCriteria, true +} + +// HasRightCriteria returns a boolean if a field has been set. +func (o *SodViolationContext1ConflictingAccessCriteria) HasRightCriteria() bool { + if o != nil && !IsNil(o.RightCriteria) { + return true + } + + return false +} + +// SetRightCriteria gets a reference to the given SodViolationContext1ConflictingAccessCriteriaLeftCriteria and assigns it to the RightCriteria field. +func (o *SodViolationContext1ConflictingAccessCriteria) SetRightCriteria(v SodViolationContext1ConflictingAccessCriteriaLeftCriteria) { + o.RightCriteria = &v +} + +func (o SodViolationContext1ConflictingAccessCriteria) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SodViolationContext1ConflictingAccessCriteria) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.LeftCriteria) { + toSerialize["leftCriteria"] = o.LeftCriteria + } + if !IsNil(o.RightCriteria) { + toSerialize["rightCriteria"] = o.RightCriteria + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SodViolationContext1ConflictingAccessCriteria) UnmarshalJSON(data []byte) (err error) { + varSodViolationContext1ConflictingAccessCriteria := _SodViolationContext1ConflictingAccessCriteria{} + + err = json.Unmarshal(data, &varSodViolationContext1ConflictingAccessCriteria) + + if err != nil { + return err + } + + *o = SodViolationContext1ConflictingAccessCriteria(varSodViolationContext1ConflictingAccessCriteria) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "leftCriteria") + delete(additionalProperties, "rightCriteria") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSodViolationContext1ConflictingAccessCriteria struct { + value *SodViolationContext1ConflictingAccessCriteria + isSet bool +} + +func (v NullableSodViolationContext1ConflictingAccessCriteria) Get() *SodViolationContext1ConflictingAccessCriteria { + return v.value +} + +func (v *NullableSodViolationContext1ConflictingAccessCriteria) Set(val *SodViolationContext1ConflictingAccessCriteria) { + v.value = val + v.isSet = true +} + +func (v NullableSodViolationContext1ConflictingAccessCriteria) IsSet() bool { + return v.isSet +} + +func (v *NullableSodViolationContext1ConflictingAccessCriteria) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSodViolationContext1ConflictingAccessCriteria(val *SodViolationContext1ConflictingAccessCriteria) *NullableSodViolationContext1ConflictingAccessCriteria { + return &NullableSodViolationContext1ConflictingAccessCriteria{value: val, isSet: true} +} + +func (v NullableSodViolationContext1ConflictingAccessCriteria) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSodViolationContext1ConflictingAccessCriteria) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_sod_violation_context_1_conflicting_access_criteria_left_criteria.go b/api_v2024/model_sod_violation_context_1_conflicting_access_criteria_left_criteria.go new file mode 100644 index 000000000..032d84d55 --- /dev/null +++ b/api_v2024/model_sod_violation_context_1_conflicting_access_criteria_left_criteria.go @@ -0,0 +1,155 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" +) + +// checks if the SodViolationContext1ConflictingAccessCriteriaLeftCriteria type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SodViolationContext1ConflictingAccessCriteriaLeftCriteria{} + +// SodViolationContext1ConflictingAccessCriteriaLeftCriteria struct for SodViolationContext1ConflictingAccessCriteriaLeftCriteria +type SodViolationContext1ConflictingAccessCriteriaLeftCriteria struct { + CriteriaList []SodExemptCriteria1 `json:"criteriaList,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SodViolationContext1ConflictingAccessCriteriaLeftCriteria SodViolationContext1ConflictingAccessCriteriaLeftCriteria + +// NewSodViolationContext1ConflictingAccessCriteriaLeftCriteria instantiates a new SodViolationContext1ConflictingAccessCriteriaLeftCriteria 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 NewSodViolationContext1ConflictingAccessCriteriaLeftCriteria() *SodViolationContext1ConflictingAccessCriteriaLeftCriteria { + this := SodViolationContext1ConflictingAccessCriteriaLeftCriteria{} + return &this +} + +// NewSodViolationContext1ConflictingAccessCriteriaLeftCriteriaWithDefaults instantiates a new SodViolationContext1ConflictingAccessCriteriaLeftCriteria 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 NewSodViolationContext1ConflictingAccessCriteriaLeftCriteriaWithDefaults() *SodViolationContext1ConflictingAccessCriteriaLeftCriteria { + this := SodViolationContext1ConflictingAccessCriteriaLeftCriteria{} + return &this +} + +// GetCriteriaList returns the CriteriaList field value if set, zero value otherwise. +func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) GetCriteriaList() []SodExemptCriteria1 { + if o == nil || IsNil(o.CriteriaList) { + var ret []SodExemptCriteria1 + return ret + } + return o.CriteriaList +} + +// GetCriteriaListOk returns a tuple with the CriteriaList field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) GetCriteriaListOk() ([]SodExemptCriteria1, bool) { + if o == nil || IsNil(o.CriteriaList) { + return nil, false + } + return o.CriteriaList, true +} + +// HasCriteriaList returns a boolean if a field has been set. +func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) HasCriteriaList() bool { + if o != nil && !IsNil(o.CriteriaList) { + return true + } + + return false +} + +// SetCriteriaList gets a reference to the given []SodExemptCriteria1 and assigns it to the CriteriaList field. +func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) SetCriteriaList(v []SodExemptCriteria1) { + o.CriteriaList = v +} + +func (o SodViolationContext1ConflictingAccessCriteriaLeftCriteria) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SodViolationContext1ConflictingAccessCriteriaLeftCriteria) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.CriteriaList) { + toSerialize["criteriaList"] = o.CriteriaList + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) UnmarshalJSON(data []byte) (err error) { + varSodViolationContext1ConflictingAccessCriteriaLeftCriteria := _SodViolationContext1ConflictingAccessCriteriaLeftCriteria{} + + err = json.Unmarshal(data, &varSodViolationContext1ConflictingAccessCriteriaLeftCriteria) + + if err != nil { + return err + } + + *o = SodViolationContext1ConflictingAccessCriteriaLeftCriteria(varSodViolationContext1ConflictingAccessCriteriaLeftCriteria) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "criteriaList") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria struct { + value *SodViolationContext1ConflictingAccessCriteriaLeftCriteria + isSet bool +} + +func (v NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria) Get() *SodViolationContext1ConflictingAccessCriteriaLeftCriteria { + return v.value +} + +func (v *NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria) Set(val *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) { + v.value = val + v.isSet = true +} + +func (v NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria) IsSet() bool { + return v.isSet +} + +func (v *NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria(val *SodViolationContext1ConflictingAccessCriteriaLeftCriteria) *NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria { + return &NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria{value: val, isSet: true} +} + +func (v NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSodViolationContext1ConflictingAccessCriteriaLeftCriteria) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/model_sod_violation_context_check_completed_1.go b/api_v2024/model_sod_violation_context_check_completed_1.go new file mode 100644 index 000000000..559c403aa --- /dev/null +++ b/api_v2024/model_sod_violation_context_check_completed_1.go @@ -0,0 +1,251 @@ +/* +Identity Security Cloud V2024 API + +Use these APIs to interact with the Identity Security Cloud platform to achieve repeatable, automated processes with greater scalability. We encourage you to join the SailPoint Developer Community forum at https://developer.sailpoint.com/discuss to connect with other developers using our APIs. + +API version: v2024 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package api_v2024 + +import ( + "encoding/json" +) + +// checks if the SodViolationContextCheckCompleted1 type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &SodViolationContextCheckCompleted1{} + +// SodViolationContextCheckCompleted1 An object referencing a completed SOD violation check +type SodViolationContextCheckCompleted1 struct { + // The status of SOD violation check + State NullableString `json:"state,omitempty"` + // The id of the Violation check event + Uuid NullableString `json:"uuid,omitempty"` + ViolationCheckResult *SodViolationCheckResult1 `json:"violationCheckResult,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _SodViolationContextCheckCompleted1 SodViolationContextCheckCompleted1 + +// NewSodViolationContextCheckCompleted1 instantiates a new SodViolationContextCheckCompleted1 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 NewSodViolationContextCheckCompleted1() *SodViolationContextCheckCompleted1 { + this := SodViolationContextCheckCompleted1{} + return &this +} + +// NewSodViolationContextCheckCompleted1WithDefaults instantiates a new SodViolationContextCheckCompleted1 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 NewSodViolationContextCheckCompleted1WithDefaults() *SodViolationContextCheckCompleted1 { + this := SodViolationContextCheckCompleted1{} + return &this +} + +// GetState returns the State field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SodViolationContextCheckCompleted1) GetState() string { + if o == nil || IsNil(o.State.Get()) { + var ret string + return ret + } + return *o.State.Get() +} + +// GetStateOk returns a tuple with the State field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SodViolationContextCheckCompleted1) GetStateOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.State.Get(), o.State.IsSet() +} + +// HasState returns a boolean if a field has been set. +func (o *SodViolationContextCheckCompleted1) HasState() bool { + if o != nil && o.State.IsSet() { + return true + } + + return false +} + +// SetState gets a reference to the given NullableString and assigns it to the State field. +func (o *SodViolationContextCheckCompleted1) SetState(v string) { + o.State.Set(&v) +} +// SetStateNil sets the value for State to be an explicit nil +func (o *SodViolationContextCheckCompleted1) SetStateNil() { + o.State.Set(nil) +} + +// UnsetState ensures that no value is present for State, not even an explicit nil +func (o *SodViolationContextCheckCompleted1) UnsetState() { + o.State.Unset() +} + +// GetUuid returns the Uuid field value if set, zero value otherwise (both if not set or set to explicit null). +func (o *SodViolationContextCheckCompleted1) GetUuid() string { + if o == nil || IsNil(o.Uuid.Get()) { + var ret string + return ret + } + return *o.Uuid.Get() +} + +// GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise +// and a boolean to check if the value has been set. +// NOTE: If the value is an explicit nil, `nil, true` will be returned +func (o *SodViolationContextCheckCompleted1) GetUuidOk() (*string, bool) { + if o == nil { + return nil, false + } + return o.Uuid.Get(), o.Uuid.IsSet() +} + +// HasUuid returns a boolean if a field has been set. +func (o *SodViolationContextCheckCompleted1) HasUuid() bool { + if o != nil && o.Uuid.IsSet() { + return true + } + + return false +} + +// SetUuid gets a reference to the given NullableString and assigns it to the Uuid field. +func (o *SodViolationContextCheckCompleted1) SetUuid(v string) { + o.Uuid.Set(&v) +} +// SetUuidNil sets the value for Uuid to be an explicit nil +func (o *SodViolationContextCheckCompleted1) SetUuidNil() { + o.Uuid.Set(nil) +} + +// UnsetUuid ensures that no value is present for Uuid, not even an explicit nil +func (o *SodViolationContextCheckCompleted1) UnsetUuid() { + o.Uuid.Unset() +} + +// GetViolationCheckResult returns the ViolationCheckResult field value if set, zero value otherwise. +func (o *SodViolationContextCheckCompleted1) GetViolationCheckResult() SodViolationCheckResult1 { + if o == nil || IsNil(o.ViolationCheckResult) { + var ret SodViolationCheckResult1 + return ret + } + return *o.ViolationCheckResult +} + +// GetViolationCheckResultOk returns a tuple with the ViolationCheckResult field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *SodViolationContextCheckCompleted1) GetViolationCheckResultOk() (*SodViolationCheckResult1, bool) { + if o == nil || IsNil(o.ViolationCheckResult) { + return nil, false + } + return o.ViolationCheckResult, true +} + +// HasViolationCheckResult returns a boolean if a field has been set. +func (o *SodViolationContextCheckCompleted1) HasViolationCheckResult() bool { + if o != nil && !IsNil(o.ViolationCheckResult) { + return true + } + + return false +} + +// SetViolationCheckResult gets a reference to the given SodViolationCheckResult1 and assigns it to the ViolationCheckResult field. +func (o *SodViolationContextCheckCompleted1) SetViolationCheckResult(v SodViolationCheckResult1) { + o.ViolationCheckResult = &v +} + +func (o SodViolationContextCheckCompleted1) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o SodViolationContextCheckCompleted1) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if o.State.IsSet() { + toSerialize["state"] = o.State.Get() + } + if o.Uuid.IsSet() { + toSerialize["uuid"] = o.Uuid.Get() + } + if !IsNil(o.ViolationCheckResult) { + toSerialize["violationCheckResult"] = o.ViolationCheckResult + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *SodViolationContextCheckCompleted1) UnmarshalJSON(data []byte) (err error) { + varSodViolationContextCheckCompleted1 := _SodViolationContextCheckCompleted1{} + + err = json.Unmarshal(data, &varSodViolationContextCheckCompleted1) + + if err != nil { + return err + } + + *o = SodViolationContextCheckCompleted1(varSodViolationContextCheckCompleted1) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "state") + delete(additionalProperties, "uuid") + delete(additionalProperties, "violationCheckResult") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableSodViolationContextCheckCompleted1 struct { + value *SodViolationContextCheckCompleted1 + isSet bool +} + +func (v NullableSodViolationContextCheckCompleted1) Get() *SodViolationContextCheckCompleted1 { + return v.value +} + +func (v *NullableSodViolationContextCheckCompleted1) Set(val *SodViolationContextCheckCompleted1) { + v.value = val + v.isSet = true +} + +func (v NullableSodViolationContextCheckCompleted1) IsSet() bool { + return v.isSet +} + +func (v *NullableSodViolationContextCheckCompleted1) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableSodViolationContextCheckCompleted1(val *SodViolationContextCheckCompleted1) *NullableSodViolationContextCheckCompleted1 { + return &NullableSodViolationContextCheckCompleted1{value: val, isSet: true} +} + +func (v NullableSodViolationContextCheckCompleted1) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableSodViolationContextCheckCompleted1) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/api_v2024/test/api_access_requests_test.go b/api_v2024/test/api_access_requests_test.go index 548149d8f..1f1667219 100644 --- a/api_v2024/test/api_access_requests_test.go +++ b/api_v2024/test/api_access_requests_test.go @@ -106,6 +106,18 @@ func Test_api_v2024_AccessRequestsAPIService(t *testing.T) { }) + t.Run("Test AccessRequestsAPIService ListAdministratorsAccessRequestStatus", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + resp, httpRes, err := apiClient.AccessRequestsAPI.ListAdministratorsAccessRequestStatus(context.Background()).Execute() + + require.Nil(t, err) + require.NotNil(t, resp) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + t.Run("Test AccessRequestsAPIService SetAccessRequestConfig", func(t *testing.T) { t.Skip("skip test") // remove to run test diff --git a/api_v3/api/openapi.yaml b/api_v3/api/openapi.yaml index a995bf91e..473a256dd 100644 --- a/api_v3/api/openapi.yaml +++ b/api_v3/api/openapi.yaml @@ -2454,6 +2454,8 @@ paths: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* + + **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* example: accountActivityItemId eq "2c918086771c86df0177401efcdf54c0" in: query name: filters diff --git a/api_v3/api_access_requests.go b/api_v3/api_access_requests.go index 9ee8c0adc..d235f8c80 100644 --- a/api_v3/api_access_requests.go +++ b/api_v3/api_access_requests.go @@ -602,7 +602,7 @@ func (r ApiListAccessRequestStatusRequest) Offset(offset int32) ApiListAccessReq return r } -// Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* +// Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* func (r ApiListAccessRequestStatusRequest) Filters(filters string) ApiListAccessRequestStatusRequest { r.filters = &filters return r diff --git a/api_v3/docs/AccessRequestsAPI.md b/api_v3/docs/AccessRequestsAPI.md index 391352ccd..f15e2349d 100644 --- a/api_v3/docs/AccessRequestsAPI.md +++ b/api_v3/docs/AccessRequestsAPI.md @@ -233,7 +233,7 @@ func main() { count := false // bool | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. (optional) (default to false) limit := int32(100) // int32 | Max number of results to return. (optional) (default to 250) offset := int32(10) // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. (optional) - filters := "accountActivityItemId eq "2c918086771c86df0177401efcdf54c0"" // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* (optional) + filters := "accountActivityItemId eq "2c918086771c86df0177401efcdf54c0"" // string | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* (optional) sorters := "created" // string | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name** (optional) requestState := "request-state=EXECUTING" // string | Filter the results by the state of the request. The only valid value is *EXECUTING*. (optional) @@ -267,7 +267,7 @@ Name | Type | Description | Notes **count** | **bool** | If this is true, the *X-Total-Count* response header populates with the number of results that would be returned if limit and offset were ignored. | [default to false] **limit** | **int32** | Max number of results to return. | [default to 250] **offset** | **int32** | Offset into the full result set. Usually specified with *limit* to paginate through the results. Defaults to 0 if not specified. | - **filters** | **string** | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* | + **filters** | **string** | Filter results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#filtering-results) Filtering is supported for the following fields and operators: **accessRequestId**: *in* **accountActivityItemId**: *eq, in, ge, gt, le, lt, ne, isnull, sw* **created**: *eq, in, ge, gt, le, lt, ne, isnull, sw* | **sorters** | **string** | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified, accountActivityItemId, name** | **requestState** | **string** | Filter the results by the state of the request. The only valid value is *EXECUTING*. |