Skip to content

Commit

Permalink
Automated build 'Automated commit 'iscarp-12549: Update API spec for …
Browse files Browse the repository at this point in the history
…Access Request Status to add approvalId to the approvalDetails and add list of approvalIds. (#1931)

* ISCARP-12549: Add ApprovalId to the approvaldetail in access request status api

* ISCARP-12549: add nullable

* ISCARP-12549: Add list pf approvalIds' by github action: 12588130503' go sdk: 12588135742
  • Loading branch information
developer-relations-sp committed Jan 2, 2025
1 parent 5487c1b commit 7649871
Show file tree
Hide file tree
Showing 15 changed files with 537 additions and 0 deletions.
20 changes: 20 additions & 0 deletions api_beta/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65217,6 +65217,7 @@ components:
id: 2c3780a46faadee4016fb4e018c20652
type: IDENTITY
modified: 2019-08-23T18:52:57.398Z
approvalId: 2c9180877b2b6ea4017b2c545f971429
comment: I approve this request
forwarded: false
status: PENDING
Expand All @@ -65240,6 +65241,7 @@ components:
id: 2c3780a46faadee4016fb4e018c20652
type: IDENTITY
modified: 2019-08-23T18:52:57.398Z
approvalId: 2c9180877b2b6ea4017b2c545f971429
comment: I approve this request
forwarded: false
status: PENDING
Expand All @@ -65259,6 +65261,9 @@ components:
reviewer: John Doe
description: This is the Engineering role that engineers are granted.
type: ACCESS_PROFILE
approvalIds:
- 85f0cf482dd44327b593624c07906c21
- fa57e1bfa36f41ee85e33ee59fcbeac5
errorMessages:
- - localeOrigin: DEFAULT
text: The request was syntactically correct but its content is semantically
Expand Down Expand Up @@ -65454,6 +65459,15 @@ components:
items:
$ref: '#/components/schemas/ApprovalStatusDto'
type: array
approvalIds:
description: List of approval IDs associated with the request.
example:
- 85f0cf482dd44327b593624c07906c21
- fa57e1bfa36f41ee85e33ee59fcbeac5
items:
type: string
nullable: true
type: array
manualWorkItemDetails:
description: Manual work items created for provisioning the item.
items:
Expand Down Expand Up @@ -82839,10 +82853,16 @@ components:
id: 2c3780a46faadee4016fb4e018c20652
type: IDENTITY
modified: 2019-08-23T18:52:57.398Z
approvalId: 2c9180877b2b6ea4017b2c545f971429
comment: I approve this request
forwarded: false
status: PENDING
properties:
approvalId:
description: Unique identifier for the approval.
example: 2c9180877b2b6ea4017b2c545f971429
nullable: true
type: string
forwarded:
default: false
description: True if the request for this item was forwarded from one owner
Expand Down
36 changes: 36 additions & 0 deletions api_beta/docs/ApprovalStatusDto.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ApprovalId** | Pointer to **NullableString** | Unique identifier for the approval. | [optional]
**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]
Expand Down Expand Up @@ -33,6 +34,41 @@ NewApprovalStatusDtoWithDefaults instantiates a new ApprovalStatusDto 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

### GetApprovalId

`func (o *ApprovalStatusDto) GetApprovalId() string`

GetApprovalId returns the ApprovalId field if non-nil, zero value otherwise.

### GetApprovalIdOk

`func (o *ApprovalStatusDto) GetApprovalIdOk() (*string, bool)`

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

### SetApprovalId

`func (o *ApprovalStatusDto) SetApprovalId(v string)`

SetApprovalId sets ApprovalId field to given value.

### HasApprovalId

`func (o *ApprovalStatusDto) HasApprovalId() bool`

HasApprovalId returns a boolean if a field has been set.

### SetApprovalIdNil

`func (o *ApprovalStatusDto) SetApprovalIdNil(b bool)`

SetApprovalIdNil sets the value for ApprovalId to be an explicit nil

### UnsetApprovalId
`func (o *ApprovalStatusDto) UnsetApprovalId()`

UnsetApprovalId ensures that no value is present for ApprovalId, not even an explicit nil
### GetForwarded

`func (o *ApprovalStatusDto) GetForwarded() bool`
Expand Down
36 changes: 36 additions & 0 deletions api_beta/docs/RequestedItemStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**ErrorMessages** | Pointer to [**[][]ErrorMessageDto**]([]ErrorMessageDto.md) | List of list of localized error messages, if any, encountered during the approval/provisioning process. | [optional]
**State** | Pointer to [**RequestedItemStatusRequestState**](RequestedItemStatusRequestState.md) | | [optional]
**ApprovalDetails** | Pointer to [**[]ApprovalStatusDto**](ApprovalStatusDto.md) | Approval details for each item. | [optional]
**ApprovalIds** | Pointer to **[]string** | List of approval IDs associated with the request. | [optional]
**ManualWorkItemDetails** | Pointer to [**[]ManualWorkItemDetails**](ManualWorkItemDetails.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]
Expand Down Expand Up @@ -227,6 +228,41 @@ SetApprovalDetails sets ApprovalDetails field to given value.

HasApprovalDetails returns a boolean if a field has been set.

### GetApprovalIds

`func (o *RequestedItemStatus) GetApprovalIds() []string`

GetApprovalIds returns the ApprovalIds field if non-nil, zero value otherwise.

### GetApprovalIdsOk

`func (o *RequestedItemStatus) GetApprovalIdsOk() (*[]string, bool)`

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

### SetApprovalIds

`func (o *RequestedItemStatus) SetApprovalIds(v []string)`

SetApprovalIds sets ApprovalIds field to given value.

### HasApprovalIds

`func (o *RequestedItemStatus) HasApprovalIds() bool`

HasApprovalIds returns a boolean if a field has been set.

### SetApprovalIdsNil

`func (o *RequestedItemStatus) SetApprovalIdsNil(b bool)`

SetApprovalIdsNil sets the value for ApprovalIds to be an explicit nil

### UnsetApprovalIds
`func (o *RequestedItemStatus) UnsetApprovalIds()`

UnsetApprovalIds ensures that no value is present for ApprovalIds, not even an explicit nil
### GetManualWorkItemDetails

`func (o *RequestedItemStatus) GetManualWorkItemDetails() []ManualWorkItemDetails`
Expand Down
48 changes: 48 additions & 0 deletions api_beta/model_approval_status_dto.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions api_beta/model_requested_item_status.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions api_v2024/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80126,6 +80126,7 @@ components:
id: 2c3780a46faadee4016fb4e018c20652
type: IDENTITY
modified: 2019-08-23T18:52:57.398Z
approvalId: 2c9180877b2b6ea4017b2c545f971429
comment: I approve this request
forwarded: false
status: PENDING
Expand All @@ -80149,6 +80150,7 @@ components:
id: 2c3780a46faadee4016fb4e018c20652
type: IDENTITY
modified: 2019-08-23T18:52:57.398Z
approvalId: 2c9180877b2b6ea4017b2c545f971429
comment: I approve this request
forwarded: false
status: PENDING
Expand All @@ -80168,6 +80170,9 @@ components:
reviewer: John Doe
description: This is the Engineering role that engineers are granted.
type: ACCESS_PROFILE
approvalIds:
- 85f0cf482dd44327b593624c07906c21
- fa57e1bfa36f41ee85e33ee59fcbeac5
errorMessages:
- - localeOrigin: DEFAULT
text: The request was syntactically correct but its content is semantically
Expand Down Expand Up @@ -80363,6 +80368,15 @@ components:
items:
$ref: '#/components/schemas/ApprovalStatusDto'
type: array
approvalIds:
description: List of approval IDs associated with the request.
example:
- 85f0cf482dd44327b593624c07906c21
- fa57e1bfa36f41ee85e33ee59fcbeac5
items:
type: string
nullable: true
type: array
manualWorkItemDetails:
description: Manual work items created for provisioning the item.
items:
Expand Down Expand Up @@ -100195,10 +100209,16 @@ components:
id: 2c3780a46faadee4016fb4e018c20652
type: IDENTITY
modified: 2019-08-23T18:52:57.398Z
approvalId: 2c9180877b2b6ea4017b2c545f971429
comment: I approve this request
forwarded: false
status: PENDING
properties:
approvalId:
description: Unique identifier for the approval.
example: 2c9180877b2b6ea4017b2c545f971429
nullable: true
type: string
forwarded:
default: false
description: True if the request for this item was forwarded from one owner
Expand Down
Loading

0 comments on commit 7649871

Please sign in to comment.