mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 20:37:47 +00:00
Update Go SDK docs: 16633318116
This commit is contained in:
@@ -1,157 +0,0 @@
|
||||
---
|
||||
id: beta-approvals
|
||||
title: Approvals
|
||||
pagination_label: Approvals
|
||||
sidebar_label: Approvals
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Approvals', 'BetaApprovals']
|
||||
slug: /tools/sdk/go/beta/methods/approvals
|
||||
tags: ['SDK', 'Software Development Kit', 'Approvals', 'BetaApprovals']
|
||||
---
|
||||
|
||||
# ApprovalsAPI
|
||||
Use this API to implement approval functionality. With this functionality in place, you can get generic approvals and modify them.
|
||||
|
||||
The main advantages this API has vs [Access Request Approvals](https://developer.sailpoint.com/docs/api/beta/access-request-approvals) are that you can use it to get generic approvals individually or in batches and make changes to those approvals.
|
||||
|
||||
All URIs are relative to *https://sailpoint.api.identitynow.com/beta*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**get-approval**](#get-approval) | **Get** `/generic-approvals/{id}` | Get approval
|
||||
[**get-approvals**](#get-approvals) | **Get** `/generic-approvals` | Get approvals
|
||||
|
||||
|
||||
## get-approval
|
||||
Get approval
|
||||
Get a single approval for a given approval ID. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and doesn't include access-request-approvals.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/beta/get-approval)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | ID of the approval that to be returned. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetApprovalRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**Approval**](../models/approval)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | ID of the approval that to be returned. # string | ID of the approval that to be returned.
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.Beta.ApprovalsAPI.GetApproval(context.Background(), id).Execute()
|
||||
//resp, r, err := apiClient.Beta.ApprovalsAPI.GetApproval(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.GetApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetApproval`: Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.GetApproval`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-approvals
|
||||
Get approvals
|
||||
Get a list of approvals, which can be filtered by requester ID, status, or reference type. You can use the "Mine" query parameter to return all approvals for the current approver. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and does not include access-request-approvals.
|
||||
Absence of all query parameters will will default to mine=true.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/beta/get-approvals)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetApprovalsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**mine** | **bool** | Returns the list of approvals for the current caller. |
|
||||
**requesterId** | **string** | Returns the list of approvals for a given requester ID. |
|
||||
**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: **status**: *eq* **referenceType**: *eq* |
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]Approval**](../models/approval)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
mine := true // bool | Returns the list of approvals for the current caller. (optional) # bool | Returns the list of approvals for the current caller. (optional)
|
||||
requesterId := `17e633e7d57e481569df76323169deb6a` // string | Returns the list of approvals for a given requester ID. (optional) # string | Returns the list of approvals for a given requester ID. (optional)
|
||||
filters := `filters=status eq PENDING` // 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: **status**: *eq* **referenceType**: *eq* (optional) # 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: **status**: *eq* **referenceType**: *eq* (optional)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.Beta.ApprovalsAPI.GetApprovals(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.Beta.ApprovalsAPI.GetApprovals(context.Background()).Mine(mine).RequesterId(requesterId).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.GetApprovals``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetApprovals`: []Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.GetApprovals`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
@@ -1,480 +0,0 @@
|
||||
---
|
||||
id: beta-approval
|
||||
title: Approval
|
||||
pagination_label: Approval
|
||||
sidebar_label: Approval
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Approval', 'BetaApproval']
|
||||
slug: /tools/sdk/go/beta/models/approval
|
||||
tags: ['SDK', 'Software Development Kit', 'Approval', 'BetaApproval']
|
||||
---
|
||||
|
||||
# Approval
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**ApprovalId** | Pointer to **string** | The Approval ID | [optional]
|
||||
**Approvers** | Pointer to [**[]ApprovalIdentity**](approval-identity) | Object representation of an approver of an approval | [optional]
|
||||
**CreatedDate** | Pointer to **string** | Date the approval was created | [optional]
|
||||
**Type** | Pointer to **string** | Type of approval | [optional]
|
||||
**Name** | Pointer to [**[]ApprovalName**](approval-name) | The name of the approval for a given locale | [optional]
|
||||
**BatchRequest** | Pointer to [**ApprovalBatch**](approval-batch) | The name of the approval for a given locale | [optional]
|
||||
**Description** | Pointer to [**[]ApprovalDescription**](approval-description) | The description of the approval for a given locale | [optional]
|
||||
**Priority** | Pointer to **string** | The priority of the approval | [optional]
|
||||
**Requester** | Pointer to [**ApprovalIdentity**](approval-identity) | Object representation of the requester of the approval | [optional]
|
||||
**Comments** | Pointer to [**[]ApprovalComment**](approval-comment) | Object representation of a comment on the approval | [optional]
|
||||
**ApprovedBy** | Pointer to [**[]ApprovalIdentity**](approval-identity) | Array of approvers who have approved the approval | [optional]
|
||||
**RejectedBy** | Pointer to [**[]ApprovalIdentity**](approval-identity) | Array of approvers who have rejected the approval | [optional]
|
||||
**CompletedDate** | Pointer to **string** | Date the approval was completed | [optional]
|
||||
**ApprovalCriteria** | Pointer to **string** | Criteria that needs to be met for an approval to be marked as approved | [optional]
|
||||
**Status** | Pointer to **string** | The current status of the approval | [optional]
|
||||
**AdditionalAttributes** | Pointer to **string** | Json string representing additional attributes known about the object to be approved. | [optional]
|
||||
**ReferenceData** | Pointer to [**[]ApprovalReference**](approval-reference) | Reference data related to the approval | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApproval
|
||||
|
||||
`func NewApproval() *Approval`
|
||||
|
||||
NewApproval instantiates a new Approval 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
|
||||
|
||||
### NewApprovalWithDefaults
|
||||
|
||||
`func NewApprovalWithDefaults() *Approval`
|
||||
|
||||
NewApprovalWithDefaults instantiates a new Approval 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 *Approval) GetApprovalId() string`
|
||||
|
||||
GetApprovalId returns the ApprovalId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApprovalIdOk
|
||||
|
||||
`func (o *Approval) 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 *Approval) SetApprovalId(v string)`
|
||||
|
||||
SetApprovalId sets ApprovalId field to given value.
|
||||
|
||||
### HasApprovalId
|
||||
|
||||
`func (o *Approval) HasApprovalId() bool`
|
||||
|
||||
HasApprovalId returns a boolean if a field has been set.
|
||||
|
||||
### GetApprovers
|
||||
|
||||
`func (o *Approval) GetApprovers() []ApprovalIdentity`
|
||||
|
||||
GetApprovers returns the Approvers field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApproversOk
|
||||
|
||||
`func (o *Approval) GetApproversOk() (*[]ApprovalIdentity, bool)`
|
||||
|
||||
GetApproversOk returns a tuple with the Approvers field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetApprovers
|
||||
|
||||
`func (o *Approval) SetApprovers(v []ApprovalIdentity)`
|
||||
|
||||
SetApprovers sets Approvers field to given value.
|
||||
|
||||
### HasApprovers
|
||||
|
||||
`func (o *Approval) HasApprovers() bool`
|
||||
|
||||
HasApprovers returns a boolean if a field has been set.
|
||||
|
||||
### GetCreatedDate
|
||||
|
||||
`func (o *Approval) GetCreatedDate() string`
|
||||
|
||||
GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedDateOk
|
||||
|
||||
`func (o *Approval) GetCreatedDateOk() (*string, bool)`
|
||||
|
||||
GetCreatedDateOk returns a tuple with the CreatedDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedDate
|
||||
|
||||
`func (o *Approval) SetCreatedDate(v string)`
|
||||
|
||||
SetCreatedDate sets CreatedDate field to given value.
|
||||
|
||||
### HasCreatedDate
|
||||
|
||||
`func (o *Approval) HasCreatedDate() bool`
|
||||
|
||||
HasCreatedDate returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *Approval) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *Approval) 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 *Approval) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *Approval) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *Approval) GetName() []ApprovalName`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *Approval) GetNameOk() (*[]ApprovalName, 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 *Approval) SetName(v []ApprovalName)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *Approval) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetBatchRequest
|
||||
|
||||
`func (o *Approval) GetBatchRequest() ApprovalBatch`
|
||||
|
||||
GetBatchRequest returns the BatchRequest field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBatchRequestOk
|
||||
|
||||
`func (o *Approval) GetBatchRequestOk() (*ApprovalBatch, bool)`
|
||||
|
||||
GetBatchRequestOk returns a tuple with the BatchRequest field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBatchRequest
|
||||
|
||||
`func (o *Approval) SetBatchRequest(v ApprovalBatch)`
|
||||
|
||||
SetBatchRequest sets BatchRequest field to given value.
|
||||
|
||||
### HasBatchRequest
|
||||
|
||||
`func (o *Approval) HasBatchRequest() bool`
|
||||
|
||||
HasBatchRequest returns a boolean if a field has been set.
|
||||
|
||||
### GetDescription
|
||||
|
||||
`func (o *Approval) GetDescription() []ApprovalDescription`
|
||||
|
||||
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDescriptionOk
|
||||
|
||||
`func (o *Approval) GetDescriptionOk() (*[]ApprovalDescription, 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 *Approval) SetDescription(v []ApprovalDescription)`
|
||||
|
||||
SetDescription sets Description field to given value.
|
||||
|
||||
### HasDescription
|
||||
|
||||
`func (o *Approval) HasDescription() bool`
|
||||
|
||||
HasDescription returns a boolean if a field has been set.
|
||||
|
||||
### GetPriority
|
||||
|
||||
`func (o *Approval) GetPriority() string`
|
||||
|
||||
GetPriority returns the Priority field if non-nil, zero value otherwise.
|
||||
|
||||
### GetPriorityOk
|
||||
|
||||
`func (o *Approval) GetPriorityOk() (*string, bool)`
|
||||
|
||||
GetPriorityOk returns a tuple with the Priority field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetPriority
|
||||
|
||||
`func (o *Approval) SetPriority(v string)`
|
||||
|
||||
SetPriority sets Priority field to given value.
|
||||
|
||||
### HasPriority
|
||||
|
||||
`func (o *Approval) HasPriority() bool`
|
||||
|
||||
HasPriority returns a boolean if a field has been set.
|
||||
|
||||
### GetRequester
|
||||
|
||||
`func (o *Approval) GetRequester() ApprovalIdentity`
|
||||
|
||||
GetRequester returns the Requester field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRequesterOk
|
||||
|
||||
`func (o *Approval) GetRequesterOk() (*ApprovalIdentity, 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 *Approval) SetRequester(v ApprovalIdentity)`
|
||||
|
||||
SetRequester sets Requester field to given value.
|
||||
|
||||
### HasRequester
|
||||
|
||||
`func (o *Approval) HasRequester() bool`
|
||||
|
||||
HasRequester returns a boolean if a field has been set.
|
||||
|
||||
### GetComments
|
||||
|
||||
`func (o *Approval) GetComments() []ApprovalComment`
|
||||
|
||||
GetComments returns the Comments field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentsOk
|
||||
|
||||
`func (o *Approval) GetCommentsOk() (*[]ApprovalComment, bool)`
|
||||
|
||||
GetCommentsOk returns a tuple with the Comments field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetComments
|
||||
|
||||
`func (o *Approval) SetComments(v []ApprovalComment)`
|
||||
|
||||
SetComments sets Comments field to given value.
|
||||
|
||||
### HasComments
|
||||
|
||||
`func (o *Approval) HasComments() bool`
|
||||
|
||||
HasComments returns a boolean if a field has been set.
|
||||
|
||||
### GetApprovedBy
|
||||
|
||||
`func (o *Approval) GetApprovedBy() []ApprovalIdentity`
|
||||
|
||||
GetApprovedBy returns the ApprovedBy field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApprovedByOk
|
||||
|
||||
`func (o *Approval) GetApprovedByOk() (*[]ApprovalIdentity, bool)`
|
||||
|
||||
GetApprovedByOk returns a tuple with the ApprovedBy field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetApprovedBy
|
||||
|
||||
`func (o *Approval) SetApprovedBy(v []ApprovalIdentity)`
|
||||
|
||||
SetApprovedBy sets ApprovedBy field to given value.
|
||||
|
||||
### HasApprovedBy
|
||||
|
||||
`func (o *Approval) HasApprovedBy() bool`
|
||||
|
||||
HasApprovedBy returns a boolean if a field has been set.
|
||||
|
||||
### GetRejectedBy
|
||||
|
||||
`func (o *Approval) GetRejectedBy() []ApprovalIdentity`
|
||||
|
||||
GetRejectedBy returns the RejectedBy field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRejectedByOk
|
||||
|
||||
`func (o *Approval) GetRejectedByOk() (*[]ApprovalIdentity, bool)`
|
||||
|
||||
GetRejectedByOk returns a tuple with the RejectedBy field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRejectedBy
|
||||
|
||||
`func (o *Approval) SetRejectedBy(v []ApprovalIdentity)`
|
||||
|
||||
SetRejectedBy sets RejectedBy field to given value.
|
||||
|
||||
### HasRejectedBy
|
||||
|
||||
`func (o *Approval) HasRejectedBy() bool`
|
||||
|
||||
HasRejectedBy returns a boolean if a field has been set.
|
||||
|
||||
### GetCompletedDate
|
||||
|
||||
`func (o *Approval) GetCompletedDate() string`
|
||||
|
||||
GetCompletedDate returns the CompletedDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCompletedDateOk
|
||||
|
||||
`func (o *Approval) GetCompletedDateOk() (*string, bool)`
|
||||
|
||||
GetCompletedDateOk returns a tuple with the CompletedDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCompletedDate
|
||||
|
||||
`func (o *Approval) SetCompletedDate(v string)`
|
||||
|
||||
SetCompletedDate sets CompletedDate field to given value.
|
||||
|
||||
### HasCompletedDate
|
||||
|
||||
`func (o *Approval) HasCompletedDate() bool`
|
||||
|
||||
HasCompletedDate returns a boolean if a field has been set.
|
||||
|
||||
### GetApprovalCriteria
|
||||
|
||||
`func (o *Approval) GetApprovalCriteria() string`
|
||||
|
||||
GetApprovalCriteria returns the ApprovalCriteria field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApprovalCriteriaOk
|
||||
|
||||
`func (o *Approval) GetApprovalCriteriaOk() (*string, bool)`
|
||||
|
||||
GetApprovalCriteriaOk returns a tuple with the ApprovalCriteria field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetApprovalCriteria
|
||||
|
||||
`func (o *Approval) SetApprovalCriteria(v string)`
|
||||
|
||||
SetApprovalCriteria sets ApprovalCriteria field to given value.
|
||||
|
||||
### HasApprovalCriteria
|
||||
|
||||
`func (o *Approval) HasApprovalCriteria() bool`
|
||||
|
||||
HasApprovalCriteria returns a boolean if a field has been set.
|
||||
|
||||
### GetStatus
|
||||
|
||||
`func (o *Approval) GetStatus() string`
|
||||
|
||||
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStatusOk
|
||||
|
||||
`func (o *Approval) GetStatusOk() (*string, 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 *Approval) SetStatus(v string)`
|
||||
|
||||
SetStatus sets Status field to given value.
|
||||
|
||||
### HasStatus
|
||||
|
||||
`func (o *Approval) HasStatus() bool`
|
||||
|
||||
HasStatus returns a boolean if a field has been set.
|
||||
|
||||
### GetAdditionalAttributes
|
||||
|
||||
`func (o *Approval) GetAdditionalAttributes() string`
|
||||
|
||||
GetAdditionalAttributes returns the AdditionalAttributes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAdditionalAttributesOk
|
||||
|
||||
`func (o *Approval) GetAdditionalAttributesOk() (*string, bool)`
|
||||
|
||||
GetAdditionalAttributesOk returns a tuple with the AdditionalAttributes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAdditionalAttributes
|
||||
|
||||
`func (o *Approval) SetAdditionalAttributes(v string)`
|
||||
|
||||
SetAdditionalAttributes sets AdditionalAttributes field to given value.
|
||||
|
||||
### HasAdditionalAttributes
|
||||
|
||||
`func (o *Approval) HasAdditionalAttributes() bool`
|
||||
|
||||
HasAdditionalAttributes returns a boolean if a field has been set.
|
||||
|
||||
### GetReferenceData
|
||||
|
||||
`func (o *Approval) GetReferenceData() []ApprovalReference`
|
||||
|
||||
GetReferenceData returns the ReferenceData field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReferenceDataOk
|
||||
|
||||
`func (o *Approval) GetReferenceDataOk() (*[]ApprovalReference, bool)`
|
||||
|
||||
GetReferenceDataOk returns a tuple with the ReferenceData field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReferenceData
|
||||
|
||||
`func (o *Approval) SetReferenceData(v []ApprovalReference)`
|
||||
|
||||
SetReferenceData sets ReferenceData field to given value.
|
||||
|
||||
### HasReferenceData
|
||||
|
||||
`func (o *Approval) HasReferenceData() bool`
|
||||
|
||||
HasReferenceData returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
---
|
||||
id: beta-approval-batch
|
||||
title: ApprovalBatch
|
||||
pagination_label: ApprovalBatch
|
||||
sidebar_label: ApprovalBatch
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalBatch', 'BetaApprovalBatch']
|
||||
slug: /tools/sdk/go/beta/models/approval-batch
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalBatch', 'BetaApprovalBatch']
|
||||
---
|
||||
|
||||
# ApprovalBatch
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**BatchId** | Pointer to **string** | ID of the batch | [optional]
|
||||
**BatchSize** | Pointer to **int64** | How many approvals are going to be in this batch. Defaults to 1 if not provided. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalBatch
|
||||
|
||||
`func NewApprovalBatch() *ApprovalBatch`
|
||||
|
||||
NewApprovalBatch instantiates a new ApprovalBatch 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
|
||||
|
||||
### NewApprovalBatchWithDefaults
|
||||
|
||||
`func NewApprovalBatchWithDefaults() *ApprovalBatch`
|
||||
|
||||
NewApprovalBatchWithDefaults instantiates a new ApprovalBatch 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
|
||||
|
||||
### GetBatchId
|
||||
|
||||
`func (o *ApprovalBatch) GetBatchId() string`
|
||||
|
||||
GetBatchId returns the BatchId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBatchIdOk
|
||||
|
||||
`func (o *ApprovalBatch) GetBatchIdOk() (*string, bool)`
|
||||
|
||||
GetBatchIdOk returns a tuple with the BatchId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBatchId
|
||||
|
||||
`func (o *ApprovalBatch) SetBatchId(v string)`
|
||||
|
||||
SetBatchId sets BatchId field to given value.
|
||||
|
||||
### HasBatchId
|
||||
|
||||
`func (o *ApprovalBatch) HasBatchId() bool`
|
||||
|
||||
HasBatchId returns a boolean if a field has been set.
|
||||
|
||||
### GetBatchSize
|
||||
|
||||
`func (o *ApprovalBatch) GetBatchSize() int64`
|
||||
|
||||
GetBatchSize returns the BatchSize field if non-nil, zero value otherwise.
|
||||
|
||||
### GetBatchSizeOk
|
||||
|
||||
`func (o *ApprovalBatch) GetBatchSizeOk() (*int64, bool)`
|
||||
|
||||
GetBatchSizeOk returns a tuple with the BatchSize field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetBatchSize
|
||||
|
||||
`func (o *ApprovalBatch) SetBatchSize(v int64)`
|
||||
|
||||
SetBatchSize sets BatchSize field to given value.
|
||||
|
||||
### HasBatchSize
|
||||
|
||||
`func (o *ApprovalBatch) HasBatchSize() bool`
|
||||
|
||||
HasBatchSize returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -1,116 +0,0 @@
|
||||
---
|
||||
id: beta-approval-comment
|
||||
title: ApprovalComment
|
||||
pagination_label: ApprovalComment
|
||||
sidebar_label: ApprovalComment
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalComment', 'BetaApprovalComment']
|
||||
slug: /tools/sdk/go/beta/models/approval-comment
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalComment', 'BetaApprovalComment']
|
||||
---
|
||||
|
||||
# ApprovalComment
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Author** | Pointer to [**ApprovalIdentity**](approval-identity) | | [optional]
|
||||
**Comment** | Pointer to **string** | Comment to be left on an approval | [optional]
|
||||
**CreatedDate** | Pointer to **string** | Date the comment was created | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalComment
|
||||
|
||||
`func NewApprovalComment() *ApprovalComment`
|
||||
|
||||
NewApprovalComment instantiates a new ApprovalComment 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
|
||||
|
||||
### NewApprovalCommentWithDefaults
|
||||
|
||||
`func NewApprovalCommentWithDefaults() *ApprovalComment`
|
||||
|
||||
NewApprovalCommentWithDefaults instantiates a new ApprovalComment 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
|
||||
|
||||
### GetAuthor
|
||||
|
||||
`func (o *ApprovalComment) GetAuthor() ApprovalIdentity`
|
||||
|
||||
GetAuthor returns the Author field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAuthorOk
|
||||
|
||||
`func (o *ApprovalComment) GetAuthorOk() (*ApprovalIdentity, bool)`
|
||||
|
||||
GetAuthorOk returns a tuple with the Author field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAuthor
|
||||
|
||||
`func (o *ApprovalComment) SetAuthor(v ApprovalIdentity)`
|
||||
|
||||
SetAuthor sets Author field to given value.
|
||||
|
||||
### HasAuthor
|
||||
|
||||
`func (o *ApprovalComment) HasAuthor() bool`
|
||||
|
||||
HasAuthor returns a boolean if a field has been set.
|
||||
|
||||
### GetComment
|
||||
|
||||
`func (o *ApprovalComment) GetComment() string`
|
||||
|
||||
GetComment returns the Comment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentOk
|
||||
|
||||
`func (o *ApprovalComment) 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 *ApprovalComment) SetComment(v string)`
|
||||
|
||||
SetComment sets Comment field to given value.
|
||||
|
||||
### HasComment
|
||||
|
||||
`func (o *ApprovalComment) HasComment() bool`
|
||||
|
||||
HasComment returns a boolean if a field has been set.
|
||||
|
||||
### GetCreatedDate
|
||||
|
||||
`func (o *ApprovalComment) GetCreatedDate() string`
|
||||
|
||||
GetCreatedDate returns the CreatedDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedDateOk
|
||||
|
||||
`func (o *ApprovalComment) GetCreatedDateOk() (*string, bool)`
|
||||
|
||||
GetCreatedDateOk returns a tuple with the CreatedDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCreatedDate
|
||||
|
||||
`func (o *ApprovalComment) SetCreatedDate(v string)`
|
||||
|
||||
SetCreatedDate sets CreatedDate field to given value.
|
||||
|
||||
### HasCreatedDate
|
||||
|
||||
`func (o *ApprovalComment) HasCreatedDate() bool`
|
||||
|
||||
HasCreatedDate returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
---
|
||||
id: beta-approval-description
|
||||
title: ApprovalDescription
|
||||
pagination_label: ApprovalDescription
|
||||
sidebar_label: ApprovalDescription
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalDescription', 'BetaApprovalDescription']
|
||||
slug: /tools/sdk/go/beta/models/approval-description
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalDescription', 'BetaApprovalDescription']
|
||||
---
|
||||
|
||||
# ApprovalDescription
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Value** | Pointer to **string** | The description of what the approval is asking for | [optional]
|
||||
**Locale** | Pointer to **string** | What locale the description of the approval is using | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalDescription
|
||||
|
||||
`func NewApprovalDescription() *ApprovalDescription`
|
||||
|
||||
NewApprovalDescription instantiates a new ApprovalDescription 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
|
||||
|
||||
### NewApprovalDescriptionWithDefaults
|
||||
|
||||
`func NewApprovalDescriptionWithDefaults() *ApprovalDescription`
|
||||
|
||||
NewApprovalDescriptionWithDefaults instantiates a new ApprovalDescription 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
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *ApprovalDescription) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *ApprovalDescription) GetValueOk() (*string, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *ApprovalDescription) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *ApprovalDescription) HasValue() bool`
|
||||
|
||||
HasValue returns a boolean if a field has been set.
|
||||
|
||||
### GetLocale
|
||||
|
||||
`func (o *ApprovalDescription) GetLocale() string`
|
||||
|
||||
GetLocale returns the Locale field if non-nil, zero value otherwise.
|
||||
|
||||
### GetLocaleOk
|
||||
|
||||
`func (o *ApprovalDescription) 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 *ApprovalDescription) SetLocale(v string)`
|
||||
|
||||
SetLocale sets Locale field to given value.
|
||||
|
||||
### HasLocale
|
||||
|
||||
`func (o *ApprovalDescription) HasLocale() bool`
|
||||
|
||||
HasLocale returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -1,116 +0,0 @@
|
||||
---
|
||||
id: beta-approval-identity
|
||||
title: ApprovalIdentity
|
||||
pagination_label: ApprovalIdentity
|
||||
sidebar_label: ApprovalIdentity
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalIdentity', 'BetaApprovalIdentity']
|
||||
slug: /tools/sdk/go/beta/models/approval-identity
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalIdentity', 'BetaApprovalIdentity']
|
||||
---
|
||||
|
||||
# ApprovalIdentity
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **string** | The identity ID | [optional]
|
||||
**Type** | Pointer to **string** | Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc | [optional]
|
||||
**Name** | Pointer to **string** | Name of the identity | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalIdentity
|
||||
|
||||
`func NewApprovalIdentity() *ApprovalIdentity`
|
||||
|
||||
NewApprovalIdentity instantiates a new ApprovalIdentity 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
|
||||
|
||||
### NewApprovalIdentityWithDefaults
|
||||
|
||||
`func NewApprovalIdentityWithDefaults() *ApprovalIdentity`
|
||||
|
||||
NewApprovalIdentityWithDefaults instantiates a new ApprovalIdentity 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
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ApprovalIdentity) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ApprovalIdentity) 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 *ApprovalIdentity) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ApprovalIdentity) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *ApprovalIdentity) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *ApprovalIdentity) 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 *ApprovalIdentity) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *ApprovalIdentity) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *ApprovalIdentity) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *ApprovalIdentity) 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 *ApprovalIdentity) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *ApprovalIdentity) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
---
|
||||
id: beta-approval-name
|
||||
title: ApprovalName
|
||||
pagination_label: ApprovalName
|
||||
sidebar_label: ApprovalName
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalName', 'BetaApprovalName']
|
||||
slug: /tools/sdk/go/beta/models/approval-name
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalName', 'BetaApprovalName']
|
||||
---
|
||||
|
||||
# ApprovalName
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Value** | Pointer to **string** | Name of the approval | [optional]
|
||||
**Locale** | Pointer to **string** | What locale the name of the approval is using | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalName
|
||||
|
||||
`func NewApprovalName() *ApprovalName`
|
||||
|
||||
NewApprovalName instantiates a new ApprovalName 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
|
||||
|
||||
### NewApprovalNameWithDefaults
|
||||
|
||||
`func NewApprovalNameWithDefaults() *ApprovalName`
|
||||
|
||||
NewApprovalNameWithDefaults instantiates a new ApprovalName 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
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *ApprovalName) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *ApprovalName) GetValueOk() (*string, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *ApprovalName) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *ApprovalName) HasValue() bool`
|
||||
|
||||
HasValue returns a boolean if a field has been set.
|
||||
|
||||
### GetLocale
|
||||
|
||||
`func (o *ApprovalName) GetLocale() string`
|
||||
|
||||
GetLocale returns the Locale field if non-nil, zero value otherwise.
|
||||
|
||||
### GetLocaleOk
|
||||
|
||||
`func (o *ApprovalName) 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 *ApprovalName) SetLocale(v string)`
|
||||
|
||||
SetLocale sets Locale field to given value.
|
||||
|
||||
### HasLocale
|
||||
|
||||
`func (o *ApprovalName) HasLocale() bool`
|
||||
|
||||
HasLocale returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
---
|
||||
id: beta-approval-reference
|
||||
title: ApprovalReference
|
||||
pagination_label: ApprovalReference
|
||||
sidebar_label: ApprovalReference
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalReference', 'BetaApprovalReference']
|
||||
slug: /tools/sdk/go/beta/models/approval-reference
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalReference', 'BetaApprovalReference']
|
||||
---
|
||||
|
||||
# ApprovalReference
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **string** | Id of the reference object | [optional]
|
||||
**Type** | Pointer to **string** | What reference object does this ID correspond to | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalReference
|
||||
|
||||
`func NewApprovalReference() *ApprovalReference`
|
||||
|
||||
NewApprovalReference instantiates a new ApprovalReference 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
|
||||
|
||||
### NewApprovalReferenceWithDefaults
|
||||
|
||||
`func NewApprovalReferenceWithDefaults() *ApprovalReference`
|
||||
|
||||
NewApprovalReferenceWithDefaults instantiates a new ApprovalReference 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
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ApprovalReference) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ApprovalReference) 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 *ApprovalReference) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ApprovalReference) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *ApprovalReference) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *ApprovalReference) 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 *ApprovalReference) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *ApprovalReference) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -18,10 +18,92 @@ All URIs are relative to *https://sailpoint.api.identitynow.com/v2025*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**approve-approval**](#approve-approval) | **Post** `/generic-approvals/{id}/approve` | Post Approvals Approve
|
||||
[**get-approval**](#get-approval) | **Get** `/generic-approvals/{id}` | Get an approval
|
||||
[**get-approvals**](#get-approvals) | **Get** `/generic-approvals` | Get approvals
|
||||
[**reject-approval**](#reject-approval) | **Post** `/generic-approvals/{id}/reject` | Post Approvals Reject
|
||||
[**update-approvals-attributes**](#update-approvals-attributes) | **Post** `/generic-approvals/{id}/attributes` | Post Approvals Attributes
|
||||
[**update-approvals-comments**](#update-approvals-comments) | **Post** `/generic-approvals/{id}/comments` | Post Approvals Comments
|
||||
[**update-approvals-reassign**](#update-approvals-reassign) | **Post** `/generic-approvals/{id}/reassign` | Post Approvals Reassign
|
||||
|
||||
|
||||
## approve-approval
|
||||
Post Approvals Approve
|
||||
Currently this endpoint only supports Entitlement Description Approvals.
|
||||
Approves a specified approval request on behalf of the caller. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and does not include access-request-approvals. The approval request must be in a state that allows it to be approved.
|
||||
If called by an admin and the admin is not listed as an approver, the approval request will be reassigned from a random approver to the admin user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/approve-approval)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Approval ID that correlates to an existing approval request that a user wants to approve |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiApproveApprovalRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**approvalApproveRequest** | [**ApprovalApproveRequest**](../models/approval-approve-request) | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Approval**](../models/approval)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to approve # string | Approval ID that correlates to an existing approval request that a user wants to approve
|
||||
approvalapproverequest := []byte(`{
|
||||
"comment" : "comment",
|
||||
"additionalAttributes" : {
|
||||
"additionalProp1" : "string",
|
||||
"additionalProp2" : "string",
|
||||
"additionalProp3" : "string"
|
||||
}
|
||||
}`) // ApprovalApproveRequest | (optional)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.ApproveApproval(context.Background(), id).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.ApproveApproval(context.Background(), id).ApprovalApproveRequest(approvalApproveRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.ApproveApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ApproveApproval`: Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.ApproveApproval`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-approval
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
@@ -35,6 +117,7 @@ This API is currently in an experimental state. The API is subject to change bas
|
||||
```
|
||||
:::
|
||||
Get an approval
|
||||
Currently this endpoint only supports Entitlement Description Approvals.
|
||||
Retrieve a single approval for a given approval ID. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-approval)
|
||||
@@ -102,20 +185,11 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-approvals
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```go
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Get approvals
|
||||
Retrieve a list of approvals, which can be filtered by requester ID, status, or reference type. "Mine" query parameter can be used and it will return all approvals for the current approver. This endpoint is for generic approvals, different than the access-request-approval endpoint and does not include access-request-approvals.
|
||||
Absence of all query parameters will will default to mine=true.
|
||||
Currently this endpoint only supports Entitlement Description Approvals.
|
||||
Get a list of approvals. This endpoint is for generic approvals, unlike the access-request-approval endpoint, and does not include access-request-approvals.
|
||||
Absence of all query parameters for non admins will will default to mine=true.
|
||||
Absence of all query parameters for admins will return all approvals in the org.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-approvals)
|
||||
|
||||
@@ -130,10 +204,19 @@ Other parameters are passed through a pointer to a apiGetApprovalsRequest struct
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**mine** | **bool** | Returns the list of approvals for the current caller |
|
||||
**requesterId** | **string** | Returns the list of approvals for a given requester ID |
|
||||
**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: **status**: *eq* **referenceType**: *eq* |
|
||||
**mine** | **bool** | Returns the list of approvals for the current caller. | [default to false]
|
||||
**requesterId** | **string** | Returns the list of approvals for a given requester ID. Must match the calling user's identity ID unless they are an admin. |
|
||||
**requesteeId** | **string** | Returns the list of approvals for a given requesteeId ID. Must match the calling user's identity ID unless they are an admin. |
|
||||
**approverId** | **string** | Returns the list of approvals for a given approverId ID. Must match the calling user's identity ID unless they are an admin. |
|
||||
**count** | **bool** | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. | [default to false]
|
||||
**countOnly** | **bool** | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. Only returns the count and no approval objects. | [default to false]
|
||||
**includeComments** | **bool** | If set to true in the query, the approval requests returned will include comments. | [default to false]
|
||||
**includeApprovers** | **bool** | If set to true in the query, the approval requests returned will include approvers. | [default to false]
|
||||
**includeBatchInfo** | **bool** | If set to true in the query, the approval requests returned will include batch information. | [default to false]
|
||||
**includeBatchInfo2** | **bool** | If set to true in the query, the approval requests returned will include batch information. | [default to false]
|
||||
**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: **status**: *eq* **referenceType**: *eq* **name**: *eq* **priority**: *eq* **type**: *eq* **medium**: *eq* **description**: *eq* **batchId**: *eq* **approvalId**: *eq* **tenantId**: *eq* **createdDate**: *eq* **dueDate**: *eq* **completedDate**: *eq* **search**: *eq* **referenceId**: *eq* **referenceName**: *eq* **requestedTargetType**: *eq* **requestedTargetRequestType**: *eq* **requestedTargetId**: *eq* **modifiedDate**: *eq* **requesterId**: *eq* **requesteeId**: *eq* **approverId**: *eq* |
|
||||
**limit** | **int32** | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [default to 250]
|
||||
**offset** | **int32** | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [default to 0]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -159,17 +242,26 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
mine := true // bool | Returns the list of approvals for the current caller (optional) # bool | Returns the list of approvals for the current caller (optional)
|
||||
requesterId := `17e633e7d57e481569df76323169deb6a` // string | Returns the list of approvals for a given requester ID (optional) # string | Returns the list of approvals for a given requester ID (optional)
|
||||
filters := `filters=status eq PENDING` // 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: **status**: *eq* **referenceType**: *eq* (optional) # 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: **status**: *eq* **referenceType**: *eq* (optional)
|
||||
mine := true // bool | Returns the list of approvals for the current caller. (optional) (default to false) # bool | Returns the list of approvals for the current caller. (optional) (default to false)
|
||||
requesterId := `17e633e7d57e481569df76323169deb6a` // string | Returns the list of approvals for a given requester ID. Must match the calling user's identity ID unless they are an admin. (optional) # string | Returns the list of approvals for a given requester ID. Must match the calling user's identity ID unless they are an admin. (optional)
|
||||
requesteeId := `27e6334g757e481569df76323169db9sc` // string | Returns the list of approvals for a given requesteeId ID. Must match the calling user's identity ID unless they are an admin. (optional) # string | Returns the list of approvals for a given requesteeId ID. Must match the calling user's identity ID unless they are an admin. (optional)
|
||||
approverId := `37e6334g557e481569df7g2d3169db9sb` // string | Returns the list of approvals for a given approverId ID. Must match the calling user's identity ID unless they are an admin. (optional) # string | Returns the list of approvals for a given approverId ID. Must match the calling user's identity ID unless they are an admin. (optional)
|
||||
count := true // bool | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. (optional) (default to false) # bool | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. (optional) (default to false)
|
||||
countOnly := true // bool | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. Only returns the count and no approval objects. (optional) (default to false) # bool | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. Only returns the count and no approval objects. (optional) (default to false)
|
||||
includeComments := true // bool | If set to true in the query, the approval requests returned will include comments. (optional) (default to false) # bool | If set to true in the query, the approval requests returned will include comments. (optional) (default to false)
|
||||
includeApprovers := true // bool | If set to true in the query, the approval requests returned will include approvers. (optional) (default to false) # bool | If set to true in the query, the approval requests returned will include approvers. (optional) (default to false)
|
||||
includeBatchInfo := true // bool | If set to true in the query, the approval requests returned will include batch information. (optional) (default to false) # bool | If set to true in the query, the approval requests returned will include batch information. (optional) (default to false)
|
||||
includeBatchInfo2 := true // bool | If set to true in the query, the approval requests returned will include batch information. (optional) (default to false) # bool | If set to true in the query, the approval requests returned will include batch information. (optional) (default to false)
|
||||
filters := `filters=status eq PENDING` // 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: **status**: *eq* **referenceType**: *eq* **name**: *eq* **priority**: *eq* **type**: *eq* **medium**: *eq* **description**: *eq* **batchId**: *eq* **approvalId**: *eq* **tenantId**: *eq* **createdDate**: *eq* **dueDate**: *eq* **completedDate**: *eq* **search**: *eq* **referenceId**: *eq* **referenceName**: *eq* **requestedTargetType**: *eq* **requestedTargetRequestType**: *eq* **requestedTargetId**: *eq* **modifiedDate**: *eq* **requesterId**: *eq* **requesteeId**: *eq* **approverId**: *eq* (optional) # 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: **status**: *eq* **referenceType**: *eq* **name**: *eq* **priority**: *eq* **type**: *eq* **medium**: *eq* **description**: *eq* **batchId**: *eq* **approvalId**: *eq* **tenantId**: *eq* **createdDate**: *eq* **dueDate**: *eq* **completedDate**: *eq* **search**: *eq* **referenceId**: *eq* **referenceName**: *eq* **requestedTargetType**: *eq* **requestedTargetRequestType**: *eq* **requestedTargetId**: *eq* **modifiedDate**: *eq* **requesterId**: *eq* **requesteeId**: *eq* **approverId**: *eq* (optional)
|
||||
limit := 250 // int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).XSailPointExperimental(xSailPointExperimental).Mine(mine).RequesterId(requesterId).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).Mine(mine).RequesterId(requesterId).RequesteeId(requesteeId).ApproverId(approverId).Count(count).CountOnly(countOnly).IncludeComments(includeComments).IncludeApprovers(includeApprovers).IncludeBatchInfo(includeBatchInfo).IncludeBatchInfo2(includeBatchInfo2).Filters(filters).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.GetApprovals``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -181,3 +273,309 @@ func main() {
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## reject-approval
|
||||
Post Approvals Reject
|
||||
Currently this endpoint only supports Entitlement Description Approvals.
|
||||
Rejects a specified approval request on behalf of the caller.
|
||||
If called by an admin and the admin is not listed as an approver, the approval request will be reassigned from a random approver to the admin user.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/reject-approval)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Approval ID that correlates to an existing approval request that a user wants to reject. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiRejectApprovalRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**approvalRejectRequest** | [**ApprovalRejectRequest**](../models/approval-reject-request) | |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to reject. # string | Approval ID that correlates to an existing approval request that a user wants to reject.
|
||||
approvalrejectrequest := []byte(`{
|
||||
"comment" : "string"
|
||||
}`) // ApprovalRejectRequest | (optional)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2025.ApprovalsAPI.RejectApproval(context.Background(), id).Execute()
|
||||
//r, err := apiClient.V2025.ApprovalsAPI.RejectApproval(context.Background(), id).ApprovalRejectRequest(approvalRejectRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.RejectApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## update-approvals-attributes
|
||||
Post Approvals Attributes
|
||||
Currently this endpoint only supports Entitlement Description Approvals.
|
||||
Allows for the edit/addition/removal of the key/value pair additional attributes map for an existing approval request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-approvals-attributes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Approval ID that correlates to an existing approval request that a user wants to change the attributes of. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateApprovalsAttributesRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**approvalAttributesRequest** | [**ApprovalAttributesRequest**](../models/approval-attributes-request) | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Approval**](../models/approval)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to change the attributes of. # string | Approval ID that correlates to an existing approval request that a user wants to change the attributes of.
|
||||
approvalattributesrequest := []byte(`{
|
||||
"removeAttributeKeys" : [ "string" ],
|
||||
"comment" : "comment",
|
||||
"additionalAttributes" : {
|
||||
"additionalProp1" : "string",
|
||||
"additionalProp2" : "string",
|
||||
"additionalProp3" : "string"
|
||||
}
|
||||
}`) // ApprovalAttributesRequest |
|
||||
|
||||
var approvalAttributesRequest v2025.ApprovalAttributesRequest
|
||||
if err := json.Unmarshal(approvalattributesrequest, &approvalAttributesRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsAttributes(context.Background(), id).ApprovalAttributesRequest(approvalAttributesRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsAttributes(context.Background(), id).ApprovalAttributesRequest(approvalAttributesRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.UpdateApprovalsAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateApprovalsAttributes`: Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.UpdateApprovalsAttributes`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## update-approvals-comments
|
||||
Post Approvals Comments
|
||||
Currently this endpoint only supports Entitlement Description Approvals.
|
||||
Adds comments to a specified approval request.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-approvals-comments)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Approval ID that correlates to an existing approval request that a user wants to add a comment to. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateApprovalsCommentsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**approvalCommentsRequest** | [**ApprovalCommentsRequest**](../models/approval-comments-request) | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Approval**](../models/approval)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to add a comment to. # string | Approval ID that correlates to an existing approval request that a user wants to add a comment to.
|
||||
approvalcommentsrequest := []byte(`{
|
||||
"comment" : "Approval comment."
|
||||
}`) // ApprovalCommentsRequest |
|
||||
|
||||
var approvalCommentsRequest v2025.ApprovalCommentsRequest
|
||||
if err := json.Unmarshal(approvalcommentsrequest, &approvalCommentsRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsComments(context.Background(), id).ApprovalCommentsRequest(approvalCommentsRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsComments(context.Background(), id).ApprovalCommentsRequest(approvalCommentsRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.UpdateApprovalsComments``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateApprovalsComments`: Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.UpdateApprovalsComments`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## update-approvals-reassign
|
||||
Post Approvals Reassign
|
||||
Currently this endpoint only supports Entitlement Description Approvals.
|
||||
Reassigns an approval request to another identity resulting in that identity being added as an authorized approver.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/update-approvals-reassign)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Approval ID that correlates to an existing approval request that a user wants to reassign. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiUpdateApprovalsReassignRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**approvalReassignRequest** | [**ApprovalReassignRequest**](../models/approval-reassign-request) | |
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to reassign. # string | Approval ID that correlates to an existing approval request that a user wants to reassign.
|
||||
approvalreassignrequest := []byte(`{
|
||||
"reassignTo" : "152354832eb6f8f539fd738592e19ec5",
|
||||
"comment" : "comment",
|
||||
"reassignFrom" : "384532516be25f8fdf935ce19e295837"
|
||||
}`) // ApprovalReassignRequest |
|
||||
|
||||
var approvalReassignRequest v2025.ApprovalReassignRequest
|
||||
if err := json.Unmarshal(approvalreassignrequest, &approvalReassignRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsReassign(context.Background(), id).ApprovalReassignRequest(approvalReassignRequest).Execute()
|
||||
//r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsReassign(context.Background(), id).ApprovalReassignRequest(approvalReassignRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.UpdateApprovalsReassign``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
|
||||
@@ -15,11 +15,192 @@ All URIs are relative to *https://sailpoint.api.identitynow.com/v2025*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**create-machine-account-subtype**](#create-machine-account-subtype) | **Post** `/sources/{sourceId}/subtypes` | Create subtype
|
||||
[**delete-machine-account-subtype**](#delete-machine-account-subtype) | **Delete** `/sources/{sourceId}/subtypes/{technicalName}` | Delete subtype
|
||||
[**get-machine-account**](#get-machine-account) | **Get** `/machine-accounts/{id}` | Machine account details
|
||||
[**get-machine-account-subtype-by-id**](#get-machine-account-subtype-by-id) | **Get** `/sources/subtype/{subtypeId}` | Retrieve subtype by subtype id
|
||||
[**get-machine-account-subtype-by-technical-name**](#get-machine-account-subtype-by-technical-name) | **Get** `/sources/{sourceId}/subtypes/{technicalName}` | Retrieve subtype by source and technicalName
|
||||
[**list-machine-account-subtypes**](#list-machine-account-subtypes) | **Get** `/sources/{sourceId}/subtypes` | Retrieve all subtypes by source
|
||||
[**list-machine-accounts**](#list-machine-accounts) | **Get** `/machine-accounts` | Machine accounts list
|
||||
[**patch-machine-account-subtype**](#patch-machine-account-subtype) | **Patch** `/sources/{sourceId}/subtypes/{technicalName}` | Patch subtype
|
||||
[**update-machine-account**](#update-machine-account) | **Patch** `/machine-accounts/{id}` | Update a machine account
|
||||
|
||||
|
||||
## create-machine-account-subtype
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```go
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Create subtype
|
||||
Create a new machine account subtype for a source.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-machine-account-subtype)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**sourceId** | **string** | The ID of the source. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateMachineAccountSubtypeRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**sourceSubtype** | [**SourceSubtype**](../models/source-subtype) | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**SourceSubtype**](../models/source-subtype)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
sourceId := `6d0458373bec4b4b80460992b76016da` // string | The ID of the source. # string | The ID of the source.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
sourcesubtype := []byte(`{
|
||||
"sourceId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
|
||||
"displayName" : "Mr Foo",
|
||||
"created" : "2025-07-28T16:13:42.8013Z",
|
||||
"description" : "fighters",
|
||||
"modified" : "2025-07-28T16:13:42.75085Z",
|
||||
"id" : "43bdd144-4b17-4fce-a744-17c7fd3e717b",
|
||||
"technicalName" : "foo"
|
||||
}`) // SourceSubtype |
|
||||
|
||||
var sourceSubtype v2025.SourceSubtype
|
||||
if err := json.Unmarshal(sourcesubtype, &sourceSubtype); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.CreateMachineAccountSubtype(context.Background(), sourceId).XSailPointExperimental(xSailPointExperimental).SourceSubtype(sourceSubtype).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.CreateMachineAccountSubtype(context.Background(), sourceId).XSailPointExperimental(xSailPointExperimental).SourceSubtype(sourceSubtype).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.CreateMachineAccountSubtype``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateMachineAccountSubtype`: SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.CreateMachineAccountSubtype`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-machine-account-subtype
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```go
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Delete subtype
|
||||
Delete a machine account subtype by its ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-machine-account-subtype)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**subtypeId** | **string** | The ID of the machine account subtype. |
|
||||
**technicalName** | **string** | The technical name of the subtype. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteMachineAccountSubtypeRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
|
||||
### Return type
|
||||
|
||||
(empty response body)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
subtypeId := `43bdd144-4b17-4fce-a744-17c7fd3e717b` // string | The ID of the machine account subtype. # string | The ID of the machine account subtype.
|
||||
technicalName := `foo` // string | The technical name of the subtype. # string | The technical name of the subtype.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2025.MachineAccountsAPI.DeleteMachineAccountSubtype(context.Background(), subtypeId, technicalName).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//r, err := apiClient.V2025.MachineAccountsAPI.DeleteMachineAccountSubtype(context.Background(), subtypeId, technicalName).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.DeleteMachineAccountSubtype``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-machine-account
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
@@ -99,6 +280,256 @@ func main() {
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-machine-account-subtype-by-id
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```go
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Retrieve subtype by subtype id
|
||||
Get a machine account subtype by its unique ID.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-machine-account-subtype-by-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**subtypeId** | **string** | The ID of the machine account subtype. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetMachineAccountSubtypeByIdRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
|
||||
### Return type
|
||||
|
||||
[**SourceSubtype**](../models/source-subtype)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
subtypeId := `43bdd144-4b17-4fce-a744-17c7fd3e717b` // string | The ID of the machine account subtype. # string | The ID of the machine account subtype.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccountSubtypeById(context.Background(), subtypeId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccountSubtypeById(context.Background(), subtypeId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.GetMachineAccountSubtypeById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetMachineAccountSubtypeById`: SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.GetMachineAccountSubtypeById`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-machine-account-subtype-by-technical-name
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```go
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Retrieve subtype by source and technicalName
|
||||
Get a machine account subtype by source ID and technical name.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-machine-account-subtype-by-technical-name)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**sourceId** | **string** | The ID of the source. |
|
||||
**technicalName** | **string** | The technical name of the subtype. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetMachineAccountSubtypeByTechnicalNameRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
|
||||
### Return type
|
||||
|
||||
[**SourceSubtype**](../models/source-subtype)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
sourceId := `6d0458373bec4b4b80460992b76016da` // string | The ID of the source. # string | The ID of the source.
|
||||
technicalName := `foo` // string | The technical name of the subtype. # string | The technical name of the subtype.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccountSubtypeByTechnicalName(context.Background(), sourceId, technicalName).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccountSubtypeByTechnicalName(context.Background(), sourceId, technicalName).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.GetMachineAccountSubtypeByTechnicalName``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetMachineAccountSubtypeByTechnicalName`: SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.GetMachineAccountSubtypeByTechnicalName`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-machine-account-subtypes
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```go
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Retrieve all subtypes by source
|
||||
Get all machine account subtypes for a given source.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-machine-account-subtypes)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**sourceId** | **string** | The ID of the source. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListMachineAccountSubtypesRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**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: **displayName**: *eq, sw* **technicalName**: *eq, 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: **displayName, technicalName** |
|
||||
**count** | **bool** | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [default to false]
|
||||
**limit** | **int32** | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [default to 250]
|
||||
**offset** | **int32** | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. | [default to 0]
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]SourceSubtype**](../models/source-subtype)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: Not defined
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
sourceId := `6d0458373bec4b4b80460992b76016da` // string | The ID of the source. # string | The ID of the source.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
filters := `identityId eq "2c9180858082150f0180893dbaf44201"` // 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: **displayName**: *eq, sw* **technicalName**: *eq, sw* (optional) # 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: **displayName**: *eq, sw* **technicalName**: *eq, sw* (optional)
|
||||
sorters := `displayName` // 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: **displayName, technicalName** (optional) # 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: **displayName, technicalName** (optional)
|
||||
count := true // bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false)
|
||||
limit := 250 // int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.ListMachineAccountSubtypes(context.Background(), sourceId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.ListMachineAccountSubtypes(context.Background(), sourceId).XSailPointExperimental(xSailPointExperimental).Filters(filters).Sorters(sorters).Count(count).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.ListMachineAccountSubtypes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListMachineAccountSubtypes`: []SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.ListMachineAccountSubtypes`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-machine-accounts
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
@@ -182,6 +613,104 @@ func main() {
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## patch-machine-account-subtype
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
:::
|
||||
:::tip setting x-sailpoint-experimental header
|
||||
on the configuration object you can set the `x-sailpoint-experimental` header to `true' to enable all experimantl endpoints within the SDK.
|
||||
Example:
|
||||
```go
|
||||
configuration = Configuration()
|
||||
configuration.experimental = True
|
||||
```
|
||||
:::
|
||||
Patch subtype
|
||||
Update fields of a machine account subtype by its ID.
|
||||
Patchable fields include: `displayName`, `description`, `technicalName`.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/patch-machine-account-subtype)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**subtypeId** | **string** | The ID of the machine account subtype. |
|
||||
**technicalName** | **string** | The technical name of the subtype. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiPatchMachineAccountSubtypeRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**sourceSubtype** | [**SourceSubtype**](../models/source-subtype) | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**SourceSubtype**](../models/source-subtype)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
subtypeId := `43bdd144-4b17-4fce-a744-17c7fd3e717b` // string | The ID of the machine account subtype. # string | The ID of the machine account subtype.
|
||||
technicalName := `foo` // string | The technical name of the subtype. # string | The technical name of the subtype.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
sourcesubtype := []byte(`{
|
||||
"sourceId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
|
||||
"displayName" : "Mr Foo",
|
||||
"created" : "2025-07-28T16:13:42.8013Z",
|
||||
"description" : "fighters",
|
||||
"modified" : "2025-07-28T16:13:42.75085Z",
|
||||
"id" : "43bdd144-4b17-4fce-a744-17c7fd3e717b",
|
||||
"technicalName" : "foo"
|
||||
}`) // SourceSubtype |
|
||||
|
||||
var sourceSubtype v2025.SourceSubtype
|
||||
if err := json.Unmarshal(sourcesubtype, &sourceSubtype); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.PatchMachineAccountSubtype(context.Background(), subtypeId, technicalName).XSailPointExperimental(xSailPointExperimental).SourceSubtype(sourceSubtype).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.PatchMachineAccountSubtype(context.Background(), subtypeId, technicalName).XSailPointExperimental(xSailPointExperimental).SourceSubtype(sourceSubtype).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.PatchMachineAccountSubtype``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `PatchMachineAccountSubtype`: SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.PatchMachineAccountSubtype`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## update-machine-account
|
||||
:::warning experimental
|
||||
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to `true` to use this endpoint.
|
||||
|
||||
@@ -15,23 +15,35 @@ tags: ['SDK', 'Software Development Kit', 'Approval', 'V2025Approval']
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**ApprovalId** | Pointer to **string** | The Approval ID | [optional]
|
||||
**Id** | Pointer to **string** | The Approval ID | [optional]
|
||||
**TenantId** | Pointer to **string** | The Tenant ID of the Approval | [optional]
|
||||
**Type** | Pointer to **string** | The type of the approval, such as ENTITLEMENT_DESCRIPTIONS, CUSTOM_ACCESS_REQUEST_APPROVAL, GENERIC_APPROVAL | [optional]
|
||||
**Approvers** | Pointer to [**[]ApprovalIdentity**](approval-identity) | Object representation of an approver of an approval | [optional]
|
||||
**CreatedDate** | Pointer to **string** | Date the approval was created | [optional]
|
||||
**Type** | Pointer to **string** | Type of approval | [optional]
|
||||
**DueDate** | Pointer to **string** | Date the approval is due | [optional]
|
||||
**EscalationStep** | Pointer to **string** | Step in the escalation process. If set to 0, the approval is not escalated. If set to 1, the approval is escalated to the first approver in the escalation chain. | [optional]
|
||||
**SerialStep** | Pointer to **int64** | The serial step of the approval in the approval chain. For example, serialStep 1 is the first approval to action in an approval request chain. Parallel approvals are set to 0. | [optional]
|
||||
**IsEscalated** | Pointer to **bool** | Whether or not the approval has been escalated. Will reset to false when the approval is actioned on. | [optional] [default to false]
|
||||
**Name** | Pointer to [**[]ApprovalName**](approval-name) | The name of the approval for a given locale | [optional]
|
||||
**BatchRequest** | Pointer to [**ApprovalBatch**](approval-batch) | The name of the approval for a given locale | [optional]
|
||||
**ApprovalConfig** | Pointer to [**ApprovalConfig**](approval-config) | The configuration of the approval, such as the approval criteria and whether it is a parallel or serial approval | [optional]
|
||||
**Description** | Pointer to [**[]ApprovalDescription**](approval-description) | The description of the approval for a given locale | [optional]
|
||||
**Medium** | Pointer to **string** | Signifies what medium to use when sending notifications (currently only email is utilized) | [optional]
|
||||
**Priority** | Pointer to **string** | The priority of the approval | [optional]
|
||||
**Requester** | Pointer to [**ApprovalIdentity**](approval-identity) | Object representation of the requester of the approval | [optional]
|
||||
**Requestee** | Pointer to [**ApprovalIdentity**](approval-identity) | Object representation of the requestee of the approval | [optional]
|
||||
**Comments** | Pointer to [**[]ApprovalComment1**](approval-comment1) | Object representation of a comment on the approval | [optional]
|
||||
**ApprovedBy** | Pointer to [**[]ApprovalIdentity**](approval-identity) | Array of approvers who have approved the approval | [optional]
|
||||
**RejectedBy** | Pointer to [**[]ApprovalIdentity**](approval-identity) | Array of approvers who have rejected the approval | [optional]
|
||||
**ApprovedBy** | Pointer to [**[]ApprovalIdentityRecord**](approval-identity-record) | Array of approvers who have approved the approval | [optional]
|
||||
**RejectedBy** | Pointer to [**[]ApprovalIdentityRecord**](approval-identity-record) | Array of approvers who have rejected the approval | [optional]
|
||||
**AssignedTo** | Pointer to [**[]ApprovalIdentity**](approval-identity) | Array of identities that the approval request is currently assigned to/waiting on. For parallel approvals, this is set to all approvers left to approve. | [optional]
|
||||
**CompletedDate** | Pointer to **string** | Date the approval was completed | [optional]
|
||||
**ApprovalCriteria** | Pointer to **string** | Criteria that needs to be met for an approval to be marked as approved | [optional]
|
||||
**Status** | Pointer to **string** | The current status of the approval | [optional]
|
||||
**ApprovalCriteria** | Pointer to [**ApprovalApprovalCriteria**](approval-approval-criteria) | | [optional]
|
||||
**AdditionalAttributes** | Pointer to **string** | Json string representing additional attributes known about the object to be approved. | [optional]
|
||||
**ReferenceData** | Pointer to [**[]ApprovalReference**](approval-reference) | Reference data related to the approval | [optional]
|
||||
**ReassignmentHistory** | Pointer to [**[]ApprovalReassignmentHistory**](approval-reassignment-history) | History of whom the approval request was assigned to | [optional]
|
||||
**StaticAttributes** | Pointer to **map[string]map[string]interface{}** | Field that can include any static additional info that may be needed by the service that the approval request originated from | [optional]
|
||||
**ModifiedDate** | Pointer to **SailPointTime** | Date/time that the approval request was last updated | [optional]
|
||||
**RequestedTarget** | Pointer to [**[]ApprovalRequestedTarget**](approval-requested-target) | RequestedTarget used to specify the actual object or target the approval request is for | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -52,30 +64,80 @@ NewApprovalWithDefaults instantiates a new Approval 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
|
||||
### GetId
|
||||
|
||||
`func (o *Approval) GetApprovalId() string`
|
||||
`func (o *Approval) GetId() string`
|
||||
|
||||
GetApprovalId returns the ApprovalId field if non-nil, zero value otherwise.
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApprovalIdOk
|
||||
### GetIdOk
|
||||
|
||||
`func (o *Approval) GetApprovalIdOk() (*string, bool)`
|
||||
`func (o *Approval) GetIdOk() (*string, bool)`
|
||||
|
||||
GetApprovalIdOk returns a tuple with the ApprovalId field if it's non-nil, zero value otherwise
|
||||
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.
|
||||
|
||||
### SetApprovalId
|
||||
### SetId
|
||||
|
||||
`func (o *Approval) SetApprovalId(v string)`
|
||||
`func (o *Approval) SetId(v string)`
|
||||
|
||||
SetApprovalId sets ApprovalId field to given value.
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasApprovalId
|
||||
### HasId
|
||||
|
||||
`func (o *Approval) HasApprovalId() bool`
|
||||
`func (o *Approval) HasId() bool`
|
||||
|
||||
HasApprovalId returns a boolean if a field has been set.
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetTenantId
|
||||
|
||||
`func (o *Approval) GetTenantId() string`
|
||||
|
||||
GetTenantId returns the TenantId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTenantIdOk
|
||||
|
||||
`func (o *Approval) GetTenantIdOk() (*string, bool)`
|
||||
|
||||
GetTenantIdOk returns a tuple with the TenantId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTenantId
|
||||
|
||||
`func (o *Approval) SetTenantId(v string)`
|
||||
|
||||
SetTenantId sets TenantId field to given value.
|
||||
|
||||
### HasTenantId
|
||||
|
||||
`func (o *Approval) HasTenantId() bool`
|
||||
|
||||
HasTenantId returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *Approval) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *Approval) 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 *Approval) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *Approval) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetApprovers
|
||||
|
||||
@@ -127,30 +189,105 @@ SetCreatedDate sets CreatedDate field to given value.
|
||||
|
||||
HasCreatedDate returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
### GetDueDate
|
||||
|
||||
`func (o *Approval) GetType() string`
|
||||
`func (o *Approval) GetDueDate() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
GetDueDate returns the DueDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
### GetDueDateOk
|
||||
|
||||
`func (o *Approval) GetTypeOk() (*string, bool)`
|
||||
`func (o *Approval) GetDueDateOk() (*string, bool)`
|
||||
|
||||
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
|
||||
GetDueDateOk returns a tuple with the DueDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetType
|
||||
### SetDueDate
|
||||
|
||||
`func (o *Approval) SetType(v string)`
|
||||
`func (o *Approval) SetDueDate(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
SetDueDate sets DueDate field to given value.
|
||||
|
||||
### HasType
|
||||
### HasDueDate
|
||||
|
||||
`func (o *Approval) HasType() bool`
|
||||
`func (o *Approval) HasDueDate() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
HasDueDate returns a boolean if a field has been set.
|
||||
|
||||
### GetEscalationStep
|
||||
|
||||
`func (o *Approval) GetEscalationStep() string`
|
||||
|
||||
GetEscalationStep returns the EscalationStep field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEscalationStepOk
|
||||
|
||||
`func (o *Approval) GetEscalationStepOk() (*string, bool)`
|
||||
|
||||
GetEscalationStepOk returns a tuple with the EscalationStep field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEscalationStep
|
||||
|
||||
`func (o *Approval) SetEscalationStep(v string)`
|
||||
|
||||
SetEscalationStep sets EscalationStep field to given value.
|
||||
|
||||
### HasEscalationStep
|
||||
|
||||
`func (o *Approval) HasEscalationStep() bool`
|
||||
|
||||
HasEscalationStep returns a boolean if a field has been set.
|
||||
|
||||
### GetSerialStep
|
||||
|
||||
`func (o *Approval) GetSerialStep() int64`
|
||||
|
||||
GetSerialStep returns the SerialStep field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSerialStepOk
|
||||
|
||||
`func (o *Approval) GetSerialStepOk() (*int64, bool)`
|
||||
|
||||
GetSerialStepOk returns a tuple with the SerialStep field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSerialStep
|
||||
|
||||
`func (o *Approval) SetSerialStep(v int64)`
|
||||
|
||||
SetSerialStep sets SerialStep field to given value.
|
||||
|
||||
### HasSerialStep
|
||||
|
||||
`func (o *Approval) HasSerialStep() bool`
|
||||
|
||||
HasSerialStep returns a boolean if a field has been set.
|
||||
|
||||
### GetIsEscalated
|
||||
|
||||
`func (o *Approval) GetIsEscalated() bool`
|
||||
|
||||
GetIsEscalated returns the IsEscalated field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIsEscalatedOk
|
||||
|
||||
`func (o *Approval) GetIsEscalatedOk() (*bool, bool)`
|
||||
|
||||
GetIsEscalatedOk returns a tuple with the IsEscalated field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIsEscalated
|
||||
|
||||
`func (o *Approval) SetIsEscalated(v bool)`
|
||||
|
||||
SetIsEscalated sets IsEscalated field to given value.
|
||||
|
||||
### HasIsEscalated
|
||||
|
||||
`func (o *Approval) HasIsEscalated() bool`
|
||||
|
||||
HasIsEscalated returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
@@ -202,6 +339,31 @@ SetBatchRequest sets BatchRequest field to given value.
|
||||
|
||||
HasBatchRequest returns a boolean if a field has been set.
|
||||
|
||||
### GetApprovalConfig
|
||||
|
||||
`func (o *Approval) GetApprovalConfig() ApprovalConfig`
|
||||
|
||||
GetApprovalConfig returns the ApprovalConfig field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApprovalConfigOk
|
||||
|
||||
`func (o *Approval) GetApprovalConfigOk() (*ApprovalConfig, bool)`
|
||||
|
||||
GetApprovalConfigOk returns a tuple with the ApprovalConfig field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetApprovalConfig
|
||||
|
||||
`func (o *Approval) SetApprovalConfig(v ApprovalConfig)`
|
||||
|
||||
SetApprovalConfig sets ApprovalConfig field to given value.
|
||||
|
||||
### HasApprovalConfig
|
||||
|
||||
`func (o *Approval) HasApprovalConfig() bool`
|
||||
|
||||
HasApprovalConfig returns a boolean if a field has been set.
|
||||
|
||||
### GetDescription
|
||||
|
||||
`func (o *Approval) GetDescription() []ApprovalDescription`
|
||||
@@ -227,6 +389,31 @@ SetDescription sets Description field to given value.
|
||||
|
||||
HasDescription returns a boolean if a field has been set.
|
||||
|
||||
### GetMedium
|
||||
|
||||
`func (o *Approval) GetMedium() string`
|
||||
|
||||
GetMedium returns the Medium field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMediumOk
|
||||
|
||||
`func (o *Approval) GetMediumOk() (*string, bool)`
|
||||
|
||||
GetMediumOk returns a tuple with the Medium field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMedium
|
||||
|
||||
`func (o *Approval) SetMedium(v string)`
|
||||
|
||||
SetMedium sets Medium field to given value.
|
||||
|
||||
### HasMedium
|
||||
|
||||
`func (o *Approval) HasMedium() bool`
|
||||
|
||||
HasMedium returns a boolean if a field has been set.
|
||||
|
||||
### GetPriority
|
||||
|
||||
`func (o *Approval) GetPriority() string`
|
||||
@@ -277,6 +464,31 @@ SetRequester sets Requester field to given value.
|
||||
|
||||
HasRequester returns a boolean if a field has been set.
|
||||
|
||||
### GetRequestee
|
||||
|
||||
`func (o *Approval) GetRequestee() ApprovalIdentity`
|
||||
|
||||
GetRequestee returns the Requestee field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRequesteeOk
|
||||
|
||||
`func (o *Approval) GetRequesteeOk() (*ApprovalIdentity, bool)`
|
||||
|
||||
GetRequesteeOk returns a tuple with the Requestee field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRequestee
|
||||
|
||||
`func (o *Approval) SetRequestee(v ApprovalIdentity)`
|
||||
|
||||
SetRequestee sets Requestee field to given value.
|
||||
|
||||
### HasRequestee
|
||||
|
||||
`func (o *Approval) HasRequestee() bool`
|
||||
|
||||
HasRequestee returns a boolean if a field has been set.
|
||||
|
||||
### GetComments
|
||||
|
||||
`func (o *Approval) GetComments() []ApprovalComment1`
|
||||
@@ -304,20 +516,20 @@ HasComments returns a boolean if a field has been set.
|
||||
|
||||
### GetApprovedBy
|
||||
|
||||
`func (o *Approval) GetApprovedBy() []ApprovalIdentity`
|
||||
`func (o *Approval) GetApprovedBy() []ApprovalIdentityRecord`
|
||||
|
||||
GetApprovedBy returns the ApprovedBy field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApprovedByOk
|
||||
|
||||
`func (o *Approval) GetApprovedByOk() (*[]ApprovalIdentity, bool)`
|
||||
`func (o *Approval) GetApprovedByOk() (*[]ApprovalIdentityRecord, bool)`
|
||||
|
||||
GetApprovedByOk returns a tuple with the ApprovedBy field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetApprovedBy
|
||||
|
||||
`func (o *Approval) SetApprovedBy(v []ApprovalIdentity)`
|
||||
`func (o *Approval) SetApprovedBy(v []ApprovalIdentityRecord)`
|
||||
|
||||
SetApprovedBy sets ApprovedBy field to given value.
|
||||
|
||||
@@ -329,20 +541,20 @@ HasApprovedBy returns a boolean if a field has been set.
|
||||
|
||||
### GetRejectedBy
|
||||
|
||||
`func (o *Approval) GetRejectedBy() []ApprovalIdentity`
|
||||
`func (o *Approval) GetRejectedBy() []ApprovalIdentityRecord`
|
||||
|
||||
GetRejectedBy returns the RejectedBy field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRejectedByOk
|
||||
|
||||
`func (o *Approval) GetRejectedByOk() (*[]ApprovalIdentity, bool)`
|
||||
`func (o *Approval) GetRejectedByOk() (*[]ApprovalIdentityRecord, bool)`
|
||||
|
||||
GetRejectedByOk returns a tuple with the RejectedBy field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRejectedBy
|
||||
|
||||
`func (o *Approval) SetRejectedBy(v []ApprovalIdentity)`
|
||||
`func (o *Approval) SetRejectedBy(v []ApprovalIdentityRecord)`
|
||||
|
||||
SetRejectedBy sets RejectedBy field to given value.
|
||||
|
||||
@@ -352,6 +564,31 @@ SetRejectedBy sets RejectedBy field to given value.
|
||||
|
||||
HasRejectedBy returns a boolean if a field has been set.
|
||||
|
||||
### GetAssignedTo
|
||||
|
||||
`func (o *Approval) GetAssignedTo() []ApprovalIdentity`
|
||||
|
||||
GetAssignedTo returns the AssignedTo field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAssignedToOk
|
||||
|
||||
`func (o *Approval) GetAssignedToOk() (*[]ApprovalIdentity, bool)`
|
||||
|
||||
GetAssignedToOk returns a tuple with the AssignedTo field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAssignedTo
|
||||
|
||||
`func (o *Approval) SetAssignedTo(v []ApprovalIdentity)`
|
||||
|
||||
SetAssignedTo sets AssignedTo field to given value.
|
||||
|
||||
### HasAssignedTo
|
||||
|
||||
`func (o *Approval) HasAssignedTo() bool`
|
||||
|
||||
HasAssignedTo returns a boolean if a field has been set.
|
||||
|
||||
### GetCompletedDate
|
||||
|
||||
`func (o *Approval) GetCompletedDate() string`
|
||||
@@ -379,20 +616,20 @@ HasCompletedDate returns a boolean if a field has been set.
|
||||
|
||||
### GetApprovalCriteria
|
||||
|
||||
`func (o *Approval) GetApprovalCriteria() string`
|
||||
`func (o *Approval) GetApprovalCriteria() ApprovalApprovalCriteria`
|
||||
|
||||
GetApprovalCriteria returns the ApprovalCriteria field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApprovalCriteriaOk
|
||||
|
||||
`func (o *Approval) GetApprovalCriteriaOk() (*string, bool)`
|
||||
`func (o *Approval) GetApprovalCriteriaOk() (*ApprovalApprovalCriteria, bool)`
|
||||
|
||||
GetApprovalCriteriaOk returns a tuple with the ApprovalCriteria field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetApprovalCriteria
|
||||
|
||||
`func (o *Approval) SetApprovalCriteria(v string)`
|
||||
`func (o *Approval) SetApprovalCriteria(v ApprovalApprovalCriteria)`
|
||||
|
||||
SetApprovalCriteria sets ApprovalCriteria field to given value.
|
||||
|
||||
@@ -402,31 +639,6 @@ SetApprovalCriteria sets ApprovalCriteria field to given value.
|
||||
|
||||
HasApprovalCriteria returns a boolean if a field has been set.
|
||||
|
||||
### GetStatus
|
||||
|
||||
`func (o *Approval) GetStatus() string`
|
||||
|
||||
GetStatus returns the Status field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStatusOk
|
||||
|
||||
`func (o *Approval) GetStatusOk() (*string, 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 *Approval) SetStatus(v string)`
|
||||
|
||||
SetStatus sets Status field to given value.
|
||||
|
||||
### HasStatus
|
||||
|
||||
`func (o *Approval) HasStatus() bool`
|
||||
|
||||
HasStatus returns a boolean if a field has been set.
|
||||
|
||||
### GetAdditionalAttributes
|
||||
|
||||
`func (o *Approval) GetAdditionalAttributes() string`
|
||||
@@ -477,4 +689,104 @@ SetReferenceData sets ReferenceData field to given value.
|
||||
|
||||
HasReferenceData returns a boolean if a field has been set.
|
||||
|
||||
### GetReassignmentHistory
|
||||
|
||||
`func (o *Approval) GetReassignmentHistory() []ApprovalReassignmentHistory`
|
||||
|
||||
GetReassignmentHistory returns the ReassignmentHistory field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReassignmentHistoryOk
|
||||
|
||||
`func (o *Approval) GetReassignmentHistoryOk() (*[]ApprovalReassignmentHistory, bool)`
|
||||
|
||||
GetReassignmentHistoryOk returns a tuple with the ReassignmentHistory field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReassignmentHistory
|
||||
|
||||
`func (o *Approval) SetReassignmentHistory(v []ApprovalReassignmentHistory)`
|
||||
|
||||
SetReassignmentHistory sets ReassignmentHistory field to given value.
|
||||
|
||||
### HasReassignmentHistory
|
||||
|
||||
`func (o *Approval) HasReassignmentHistory() bool`
|
||||
|
||||
HasReassignmentHistory returns a boolean if a field has been set.
|
||||
|
||||
### GetStaticAttributes
|
||||
|
||||
`func (o *Approval) GetStaticAttributes() map[string]map[string]interface{}`
|
||||
|
||||
GetStaticAttributes returns the StaticAttributes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetStaticAttributesOk
|
||||
|
||||
`func (o *Approval) GetStaticAttributesOk() (*map[string]map[string]interface{}, bool)`
|
||||
|
||||
GetStaticAttributesOk returns a tuple with the StaticAttributes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetStaticAttributes
|
||||
|
||||
`func (o *Approval) SetStaticAttributes(v map[string]map[string]interface{})`
|
||||
|
||||
SetStaticAttributes sets StaticAttributes field to given value.
|
||||
|
||||
### HasStaticAttributes
|
||||
|
||||
`func (o *Approval) HasStaticAttributes() bool`
|
||||
|
||||
HasStaticAttributes returns a boolean if a field has been set.
|
||||
|
||||
### GetModifiedDate
|
||||
|
||||
`func (o *Approval) GetModifiedDate() SailPointTime`
|
||||
|
||||
GetModifiedDate returns the ModifiedDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetModifiedDateOk
|
||||
|
||||
`func (o *Approval) GetModifiedDateOk() (*SailPointTime, bool)`
|
||||
|
||||
GetModifiedDateOk returns a tuple with the ModifiedDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetModifiedDate
|
||||
|
||||
`func (o *Approval) SetModifiedDate(v SailPointTime)`
|
||||
|
||||
SetModifiedDate sets ModifiedDate field to given value.
|
||||
|
||||
### HasModifiedDate
|
||||
|
||||
`func (o *Approval) HasModifiedDate() bool`
|
||||
|
||||
HasModifiedDate returns a boolean if a field has been set.
|
||||
|
||||
### GetRequestedTarget
|
||||
|
||||
`func (o *Approval) GetRequestedTarget() []ApprovalRequestedTarget`
|
||||
|
||||
GetRequestedTarget returns the RequestedTarget field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRequestedTargetOk
|
||||
|
||||
`func (o *Approval) GetRequestedTargetOk() (*[]ApprovalRequestedTarget, bool)`
|
||||
|
||||
GetRequestedTargetOk returns a tuple with the RequestedTarget field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRequestedTarget
|
||||
|
||||
`func (o *Approval) SetRequestedTarget(v []ApprovalRequestedTarget)`
|
||||
|
||||
SetRequestedTarget sets RequestedTarget field to given value.
|
||||
|
||||
### HasRequestedTarget
|
||||
|
||||
`func (o *Approval) HasRequestedTarget() bool`
|
||||
|
||||
HasRequestedTarget returns a boolean if a field has been set.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
---
|
||||
id: v2025-approval-approval-criteria
|
||||
title: ApprovalApprovalCriteria
|
||||
pagination_label: ApprovalApprovalCriteria
|
||||
sidebar_label: ApprovalApprovalCriteria
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalApprovalCriteria', 'V2025ApprovalApprovalCriteria']
|
||||
slug: /tools/sdk/go/v2025/models/approval-approval-criteria
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalApprovalCriteria', 'V2025ApprovalApprovalCriteria']
|
||||
---
|
||||
|
||||
# ApprovalApprovalCriteria
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | Pointer to **string** | Type of approval criteria, such as SERIAL or PARALLEL | [optional]
|
||||
**Approval** | Pointer to [**ApprovalApprovalCriteriaApproval**](approval-approval-criteria-approval) | | [optional]
|
||||
**Rejection** | Pointer to [**ApprovalApprovalCriteriaRejection**](approval-approval-criteria-rejection) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalApprovalCriteria
|
||||
|
||||
`func NewApprovalApprovalCriteria() *ApprovalApprovalCriteria`
|
||||
|
||||
NewApprovalApprovalCriteria instantiates a new ApprovalApprovalCriteria 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
|
||||
|
||||
### NewApprovalApprovalCriteriaWithDefaults
|
||||
|
||||
`func NewApprovalApprovalCriteriaWithDefaults() *ApprovalApprovalCriteria`
|
||||
|
||||
NewApprovalApprovalCriteriaWithDefaults instantiates a new ApprovalApprovalCriteria 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
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) 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 *ApprovalApprovalCriteria) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetApproval
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) GetApproval() ApprovalApprovalCriteriaApproval`
|
||||
|
||||
GetApproval returns the Approval field if non-nil, zero value otherwise.
|
||||
|
||||
### GetApprovalOk
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) GetApprovalOk() (*ApprovalApprovalCriteriaApproval, bool)`
|
||||
|
||||
GetApprovalOk returns a tuple with the Approval field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetApproval
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) SetApproval(v ApprovalApprovalCriteriaApproval)`
|
||||
|
||||
SetApproval sets Approval field to given value.
|
||||
|
||||
### HasApproval
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) HasApproval() bool`
|
||||
|
||||
HasApproval returns a boolean if a field has been set.
|
||||
|
||||
### GetRejection
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) GetRejection() ApprovalApprovalCriteriaRejection`
|
||||
|
||||
GetRejection returns the Rejection field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRejectionOk
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) GetRejectionOk() (*ApprovalApprovalCriteriaRejection, bool)`
|
||||
|
||||
GetRejectionOk returns a tuple with the Rejection field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRejection
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) SetRejection(v ApprovalApprovalCriteriaRejection)`
|
||||
|
||||
SetRejection sets Rejection field to given value.
|
||||
|
||||
### HasRejection
|
||||
|
||||
`func (o *ApprovalApprovalCriteria) HasRejection() bool`
|
||||
|
||||
HasRejection returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2025-approval-approval-criteria-approval
|
||||
title: ApprovalApprovalCriteriaApproval
|
||||
pagination_label: ApprovalApprovalCriteriaApproval
|
||||
sidebar_label: ApprovalApprovalCriteriaApproval
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalApprovalCriteriaApproval', 'V2025ApprovalApprovalCriteriaApproval']
|
||||
slug: /tools/sdk/go/v2025/models/approval-approval-criteria-approval
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalApprovalCriteriaApproval', 'V2025ApprovalApprovalCriteriaApproval']
|
||||
---
|
||||
|
||||
# ApprovalApprovalCriteriaApproval
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CalculationType** | Pointer to **string** | This defines what the field \"value\" will be used as, either a count or percentage of the total approvers that need to approve | [optional]
|
||||
**Value** | Pointer to **int64** | The value that needs to be met for the approval criteria | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalApprovalCriteriaApproval
|
||||
|
||||
`func NewApprovalApprovalCriteriaApproval() *ApprovalApprovalCriteriaApproval`
|
||||
|
||||
NewApprovalApprovalCriteriaApproval instantiates a new ApprovalApprovalCriteriaApproval 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
|
||||
|
||||
### NewApprovalApprovalCriteriaApprovalWithDefaults
|
||||
|
||||
`func NewApprovalApprovalCriteriaApprovalWithDefaults() *ApprovalApprovalCriteriaApproval`
|
||||
|
||||
NewApprovalApprovalCriteriaApprovalWithDefaults instantiates a new ApprovalApprovalCriteriaApproval 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
|
||||
|
||||
### GetCalculationType
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaApproval) GetCalculationType() string`
|
||||
|
||||
GetCalculationType returns the CalculationType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCalculationTypeOk
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaApproval) GetCalculationTypeOk() (*string, bool)`
|
||||
|
||||
GetCalculationTypeOk returns a tuple with the CalculationType field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCalculationType
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaApproval) SetCalculationType(v string)`
|
||||
|
||||
SetCalculationType sets CalculationType field to given value.
|
||||
|
||||
### HasCalculationType
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaApproval) HasCalculationType() bool`
|
||||
|
||||
HasCalculationType returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaApproval) GetValue() int64`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaApproval) GetValueOk() (*int64, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaApproval) SetValue(v int64)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaApproval) HasValue() bool`
|
||||
|
||||
HasValue returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2025-approval-approval-criteria-rejection
|
||||
title: ApprovalApprovalCriteriaRejection
|
||||
pagination_label: ApprovalApprovalCriteriaRejection
|
||||
sidebar_label: ApprovalApprovalCriteriaRejection
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalApprovalCriteriaRejection', 'V2025ApprovalApprovalCriteriaRejection']
|
||||
slug: /tools/sdk/go/v2025/models/approval-approval-criteria-rejection
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalApprovalCriteriaRejection', 'V2025ApprovalApprovalCriteriaRejection']
|
||||
---
|
||||
|
||||
# ApprovalApprovalCriteriaRejection
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CalculationType** | Pointer to **string** | This defines what the field \"value\" will be used as, either a count or percentage of the total approvers that need to reject | [optional]
|
||||
**Value** | Pointer to **int64** | The value that needs to be met for the rejection criteria | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalApprovalCriteriaRejection
|
||||
|
||||
`func NewApprovalApprovalCriteriaRejection() *ApprovalApprovalCriteriaRejection`
|
||||
|
||||
NewApprovalApprovalCriteriaRejection instantiates a new ApprovalApprovalCriteriaRejection 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
|
||||
|
||||
### NewApprovalApprovalCriteriaRejectionWithDefaults
|
||||
|
||||
`func NewApprovalApprovalCriteriaRejectionWithDefaults() *ApprovalApprovalCriteriaRejection`
|
||||
|
||||
NewApprovalApprovalCriteriaRejectionWithDefaults instantiates a new ApprovalApprovalCriteriaRejection 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
|
||||
|
||||
### GetCalculationType
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaRejection) GetCalculationType() string`
|
||||
|
||||
GetCalculationType returns the CalculationType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCalculationTypeOk
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaRejection) GetCalculationTypeOk() (*string, bool)`
|
||||
|
||||
GetCalculationTypeOk returns a tuple with the CalculationType field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCalculationType
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaRejection) SetCalculationType(v string)`
|
||||
|
||||
SetCalculationType sets CalculationType field to given value.
|
||||
|
||||
### HasCalculationType
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaRejection) HasCalculationType() bool`
|
||||
|
||||
HasCalculationType returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaRejection) GetValue() int64`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaRejection) GetValueOk() (*int64, bool)`
|
||||
|
||||
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetValue
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaRejection) SetValue(v int64)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *ApprovalApprovalCriteriaRejection) HasValue() bool`
|
||||
|
||||
HasValue returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2025-approval-approve-request
|
||||
title: ApprovalApproveRequest
|
||||
pagination_label: ApprovalApproveRequest
|
||||
sidebar_label: ApprovalApproveRequest
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalApproveRequest', 'V2025ApprovalApproveRequest']
|
||||
slug: /tools/sdk/go/v2025/models/approval-approve-request
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalApproveRequest', 'V2025ApprovalApproveRequest']
|
||||
---
|
||||
|
||||
# ApprovalApproveRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**AdditionalAttributes** | Pointer to **map[string]string** | Additional attributes as key-value pairs that are not part of the standard schema but can be included for custom data. | [optional]
|
||||
**Comment** | Pointer to **string** | Comment associated with the request. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalApproveRequest
|
||||
|
||||
`func NewApprovalApproveRequest() *ApprovalApproveRequest`
|
||||
|
||||
NewApprovalApproveRequest instantiates a new ApprovalApproveRequest 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
|
||||
|
||||
### NewApprovalApproveRequestWithDefaults
|
||||
|
||||
`func NewApprovalApproveRequestWithDefaults() *ApprovalApproveRequest`
|
||||
|
||||
NewApprovalApproveRequestWithDefaults instantiates a new ApprovalApproveRequest 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
|
||||
|
||||
### GetAdditionalAttributes
|
||||
|
||||
`func (o *ApprovalApproveRequest) GetAdditionalAttributes() map[string]string`
|
||||
|
||||
GetAdditionalAttributes returns the AdditionalAttributes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAdditionalAttributesOk
|
||||
|
||||
`func (o *ApprovalApproveRequest) GetAdditionalAttributesOk() (*map[string]string, bool)`
|
||||
|
||||
GetAdditionalAttributesOk returns a tuple with the AdditionalAttributes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAdditionalAttributes
|
||||
|
||||
`func (o *ApprovalApproveRequest) SetAdditionalAttributes(v map[string]string)`
|
||||
|
||||
SetAdditionalAttributes sets AdditionalAttributes field to given value.
|
||||
|
||||
### HasAdditionalAttributes
|
||||
|
||||
`func (o *ApprovalApproveRequest) HasAdditionalAttributes() bool`
|
||||
|
||||
HasAdditionalAttributes returns a boolean if a field has been set.
|
||||
|
||||
### GetComment
|
||||
|
||||
`func (o *ApprovalApproveRequest) GetComment() string`
|
||||
|
||||
GetComment returns the Comment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentOk
|
||||
|
||||
`func (o *ApprovalApproveRequest) 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 *ApprovalApproveRequest) SetComment(v string)`
|
||||
|
||||
SetComment sets Comment field to given value.
|
||||
|
||||
### HasComment
|
||||
|
||||
`func (o *ApprovalApproveRequest) HasComment() bool`
|
||||
|
||||
HasComment returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
---
|
||||
id: v2025-approval-attributes-request
|
||||
title: ApprovalAttributesRequest
|
||||
pagination_label: ApprovalAttributesRequest
|
||||
sidebar_label: ApprovalAttributesRequest
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalAttributesRequest', 'V2025ApprovalAttributesRequest']
|
||||
slug: /tools/sdk/go/v2025/models/approval-attributes-request
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalAttributesRequest', 'V2025ApprovalAttributesRequest']
|
||||
---
|
||||
|
||||
# ApprovalAttributesRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**AdditionalAttributes** | Pointer to **map[string]string** | Additional attributes as key-value pairs that are not part of the standard schema but can be included for custom data. | [optional]
|
||||
**Comment** | Pointer to **string** | Comment associated with the request. | [optional]
|
||||
**RemoveAttributeKeys** | Pointer to **[]string** | List of attribute keys to be removed. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalAttributesRequest
|
||||
|
||||
`func NewApprovalAttributesRequest() *ApprovalAttributesRequest`
|
||||
|
||||
NewApprovalAttributesRequest instantiates a new ApprovalAttributesRequest 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
|
||||
|
||||
### NewApprovalAttributesRequestWithDefaults
|
||||
|
||||
`func NewApprovalAttributesRequestWithDefaults() *ApprovalAttributesRequest`
|
||||
|
||||
NewApprovalAttributesRequestWithDefaults instantiates a new ApprovalAttributesRequest 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
|
||||
|
||||
### GetAdditionalAttributes
|
||||
|
||||
`func (o *ApprovalAttributesRequest) GetAdditionalAttributes() map[string]string`
|
||||
|
||||
GetAdditionalAttributes returns the AdditionalAttributes field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAdditionalAttributesOk
|
||||
|
||||
`func (o *ApprovalAttributesRequest) GetAdditionalAttributesOk() (*map[string]string, bool)`
|
||||
|
||||
GetAdditionalAttributesOk returns a tuple with the AdditionalAttributes field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAdditionalAttributes
|
||||
|
||||
`func (o *ApprovalAttributesRequest) SetAdditionalAttributes(v map[string]string)`
|
||||
|
||||
SetAdditionalAttributes sets AdditionalAttributes field to given value.
|
||||
|
||||
### HasAdditionalAttributes
|
||||
|
||||
`func (o *ApprovalAttributesRequest) HasAdditionalAttributes() bool`
|
||||
|
||||
HasAdditionalAttributes returns a boolean if a field has been set.
|
||||
|
||||
### GetComment
|
||||
|
||||
`func (o *ApprovalAttributesRequest) GetComment() string`
|
||||
|
||||
GetComment returns the Comment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentOk
|
||||
|
||||
`func (o *ApprovalAttributesRequest) 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 *ApprovalAttributesRequest) SetComment(v string)`
|
||||
|
||||
SetComment sets Comment field to given value.
|
||||
|
||||
### HasComment
|
||||
|
||||
`func (o *ApprovalAttributesRequest) HasComment() bool`
|
||||
|
||||
HasComment returns a boolean if a field has been set.
|
||||
|
||||
### GetRemoveAttributeKeys
|
||||
|
||||
`func (o *ApprovalAttributesRequest) GetRemoveAttributeKeys() []string`
|
||||
|
||||
GetRemoveAttributeKeys returns the RemoveAttributeKeys field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRemoveAttributeKeysOk
|
||||
|
||||
`func (o *ApprovalAttributesRequest) GetRemoveAttributeKeysOk() (*[]string, bool)`
|
||||
|
||||
GetRemoveAttributeKeysOk returns a tuple with the RemoveAttributeKeys field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRemoveAttributeKeys
|
||||
|
||||
`func (o *ApprovalAttributesRequest) SetRemoveAttributeKeys(v []string)`
|
||||
|
||||
SetRemoveAttributeKeys sets RemoveAttributeKeys field to given value.
|
||||
|
||||
### HasRemoveAttributeKeys
|
||||
|
||||
`func (o *ApprovalAttributesRequest) HasRemoveAttributeKeys() bool`
|
||||
|
||||
HasRemoveAttributeKeys returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ Name | Type | Description | Notes
|
||||
**Author** | Pointer to [**ApprovalIdentity**](approval-identity) | | [optional]
|
||||
**Comment** | Pointer to **string** | Comment to be left on an approval | [optional]
|
||||
**CreatedDate** | Pointer to **string** | Date the comment was created | [optional]
|
||||
**CommentId** | Pointer to **string** | ID of the comment | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -113,4 +114,29 @@ SetCreatedDate sets CreatedDate field to given value.
|
||||
|
||||
HasCreatedDate returns a boolean if a field has been set.
|
||||
|
||||
### GetCommentId
|
||||
|
||||
`func (o *ApprovalComment1) GetCommentId() string`
|
||||
|
||||
GetCommentId returns the CommentId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentIdOk
|
||||
|
||||
`func (o *ApprovalComment1) GetCommentIdOk() (*string, bool)`
|
||||
|
||||
GetCommentIdOk returns a tuple with the CommentId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCommentId
|
||||
|
||||
`func (o *ApprovalComment1) SetCommentId(v string)`
|
||||
|
||||
SetCommentId sets CommentId field to given value.
|
||||
|
||||
### HasCommentId
|
||||
|
||||
`func (o *ApprovalComment1) HasCommentId() bool`
|
||||
|
||||
HasCommentId returns a boolean if a field has been set.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
---
|
||||
id: v2025-approval-comments-request
|
||||
title: ApprovalCommentsRequest
|
||||
pagination_label: ApprovalCommentsRequest
|
||||
sidebar_label: ApprovalCommentsRequest
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalCommentsRequest', 'V2025ApprovalCommentsRequest']
|
||||
slug: /tools/sdk/go/v2025/models/approval-comments-request
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalCommentsRequest', 'V2025ApprovalCommentsRequest']
|
||||
---
|
||||
|
||||
# ApprovalCommentsRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Comment** | Pointer to **string** | Comment associated with the request. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalCommentsRequest
|
||||
|
||||
`func NewApprovalCommentsRequest() *ApprovalCommentsRequest`
|
||||
|
||||
NewApprovalCommentsRequest instantiates a new ApprovalCommentsRequest 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
|
||||
|
||||
### NewApprovalCommentsRequestWithDefaults
|
||||
|
||||
`func NewApprovalCommentsRequestWithDefaults() *ApprovalCommentsRequest`
|
||||
|
||||
NewApprovalCommentsRequestWithDefaults instantiates a new ApprovalCommentsRequest 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 *ApprovalCommentsRequest) GetComment() string`
|
||||
|
||||
GetComment returns the Comment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentOk
|
||||
|
||||
`func (o *ApprovalCommentsRequest) 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 *ApprovalCommentsRequest) SetComment(v string)`
|
||||
|
||||
SetComment sets Comment field to given value.
|
||||
|
||||
### HasComment
|
||||
|
||||
`func (o *ApprovalCommentsRequest) HasComment() bool`
|
||||
|
||||
HasComment returns a boolean if a field has been set.
|
||||
|
||||
|
||||
324
docs/tools/sdk/go/Reference/V2025/Models/ApprovalConfig.md
Normal file
324
docs/tools/sdk/go/Reference/V2025/Models/ApprovalConfig.md
Normal file
@@ -0,0 +1,324 @@
|
||||
---
|
||||
id: v2025-approval-config
|
||||
title: ApprovalConfig
|
||||
pagination_label: ApprovalConfig
|
||||
sidebar_label: ApprovalConfig
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalConfig', 'V2025ApprovalConfig']
|
||||
slug: /tools/sdk/go/v2025/models/approval-config
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalConfig', 'V2025ApprovalConfig']
|
||||
---
|
||||
|
||||
# ApprovalConfig
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**TenantId** | Pointer to **string** | Tenant ID of the approval configuration. | [optional]
|
||||
**Id** | Pointer to **string** | ID of the approval configuration. | [optional]
|
||||
**Scope** | Pointer to **string** | The type/scope of the configuration. Ie APPROVAL_REQUEST, DOMAIN_OBJECT, APPROVAL_TYPE, TENANT | [optional]
|
||||
**ReminderConfig** | Pointer to [**ApprovalConfigReminderConfig**](approval-config-reminder-config) | | [optional]
|
||||
**EscalationConfig** | Pointer to [**ApprovalConfigEscalationConfig**](approval-config-escalation-config) | | [optional]
|
||||
**TimeoutConfig** | Pointer to [**ApprovalConfigTimeoutConfig**](approval-config-timeout-config) | | [optional]
|
||||
**CronTimezone** | Pointer to [**ApprovalConfigCronTimezone**](approval-config-cron-timezone) | | [optional]
|
||||
**SerialChain** | Pointer to [**[]ApprovalConfigSerialChainInner**](approval-config-serial-chain-inner) | If the approval request has an approvalCriteria of SERIAL this chain will be used to determine the assignment order. | [optional]
|
||||
**RequiresComment** | Pointer to **string** | Determines whether a comment is required when approving or rejecting the approval request. | [optional]
|
||||
**FallbackApprover** | Pointer to [**ApprovalIdentity**](approval-identity) | Configuration for fallback approver. Used if the user cannot be found for whatever reason and escalation config does not exist. | [optional]
|
||||
**AutoApprove** | Pointer to **string** | OFF will prevent the approval request from being assigned to the requester or requestee by assigning it to their manager instead. DIRECT will cause approval requests to be auto-approved when assigned directly and only to the requester. INDIRECT will auto-approve when the requester appears anywhere in the list of approvers, including in a governance group. This field will only be effective if requestedTarget.reauthRequired is set to false, otherwise the approval will have to be manually approved. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalConfig
|
||||
|
||||
`func NewApprovalConfig() *ApprovalConfig`
|
||||
|
||||
NewApprovalConfig instantiates a new ApprovalConfig 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
|
||||
|
||||
### NewApprovalConfigWithDefaults
|
||||
|
||||
`func NewApprovalConfigWithDefaults() *ApprovalConfig`
|
||||
|
||||
NewApprovalConfigWithDefaults instantiates a new ApprovalConfig 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
|
||||
|
||||
### GetTenantId
|
||||
|
||||
`func (o *ApprovalConfig) GetTenantId() string`
|
||||
|
||||
GetTenantId returns the TenantId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTenantIdOk
|
||||
|
||||
`func (o *ApprovalConfig) GetTenantIdOk() (*string, bool)`
|
||||
|
||||
GetTenantIdOk returns a tuple with the TenantId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTenantId
|
||||
|
||||
`func (o *ApprovalConfig) SetTenantId(v string)`
|
||||
|
||||
SetTenantId sets TenantId field to given value.
|
||||
|
||||
### HasTenantId
|
||||
|
||||
`func (o *ApprovalConfig) HasTenantId() bool`
|
||||
|
||||
HasTenantId returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ApprovalConfig) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ApprovalConfig) 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 *ApprovalConfig) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ApprovalConfig) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetScope
|
||||
|
||||
`func (o *ApprovalConfig) GetScope() string`
|
||||
|
||||
GetScope returns the Scope field if non-nil, zero value otherwise.
|
||||
|
||||
### GetScopeOk
|
||||
|
||||
`func (o *ApprovalConfig) GetScopeOk() (*string, bool)`
|
||||
|
||||
GetScopeOk returns a tuple with the Scope field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetScope
|
||||
|
||||
`func (o *ApprovalConfig) SetScope(v string)`
|
||||
|
||||
SetScope sets Scope field to given value.
|
||||
|
||||
### HasScope
|
||||
|
||||
`func (o *ApprovalConfig) HasScope() bool`
|
||||
|
||||
HasScope returns a boolean if a field has been set.
|
||||
|
||||
### GetReminderConfig
|
||||
|
||||
`func (o *ApprovalConfig) GetReminderConfig() ApprovalConfigReminderConfig`
|
||||
|
||||
GetReminderConfig returns the ReminderConfig field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReminderConfigOk
|
||||
|
||||
`func (o *ApprovalConfig) GetReminderConfigOk() (*ApprovalConfigReminderConfig, bool)`
|
||||
|
||||
GetReminderConfigOk returns a tuple with the ReminderConfig field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReminderConfig
|
||||
|
||||
`func (o *ApprovalConfig) SetReminderConfig(v ApprovalConfigReminderConfig)`
|
||||
|
||||
SetReminderConfig sets ReminderConfig field to given value.
|
||||
|
||||
### HasReminderConfig
|
||||
|
||||
`func (o *ApprovalConfig) HasReminderConfig() bool`
|
||||
|
||||
HasReminderConfig returns a boolean if a field has been set.
|
||||
|
||||
### GetEscalationConfig
|
||||
|
||||
`func (o *ApprovalConfig) GetEscalationConfig() ApprovalConfigEscalationConfig`
|
||||
|
||||
GetEscalationConfig returns the EscalationConfig field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEscalationConfigOk
|
||||
|
||||
`func (o *ApprovalConfig) GetEscalationConfigOk() (*ApprovalConfigEscalationConfig, bool)`
|
||||
|
||||
GetEscalationConfigOk returns a tuple with the EscalationConfig field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEscalationConfig
|
||||
|
||||
`func (o *ApprovalConfig) SetEscalationConfig(v ApprovalConfigEscalationConfig)`
|
||||
|
||||
SetEscalationConfig sets EscalationConfig field to given value.
|
||||
|
||||
### HasEscalationConfig
|
||||
|
||||
`func (o *ApprovalConfig) HasEscalationConfig() bool`
|
||||
|
||||
HasEscalationConfig returns a boolean if a field has been set.
|
||||
|
||||
### GetTimeoutConfig
|
||||
|
||||
`func (o *ApprovalConfig) GetTimeoutConfig() ApprovalConfigTimeoutConfig`
|
||||
|
||||
GetTimeoutConfig returns the TimeoutConfig field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTimeoutConfigOk
|
||||
|
||||
`func (o *ApprovalConfig) GetTimeoutConfigOk() (*ApprovalConfigTimeoutConfig, bool)`
|
||||
|
||||
GetTimeoutConfigOk returns a tuple with the TimeoutConfig field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTimeoutConfig
|
||||
|
||||
`func (o *ApprovalConfig) SetTimeoutConfig(v ApprovalConfigTimeoutConfig)`
|
||||
|
||||
SetTimeoutConfig sets TimeoutConfig field to given value.
|
||||
|
||||
### HasTimeoutConfig
|
||||
|
||||
`func (o *ApprovalConfig) HasTimeoutConfig() bool`
|
||||
|
||||
HasTimeoutConfig returns a boolean if a field has been set.
|
||||
|
||||
### GetCronTimezone
|
||||
|
||||
`func (o *ApprovalConfig) GetCronTimezone() ApprovalConfigCronTimezone`
|
||||
|
||||
GetCronTimezone returns the CronTimezone field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCronTimezoneOk
|
||||
|
||||
`func (o *ApprovalConfig) GetCronTimezoneOk() (*ApprovalConfigCronTimezone, bool)`
|
||||
|
||||
GetCronTimezoneOk returns a tuple with the CronTimezone field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCronTimezone
|
||||
|
||||
`func (o *ApprovalConfig) SetCronTimezone(v ApprovalConfigCronTimezone)`
|
||||
|
||||
SetCronTimezone sets CronTimezone field to given value.
|
||||
|
||||
### HasCronTimezone
|
||||
|
||||
`func (o *ApprovalConfig) HasCronTimezone() bool`
|
||||
|
||||
HasCronTimezone returns a boolean if a field has been set.
|
||||
|
||||
### GetSerialChain
|
||||
|
||||
`func (o *ApprovalConfig) GetSerialChain() []ApprovalConfigSerialChainInner`
|
||||
|
||||
GetSerialChain returns the SerialChain field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSerialChainOk
|
||||
|
||||
`func (o *ApprovalConfig) GetSerialChainOk() (*[]ApprovalConfigSerialChainInner, bool)`
|
||||
|
||||
GetSerialChainOk returns a tuple with the SerialChain field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSerialChain
|
||||
|
||||
`func (o *ApprovalConfig) SetSerialChain(v []ApprovalConfigSerialChainInner)`
|
||||
|
||||
SetSerialChain sets SerialChain field to given value.
|
||||
|
||||
### HasSerialChain
|
||||
|
||||
`func (o *ApprovalConfig) HasSerialChain() bool`
|
||||
|
||||
HasSerialChain returns a boolean if a field has been set.
|
||||
|
||||
### GetRequiresComment
|
||||
|
||||
`func (o *ApprovalConfig) GetRequiresComment() string`
|
||||
|
||||
GetRequiresComment returns the RequiresComment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRequiresCommentOk
|
||||
|
||||
`func (o *ApprovalConfig) GetRequiresCommentOk() (*string, bool)`
|
||||
|
||||
GetRequiresCommentOk returns a tuple with the RequiresComment field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRequiresComment
|
||||
|
||||
`func (o *ApprovalConfig) SetRequiresComment(v string)`
|
||||
|
||||
SetRequiresComment sets RequiresComment field to given value.
|
||||
|
||||
### HasRequiresComment
|
||||
|
||||
`func (o *ApprovalConfig) HasRequiresComment() bool`
|
||||
|
||||
HasRequiresComment returns a boolean if a field has been set.
|
||||
|
||||
### GetFallbackApprover
|
||||
|
||||
`func (o *ApprovalConfig) GetFallbackApprover() ApprovalIdentity`
|
||||
|
||||
GetFallbackApprover returns the FallbackApprover field if non-nil, zero value otherwise.
|
||||
|
||||
### GetFallbackApproverOk
|
||||
|
||||
`func (o *ApprovalConfig) GetFallbackApproverOk() (*ApprovalIdentity, bool)`
|
||||
|
||||
GetFallbackApproverOk returns a tuple with the FallbackApprover field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetFallbackApprover
|
||||
|
||||
`func (o *ApprovalConfig) SetFallbackApprover(v ApprovalIdentity)`
|
||||
|
||||
SetFallbackApprover sets FallbackApprover field to given value.
|
||||
|
||||
### HasFallbackApprover
|
||||
|
||||
`func (o *ApprovalConfig) HasFallbackApprover() bool`
|
||||
|
||||
HasFallbackApprover returns a boolean if a field has been set.
|
||||
|
||||
### GetAutoApprove
|
||||
|
||||
`func (o *ApprovalConfig) GetAutoApprove() string`
|
||||
|
||||
GetAutoApprove returns the AutoApprove field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAutoApproveOk
|
||||
|
||||
`func (o *ApprovalConfig) GetAutoApproveOk() (*string, bool)`
|
||||
|
||||
GetAutoApproveOk returns a tuple with the AutoApprove field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAutoApprove
|
||||
|
||||
`func (o *ApprovalConfig) SetAutoApprove(v string)`
|
||||
|
||||
SetAutoApprove sets AutoApprove field to given value.
|
||||
|
||||
### HasAutoApprove
|
||||
|
||||
`func (o *ApprovalConfig) HasAutoApprove() bool`
|
||||
|
||||
HasAutoApprove returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2025-approval-config-cron-timezone
|
||||
title: ApprovalConfigCronTimezone
|
||||
pagination_label: ApprovalConfigCronTimezone
|
||||
sidebar_label: ApprovalConfigCronTimezone
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalConfigCronTimezone', 'V2025ApprovalConfigCronTimezone']
|
||||
slug: /tools/sdk/go/v2025/models/approval-config-cron-timezone
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalConfigCronTimezone', 'V2025ApprovalConfigCronTimezone']
|
||||
---
|
||||
|
||||
# ApprovalConfigCronTimezone
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Location** | Pointer to **string** | Timezone location for cron schedules. | [optional]
|
||||
**Offset** | Pointer to **string** | Timezone offset for cron schedules. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalConfigCronTimezone
|
||||
|
||||
`func NewApprovalConfigCronTimezone() *ApprovalConfigCronTimezone`
|
||||
|
||||
NewApprovalConfigCronTimezone instantiates a new ApprovalConfigCronTimezone 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
|
||||
|
||||
### NewApprovalConfigCronTimezoneWithDefaults
|
||||
|
||||
`func NewApprovalConfigCronTimezoneWithDefaults() *ApprovalConfigCronTimezone`
|
||||
|
||||
NewApprovalConfigCronTimezoneWithDefaults instantiates a new ApprovalConfigCronTimezone 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
|
||||
|
||||
### GetLocation
|
||||
|
||||
`func (o *ApprovalConfigCronTimezone) GetLocation() string`
|
||||
|
||||
GetLocation returns the Location field if non-nil, zero value otherwise.
|
||||
|
||||
### GetLocationOk
|
||||
|
||||
`func (o *ApprovalConfigCronTimezone) GetLocationOk() (*string, bool)`
|
||||
|
||||
GetLocationOk returns a tuple with the Location field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetLocation
|
||||
|
||||
`func (o *ApprovalConfigCronTimezone) SetLocation(v string)`
|
||||
|
||||
SetLocation sets Location field to given value.
|
||||
|
||||
### HasLocation
|
||||
|
||||
`func (o *ApprovalConfigCronTimezone) HasLocation() bool`
|
||||
|
||||
HasLocation returns a boolean if a field has been set.
|
||||
|
||||
### GetOffset
|
||||
|
||||
`func (o *ApprovalConfigCronTimezone) GetOffset() string`
|
||||
|
||||
GetOffset returns the Offset field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOffsetOk
|
||||
|
||||
`func (o *ApprovalConfigCronTimezone) GetOffsetOk() (*string, bool)`
|
||||
|
||||
GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOffset
|
||||
|
||||
`func (o *ApprovalConfigCronTimezone) SetOffset(v string)`
|
||||
|
||||
SetOffset sets Offset field to given value.
|
||||
|
||||
### HasOffset
|
||||
|
||||
`func (o *ApprovalConfigCronTimezone) HasOffset() bool`
|
||||
|
||||
HasOffset returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
---
|
||||
id: v2025-approval-config-escalation-config
|
||||
title: ApprovalConfigEscalationConfig
|
||||
pagination_label: ApprovalConfigEscalationConfig
|
||||
sidebar_label: ApprovalConfigEscalationConfig
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalConfigEscalationConfig', 'V2025ApprovalConfigEscalationConfig']
|
||||
slug: /tools/sdk/go/v2025/models/approval-config-escalation-config
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalConfigEscalationConfig', 'V2025ApprovalConfigEscalationConfig']
|
||||
---
|
||||
|
||||
# ApprovalConfigEscalationConfig
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Enabled** | Pointer to **bool** | Indicates if escalations are enabled. | [optional] [default to false]
|
||||
**DaysUntilFirstEscalation** | Pointer to **int64** | Number of days until the first escalation. | [optional]
|
||||
**EscalationCronSchedule** | Pointer to **string** | Cron schedule for escalations. | [optional]
|
||||
**EscalationChain** | Pointer to [**[]ApprovalConfigEscalationConfigEscalationChainInner**](approval-config-escalation-config-escalation-chain-inner) | Escalation chain configuration. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalConfigEscalationConfig
|
||||
|
||||
`func NewApprovalConfigEscalationConfig() *ApprovalConfigEscalationConfig`
|
||||
|
||||
NewApprovalConfigEscalationConfig instantiates a new ApprovalConfigEscalationConfig 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
|
||||
|
||||
### NewApprovalConfigEscalationConfigWithDefaults
|
||||
|
||||
`func NewApprovalConfigEscalationConfigWithDefaults() *ApprovalConfigEscalationConfig`
|
||||
|
||||
NewApprovalConfigEscalationConfigWithDefaults instantiates a new ApprovalConfigEscalationConfig 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
|
||||
|
||||
### GetEnabled
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) GetEnabled() bool`
|
||||
|
||||
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEnabledOk
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) GetEnabledOk() (*bool, bool)`
|
||||
|
||||
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEnabled
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) SetEnabled(v bool)`
|
||||
|
||||
SetEnabled sets Enabled field to given value.
|
||||
|
||||
### HasEnabled
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) HasEnabled() bool`
|
||||
|
||||
HasEnabled returns a boolean if a field has been set.
|
||||
|
||||
### GetDaysUntilFirstEscalation
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) GetDaysUntilFirstEscalation() int64`
|
||||
|
||||
GetDaysUntilFirstEscalation returns the DaysUntilFirstEscalation field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDaysUntilFirstEscalationOk
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) GetDaysUntilFirstEscalationOk() (*int64, bool)`
|
||||
|
||||
GetDaysUntilFirstEscalationOk returns a tuple with the DaysUntilFirstEscalation field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDaysUntilFirstEscalation
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) SetDaysUntilFirstEscalation(v int64)`
|
||||
|
||||
SetDaysUntilFirstEscalation sets DaysUntilFirstEscalation field to given value.
|
||||
|
||||
### HasDaysUntilFirstEscalation
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) HasDaysUntilFirstEscalation() bool`
|
||||
|
||||
HasDaysUntilFirstEscalation returns a boolean if a field has been set.
|
||||
|
||||
### GetEscalationCronSchedule
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) GetEscalationCronSchedule() string`
|
||||
|
||||
GetEscalationCronSchedule returns the EscalationCronSchedule field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEscalationCronScheduleOk
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) GetEscalationCronScheduleOk() (*string, bool)`
|
||||
|
||||
GetEscalationCronScheduleOk returns a tuple with the EscalationCronSchedule field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEscalationCronSchedule
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) SetEscalationCronSchedule(v string)`
|
||||
|
||||
SetEscalationCronSchedule sets EscalationCronSchedule field to given value.
|
||||
|
||||
### HasEscalationCronSchedule
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) HasEscalationCronSchedule() bool`
|
||||
|
||||
HasEscalationCronSchedule returns a boolean if a field has been set.
|
||||
|
||||
### GetEscalationChain
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) GetEscalationChain() []ApprovalConfigEscalationConfigEscalationChainInner`
|
||||
|
||||
GetEscalationChain returns the EscalationChain field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEscalationChainOk
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) GetEscalationChainOk() (*[]ApprovalConfigEscalationConfigEscalationChainInner, bool)`
|
||||
|
||||
GetEscalationChainOk returns a tuple with the EscalationChain field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEscalationChain
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) SetEscalationChain(v []ApprovalConfigEscalationConfigEscalationChainInner)`
|
||||
|
||||
SetEscalationChain sets EscalationChain field to given value.
|
||||
|
||||
### HasEscalationChain
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfig) HasEscalationChain() bool`
|
||||
|
||||
HasEscalationChain returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
---
|
||||
id: v2025-approval-config-escalation-config-escalation-chain-inner
|
||||
title: ApprovalConfigEscalationConfigEscalationChainInner
|
||||
pagination_label: ApprovalConfigEscalationConfigEscalationChainInner
|
||||
sidebar_label: ApprovalConfigEscalationConfigEscalationChainInner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalConfigEscalationConfigEscalationChainInner', 'V2025ApprovalConfigEscalationConfigEscalationChainInner']
|
||||
slug: /tools/sdk/go/v2025/models/approval-config-escalation-config-escalation-chain-inner
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalConfigEscalationConfigEscalationChainInner', 'V2025ApprovalConfigEscalationConfigEscalationChainInner']
|
||||
---
|
||||
|
||||
# ApprovalConfigEscalationConfigEscalationChainInner
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**ChainId** | Pointer to **string** | ID of the escalation chain. | [optional]
|
||||
**Tier** | Pointer to **int64** | Starting at 1 defines the order in which the identities will get assigned | [optional]
|
||||
**IdentityId** | Pointer to **string** | Identity ID in the escalation chain. | [optional]
|
||||
**IdentityType** | Pointer to **string** | Type of identity in the escalation chain. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalConfigEscalationConfigEscalationChainInner
|
||||
|
||||
`func NewApprovalConfigEscalationConfigEscalationChainInner() *ApprovalConfigEscalationConfigEscalationChainInner`
|
||||
|
||||
NewApprovalConfigEscalationConfigEscalationChainInner instantiates a new ApprovalConfigEscalationConfigEscalationChainInner 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
|
||||
|
||||
### NewApprovalConfigEscalationConfigEscalationChainInnerWithDefaults
|
||||
|
||||
`func NewApprovalConfigEscalationConfigEscalationChainInnerWithDefaults() *ApprovalConfigEscalationConfigEscalationChainInner`
|
||||
|
||||
NewApprovalConfigEscalationConfigEscalationChainInnerWithDefaults instantiates a new ApprovalConfigEscalationConfigEscalationChainInner 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
|
||||
|
||||
### GetChainId
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) GetChainId() string`
|
||||
|
||||
GetChainId returns the ChainId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetChainIdOk
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) GetChainIdOk() (*string, bool)`
|
||||
|
||||
GetChainIdOk returns a tuple with the ChainId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetChainId
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) SetChainId(v string)`
|
||||
|
||||
SetChainId sets ChainId field to given value.
|
||||
|
||||
### HasChainId
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) HasChainId() bool`
|
||||
|
||||
HasChainId returns a boolean if a field has been set.
|
||||
|
||||
### GetTier
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) GetTier() int64`
|
||||
|
||||
GetTier returns the Tier field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTierOk
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) GetTierOk() (*int64, bool)`
|
||||
|
||||
GetTierOk returns a tuple with the Tier field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTier
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) SetTier(v int64)`
|
||||
|
||||
SetTier sets Tier field to given value.
|
||||
|
||||
### HasTier
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) HasTier() bool`
|
||||
|
||||
HasTier returns a boolean if a field has been set.
|
||||
|
||||
### GetIdentityId
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) GetIdentityId() string`
|
||||
|
||||
GetIdentityId returns the IdentityId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdentityIdOk
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) GetIdentityIdOk() (*string, bool)`
|
||||
|
||||
GetIdentityIdOk returns a tuple with the IdentityId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIdentityId
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) SetIdentityId(v string)`
|
||||
|
||||
SetIdentityId sets IdentityId field to given value.
|
||||
|
||||
### HasIdentityId
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) HasIdentityId() bool`
|
||||
|
||||
HasIdentityId returns a boolean if a field has been set.
|
||||
|
||||
### GetIdentityType
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) GetIdentityType() string`
|
||||
|
||||
GetIdentityType returns the IdentityType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdentityTypeOk
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) GetIdentityTypeOk() (*string, bool)`
|
||||
|
||||
GetIdentityTypeOk returns a tuple with the IdentityType field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIdentityType
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) SetIdentityType(v string)`
|
||||
|
||||
SetIdentityType sets IdentityType field to given value.
|
||||
|
||||
### HasIdentityType
|
||||
|
||||
`func (o *ApprovalConfigEscalationConfigEscalationChainInner) HasIdentityType() bool`
|
||||
|
||||
HasIdentityType returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
---
|
||||
id: v2025-approval-config-reminder-config
|
||||
title: ApprovalConfigReminderConfig
|
||||
pagination_label: ApprovalConfigReminderConfig
|
||||
sidebar_label: ApprovalConfigReminderConfig
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalConfigReminderConfig', 'V2025ApprovalConfigReminderConfig']
|
||||
slug: /tools/sdk/go/v2025/models/approval-config-reminder-config
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalConfigReminderConfig', 'V2025ApprovalConfigReminderConfig']
|
||||
---
|
||||
|
||||
# ApprovalConfigReminderConfig
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Enabled** | Pointer to **bool** | Indicates if reminders are enabled. | [optional] [default to false]
|
||||
**DaysUntilFirstReminder** | Pointer to **int64** | Number of days until the first reminder. | [optional]
|
||||
**ReminderCronSchedule** | Pointer to **string** | Cron schedule for reminders. | [optional]
|
||||
**MaxReminders** | Pointer to **int64** | Maximum number of reminders. Max is 20. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalConfigReminderConfig
|
||||
|
||||
`func NewApprovalConfigReminderConfig() *ApprovalConfigReminderConfig`
|
||||
|
||||
NewApprovalConfigReminderConfig instantiates a new ApprovalConfigReminderConfig 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
|
||||
|
||||
### NewApprovalConfigReminderConfigWithDefaults
|
||||
|
||||
`func NewApprovalConfigReminderConfigWithDefaults() *ApprovalConfigReminderConfig`
|
||||
|
||||
NewApprovalConfigReminderConfigWithDefaults instantiates a new ApprovalConfigReminderConfig 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
|
||||
|
||||
### GetEnabled
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) GetEnabled() bool`
|
||||
|
||||
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEnabledOk
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) GetEnabledOk() (*bool, bool)`
|
||||
|
||||
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEnabled
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) SetEnabled(v bool)`
|
||||
|
||||
SetEnabled sets Enabled field to given value.
|
||||
|
||||
### HasEnabled
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) HasEnabled() bool`
|
||||
|
||||
HasEnabled returns a boolean if a field has been set.
|
||||
|
||||
### GetDaysUntilFirstReminder
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) GetDaysUntilFirstReminder() int64`
|
||||
|
||||
GetDaysUntilFirstReminder returns the DaysUntilFirstReminder field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDaysUntilFirstReminderOk
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) GetDaysUntilFirstReminderOk() (*int64, bool)`
|
||||
|
||||
GetDaysUntilFirstReminderOk returns a tuple with the DaysUntilFirstReminder field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDaysUntilFirstReminder
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) SetDaysUntilFirstReminder(v int64)`
|
||||
|
||||
SetDaysUntilFirstReminder sets DaysUntilFirstReminder field to given value.
|
||||
|
||||
### HasDaysUntilFirstReminder
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) HasDaysUntilFirstReminder() bool`
|
||||
|
||||
HasDaysUntilFirstReminder returns a boolean if a field has been set.
|
||||
|
||||
### GetReminderCronSchedule
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) GetReminderCronSchedule() string`
|
||||
|
||||
GetReminderCronSchedule returns the ReminderCronSchedule field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReminderCronScheduleOk
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) GetReminderCronScheduleOk() (*string, bool)`
|
||||
|
||||
GetReminderCronScheduleOk returns a tuple with the ReminderCronSchedule field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReminderCronSchedule
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) SetReminderCronSchedule(v string)`
|
||||
|
||||
SetReminderCronSchedule sets ReminderCronSchedule field to given value.
|
||||
|
||||
### HasReminderCronSchedule
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) HasReminderCronSchedule() bool`
|
||||
|
||||
HasReminderCronSchedule returns a boolean if a field has been set.
|
||||
|
||||
### GetMaxReminders
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) GetMaxReminders() int64`
|
||||
|
||||
GetMaxReminders returns the MaxReminders field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMaxRemindersOk
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) GetMaxRemindersOk() (*int64, bool)`
|
||||
|
||||
GetMaxRemindersOk returns a tuple with the MaxReminders field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMaxReminders
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) SetMaxReminders(v int64)`
|
||||
|
||||
SetMaxReminders sets MaxReminders field to given value.
|
||||
|
||||
### HasMaxReminders
|
||||
|
||||
`func (o *ApprovalConfigReminderConfig) HasMaxReminders() bool`
|
||||
|
||||
HasMaxReminders returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
---
|
||||
id: v2025-approval-config-serial-chain-inner
|
||||
title: ApprovalConfigSerialChainInner
|
||||
pagination_label: ApprovalConfigSerialChainInner
|
||||
sidebar_label: ApprovalConfigSerialChainInner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalConfigSerialChainInner', 'V2025ApprovalConfigSerialChainInner']
|
||||
slug: /tools/sdk/go/v2025/models/approval-config-serial-chain-inner
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalConfigSerialChainInner', 'V2025ApprovalConfigSerialChainInner']
|
||||
---
|
||||
|
||||
# ApprovalConfigSerialChainInner
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**ChainId** | Pointer to **string** | ID of the serial chain. | [optional]
|
||||
**Tier** | Pointer to **int64** | Starting at 1 defines the order in which the identities will get assigned | [optional]
|
||||
**IdentityId** | Pointer to **string** | Identity ID in the serial chain. | [optional]
|
||||
**IdentityType** | Pointer to **string** | Type of identity in the serial chain. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalConfigSerialChainInner
|
||||
|
||||
`func NewApprovalConfigSerialChainInner() *ApprovalConfigSerialChainInner`
|
||||
|
||||
NewApprovalConfigSerialChainInner instantiates a new ApprovalConfigSerialChainInner 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
|
||||
|
||||
### NewApprovalConfigSerialChainInnerWithDefaults
|
||||
|
||||
`func NewApprovalConfigSerialChainInnerWithDefaults() *ApprovalConfigSerialChainInner`
|
||||
|
||||
NewApprovalConfigSerialChainInnerWithDefaults instantiates a new ApprovalConfigSerialChainInner 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
|
||||
|
||||
### GetChainId
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) GetChainId() string`
|
||||
|
||||
GetChainId returns the ChainId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetChainIdOk
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) GetChainIdOk() (*string, bool)`
|
||||
|
||||
GetChainIdOk returns a tuple with the ChainId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetChainId
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) SetChainId(v string)`
|
||||
|
||||
SetChainId sets ChainId field to given value.
|
||||
|
||||
### HasChainId
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) HasChainId() bool`
|
||||
|
||||
HasChainId returns a boolean if a field has been set.
|
||||
|
||||
### GetTier
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) GetTier() int64`
|
||||
|
||||
GetTier returns the Tier field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTierOk
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) GetTierOk() (*int64, bool)`
|
||||
|
||||
GetTierOk returns a tuple with the Tier field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTier
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) SetTier(v int64)`
|
||||
|
||||
SetTier sets Tier field to given value.
|
||||
|
||||
### HasTier
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) HasTier() bool`
|
||||
|
||||
HasTier returns a boolean if a field has been set.
|
||||
|
||||
### GetIdentityId
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) GetIdentityId() string`
|
||||
|
||||
GetIdentityId returns the IdentityId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdentityIdOk
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) GetIdentityIdOk() (*string, bool)`
|
||||
|
||||
GetIdentityIdOk returns a tuple with the IdentityId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIdentityId
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) SetIdentityId(v string)`
|
||||
|
||||
SetIdentityId sets IdentityId field to given value.
|
||||
|
||||
### HasIdentityId
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) HasIdentityId() bool`
|
||||
|
||||
HasIdentityId returns a boolean if a field has been set.
|
||||
|
||||
### GetIdentityType
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) GetIdentityType() string`
|
||||
|
||||
GetIdentityType returns the IdentityType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdentityTypeOk
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) GetIdentityTypeOk() (*string, bool)`
|
||||
|
||||
GetIdentityTypeOk returns a tuple with the IdentityType field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIdentityType
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) SetIdentityType(v string)`
|
||||
|
||||
SetIdentityType sets IdentityType field to given value.
|
||||
|
||||
### HasIdentityType
|
||||
|
||||
`func (o *ApprovalConfigSerialChainInner) HasIdentityType() bool`
|
||||
|
||||
HasIdentityType returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
---
|
||||
id: v2025-approval-config-timeout-config
|
||||
title: ApprovalConfigTimeoutConfig
|
||||
pagination_label: ApprovalConfigTimeoutConfig
|
||||
sidebar_label: ApprovalConfigTimeoutConfig
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalConfigTimeoutConfig', 'V2025ApprovalConfigTimeoutConfig']
|
||||
slug: /tools/sdk/go/v2025/models/approval-config-timeout-config
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalConfigTimeoutConfig', 'V2025ApprovalConfigTimeoutConfig']
|
||||
---
|
||||
|
||||
# ApprovalConfigTimeoutConfig
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Enabled** | Pointer to **bool** | Indicates if timeout is enabled. | [optional] [default to false]
|
||||
**DaysUntilTimeout** | Pointer to **int64** | Number of days until approval request times out. Max value is 90. | [optional]
|
||||
**TimeoutResult** | Pointer to **string** | Result of timeout. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalConfigTimeoutConfig
|
||||
|
||||
`func NewApprovalConfigTimeoutConfig() *ApprovalConfigTimeoutConfig`
|
||||
|
||||
NewApprovalConfigTimeoutConfig instantiates a new ApprovalConfigTimeoutConfig 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
|
||||
|
||||
### NewApprovalConfigTimeoutConfigWithDefaults
|
||||
|
||||
`func NewApprovalConfigTimeoutConfigWithDefaults() *ApprovalConfigTimeoutConfig`
|
||||
|
||||
NewApprovalConfigTimeoutConfigWithDefaults instantiates a new ApprovalConfigTimeoutConfig 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
|
||||
|
||||
### GetEnabled
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) GetEnabled() bool`
|
||||
|
||||
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEnabledOk
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) GetEnabledOk() (*bool, bool)`
|
||||
|
||||
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEnabled
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) SetEnabled(v bool)`
|
||||
|
||||
SetEnabled sets Enabled field to given value.
|
||||
|
||||
### HasEnabled
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) HasEnabled() bool`
|
||||
|
||||
HasEnabled returns a boolean if a field has been set.
|
||||
|
||||
### GetDaysUntilTimeout
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) GetDaysUntilTimeout() int64`
|
||||
|
||||
GetDaysUntilTimeout returns the DaysUntilTimeout field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDaysUntilTimeoutOk
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) GetDaysUntilTimeoutOk() (*int64, bool)`
|
||||
|
||||
GetDaysUntilTimeoutOk returns a tuple with the DaysUntilTimeout field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDaysUntilTimeout
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) SetDaysUntilTimeout(v int64)`
|
||||
|
||||
SetDaysUntilTimeout sets DaysUntilTimeout field to given value.
|
||||
|
||||
### HasDaysUntilTimeout
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) HasDaysUntilTimeout() bool`
|
||||
|
||||
HasDaysUntilTimeout returns a boolean if a field has been set.
|
||||
|
||||
### GetTimeoutResult
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) GetTimeoutResult() string`
|
||||
|
||||
GetTimeoutResult returns the TimeoutResult field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTimeoutResultOk
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) GetTimeoutResultOk() (*string, bool)`
|
||||
|
||||
GetTimeoutResultOk returns a tuple with the TimeoutResult field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTimeoutResult
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) SetTimeoutResult(v string)`
|
||||
|
||||
SetTimeoutResult sets TimeoutResult field to given value.
|
||||
|
||||
### HasTimeoutResult
|
||||
|
||||
`func (o *ApprovalConfigTimeoutConfig) HasTimeoutResult() bool`
|
||||
|
||||
HasTimeoutResult returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -15,9 +15,13 @@ tags: ['SDK', 'Software Development Kit', 'ApprovalIdentity', 'V2025ApprovalIden
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **string** | The identity ID | [optional]
|
||||
**Type** | Pointer to **string** | Indication of what group the identity belongs to. Ie, IDENTITY, GOVERNANCE_GROUP, etc | [optional]
|
||||
**Name** | Pointer to **string** | Name of the identity | [optional]
|
||||
**Email** | Pointer to **string** | Email address. | [optional]
|
||||
**IdentityID** | Pointer to **string** | Identity ID. | [optional]
|
||||
**Members** | Pointer to [**[]ApprovalIdentityMembersInner**](approval-identity-members-inner) | List of members of a governance group. Will be omitted if the identity is not a governance group. | [optional]
|
||||
**Name** | Pointer to **string** | Name of the identity. | [optional]
|
||||
**OwnerOf** | Pointer to [**[]ApprovalIdentityOwnerOfInner**](approval-identity-owner-of-inner) | List of owned items. For example, will show the items in which a ROLE_OWNER owns. Omitted if not an owner of anything. | [optional]
|
||||
**SerialOrder** | Pointer to **int64** | The serial step of the identity in the approval. For example serialOrder 1 is the first identity to action in an approval request chain. Parallel approvals are set to 0. | [optional]
|
||||
**Type** | Pointer to **string** | Type of identity. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -38,55 +42,80 @@ NewApprovalIdentityWithDefaults instantiates a new ApprovalIdentity 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
|
||||
|
||||
### GetId
|
||||
### GetEmail
|
||||
|
||||
`func (o *ApprovalIdentity) GetId() string`
|
||||
`func (o *ApprovalIdentity) GetEmail() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
GetEmail returns the Email field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
### GetEmailOk
|
||||
|
||||
`func (o *ApprovalIdentity) GetIdOk() (*string, bool)`
|
||||
`func (o *ApprovalIdentity) GetEmailOk() (*string, bool)`
|
||||
|
||||
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise
|
||||
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetId
|
||||
### SetEmail
|
||||
|
||||
`func (o *ApprovalIdentity) SetId(v string)`
|
||||
`func (o *ApprovalIdentity) SetEmail(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
SetEmail sets Email field to given value.
|
||||
|
||||
### HasId
|
||||
### HasEmail
|
||||
|
||||
`func (o *ApprovalIdentity) HasId() bool`
|
||||
`func (o *ApprovalIdentity) HasEmail() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
HasEmail returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
### GetIdentityID
|
||||
|
||||
`func (o *ApprovalIdentity) GetType() string`
|
||||
`func (o *ApprovalIdentity) GetIdentityID() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
GetIdentityID returns the IdentityID field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
### GetIdentityIDOk
|
||||
|
||||
`func (o *ApprovalIdentity) GetTypeOk() (*string, bool)`
|
||||
`func (o *ApprovalIdentity) GetIdentityIDOk() (*string, bool)`
|
||||
|
||||
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise
|
||||
GetIdentityIDOk returns a tuple with the IdentityID field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetType
|
||||
### SetIdentityID
|
||||
|
||||
`func (o *ApprovalIdentity) SetType(v string)`
|
||||
`func (o *ApprovalIdentity) SetIdentityID(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
SetIdentityID sets IdentityID field to given value.
|
||||
|
||||
### HasType
|
||||
### HasIdentityID
|
||||
|
||||
`func (o *ApprovalIdentity) HasType() bool`
|
||||
`func (o *ApprovalIdentity) HasIdentityID() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
HasIdentityID returns a boolean if a field has been set.
|
||||
|
||||
### GetMembers
|
||||
|
||||
`func (o *ApprovalIdentity) GetMembers() []ApprovalIdentityMembersInner`
|
||||
|
||||
GetMembers returns the Members field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMembersOk
|
||||
|
||||
`func (o *ApprovalIdentity) GetMembersOk() (*[]ApprovalIdentityMembersInner, bool)`
|
||||
|
||||
GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMembers
|
||||
|
||||
`func (o *ApprovalIdentity) SetMembers(v []ApprovalIdentityMembersInner)`
|
||||
|
||||
SetMembers sets Members field to given value.
|
||||
|
||||
### HasMembers
|
||||
|
||||
`func (o *ApprovalIdentity) HasMembers() bool`
|
||||
|
||||
HasMembers returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
@@ -113,4 +142,79 @@ SetName sets Name field to given value.
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetOwnerOf
|
||||
|
||||
`func (o *ApprovalIdentity) GetOwnerOf() []ApprovalIdentityOwnerOfInner`
|
||||
|
||||
GetOwnerOf returns the OwnerOf field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOwnerOfOk
|
||||
|
||||
`func (o *ApprovalIdentity) GetOwnerOfOk() (*[]ApprovalIdentityOwnerOfInner, bool)`
|
||||
|
||||
GetOwnerOfOk returns a tuple with the OwnerOf field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOwnerOf
|
||||
|
||||
`func (o *ApprovalIdentity) SetOwnerOf(v []ApprovalIdentityOwnerOfInner)`
|
||||
|
||||
SetOwnerOf sets OwnerOf field to given value.
|
||||
|
||||
### HasOwnerOf
|
||||
|
||||
`func (o *ApprovalIdentity) HasOwnerOf() bool`
|
||||
|
||||
HasOwnerOf returns a boolean if a field has been set.
|
||||
|
||||
### GetSerialOrder
|
||||
|
||||
`func (o *ApprovalIdentity) GetSerialOrder() int64`
|
||||
|
||||
GetSerialOrder returns the SerialOrder field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSerialOrderOk
|
||||
|
||||
`func (o *ApprovalIdentity) GetSerialOrderOk() (*int64, bool)`
|
||||
|
||||
GetSerialOrderOk returns a tuple with the SerialOrder field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSerialOrder
|
||||
|
||||
`func (o *ApprovalIdentity) SetSerialOrder(v int64)`
|
||||
|
||||
SetSerialOrder sets SerialOrder field to given value.
|
||||
|
||||
### HasSerialOrder
|
||||
|
||||
`func (o *ApprovalIdentity) HasSerialOrder() bool`
|
||||
|
||||
HasSerialOrder returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *ApprovalIdentity) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *ApprovalIdentity) 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 *ApprovalIdentity) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *ApprovalIdentity) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
---
|
||||
id: v2025-approval-identity-members-inner
|
||||
title: ApprovalIdentityMembersInner
|
||||
pagination_label: ApprovalIdentityMembersInner
|
||||
sidebar_label: ApprovalIdentityMembersInner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalIdentityMembersInner', 'V2025ApprovalIdentityMembersInner']
|
||||
slug: /tools/sdk/go/v2025/models/approval-identity-members-inner
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalIdentityMembersInner', 'V2025ApprovalIdentityMembersInner']
|
||||
---
|
||||
|
||||
# ApprovalIdentityMembersInner
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Email** | Pointer to **string** | Email of the member. | [optional]
|
||||
**Id** | Pointer to **string** | ID of the member. | [optional]
|
||||
**Name** | Pointer to **string** | Name of the member. | [optional]
|
||||
**Type** | Pointer to **string** | Type of the member. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalIdentityMembersInner
|
||||
|
||||
`func NewApprovalIdentityMembersInner() *ApprovalIdentityMembersInner`
|
||||
|
||||
NewApprovalIdentityMembersInner instantiates a new ApprovalIdentityMembersInner 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
|
||||
|
||||
### NewApprovalIdentityMembersInnerWithDefaults
|
||||
|
||||
`func NewApprovalIdentityMembersInnerWithDefaults() *ApprovalIdentityMembersInner`
|
||||
|
||||
NewApprovalIdentityMembersInnerWithDefaults instantiates a new ApprovalIdentityMembersInner 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
|
||||
|
||||
### GetEmail
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) GetEmail() string`
|
||||
|
||||
GetEmail returns the Email field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEmailOk
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) GetEmailOk() (*string, bool)`
|
||||
|
||||
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEmail
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) SetEmail(v string)`
|
||||
|
||||
SetEmail sets Email field to given value.
|
||||
|
||||
### HasEmail
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) HasEmail() bool`
|
||||
|
||||
HasEmail returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) 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 *ApprovalIdentityMembersInner) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) 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 *ApprovalIdentityMembersInner) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) 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 *ApprovalIdentityMembersInner) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *ApprovalIdentityMembersInner) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
---
|
||||
id: v2025-approval-identity-owner-of-inner
|
||||
title: ApprovalIdentityOwnerOfInner
|
||||
pagination_label: ApprovalIdentityOwnerOfInner
|
||||
sidebar_label: ApprovalIdentityOwnerOfInner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalIdentityOwnerOfInner', 'V2025ApprovalIdentityOwnerOfInner']
|
||||
slug: /tools/sdk/go/v2025/models/approval-identity-owner-of-inner
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalIdentityOwnerOfInner', 'V2025ApprovalIdentityOwnerOfInner']
|
||||
---
|
||||
|
||||
# ApprovalIdentityOwnerOfInner
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **string** | ID of the object that is owned. | [optional]
|
||||
**Name** | Pointer to **string** | Name of the object that is owned. | [optional]
|
||||
**Type** | Pointer to **string** | Type of the object that is owned. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalIdentityOwnerOfInner
|
||||
|
||||
`func NewApprovalIdentityOwnerOfInner() *ApprovalIdentityOwnerOfInner`
|
||||
|
||||
NewApprovalIdentityOwnerOfInner instantiates a new ApprovalIdentityOwnerOfInner 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
|
||||
|
||||
### NewApprovalIdentityOwnerOfInnerWithDefaults
|
||||
|
||||
`func NewApprovalIdentityOwnerOfInnerWithDefaults() *ApprovalIdentityOwnerOfInner`
|
||||
|
||||
NewApprovalIdentityOwnerOfInnerWithDefaults instantiates a new ApprovalIdentityOwnerOfInner 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
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) 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 *ApprovalIdentityOwnerOfInner) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) 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 *ApprovalIdentityOwnerOfInner) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) 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 *ApprovalIdentityOwnerOfInner) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *ApprovalIdentityOwnerOfInner) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,220 @@
|
||||
---
|
||||
id: v2025-approval-identity-record
|
||||
title: ApprovalIdentityRecord
|
||||
pagination_label: ApprovalIdentityRecord
|
||||
sidebar_label: ApprovalIdentityRecord
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalIdentityRecord', 'V2025ApprovalIdentityRecord']
|
||||
slug: /tools/sdk/go/v2025/models/approval-identity-record
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalIdentityRecord', 'V2025ApprovalIdentityRecord']
|
||||
---
|
||||
|
||||
# ApprovalIdentityRecord
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**IdentityID** | Pointer to **string** | Identity ID. | [optional]
|
||||
**Type** | Pointer to **string** | Type of identity. | [optional]
|
||||
**Name** | Pointer to **string** | Name of the identity. | [optional]
|
||||
**ActionedAs** | Pointer to [**[]ApprovalReference**](approval-reference) | List of references representing actions taken by the identity. | [optional]
|
||||
**Members** | Pointer to [**[]ApprovalReference**](approval-reference) | List of references representing members of the identity. | [optional]
|
||||
**DecisionDate** | Pointer to **SailPointTime** | Date when the decision was made. | [optional]
|
||||
**Email** | Pointer to **string** | Email associated with the identity. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalIdentityRecord
|
||||
|
||||
`func NewApprovalIdentityRecord() *ApprovalIdentityRecord`
|
||||
|
||||
NewApprovalIdentityRecord instantiates a new ApprovalIdentityRecord 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
|
||||
|
||||
### NewApprovalIdentityRecordWithDefaults
|
||||
|
||||
`func NewApprovalIdentityRecordWithDefaults() *ApprovalIdentityRecord`
|
||||
|
||||
NewApprovalIdentityRecordWithDefaults instantiates a new ApprovalIdentityRecord 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
|
||||
|
||||
### GetIdentityID
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetIdentityID() string`
|
||||
|
||||
GetIdentityID returns the IdentityID field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdentityIDOk
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetIdentityIDOk() (*string, bool)`
|
||||
|
||||
GetIdentityIDOk returns a tuple with the IdentityID field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetIdentityID
|
||||
|
||||
`func (o *ApprovalIdentityRecord) SetIdentityID(v string)`
|
||||
|
||||
SetIdentityID sets IdentityID field to given value.
|
||||
|
||||
### HasIdentityID
|
||||
|
||||
`func (o *ApprovalIdentityRecord) HasIdentityID() bool`
|
||||
|
||||
HasIdentityID returns a boolean if a field has been set.
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *ApprovalIdentityRecord) 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 *ApprovalIdentityRecord) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *ApprovalIdentityRecord) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *ApprovalIdentityRecord) 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 *ApprovalIdentityRecord) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *ApprovalIdentityRecord) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetActionedAs
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetActionedAs() []ApprovalReference`
|
||||
|
||||
GetActionedAs returns the ActionedAs field if non-nil, zero value otherwise.
|
||||
|
||||
### GetActionedAsOk
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetActionedAsOk() (*[]ApprovalReference, bool)`
|
||||
|
||||
GetActionedAsOk returns a tuple with the ActionedAs field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetActionedAs
|
||||
|
||||
`func (o *ApprovalIdentityRecord) SetActionedAs(v []ApprovalReference)`
|
||||
|
||||
SetActionedAs sets ActionedAs field to given value.
|
||||
|
||||
### HasActionedAs
|
||||
|
||||
`func (o *ApprovalIdentityRecord) HasActionedAs() bool`
|
||||
|
||||
HasActionedAs returns a boolean if a field has been set.
|
||||
|
||||
### GetMembers
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetMembers() []ApprovalReference`
|
||||
|
||||
GetMembers returns the Members field if non-nil, zero value otherwise.
|
||||
|
||||
### GetMembersOk
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetMembersOk() (*[]ApprovalReference, bool)`
|
||||
|
||||
GetMembersOk returns a tuple with the Members field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetMembers
|
||||
|
||||
`func (o *ApprovalIdentityRecord) SetMembers(v []ApprovalReference)`
|
||||
|
||||
SetMembers sets Members field to given value.
|
||||
|
||||
### HasMembers
|
||||
|
||||
`func (o *ApprovalIdentityRecord) HasMembers() bool`
|
||||
|
||||
HasMembers returns a boolean if a field has been set.
|
||||
|
||||
### GetDecisionDate
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetDecisionDate() SailPointTime`
|
||||
|
||||
GetDecisionDate returns the DecisionDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDecisionDateOk
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetDecisionDateOk() (*SailPointTime, bool)`
|
||||
|
||||
GetDecisionDateOk returns a tuple with the DecisionDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDecisionDate
|
||||
|
||||
`func (o *ApprovalIdentityRecord) SetDecisionDate(v SailPointTime)`
|
||||
|
||||
SetDecisionDate sets DecisionDate field to given value.
|
||||
|
||||
### HasDecisionDate
|
||||
|
||||
`func (o *ApprovalIdentityRecord) HasDecisionDate() bool`
|
||||
|
||||
HasDecisionDate returns a boolean if a field has been set.
|
||||
|
||||
### GetEmail
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetEmail() string`
|
||||
|
||||
GetEmail returns the Email field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEmailOk
|
||||
|
||||
`func (o *ApprovalIdentityRecord) GetEmailOk() (*string, bool)`
|
||||
|
||||
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEmail
|
||||
|
||||
`func (o *ApprovalIdentityRecord) SetEmail(v string)`
|
||||
|
||||
SetEmail sets Email field to given value.
|
||||
|
||||
### HasEmail
|
||||
|
||||
`func (o *ApprovalIdentityRecord) HasEmail() bool`
|
||||
|
||||
HasEmail returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
---
|
||||
id: v2025-approval-reassign-request
|
||||
title: ApprovalReassignRequest
|
||||
pagination_label: ApprovalReassignRequest
|
||||
sidebar_label: ApprovalReassignRequest
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalReassignRequest', 'V2025ApprovalReassignRequest']
|
||||
slug: /tools/sdk/go/v2025/models/approval-reassign-request
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalReassignRequest', 'V2025ApprovalReassignRequest']
|
||||
---
|
||||
|
||||
# ApprovalReassignRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Comment** | Pointer to **string** | Comment associated with the reassign request. | [optional]
|
||||
**ReassignFrom** | Pointer to **string** | Identity from which the approval is being reassigned. If left blank, and the approval is currently assigned to the user calling this endpoint, it will use the calling user's identity. If left blank, and the approval is not currently assigned to the user calling this endpoint, you need to be an admin, which would add the reassignTo as a new approver. | [optional]
|
||||
**ReassignTo** | Pointer to **string** | Identity to which the approval is being reassigned. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalReassignRequest
|
||||
|
||||
`func NewApprovalReassignRequest() *ApprovalReassignRequest`
|
||||
|
||||
NewApprovalReassignRequest instantiates a new ApprovalReassignRequest 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
|
||||
|
||||
### NewApprovalReassignRequestWithDefaults
|
||||
|
||||
`func NewApprovalReassignRequestWithDefaults() *ApprovalReassignRequest`
|
||||
|
||||
NewApprovalReassignRequestWithDefaults instantiates a new ApprovalReassignRequest 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 *ApprovalReassignRequest) GetComment() string`
|
||||
|
||||
GetComment returns the Comment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentOk
|
||||
|
||||
`func (o *ApprovalReassignRequest) 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 *ApprovalReassignRequest) SetComment(v string)`
|
||||
|
||||
SetComment sets Comment field to given value.
|
||||
|
||||
### HasComment
|
||||
|
||||
`func (o *ApprovalReassignRequest) HasComment() bool`
|
||||
|
||||
HasComment returns a boolean if a field has been set.
|
||||
|
||||
### GetReassignFrom
|
||||
|
||||
`func (o *ApprovalReassignRequest) GetReassignFrom() string`
|
||||
|
||||
GetReassignFrom returns the ReassignFrom field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReassignFromOk
|
||||
|
||||
`func (o *ApprovalReassignRequest) GetReassignFromOk() (*string, bool)`
|
||||
|
||||
GetReassignFromOk returns a tuple with the ReassignFrom field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReassignFrom
|
||||
|
||||
`func (o *ApprovalReassignRequest) SetReassignFrom(v string)`
|
||||
|
||||
SetReassignFrom sets ReassignFrom field to given value.
|
||||
|
||||
### HasReassignFrom
|
||||
|
||||
`func (o *ApprovalReassignRequest) HasReassignFrom() bool`
|
||||
|
||||
HasReassignFrom returns a boolean if a field has been set.
|
||||
|
||||
### GetReassignTo
|
||||
|
||||
`func (o *ApprovalReassignRequest) GetReassignTo() string`
|
||||
|
||||
GetReassignTo returns the ReassignTo field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReassignToOk
|
||||
|
||||
`func (o *ApprovalReassignRequest) GetReassignToOk() (*string, bool)`
|
||||
|
||||
GetReassignToOk returns a tuple with the ReassignTo field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReassignTo
|
||||
|
||||
`func (o *ApprovalReassignRequest) SetReassignTo(v string)`
|
||||
|
||||
SetReassignTo sets ReassignTo field to given value.
|
||||
|
||||
### HasReassignTo
|
||||
|
||||
`func (o *ApprovalReassignRequest) HasReassignTo() bool`
|
||||
|
||||
HasReassignTo returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,194 @@
|
||||
---
|
||||
id: v2025-approval-reassignment-history
|
||||
title: ApprovalReassignmentHistory
|
||||
pagination_label: ApprovalReassignmentHistory
|
||||
sidebar_label: ApprovalReassignmentHistory
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalReassignmentHistory', 'V2025ApprovalReassignmentHistory']
|
||||
slug: /tools/sdk/go/v2025/models/approval-reassignment-history
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalReassignmentHistory', 'V2025ApprovalReassignmentHistory']
|
||||
---
|
||||
|
||||
# ApprovalReassignmentHistory
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**CommentID** | Pointer to **string** | Unique identifier for the comment associated with the reassignment. | [optional]
|
||||
**ReassignedFrom** | Pointer to [**ApprovalIdentity**](approval-identity) | | [optional]
|
||||
**ReassignedTo** | Pointer to [**ApprovalIdentity**](approval-identity) | | [optional]
|
||||
**Reassigner** | Pointer to [**ApprovalIdentity**](approval-identity) | | [optional]
|
||||
**ReassignmentDate** | Pointer to **SailPointTime** | Date and time when the reassignment occurred. | [optional]
|
||||
**ReassignmentType** | Pointer to **string** | Type of reassignment, such as escalation or manual reassignment. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalReassignmentHistory
|
||||
|
||||
`func NewApprovalReassignmentHistory() *ApprovalReassignmentHistory`
|
||||
|
||||
NewApprovalReassignmentHistory instantiates a new ApprovalReassignmentHistory 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
|
||||
|
||||
### NewApprovalReassignmentHistoryWithDefaults
|
||||
|
||||
`func NewApprovalReassignmentHistoryWithDefaults() *ApprovalReassignmentHistory`
|
||||
|
||||
NewApprovalReassignmentHistoryWithDefaults instantiates a new ApprovalReassignmentHistory 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
|
||||
|
||||
### GetCommentID
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetCommentID() string`
|
||||
|
||||
GetCommentID returns the CommentID field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentIDOk
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetCommentIDOk() (*string, bool)`
|
||||
|
||||
GetCommentIDOk returns a tuple with the CommentID field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetCommentID
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) SetCommentID(v string)`
|
||||
|
||||
SetCommentID sets CommentID field to given value.
|
||||
|
||||
### HasCommentID
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) HasCommentID() bool`
|
||||
|
||||
HasCommentID returns a boolean if a field has been set.
|
||||
|
||||
### GetReassignedFrom
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignedFrom() ApprovalIdentity`
|
||||
|
||||
GetReassignedFrom returns the ReassignedFrom field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReassignedFromOk
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignedFromOk() (*ApprovalIdentity, bool)`
|
||||
|
||||
GetReassignedFromOk returns a tuple with the ReassignedFrom field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReassignedFrom
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) SetReassignedFrom(v ApprovalIdentity)`
|
||||
|
||||
SetReassignedFrom sets ReassignedFrom field to given value.
|
||||
|
||||
### HasReassignedFrom
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) HasReassignedFrom() bool`
|
||||
|
||||
HasReassignedFrom returns a boolean if a field has been set.
|
||||
|
||||
### GetReassignedTo
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignedTo() ApprovalIdentity`
|
||||
|
||||
GetReassignedTo returns the ReassignedTo field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReassignedToOk
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignedToOk() (*ApprovalIdentity, bool)`
|
||||
|
||||
GetReassignedToOk returns a tuple with the ReassignedTo field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReassignedTo
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) SetReassignedTo(v ApprovalIdentity)`
|
||||
|
||||
SetReassignedTo sets ReassignedTo field to given value.
|
||||
|
||||
### HasReassignedTo
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) HasReassignedTo() bool`
|
||||
|
||||
HasReassignedTo returns a boolean if a field has been set.
|
||||
|
||||
### GetReassigner
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassigner() ApprovalIdentity`
|
||||
|
||||
GetReassigner returns the Reassigner field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReassignerOk
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignerOk() (*ApprovalIdentity, bool)`
|
||||
|
||||
GetReassignerOk returns a tuple with the Reassigner field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReassigner
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) SetReassigner(v ApprovalIdentity)`
|
||||
|
||||
SetReassigner sets Reassigner field to given value.
|
||||
|
||||
### HasReassigner
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) HasReassigner() bool`
|
||||
|
||||
HasReassigner returns a boolean if a field has been set.
|
||||
|
||||
### GetReassignmentDate
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignmentDate() SailPointTime`
|
||||
|
||||
GetReassignmentDate returns the ReassignmentDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReassignmentDateOk
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignmentDateOk() (*SailPointTime, bool)`
|
||||
|
||||
GetReassignmentDateOk returns a tuple with the ReassignmentDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReassignmentDate
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) SetReassignmentDate(v SailPointTime)`
|
||||
|
||||
SetReassignmentDate sets ReassignmentDate field to given value.
|
||||
|
||||
### HasReassignmentDate
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) HasReassignmentDate() bool`
|
||||
|
||||
HasReassignmentDate returns a boolean if a field has been set.
|
||||
|
||||
### GetReassignmentType
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignmentType() string`
|
||||
|
||||
GetReassignmentType returns the ReassignmentType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReassignmentTypeOk
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) GetReassignmentTypeOk() (*string, 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 *ApprovalReassignmentHistory) SetReassignmentType(v string)`
|
||||
|
||||
SetReassignmentType sets ReassignmentType field to given value.
|
||||
|
||||
### HasReassignmentType
|
||||
|
||||
`func (o *ApprovalReassignmentHistory) HasReassignmentType() bool`
|
||||
|
||||
HasReassignmentType returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -17,6 +17,9 @@ Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **string** | Id of the reference object | [optional]
|
||||
**Type** | Pointer to **string** | What reference object does this ID correspond to | [optional]
|
||||
**Name** | Pointer to **string** | Name of the reference object | [optional]
|
||||
**Email** | Pointer to **string** | Email associated with the reference object | [optional]
|
||||
**SerialOrder** | Pointer to **int64** | The serial step of the identity in the approval. For example serialOrder 1 is the first identity to action in an approval request chain. Parallel approvals are set to 0. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
@@ -87,4 +90,79 @@ SetType sets Type field to given value.
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *ApprovalReference) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *ApprovalReference) 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 *ApprovalReference) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *ApprovalReference) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetEmail
|
||||
|
||||
`func (o *ApprovalReference) GetEmail() string`
|
||||
|
||||
GetEmail returns the Email field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEmailOk
|
||||
|
||||
`func (o *ApprovalReference) GetEmailOk() (*string, bool)`
|
||||
|
||||
GetEmailOk returns a tuple with the Email field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEmail
|
||||
|
||||
`func (o *ApprovalReference) SetEmail(v string)`
|
||||
|
||||
SetEmail sets Email field to given value.
|
||||
|
||||
### HasEmail
|
||||
|
||||
`func (o *ApprovalReference) HasEmail() bool`
|
||||
|
||||
HasEmail returns a boolean if a field has been set.
|
||||
|
||||
### GetSerialOrder
|
||||
|
||||
`func (o *ApprovalReference) GetSerialOrder() int64`
|
||||
|
||||
GetSerialOrder returns the SerialOrder field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSerialOrderOk
|
||||
|
||||
`func (o *ApprovalReference) GetSerialOrderOk() (*int64, bool)`
|
||||
|
||||
GetSerialOrderOk returns a tuple with the SerialOrder field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSerialOrder
|
||||
|
||||
`func (o *ApprovalReference) SetSerialOrder(v int64)`
|
||||
|
||||
SetSerialOrder sets SerialOrder field to given value.
|
||||
|
||||
### HasSerialOrder
|
||||
|
||||
`func (o *ApprovalReference) HasSerialOrder() bool`
|
||||
|
||||
HasSerialOrder returns a boolean if a field has been set.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,64 @@
|
||||
---
|
||||
id: v2025-approval-reject-request
|
||||
title: ApprovalRejectRequest
|
||||
pagination_label: ApprovalRejectRequest
|
||||
sidebar_label: ApprovalRejectRequest
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalRejectRequest', 'V2025ApprovalRejectRequest']
|
||||
slug: /tools/sdk/go/v2025/models/approval-reject-request
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalRejectRequest', 'V2025ApprovalRejectRequest']
|
||||
---
|
||||
|
||||
# ApprovalRejectRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Comment** | Pointer to **string** | Comment associated with the reject request. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalRejectRequest
|
||||
|
||||
`func NewApprovalRejectRequest() *ApprovalRejectRequest`
|
||||
|
||||
NewApprovalRejectRequest instantiates a new ApprovalRejectRequest 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
|
||||
|
||||
### NewApprovalRejectRequestWithDefaults
|
||||
|
||||
`func NewApprovalRejectRequestWithDefaults() *ApprovalRejectRequest`
|
||||
|
||||
NewApprovalRejectRequestWithDefaults instantiates a new ApprovalRejectRequest 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 *ApprovalRejectRequest) GetComment() string`
|
||||
|
||||
GetComment returns the Comment field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCommentOk
|
||||
|
||||
`func (o *ApprovalRejectRequest) 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 *ApprovalRejectRequest) SetComment(v string)`
|
||||
|
||||
SetComment sets Comment field to given value.
|
||||
|
||||
### HasComment
|
||||
|
||||
`func (o *ApprovalRejectRequest) HasComment() bool`
|
||||
|
||||
HasComment returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,220 @@
|
||||
---
|
||||
id: v2025-approval-requested-target
|
||||
title: ApprovalRequestedTarget
|
||||
pagination_label: ApprovalRequestedTarget
|
||||
sidebar_label: ApprovalRequestedTarget
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'ApprovalRequestedTarget', 'V2025ApprovalRequestedTarget']
|
||||
slug: /tools/sdk/go/v2025/models/approval-requested-target
|
||||
tags: ['SDK', 'Software Development Kit', 'ApprovalRequestedTarget', 'V2025ApprovalRequestedTarget']
|
||||
---
|
||||
|
||||
# ApprovalRequestedTarget
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**ForcedAuthSignature** | Pointer to **string** | Signature required for forced authentication. | [optional]
|
||||
**Id** | Pointer to **string** | ID of the requested target. | [optional]
|
||||
**Name** | Pointer to **string** | Name of the requested target. | [optional]
|
||||
**ReauthRequired** | Pointer to **bool** | Indicates if reauthentication is required. | [optional] [default to false]
|
||||
**RemovalDate** | Pointer to **SailPointTime** | Date when the target will be removed. | [optional]
|
||||
**RequestType** | Pointer to **string** | Type of the request. | [optional]
|
||||
**TargetType** | Pointer to **string** | Type of the target. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewApprovalRequestedTarget
|
||||
|
||||
`func NewApprovalRequestedTarget() *ApprovalRequestedTarget`
|
||||
|
||||
NewApprovalRequestedTarget instantiates a new ApprovalRequestedTarget 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
|
||||
|
||||
### NewApprovalRequestedTargetWithDefaults
|
||||
|
||||
`func NewApprovalRequestedTargetWithDefaults() *ApprovalRequestedTarget`
|
||||
|
||||
NewApprovalRequestedTargetWithDefaults instantiates a new ApprovalRequestedTarget 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
|
||||
|
||||
### GetForcedAuthSignature
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetForcedAuthSignature() string`
|
||||
|
||||
GetForcedAuthSignature returns the ForcedAuthSignature field if non-nil, zero value otherwise.
|
||||
|
||||
### GetForcedAuthSignatureOk
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetForcedAuthSignatureOk() (*string, bool)`
|
||||
|
||||
GetForcedAuthSignatureOk returns a tuple with the ForcedAuthSignature field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetForcedAuthSignature
|
||||
|
||||
`func (o *ApprovalRequestedTarget) SetForcedAuthSignature(v string)`
|
||||
|
||||
SetForcedAuthSignature sets ForcedAuthSignature field to given value.
|
||||
|
||||
### HasForcedAuthSignature
|
||||
|
||||
`func (o *ApprovalRequestedTarget) HasForcedAuthSignature() bool`
|
||||
|
||||
HasForcedAuthSignature returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *ApprovalRequestedTarget) 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 *ApprovalRequestedTarget) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *ApprovalRequestedTarget) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *ApprovalRequestedTarget) 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 *ApprovalRequestedTarget) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *ApprovalRequestedTarget) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetReauthRequired
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetReauthRequired() bool`
|
||||
|
||||
GetReauthRequired returns the ReauthRequired field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReauthRequiredOk
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetReauthRequiredOk() (*bool, bool)`
|
||||
|
||||
GetReauthRequiredOk returns a tuple with the ReauthRequired field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReauthRequired
|
||||
|
||||
`func (o *ApprovalRequestedTarget) SetReauthRequired(v bool)`
|
||||
|
||||
SetReauthRequired sets ReauthRequired field to given value.
|
||||
|
||||
### HasReauthRequired
|
||||
|
||||
`func (o *ApprovalRequestedTarget) HasReauthRequired() bool`
|
||||
|
||||
HasReauthRequired returns a boolean if a field has been set.
|
||||
|
||||
### GetRemovalDate
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetRemovalDate() SailPointTime`
|
||||
|
||||
GetRemovalDate returns the RemovalDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRemovalDateOk
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetRemovalDateOk() (*SailPointTime, bool)`
|
||||
|
||||
GetRemovalDateOk returns a tuple with the RemovalDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRemovalDate
|
||||
|
||||
`func (o *ApprovalRequestedTarget) SetRemovalDate(v SailPointTime)`
|
||||
|
||||
SetRemovalDate sets RemovalDate field to given value.
|
||||
|
||||
### HasRemovalDate
|
||||
|
||||
`func (o *ApprovalRequestedTarget) HasRemovalDate() bool`
|
||||
|
||||
HasRemovalDate returns a boolean if a field has been set.
|
||||
|
||||
### GetRequestType
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetRequestType() string`
|
||||
|
||||
GetRequestType returns the RequestType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRequestTypeOk
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetRequestTypeOk() (*string, 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 *ApprovalRequestedTarget) SetRequestType(v string)`
|
||||
|
||||
SetRequestType sets RequestType field to given value.
|
||||
|
||||
### HasRequestType
|
||||
|
||||
`func (o *ApprovalRequestedTarget) HasRequestType() bool`
|
||||
|
||||
HasRequestType returns a boolean if a field has been set.
|
||||
|
||||
### GetTargetType
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetTargetType() string`
|
||||
|
||||
GetTargetType returns the TargetType field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTargetTypeOk
|
||||
|
||||
`func (o *ApprovalRequestedTarget) GetTargetTypeOk() (*string, bool)`
|
||||
|
||||
GetTargetTypeOk returns a tuple with the TargetType field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTargetType
|
||||
|
||||
`func (o *ApprovalRequestedTarget) SetTargetType(v string)`
|
||||
|
||||
SetTargetType sets TargetType field to given value.
|
||||
|
||||
### HasTargetType
|
||||
|
||||
`func (o *ApprovalRequestedTarget) HasTargetType() bool`
|
||||
|
||||
HasTargetType returns a boolean if a field has been set.
|
||||
|
||||
|
||||
205
docs/tools/sdk/go/Reference/V2025/Models/SourceSubtype.md
Normal file
205
docs/tools/sdk/go/Reference/V2025/Models/SourceSubtype.md
Normal file
@@ -0,0 +1,205 @@
|
||||
---
|
||||
id: v2025-source-subtype
|
||||
title: SourceSubtype
|
||||
pagination_label: SourceSubtype
|
||||
sidebar_label: SourceSubtype
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'SourceSubtype', 'V2025SourceSubtype']
|
||||
slug: /tools/sdk/go/v2025/models/source-subtype
|
||||
tags: ['SDK', 'Software Development Kit', 'SourceSubtype', 'V2025SourceSubtype']
|
||||
---
|
||||
|
||||
# SourceSubtype
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **string** | Unique identifier for the subtype. | [optional]
|
||||
**SourceId** | Pointer to **string** | The ID of the source. | [optional] [readonly]
|
||||
**TechnicalName** | **string** | Technical name of the subtype. |
|
||||
**DisplayName** | **string** | Display name of the subtype. |
|
||||
**Description** | **string** | Description of the subtype. |
|
||||
**Created** | Pointer to **SailPointTime** | Creation timestamp. | [optional]
|
||||
**Modified** | Pointer to **SailPointTime** | Last modified timestamp. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewSourceSubtype
|
||||
|
||||
`func NewSourceSubtype(technicalName string, displayName string, description string, ) *SourceSubtype`
|
||||
|
||||
NewSourceSubtype instantiates a new SourceSubtype 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
|
||||
|
||||
### NewSourceSubtypeWithDefaults
|
||||
|
||||
`func NewSourceSubtypeWithDefaults() *SourceSubtype`
|
||||
|
||||
NewSourceSubtypeWithDefaults instantiates a new SourceSubtype 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
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *SourceSubtype) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *SourceSubtype) 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 *SourceSubtype) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *SourceSubtype) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetSourceId
|
||||
|
||||
`func (o *SourceSubtype) GetSourceId() string`
|
||||
|
||||
GetSourceId returns the SourceId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSourceIdOk
|
||||
|
||||
`func (o *SourceSubtype) GetSourceIdOk() (*string, bool)`
|
||||
|
||||
GetSourceIdOk returns a tuple with the SourceId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSourceId
|
||||
|
||||
`func (o *SourceSubtype) SetSourceId(v string)`
|
||||
|
||||
SetSourceId sets SourceId field to given value.
|
||||
|
||||
### HasSourceId
|
||||
|
||||
`func (o *SourceSubtype) HasSourceId() bool`
|
||||
|
||||
HasSourceId returns a boolean if a field has been set.
|
||||
|
||||
### GetTechnicalName
|
||||
|
||||
`func (o *SourceSubtype) GetTechnicalName() string`
|
||||
|
||||
GetTechnicalName returns the TechnicalName field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTechnicalNameOk
|
||||
|
||||
`func (o *SourceSubtype) GetTechnicalNameOk() (*string, bool)`
|
||||
|
||||
GetTechnicalNameOk returns a tuple with the TechnicalName field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTechnicalName
|
||||
|
||||
`func (o *SourceSubtype) SetTechnicalName(v string)`
|
||||
|
||||
SetTechnicalName sets TechnicalName field to given value.
|
||||
|
||||
|
||||
### GetDisplayName
|
||||
|
||||
`func (o *SourceSubtype) GetDisplayName() string`
|
||||
|
||||
GetDisplayName returns the DisplayName field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDisplayNameOk
|
||||
|
||||
`func (o *SourceSubtype) GetDisplayNameOk() (*string, bool)`
|
||||
|
||||
GetDisplayNameOk returns a tuple with the DisplayName field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDisplayName
|
||||
|
||||
`func (o *SourceSubtype) SetDisplayName(v string)`
|
||||
|
||||
SetDisplayName sets DisplayName field to given value.
|
||||
|
||||
|
||||
### GetDescription
|
||||
|
||||
`func (o *SourceSubtype) GetDescription() string`
|
||||
|
||||
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDescriptionOk
|
||||
|
||||
`func (o *SourceSubtype) 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 *SourceSubtype) SetDescription(v string)`
|
||||
|
||||
SetDescription sets Description field to given value.
|
||||
|
||||
|
||||
### GetCreated
|
||||
|
||||
`func (o *SourceSubtype) GetCreated() SailPointTime`
|
||||
|
||||
GetCreated returns the Created field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedOk
|
||||
|
||||
`func (o *SourceSubtype) GetCreatedOk() (*SailPointTime, 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 *SourceSubtype) SetCreated(v SailPointTime)`
|
||||
|
||||
SetCreated sets Created field to given value.
|
||||
|
||||
### HasCreated
|
||||
|
||||
`func (o *SourceSubtype) HasCreated() bool`
|
||||
|
||||
HasCreated returns a boolean if a field has been set.
|
||||
|
||||
### GetModified
|
||||
|
||||
`func (o *SourceSubtype) GetModified() SailPointTime`
|
||||
|
||||
GetModified returns the Modified field if non-nil, zero value otherwise.
|
||||
|
||||
### GetModifiedOk
|
||||
|
||||
`func (o *SourceSubtype) GetModifiedOk() (*SailPointTime, 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 *SourceSubtype) SetModified(v SailPointTime)`
|
||||
|
||||
SetModified sets Modified field to given value.
|
||||
|
||||
### HasModified
|
||||
|
||||
`func (o *SourceSubtype) HasModified() bool`
|
||||
|
||||
HasModified returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -2198,76 +2198,6 @@
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
- path: /generic-approvals/{id}
|
||||
method: Get
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/beta/methods/approvals#get-approval
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
beta "github.com/sailpoint-oss/golang-sdk/v2/api_beta"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | ID of the approval that to be returned. # string | ID of the approval that to be returned.
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.Beta.ApprovalsAPI.GetApproval(context.Background(), id).Execute()
|
||||
//resp, r, err := apiClient.Beta.ApprovalsAPI.GetApproval(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.GetApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetApproval`: Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.GetApproval`: %v\n", resp)
|
||||
}
|
||||
- path: /generic-approvals
|
||||
method: Get
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/beta/methods/approvals#get-approvals
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
beta "github.com/sailpoint-oss/golang-sdk/v2/api_beta"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
mine := true // bool | Returns the list of approvals for the current caller. (optional) # bool | Returns the list of approvals for the current caller. (optional)
|
||||
requesterId := `17e633e7d57e481569df76323169deb6a` // string | Returns the list of approvals for a given requester ID. (optional) # string | Returns the list of approvals for a given requester ID. (optional)
|
||||
filters := `filters=status eq PENDING` // 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: **status**: *eq* **referenceType**: *eq* (optional) # 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: **status**: *eq* **referenceType**: *eq* (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.Beta.ApprovalsAPI.GetApprovals(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.Beta.ApprovalsAPI.GetApprovals(context.Background()).Mine(mine).RequesterId(requesterId).Filters(filters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.GetApprovals``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetApprovals`: []Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.GetApprovals`: %v\n", resp)
|
||||
}
|
||||
- path: /source-apps
|
||||
method: Post
|
||||
xCodeSample:
|
||||
|
||||
@@ -2709,6 +2709,48 @@
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
- path: /generic-approvals/{id}/approve
|
||||
method: Post
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/approvals#approve-approval
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to approve # string | Approval ID that correlates to an existing approval request that a user wants to approve
|
||||
approvalapproverequest := []byte(`{
|
||||
"comment" : "comment",
|
||||
"additionalAttributes" : {
|
||||
"additionalProp1" : "string",
|
||||
"additionalProp2" : "string",
|
||||
"additionalProp3" : "string"
|
||||
}
|
||||
}`) // ApprovalApproveRequest | (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.ApproveApproval(context.Background(), id).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.ApproveApproval(context.Background(), id).ApprovalApproveRequest(approvalApproveRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.ApproveApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ApproveApproval`: Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.ApproveApproval`: %v\n", resp)
|
||||
}
|
||||
- path: /generic-approvals/{id}
|
||||
method: Get
|
||||
xCodeSample:
|
||||
@@ -2762,18 +2804,27 @@
|
||||
)
|
||||
|
||||
func main() {
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
mine := true // bool | Returns the list of approvals for the current caller (optional) # bool | Returns the list of approvals for the current caller (optional)
|
||||
requesterId := `17e633e7d57e481569df76323169deb6a` // string | Returns the list of approvals for a given requester ID (optional) # string | Returns the list of approvals for a given requester ID (optional)
|
||||
filters := `filters=status eq PENDING` // 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: **status**: *eq* **referenceType**: *eq* (optional) # 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: **status**: *eq* **referenceType**: *eq* (optional)
|
||||
mine := true // bool | Returns the list of approvals for the current caller. (optional) (default to false) # bool | Returns the list of approvals for the current caller. (optional) (default to false)
|
||||
requesterId := `17e633e7d57e481569df76323169deb6a` // string | Returns the list of approvals for a given requester ID. Must match the calling user's identity ID unless they are an admin. (optional) # string | Returns the list of approvals for a given requester ID. Must match the calling user's identity ID unless they are an admin. (optional)
|
||||
requesteeId := `27e6334g757e481569df76323169db9sc` // string | Returns the list of approvals for a given requesteeId ID. Must match the calling user's identity ID unless they are an admin. (optional) # string | Returns the list of approvals for a given requesteeId ID. Must match the calling user's identity ID unless they are an admin. (optional)
|
||||
approverId := `37e6334g557e481569df7g2d3169db9sb` // string | Returns the list of approvals for a given approverId ID. Must match the calling user's identity ID unless they are an admin. (optional) # string | Returns the list of approvals for a given approverId ID. Must match the calling user's identity ID unless they are an admin. (optional)
|
||||
count := true // bool | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. (optional) (default to false) # bool | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. (optional) (default to false)
|
||||
countOnly := true // bool | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. Only returns the count and no approval objects. (optional) (default to false) # bool | Adds X-Total-Count to the header to give the amount of total approvals returned from the query. Only returns the count and no approval objects. (optional) (default to false)
|
||||
includeComments := true // bool | If set to true in the query, the approval requests returned will include comments. (optional) (default to false) # bool | If set to true in the query, the approval requests returned will include comments. (optional) (default to false)
|
||||
includeApprovers := true // bool | If set to true in the query, the approval requests returned will include approvers. (optional) (default to false) # bool | If set to true in the query, the approval requests returned will include approvers. (optional) (default to false)
|
||||
includeBatchInfo := true // bool | If set to true in the query, the approval requests returned will include batch information. (optional) (default to false) # bool | If set to true in the query, the approval requests returned will include batch information. (optional) (default to false)
|
||||
includeBatchInfo2 := true // bool | If set to true in the query, the approval requests returned will include batch information. (optional) (default to false) # bool | If set to true in the query, the approval requests returned will include batch information. (optional) (default to false)
|
||||
filters := `filters=status eq PENDING` // 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: **status**: *eq* **referenceType**: *eq* **name**: *eq* **priority**: *eq* **type**: *eq* **medium**: *eq* **description**: *eq* **batchId**: *eq* **approvalId**: *eq* **tenantId**: *eq* **createdDate**: *eq* **dueDate**: *eq* **completedDate**: *eq* **search**: *eq* **referenceId**: *eq* **referenceName**: *eq* **requestedTargetType**: *eq* **requestedTargetRequestType**: *eq* **requestedTargetId**: *eq* **modifiedDate**: *eq* **requesterId**: *eq* **requesteeId**: *eq* **approverId**: *eq* (optional) # 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: **status**: *eq* **referenceType**: *eq* **name**: *eq* **priority**: *eq* **type**: *eq* **medium**: *eq* **description**: *eq* **batchId**: *eq* **approvalId**: *eq* **tenantId**: *eq* **createdDate**: *eq* **dueDate**: *eq* **completedDate**: *eq* **search**: *eq* **referenceId**: *eq* **referenceName**: *eq* **requestedTargetType**: *eq* **requestedTargetRequestType**: *eq* **requestedTargetId**: *eq* **modifiedDate**: *eq* **requesterId**: *eq* **requesteeId**: *eq* **approverId**: *eq* (optional)
|
||||
limit := 250 // int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).XSailPointExperimental(xSailPointExperimental).Mine(mine).RequesterId(requesterId).Filters(filters).Execute()
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.GetApprovals(context.Background()).Mine(mine).RequesterId(requesterId).RequesteeId(requesteeId).ApproverId(approverId).Count(count).CountOnly(countOnly).IncludeComments(includeComments).IncludeApprovers(includeApprovers).IncludeBatchInfo(includeBatchInfo).IncludeBatchInfo2(includeBatchInfo2).Filters(filters).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.GetApprovals``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -2781,6 +2832,176 @@
|
||||
// response from `GetApprovals`: []Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.GetApprovals`: %v\n", resp)
|
||||
}
|
||||
- path: /generic-approvals/{id}/reject
|
||||
method: Post
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/approvals#reject-approval
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to reject. # string | Approval ID that correlates to an existing approval request that a user wants to reject.
|
||||
approvalrejectrequest := []byte(`{
|
||||
"comment" : "string"
|
||||
}`) // ApprovalRejectRequest | (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2025.ApprovalsAPI.RejectApproval(context.Background(), id).Execute()
|
||||
//r, err := apiClient.V2025.ApprovalsAPI.RejectApproval(context.Background(), id).ApprovalRejectRequest(approvalRejectRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.RejectApproval``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
- path: /generic-approvals/{id}/attributes
|
||||
method: Post
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/approvals#update-approvals-attributes
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to change the attributes of. # string | Approval ID that correlates to an existing approval request that a user wants to change the attributes of.
|
||||
approvalattributesrequest := []byte(`{
|
||||
"removeAttributeKeys" : [ "string" ],
|
||||
"comment" : "comment",
|
||||
"additionalAttributes" : {
|
||||
"additionalProp1" : "string",
|
||||
"additionalProp2" : "string",
|
||||
"additionalProp3" : "string"
|
||||
}
|
||||
}`) // ApprovalAttributesRequest |
|
||||
|
||||
|
||||
var approvalAttributesRequest v2025.ApprovalAttributesRequest
|
||||
if err := json.Unmarshal(approvalattributesrequest, &approvalAttributesRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsAttributes(context.Background(), id).ApprovalAttributesRequest(approvalAttributesRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsAttributes(context.Background(), id).ApprovalAttributesRequest(approvalAttributesRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.UpdateApprovalsAttributes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateApprovalsAttributes`: Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.UpdateApprovalsAttributes`: %v\n", resp)
|
||||
}
|
||||
- path: /generic-approvals/{id}/comments
|
||||
method: Post
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/approvals#update-approvals-comments
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to add a comment to. # string | Approval ID that correlates to an existing approval request that a user wants to add a comment to.
|
||||
approvalcommentsrequest := []byte(`{
|
||||
"comment" : "Approval comment."
|
||||
}`) // ApprovalCommentsRequest |
|
||||
|
||||
|
||||
var approvalCommentsRequest v2025.ApprovalCommentsRequest
|
||||
if err := json.Unmarshal(approvalcommentsrequest, &approvalCommentsRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsComments(context.Background(), id).ApprovalCommentsRequest(approvalCommentsRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsComments(context.Background(), id).ApprovalCommentsRequest(approvalCommentsRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.UpdateApprovalsComments``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `UpdateApprovalsComments`: Approval
|
||||
fmt.Fprintf(os.Stdout, "Response from `ApprovalsAPI.UpdateApprovalsComments`: %v\n", resp)
|
||||
}
|
||||
- path: /generic-approvals/{id}/reassign
|
||||
method: Post
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/approvals#update-approvals-reassign
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
id := `38453251-6be2-5f8f-df93-5ce19e295837` // string | Approval ID that correlates to an existing approval request that a user wants to reassign. # string | Approval ID that correlates to an existing approval request that a user wants to reassign.
|
||||
approvalreassignrequest := []byte(`{
|
||||
"reassignTo" : "152354832eb6f8f539fd738592e19ec5",
|
||||
"comment" : "comment",
|
||||
"reassignFrom" : "384532516be25f8fdf935ce19e295837"
|
||||
}`) // ApprovalReassignRequest |
|
||||
|
||||
|
||||
var approvalReassignRequest v2025.ApprovalReassignRequest
|
||||
if err := json.Unmarshal(approvalreassignrequest, &approvalReassignRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsReassign(context.Background(), id).ApprovalReassignRequest(approvalReassignRequest).Execute()
|
||||
//r, err := apiClient.V2025.ApprovalsAPI.UpdateApprovalsReassign(context.Background(), id).ApprovalReassignRequest(approvalReassignRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `ApprovalsAPI.UpdateApprovalsReassign``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
- path: /source-apps
|
||||
method: Post
|
||||
xCodeSample:
|
||||
@@ -15049,6 +15270,90 @@
|
||||
// response from `SetMachineAccountMappings`: []AttributeMappings
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountMappingsAPI.SetMachineAccountMappings`: %v\n", resp)
|
||||
}
|
||||
- path: /sources/{sourceId}/subtypes
|
||||
method: Post
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/machine-accounts#create-machine-account-subtype
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
sourceId := `6d0458373bec4b4b80460992b76016da` // string | The ID of the source. # string | The ID of the source.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
sourcesubtype := []byte(`{
|
||||
"sourceId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
|
||||
"displayName" : "Mr Foo",
|
||||
"created" : "2025-07-28T16:13:42.8013Z",
|
||||
"description" : "fighters",
|
||||
"modified" : "2025-07-28T16:13:42.75085Z",
|
||||
"id" : "43bdd144-4b17-4fce-a744-17c7fd3e717b",
|
||||
"technicalName" : "foo"
|
||||
}`) // SourceSubtype |
|
||||
|
||||
|
||||
var sourceSubtype v2025.SourceSubtype
|
||||
if err := json.Unmarshal(sourcesubtype, &sourceSubtype); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.CreateMachineAccountSubtype(context.Background(), sourceId).XSailPointExperimental(xSailPointExperimental).SourceSubtype(sourceSubtype).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.CreateMachineAccountSubtype(context.Background(), sourceId).XSailPointExperimental(xSailPointExperimental).SourceSubtype(sourceSubtype).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.CreateMachineAccountSubtype``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateMachineAccountSubtype`: SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.CreateMachineAccountSubtype`: %v\n", resp)
|
||||
}
|
||||
- path: /sources/{sourceId}/subtypes/{technicalName}
|
||||
method: Delete
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/machine-accounts#delete-machine-account-subtype
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
subtypeId := `43bdd144-4b17-4fce-a744-17c7fd3e717b` // string | The ID of the machine account subtype. # string | The ID of the machine account subtype.
|
||||
technicalName := `foo` // string | The technical name of the subtype. # string | The technical name of the subtype.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2025.MachineAccountsAPI.DeleteMachineAccountSubtype(context.Background(), subtypeId, technicalName).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//r, err := apiClient.V2025.MachineAccountsAPI.DeleteMachineAccountSubtype(context.Background(), subtypeId, technicalName).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.DeleteMachineAccountSubtype``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
}
|
||||
- path: /machine-accounts/{id}
|
||||
method: Get
|
||||
xCodeSample:
|
||||
@@ -15084,6 +15389,117 @@
|
||||
// response from `GetMachineAccount`: MachineAccount
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.GetMachineAccount`: %v\n", resp)
|
||||
}
|
||||
- path: /sources/subtype/{subtypeId}
|
||||
method: Get
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/machine-accounts#get-machine-account-subtype-by-id
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
subtypeId := `43bdd144-4b17-4fce-a744-17c7fd3e717b` // string | The ID of the machine account subtype. # string | The ID of the machine account subtype.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccountSubtypeById(context.Background(), subtypeId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccountSubtypeById(context.Background(), subtypeId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.GetMachineAccountSubtypeById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetMachineAccountSubtypeById`: SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.GetMachineAccountSubtypeById`: %v\n", resp)
|
||||
}
|
||||
- path: /sources/{sourceId}/subtypes/{technicalName}
|
||||
method: Get
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/machine-accounts#get-machine-account-subtype-by-technical-name
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
sourceId := `6d0458373bec4b4b80460992b76016da` // string | The ID of the source. # string | The ID of the source.
|
||||
technicalName := `foo` // string | The technical name of the subtype. # string | The technical name of the subtype.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccountSubtypeByTechnicalName(context.Background(), sourceId, technicalName).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.GetMachineAccountSubtypeByTechnicalName(context.Background(), sourceId, technicalName).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.GetMachineAccountSubtypeByTechnicalName``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetMachineAccountSubtypeByTechnicalName`: SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.GetMachineAccountSubtypeByTechnicalName`: %v\n", resp)
|
||||
}
|
||||
- path: /sources/{sourceId}/subtypes
|
||||
method: Get
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/machine-accounts#list-machine-account-subtypes
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
sourceId := `6d0458373bec4b4b80460992b76016da` // string | The ID of the source. # string | The ID of the source.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
filters := `identityId eq "2c9180858082150f0180893dbaf44201"` // 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: **displayName**: *eq, sw* **technicalName**: *eq, sw* (optional) # 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: **displayName**: *eq, sw* **technicalName**: *eq, sw* (optional)
|
||||
sorters := `displayName` // 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: **displayName, technicalName** (optional) # 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: **displayName, technicalName** (optional)
|
||||
count := true // bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false) # bool | If *true* it will populate the *X-Total-Count* response header with the number of results that would be returned if *limit* and *offset* were ignored. Since requesting a total count can have a performance impact, it is recommended not to send **count=true** if that value will not be used. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to false)
|
||||
limit := 250 // int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250) # int32 | Max number of results to return. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 250)
|
||||
offset := 0 // int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0) # int32 | Offset into the full result set. Usually specified with *limit* to paginate through the results. See [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters) for more information. (optional) (default to 0)
|
||||
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.ListMachineAccountSubtypes(context.Background(), sourceId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.ListMachineAccountSubtypes(context.Background(), sourceId).XSailPointExperimental(xSailPointExperimental).Filters(filters).Sorters(sorters).Count(count).Limit(limit).Offset(offset).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.ListMachineAccountSubtypes``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListMachineAccountSubtypes`: []SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.ListMachineAccountSubtypes`: %v\n", resp)
|
||||
}
|
||||
- path: /machine-accounts
|
||||
method: Get
|
||||
xCodeSample:
|
||||
@@ -15123,6 +15539,57 @@
|
||||
// response from `ListMachineAccounts`: []MachineAccount
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.ListMachineAccounts`: %v\n", resp)
|
||||
}
|
||||
- path: /sources/{sourceId}/subtypes/{technicalName}
|
||||
method: Patch
|
||||
xCodeSample:
|
||||
- lang: Go
|
||||
label: SDK_tools/sdk/go/v2025/methods/machine-accounts#patch-machine-account-subtype
|
||||
source: |
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2025 "github.com/sailpoint-oss/golang-sdk/v2/api_v2025"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
subtypeId := `43bdd144-4b17-4fce-a744-17c7fd3e717b` // string | The ID of the machine account subtype. # string | The ID of the machine account subtype.
|
||||
technicalName := `foo` // string | The technical name of the subtype. # string | The technical name of the subtype.
|
||||
xSailPointExperimental := `true` // string | Use this header to enable this experimental API. (default to "true") # string | Use this header to enable this experimental API. (default to "true")
|
||||
sourcesubtype := []byte(`{
|
||||
"sourceId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
|
||||
"displayName" : "Mr Foo",
|
||||
"created" : "2025-07-28T16:13:42.8013Z",
|
||||
"description" : "fighters",
|
||||
"modified" : "2025-07-28T16:13:42.75085Z",
|
||||
"id" : "43bdd144-4b17-4fce-a744-17c7fd3e717b",
|
||||
"technicalName" : "foo"
|
||||
}`) // SourceSubtype |
|
||||
|
||||
|
||||
var sourceSubtype v2025.SourceSubtype
|
||||
if err := json.Unmarshal(sourcesubtype, &sourceSubtype); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.MachineAccountsAPI.PatchMachineAccountSubtype(context.Background(), subtypeId, technicalName).XSailPointExperimental(xSailPointExperimental).SourceSubtype(sourceSubtype).Execute()
|
||||
//resp, r, err := apiClient.V2025.MachineAccountsAPI.PatchMachineAccountSubtype(context.Background(), subtypeId, technicalName).XSailPointExperimental(xSailPointExperimental).SourceSubtype(sourceSubtype).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `MachineAccountsAPI.PatchMachineAccountSubtype``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `PatchMachineAccountSubtype`: SourceSubtype
|
||||
fmt.Fprintf(os.Stdout, "Response from `MachineAccountsAPI.PatchMachineAccountSubtype`: %v\n", resp)
|
||||
}
|
||||
- path: /machine-accounts/{id}
|
||||
method: Patch
|
||||
xCodeSample:
|
||||
|
||||
Reference in New Issue
Block a user