mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 20:37:47 +00:00
Update Go SDK docs: 17071004561
This commit is contained in:
@@ -36,6 +36,7 @@ Method | HTTP request | Description
|
||||
[**close-access-request**](#close-access-request) | **Post** `/access-requests/close` | Close access request
|
||||
[**create-access-request**](#create-access-request) | **Post** `/access-requests` | Submit access request
|
||||
[**get-access-request-config**](#get-access-request-config) | **Get** `/access-request-config` | Get access request configuration
|
||||
[**get-entitlement-details-for-identity**](#get-entitlement-details-for-identity) | **Get** `/revocable-objects` | Identity entitlement details
|
||||
[**list-access-request-status**](#list-access-request-status) | **Get** `/access-request-status` | Access request status
|
||||
[**list-administrators-access-request-status**](#list-administrators-access-request-status) | **Get** `/access-request-administration` | Access request status for administrators
|
||||
[**load-account-selections**](#load-account-selections) | **Post** `/access-requests/accounts-selection` | Get accounts selections for identity
|
||||
@@ -655,6 +656,88 @@ func main() {
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-entitlement-details-for-identity
|
||||
:::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
|
||||
```
|
||||
:::
|
||||
Identity entitlement details
|
||||
Use this API to return the details for a entitlement on an identity including specific data relating to remove date and the ability to revoke the identity.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/get-entitlement-details-for-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**identityId** | **string** | The identity ID. |
|
||||
**entitlementId** | **string** | The entitlement ID |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetEntitlementDetailsForIdentityRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**IdentityEntitlementDetails**](../models/identity-entitlement-details)
|
||||
|
||||
### 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() {
|
||||
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")
|
||||
identityId := `7025c863c2704ba6beeaedf3cb091573` // string | The identity ID. # string | The identity ID.
|
||||
entitlementId := `ef38f94347e94562b5bb8424a56397d8` // string | The entitlement ID # string | The entitlement ID
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.AccessRequestsAPI.GetEntitlementDetailsForIdentity(context.Background(), identityId, entitlementId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2024.AccessRequestsAPI.GetEntitlementDetailsForIdentity(context.Background(), identityId, entitlementId).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.GetEntitlementDetailsForIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetEntitlementDetailsForIdentity`: IdentityEntitlementDetails
|
||||
fmt.Fprintf(os.Stdout, "Response from `AccessRequestsAPI.GetEntitlementDetailsForIdentity`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-access-request-status
|
||||
Access request status
|
||||
Use this API to return a list of access request statuses based on the specified query parameters.
|
||||
@@ -832,6 +915,17 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## load-account-selections
|
||||
:::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 accounts selections for identity
|
||||
Use this API to fetch account information for an identity against the items in an access request.
|
||||
|
||||
@@ -851,6 +945,7 @@ Other parameters are passed through a pointer to a apiLoadAccountSelectionsReque
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**accountsSelectionRequest** | [**AccountsSelectionRequest**](../models/accounts-selection-request) | |
|
||||
|
||||
### Return type
|
||||
@@ -877,6 +972,7 @@ 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")
|
||||
accountsselectionrequest := []byte(`{
|
||||
"requestedFor" : "2c918084660f45d6016617daa9210584",
|
||||
"clientMetadata" : {
|
||||
@@ -951,8 +1047,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.AccessRequestsAPI.LoadAccountSelections(context.Background()).AccountsSelectionRequest(accountsSelectionRequest).Execute()
|
||||
//resp, r, err := apiClient.V2024.AccessRequestsAPI.LoadAccountSelections(context.Background()).AccountsSelectionRequest(accountsSelectionRequest).Execute()
|
||||
resp, r, err := apiClient.V2024.AccessRequestsAPI.LoadAccountSelections(context.Background()).XSailPointExperimental(xSailPointExperimental).AccountsSelectionRequest(accountsSelectionRequest).Execute()
|
||||
//resp, r, err := apiClient.V2024.AccessRequestsAPI.LoadAccountSelections(context.Background()).XSailPointExperimental(xSailPointExperimental).AccountsSelectionRequest(accountsSelectionRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.LoadAccountSelections``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -35,6 +35,7 @@ Method | HTTP request | Description
|
||||
[**get-identity-ownership-details**](#get-identity-ownership-details) | **Get** `/identities/{identityId}/ownership` | Get ownership details
|
||||
[**get-role-assignment**](#get-role-assignment) | **Get** `/identities/{identityId}/role-assignments/{assignmentId}` | Role assignment details
|
||||
[**get-role-assignments**](#get-role-assignments) | **Get** `/identities/{identityId}/role-assignments` | List role assignments
|
||||
[**list-entitlements-by-identity**](#list-entitlements-by-identity) | **Get** `/entitlements/identities/{id}/entitlements` | List of entitlements by identity.
|
||||
[**list-identities**](#list-identities) | **Get** `/identities` | List identities
|
||||
[**reset-identity**](#reset-identity) | **Post** `/identities/{id}/reset` | Reset an identity
|
||||
[**send-identity-verification-account-token**](#send-identity-verification-account-token) | **Post** `/identities/{id}/verification/account/send` | Send password reset email
|
||||
@@ -381,6 +382,78 @@ func main() {
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-entitlements-by-identity
|
||||
List of entitlements by identity.
|
||||
The API returns a list of all entitlements assigned to an identity, either directly or through the role or access profile. A token with ORG_ADMIN or API authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/list-entitlements-by-identity)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | Identity Id |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListEntitlementsByIdentityRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**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]
|
||||
**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]
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]IdentityEntitlements**](../models/identity-entitlements)
|
||||
|
||||
### 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 := `ef38f94347e94562b5bb8424a56397d8` // string | Identity Id # string | Identity Id
|
||||
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)
|
||||
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)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.IdentitiesAPI.ListEntitlementsByIdentity(context.Background(), id).Execute()
|
||||
//resp, r, err := apiClient.V2024.IdentitiesAPI.ListEntitlementsByIdentity(context.Background(), id).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.ListEntitlementsByIdentity``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListEntitlementsByIdentity`: []IdentityEntitlements
|
||||
fmt.Fprintf(os.Stdout, "Response from `IdentitiesAPI.ListEntitlementsByIdentity`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-identities
|
||||
List identities
|
||||
This API returns a list of identities.
|
||||
@@ -608,6 +681,17 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## start-identities-invite
|
||||
:::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
|
||||
```
|
||||
:::
|
||||
Invite identities to register
|
||||
This API submits a task for inviting given identities via email to complete registration. The invitation email will include the link. After selecting the link an identity will be able to set up password and log in into the system. Invitations expire after 7 days. By default invitations send to the work identity email. It can be changed in Admin > Identities > Identity Profiles by selecting corresponding profile and editing Invitation Options.
|
||||
|
||||
@@ -629,6 +713,7 @@ Other parameters are passed through a pointer to a apiStartIdentitiesInviteReque
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**inviteIdentitiesRequest** | [**InviteIdentitiesRequest**](../models/invite-identities-request) | |
|
||||
|
||||
### Return type
|
||||
@@ -655,6 +740,7 @@ 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")
|
||||
inviteidentitiesrequest := []byte(`{
|
||||
"ids" : [ "2b568c65bc3c4c57a43bd97e3a8e55", "2c9180867769897d01776ed5f125512f" ],
|
||||
"uninvited" : false
|
||||
@@ -669,8 +755,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.IdentitiesAPI.StartIdentitiesInvite(context.Background()).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
//resp, r, err := apiClient.V2024.IdentitiesAPI.StartIdentitiesInvite(context.Background()).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
resp, r, err := apiClient.V2024.IdentitiesAPI.StartIdentitiesInvite(context.Background()).XSailPointExperimental(xSailPointExperimental).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
//resp, r, err := apiClient.V2024.IdentitiesAPI.StartIdentitiesInvite(context.Background()).XSailPointExperimental(xSailPointExperimental).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.StartIdentitiesInvite``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -362,17 +362,6 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## generate-identity-preview
|
||||
:::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
|
||||
```
|
||||
:::
|
||||
Generate identity profile preview
|
||||
This generates a non-persisted IdentityDetails object that will represent as the preview of the identities attribute when the given policy''s attribute config is applied.
|
||||
|
||||
@@ -389,7 +378,6 @@ Other parameters are passed through a pointer to a apiGenerateIdentityPreviewReq
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**identityPreviewRequest** | [**IdentityPreviewRequest**](../models/identity-preview-request) | Identity Preview request body. |
|
||||
|
||||
### Return type
|
||||
@@ -416,7 +404,6 @@ 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")
|
||||
identitypreviewrequest := []byte(`{
|
||||
"identityId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
|
||||
"identityAttributeConfig" : {
|
||||
@@ -454,8 +441,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
//resp, r, err := apiClient.V2024.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
resp, r, err := apiClient.V2024.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
//resp, r, err := apiClient.V2024.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.GenerateIdentityPreview``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
448
docs/tools/sdk/go/Reference/V2024/Methods/LaunchersAPI.md
Normal file
448
docs/tools/sdk/go/Reference/V2024/Methods/LaunchersAPI.md
Normal file
@@ -0,0 +1,448 @@
|
||||
---
|
||||
id: v2024-launchers
|
||||
title: Launchers
|
||||
pagination_label: Launchers
|
||||
sidebar_label: Launchers
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Launchers', 'V2024Launchers']
|
||||
slug: /tools/sdk/go/v2024/methods/launchers
|
||||
tags: ['SDK', 'Software Development Kit', 'Launchers', 'V2024Launchers']
|
||||
---
|
||||
|
||||
# LaunchersAPI
|
||||
|
||||
All URIs are relative to *https://sailpoint.api.identitynow.com/v2024*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**create-launcher**](#create-launcher) | **Post** `/launchers` | Create launcher
|
||||
[**delete-launcher**](#delete-launcher) | **Delete** `/launchers/{launcherID}` | Delete launcher
|
||||
[**get-launcher**](#get-launcher) | **Get** `/launchers/{launcherID}` | Get launcher by id
|
||||
[**get-launchers**](#get-launchers) | **Get** `/launchers` | List all launchers for tenant
|
||||
[**put-launcher**](#put-launcher) | **Put** `/launchers/{launcherID}` | Replace launcher
|
||||
[**start-launcher**](#start-launcher) | **Post** `/launchers/{launcherID}/launch` | Launch a launcher
|
||||
|
||||
|
||||
## create-launcher
|
||||
Create launcher
|
||||
Create a Launcher with given information
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/create-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**launcherRequest** | [**LauncherRequest**](../models/launcher-request) | Payload to create a Launcher |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Launcher**](../models/launcher)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2024 "github.com/sailpoint-oss/golang-sdk/v2/api_v2024"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
launcherrequest := []byte(`{
|
||||
"reference" : {
|
||||
"id" : "2fd6ff94-2081-4d29-acbc-83a0a2f744a5",
|
||||
"type" : "WORKFLOW"
|
||||
},
|
||||
"name" : "Group Create",
|
||||
"description" : "Create a new Active Directory Group",
|
||||
"disabled" : false,
|
||||
"type" : "INTERACTIVE_PROCESS",
|
||||
"config" : "{\"workflowId\" : \"6b42d9be-61b6-46af-827e-ea29ba8aa3d9\"}"
|
||||
}`) // LauncherRequest | Payload to create a Launcher
|
||||
|
||||
var launcherRequest v2024.LauncherRequest
|
||||
if err := json.Unmarshal(launcherrequest, &launcherRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.LaunchersAPI.CreateLauncher(context.Background()).LauncherRequest(launcherRequest).Execute()
|
||||
//resp, r, err := apiClient.V2024.LaunchersAPI.CreateLauncher(context.Background()).LauncherRequest(launcherRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.CreateLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateLauncher`: Launcher
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.CreateLauncher`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-launcher
|
||||
Delete launcher
|
||||
Delete the given Launcher ID
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/delete-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**launcherID** | **string** | ID of the Launcher to be deleted |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### 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() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be deleted # string | ID of the Launcher to be deleted
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2024.LaunchersAPI.DeleteLauncher(context.Background(), launcherID).Execute()
|
||||
//r, err := apiClient.V2024.LaunchersAPI.DeleteLauncher(context.Background(), launcherID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.DeleteLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-launcher
|
||||
Get launcher by id
|
||||
Get details for the given Launcher ID
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/get-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**launcherID** | **string** | ID of the Launcher to be retrieved |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**Launcher**](../models/launcher)
|
||||
|
||||
### 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() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be retrieved # string | ID of the Launcher to be retrieved
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.LaunchersAPI.GetLauncher(context.Background(), launcherID).Execute()
|
||||
//resp, r, err := apiClient.V2024.LaunchersAPI.GetLauncher(context.Background(), launcherID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.GetLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetLauncher`: Launcher
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.GetLauncher`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-launchers
|
||||
List all launchers for tenant
|
||||
Return a list of Launchers for the authenticated tenant
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/get-launchers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetLaunchersRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**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: **description**: *sw* **disabled**: *eq* **name**: *sw* |
|
||||
**next** | **string** | Pagination marker |
|
||||
**limit** | **int32** | Number of Launchers to return | [default to 10]
|
||||
|
||||
### Return type
|
||||
|
||||
[**GetLaunchers200Response**](../models/get-launchers200-response)
|
||||
|
||||
### 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() {
|
||||
filters := `disabled eq "true"` // 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: **description**: *sw* **disabled**: *eq* **name**: *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: **description**: *sw* **disabled**: *eq* **name**: *sw* (optional)
|
||||
next := `eyJuZXh0IjoxMjN9Cg==` // string | Pagination marker (optional) # string | Pagination marker (optional)
|
||||
limit := 42 // int32 | Number of Launchers to return (optional) (default to 10) # int32 | Number of Launchers to return (optional) (default to 10)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.LaunchersAPI.GetLaunchers(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.V2024.LaunchersAPI.GetLaunchers(context.Background()).Filters(filters).Next(next).Limit(limit).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.GetLaunchers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetLaunchers`: GetLaunchers200Response
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.GetLaunchers`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## put-launcher
|
||||
Replace launcher
|
||||
Replace the given Launcher ID with given payload
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/put-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**launcherID** | **string** | ID of the Launcher to be replaced |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiPutLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**launcherRequest** | [**LauncherRequest**](../models/launcher-request) | Payload to replace Launcher |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Launcher**](../models/launcher)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
v2024 "github.com/sailpoint-oss/golang-sdk/v2/api_v2024"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be replaced # string | ID of the Launcher to be replaced
|
||||
launcherrequest := []byte(`{
|
||||
"reference" : {
|
||||
"id" : "2fd6ff94-2081-4d29-acbc-83a0a2f744a5",
|
||||
"type" : "WORKFLOW"
|
||||
},
|
||||
"name" : "Group Create",
|
||||
"description" : "Create a new Active Directory Group",
|
||||
"disabled" : false,
|
||||
"type" : "INTERACTIVE_PROCESS",
|
||||
"config" : "{\"workflowId\" : \"6b42d9be-61b6-46af-827e-ea29ba8aa3d9\"}"
|
||||
}`) // LauncherRequest | Payload to replace Launcher
|
||||
|
||||
var launcherRequest v2024.LauncherRequest
|
||||
if err := json.Unmarshal(launcherrequest, &launcherRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.LaunchersAPI.PutLauncher(context.Background(), launcherID).LauncherRequest(launcherRequest).Execute()
|
||||
//resp, r, err := apiClient.V2024.LaunchersAPI.PutLauncher(context.Background(), launcherID).LauncherRequest(launcherRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.PutLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `PutLauncher`: Launcher
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.PutLauncher`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## start-launcher
|
||||
Launch a launcher
|
||||
Launch the given Launcher ID
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/start-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**launcherID** | **string** | ID of the Launcher to be launched |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiStartLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**StartLauncher200Response**](../models/start-launcher200-response)
|
||||
|
||||
### 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() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be launched # string | ID of the Launcher to be launched
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.LaunchersAPI.StartLauncher(context.Background(), launcherID).Execute()
|
||||
//resp, r, err := apiClient.V2024.LaunchersAPI.StartLauncher(context.Background(), launcherID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.StartLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `StartLauncher`: StartLauncher200Response
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.StartLauncher`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
@@ -321,7 +321,7 @@ Name | Type | Description | Notes
|
||||
**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]
|
||||
**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]
|
||||
**sorters** | **string** | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** |
|
||||
**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: **name, priority, created, modified** |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -351,7 +351,7 @@ func main() {
|
||||
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)
|
||||
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)
|
||||
sorters := `created,modified` // string | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** (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: **created, modified** (optional)
|
||||
sorters := `created,modified` // 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: **name, priority, created, modified** (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: **name, priority, created, modified** (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
314
docs/tools/sdk/go/Reference/V2024/Methods/TagsAPI.md
Normal file
314
docs/tools/sdk/go/Reference/V2024/Methods/TagsAPI.md
Normal file
@@ -0,0 +1,314 @@
|
||||
---
|
||||
id: v2024-tags
|
||||
title: Tags
|
||||
pagination_label: Tags
|
||||
sidebar_label: Tags
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Tags', 'V2024Tags']
|
||||
slug: /tools/sdk/go/v2024/methods/tags
|
||||
tags: ['SDK', 'Software Development Kit', 'Tags', 'V2024Tags']
|
||||
---
|
||||
|
||||
# TagsAPI
|
||||
|
||||
All URIs are relative to *https://sailpoint.api.identitynow.com/v2024*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**create-tag**](#create-tag) | **Post** `/tags` | Create tag
|
||||
[**delete-tag-by-id**](#delete-tag-by-id) | **Delete** `/tags/{id}` | Delete tag
|
||||
[**get-tag-by-id**](#get-tag-by-id) | **Get** `/tags/{id}` | Get tag by id
|
||||
[**list-tags**](#list-tags) | **Get** `/tags` | List tags
|
||||
|
||||
|
||||
## create-tag
|
||||
Create tag
|
||||
This API creates new tag.
|
||||
|
||||
A token with API, ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/create-tag)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateTagRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**tag** | [**Tag**](../models/tag) | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Tag**](../models/tag)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
- **Content-Type**: application/json
|
||||
- **Accept**: application/json
|
||||
|
||||
### Example
|
||||
|
||||
```go
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"os"
|
||||
"encoding/json"
|
||||
|
||||
v2024 "github.com/sailpoint-oss/golang-sdk/v2/api_v2024"
|
||||
sailpoint "github.com/sailpoint-oss/golang-sdk/v2"
|
||||
)
|
||||
|
||||
func main() {
|
||||
tag := []byte(`{
|
||||
"created" : "2022-05-04T14:48:49Z",
|
||||
"tagCategoryRefs" : [ {
|
||||
"name" : "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local",
|
||||
"id" : "2c91809773dee32014e13e122092014e",
|
||||
"type" : "ENTITLEMENT"
|
||||
}, {
|
||||
"name" : "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local",
|
||||
"id" : "2c91809773dee32014e13e122092014e",
|
||||
"type" : "ENTITLEMENT"
|
||||
} ],
|
||||
"name" : "PCI",
|
||||
"modified" : "2022-07-14T16:31:11Z",
|
||||
"id" : "449ecdc0-d4ff-4341-acf6-92f6f7ce604f"
|
||||
}`) // Tag |
|
||||
|
||||
var tag v2024.Tag
|
||||
if err := json.Unmarshal(tag, &tag); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.TagsAPI.CreateTag(context.Background()).Tag(tag).Execute()
|
||||
//resp, r, err := apiClient.V2024.TagsAPI.CreateTag(context.Background()).Tag(tag).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.CreateTag``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateTag`: Tag
|
||||
fmt.Fprintf(os.Stdout, "Response from `TagsAPI.CreateTag`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-tag-by-id
|
||||
Delete tag
|
||||
This API deletes a tag by specified id.
|
||||
|
||||
A token with API, ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/delete-tag-by-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | The ID of the object reference to delete. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteTagByIdRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### 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() {
|
||||
id := `329d96cf-3bdb-40a9-988a-b5037ab89022` // string | The ID of the object reference to delete. # string | The ID of the object reference to delete.
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2024.TagsAPI.DeleteTagById(context.Background(), id).Execute()
|
||||
//r, err := apiClient.V2024.TagsAPI.DeleteTagById(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.DeleteTagById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-tag-by-id
|
||||
Get tag by id
|
||||
Returns a tag by its id.
|
||||
|
||||
A token with API, ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/get-tag-by-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | The ID of the object reference to retrieve. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetTagByIdRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**Tag**](../models/tag)
|
||||
|
||||
### 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 := `329d96cf-3bdb-40a9-988a-b5037ab89022` // string | The ID of the object reference to retrieve. # string | The ID of the object reference to retrieve.
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.TagsAPI.GetTagById(context.Background(), id).Execute()
|
||||
//resp, r, err := apiClient.V2024.TagsAPI.GetTagById(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.GetTagById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetTagById`: Tag
|
||||
fmt.Fprintf(os.Stdout, "Response from `TagsAPI.GetTagById`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-tags
|
||||
List tags
|
||||
This API returns a list of tags.
|
||||
|
||||
A token with API, ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2024/list-tags)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListTagsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**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]
|
||||
**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]
|
||||
**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: **id**: *eq, in* **name**: *eq, in, 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: **id, name, created, modified** |
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]Tag**](../models/tag)
|
||||
|
||||
### 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() {
|
||||
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)
|
||||
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)
|
||||
filters := `id eq "27462f54-61c7-4140-b5da-d5dbe27fc6db"` // 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: **id**: *eq, in* **name**: *eq, in, 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: **id**: *eq, in* **name**: *eq, in, sw* (optional)
|
||||
sorters := `name,-modified` // 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: **id, name, created, modified** (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: **id, name, created, modified** (optional)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2024.TagsAPI.ListTags(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.V2024.TagsAPI.ListTags(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.ListTags``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListTags`: []Tag
|
||||
fmt.Fprintf(os.Stdout, "Response from `TagsAPI.ListTags`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2024-get-launchers200-response
|
||||
title: GetLaunchers200Response
|
||||
pagination_label: GetLaunchers200Response
|
||||
sidebar_label: GetLaunchers200Response
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'GetLaunchers200Response', 'V2024GetLaunchers200Response']
|
||||
slug: /tools/sdk/go/v2024/models/get-launchers200-response
|
||||
tags: ['SDK', 'Software Development Kit', 'GetLaunchers200Response', 'V2024GetLaunchers200Response']
|
||||
---
|
||||
|
||||
# GetLaunchers200Response
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Next** | Pointer to **string** | Pagination marker | [optional]
|
||||
**Items** | Pointer to [**[]Launcher**](launcher) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewGetLaunchers200Response
|
||||
|
||||
`func NewGetLaunchers200Response() *GetLaunchers200Response`
|
||||
|
||||
NewGetLaunchers200Response instantiates a new GetLaunchers200Response 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
|
||||
|
||||
### NewGetLaunchers200ResponseWithDefaults
|
||||
|
||||
`func NewGetLaunchers200ResponseWithDefaults() *GetLaunchers200Response`
|
||||
|
||||
NewGetLaunchers200ResponseWithDefaults instantiates a new GetLaunchers200Response 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
|
||||
|
||||
### GetNext
|
||||
|
||||
`func (o *GetLaunchers200Response) GetNext() string`
|
||||
|
||||
GetNext returns the Next field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNextOk
|
||||
|
||||
`func (o *GetLaunchers200Response) GetNextOk() (*string, bool)`
|
||||
|
||||
GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetNext
|
||||
|
||||
`func (o *GetLaunchers200Response) SetNext(v string)`
|
||||
|
||||
SetNext sets Next field to given value.
|
||||
|
||||
### HasNext
|
||||
|
||||
`func (o *GetLaunchers200Response) HasNext() bool`
|
||||
|
||||
HasNext returns a boolean if a field has been set.
|
||||
|
||||
### GetItems
|
||||
|
||||
`func (o *GetLaunchers200Response) GetItems() []Launcher`
|
||||
|
||||
GetItems returns the Items field if non-nil, zero value otherwise.
|
||||
|
||||
### GetItemsOk
|
||||
|
||||
`func (o *GetLaunchers200Response) GetItemsOk() (*[]Launcher, bool)`
|
||||
|
||||
GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetItems
|
||||
|
||||
`func (o *GetLaunchers200Response) SetItems(v []Launcher)`
|
||||
|
||||
SetItems sets Items field to given value.
|
||||
|
||||
### HasItems
|
||||
|
||||
`func (o *GetLaunchers200Response) HasItems() bool`
|
||||
|
||||
HasItems returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,142 @@
|
||||
---
|
||||
id: v2024-identity-entitlement-details
|
||||
title: IdentityEntitlementDetails
|
||||
pagination_label: IdentityEntitlementDetails
|
||||
sidebar_label: IdentityEntitlementDetails
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityEntitlementDetails', 'V2024IdentityEntitlementDetails']
|
||||
slug: /tools/sdk/go/v2024/models/identity-entitlement-details
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityEntitlementDetails', 'V2024IdentityEntitlementDetails']
|
||||
---
|
||||
|
||||
# IdentityEntitlementDetails
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**IdentityId** | Pointer to **string** | Id of Identity | [optional]
|
||||
**Entitlement** | Pointer to [**IdentityEntitlementDetailsEntitlementDto**](identity-entitlement-details-entitlement-dto) | | [optional]
|
||||
**SourceId** | Pointer to **string** | Id of Source | [optional]
|
||||
**AccountTargets** | Pointer to [**[]IdentityEntitlementDetailsAccountTarget**](identity-entitlement-details-account-target) | A list of account targets on the identity provisioned with the requested entitlement. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewIdentityEntitlementDetails
|
||||
|
||||
`func NewIdentityEntitlementDetails() *IdentityEntitlementDetails`
|
||||
|
||||
NewIdentityEntitlementDetails instantiates a new IdentityEntitlementDetails 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
|
||||
|
||||
### NewIdentityEntitlementDetailsWithDefaults
|
||||
|
||||
`func NewIdentityEntitlementDetailsWithDefaults() *IdentityEntitlementDetails`
|
||||
|
||||
NewIdentityEntitlementDetailsWithDefaults instantiates a new IdentityEntitlementDetails 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 *IdentityEntitlementDetails) GetIdentityId() string`
|
||||
|
||||
GetIdentityId returns the IdentityId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdentityIdOk
|
||||
|
||||
`func (o *IdentityEntitlementDetails) 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 *IdentityEntitlementDetails) SetIdentityId(v string)`
|
||||
|
||||
SetIdentityId sets IdentityId field to given value.
|
||||
|
||||
### HasIdentityId
|
||||
|
||||
`func (o *IdentityEntitlementDetails) HasIdentityId() bool`
|
||||
|
||||
HasIdentityId returns a boolean if a field has been set.
|
||||
|
||||
### GetEntitlement
|
||||
|
||||
`func (o *IdentityEntitlementDetails) GetEntitlement() IdentityEntitlementDetailsEntitlementDto`
|
||||
|
||||
GetEntitlement returns the Entitlement field if non-nil, zero value otherwise.
|
||||
|
||||
### GetEntitlementOk
|
||||
|
||||
`func (o *IdentityEntitlementDetails) GetEntitlementOk() (*IdentityEntitlementDetailsEntitlementDto, bool)`
|
||||
|
||||
GetEntitlementOk returns a tuple with the Entitlement field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetEntitlement
|
||||
|
||||
`func (o *IdentityEntitlementDetails) SetEntitlement(v IdentityEntitlementDetailsEntitlementDto)`
|
||||
|
||||
SetEntitlement sets Entitlement field to given value.
|
||||
|
||||
### HasEntitlement
|
||||
|
||||
`func (o *IdentityEntitlementDetails) HasEntitlement() bool`
|
||||
|
||||
HasEntitlement returns a boolean if a field has been set.
|
||||
|
||||
### GetSourceId
|
||||
|
||||
`func (o *IdentityEntitlementDetails) GetSourceId() string`
|
||||
|
||||
GetSourceId returns the SourceId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSourceIdOk
|
||||
|
||||
`func (o *IdentityEntitlementDetails) 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 *IdentityEntitlementDetails) SetSourceId(v string)`
|
||||
|
||||
SetSourceId sets SourceId field to given value.
|
||||
|
||||
### HasSourceId
|
||||
|
||||
`func (o *IdentityEntitlementDetails) HasSourceId() bool`
|
||||
|
||||
HasSourceId returns a boolean if a field has been set.
|
||||
|
||||
### GetAccountTargets
|
||||
|
||||
`func (o *IdentityEntitlementDetails) GetAccountTargets() []IdentityEntitlementDetailsAccountTarget`
|
||||
|
||||
GetAccountTargets returns the AccountTargets field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAccountTargetsOk
|
||||
|
||||
`func (o *IdentityEntitlementDetails) GetAccountTargetsOk() (*[]IdentityEntitlementDetailsAccountTarget, bool)`
|
||||
|
||||
GetAccountTargetsOk returns a tuple with the AccountTargets field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAccountTargets
|
||||
|
||||
`func (o *IdentityEntitlementDetails) SetAccountTargets(v []IdentityEntitlementDetailsAccountTarget)`
|
||||
|
||||
SetAccountTargets sets AccountTargets field to given value.
|
||||
|
||||
### HasAccountTargets
|
||||
|
||||
`func (o *IdentityEntitlementDetails) HasAccountTargets() bool`
|
||||
|
||||
HasAccountTargets returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,276 @@
|
||||
---
|
||||
id: v2024-identity-entitlement-details-account-target
|
||||
title: IdentityEntitlementDetailsAccountTarget
|
||||
pagination_label: IdentityEntitlementDetailsAccountTarget
|
||||
sidebar_label: IdentityEntitlementDetailsAccountTarget
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityEntitlementDetailsAccountTarget', 'V2024IdentityEntitlementDetailsAccountTarget']
|
||||
slug: /tools/sdk/go/v2024/models/identity-entitlement-details-account-target
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityEntitlementDetailsAccountTarget', 'V2024IdentityEntitlementDetailsAccountTarget']
|
||||
---
|
||||
|
||||
# IdentityEntitlementDetailsAccountTarget
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**AccountId** | Pointer to **string** | The id of account | [optional]
|
||||
**AccountName** | Pointer to **string** | The name of account | [optional]
|
||||
**AccountUUID** | Pointer to **NullableString** | The UUID representation of the account if available | [optional]
|
||||
**SourceId** | Pointer to **string** | The id of Source | [optional]
|
||||
**SourceName** | Pointer to **string** | The name of Source | [optional]
|
||||
**RemoveDate** | Pointer to **NullableString** | The removal date scheduled for the entitlement on the Identity | [optional]
|
||||
**AssignmentId** | Pointer to **NullableString** | The assignmentId of the entitlement on the Identity | [optional]
|
||||
**Revocable** | Pointer to **bool** | If the entitlement can be revoked | [optional] [default to false]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewIdentityEntitlementDetailsAccountTarget
|
||||
|
||||
`func NewIdentityEntitlementDetailsAccountTarget() *IdentityEntitlementDetailsAccountTarget`
|
||||
|
||||
NewIdentityEntitlementDetailsAccountTarget instantiates a new IdentityEntitlementDetailsAccountTarget 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
|
||||
|
||||
### NewIdentityEntitlementDetailsAccountTargetWithDefaults
|
||||
|
||||
`func NewIdentityEntitlementDetailsAccountTargetWithDefaults() *IdentityEntitlementDetailsAccountTarget`
|
||||
|
||||
NewIdentityEntitlementDetailsAccountTargetWithDefaults instantiates a new IdentityEntitlementDetailsAccountTarget 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
|
||||
|
||||
### GetAccountId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetAccountId() string`
|
||||
|
||||
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAccountIdOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetAccountIdOk() (*string, bool)`
|
||||
|
||||
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAccountId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetAccountId(v string)`
|
||||
|
||||
SetAccountId sets AccountId field to given value.
|
||||
|
||||
### HasAccountId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) HasAccountId() bool`
|
||||
|
||||
HasAccountId returns a boolean if a field has been set.
|
||||
|
||||
### GetAccountName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetAccountName() string`
|
||||
|
||||
GetAccountName returns the AccountName field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAccountNameOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetAccountNameOk() (*string, bool)`
|
||||
|
||||
GetAccountNameOk returns a tuple with the AccountName field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAccountName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetAccountName(v string)`
|
||||
|
||||
SetAccountName sets AccountName field to given value.
|
||||
|
||||
### HasAccountName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) HasAccountName() bool`
|
||||
|
||||
HasAccountName returns a boolean if a field has been set.
|
||||
|
||||
### GetAccountUUID
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetAccountUUID() string`
|
||||
|
||||
GetAccountUUID returns the AccountUUID field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAccountUUIDOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetAccountUUIDOk() (*string, bool)`
|
||||
|
||||
GetAccountUUIDOk returns a tuple with the AccountUUID field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAccountUUID
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetAccountUUID(v string)`
|
||||
|
||||
SetAccountUUID sets AccountUUID field to given value.
|
||||
|
||||
### HasAccountUUID
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) HasAccountUUID() bool`
|
||||
|
||||
HasAccountUUID returns a boolean if a field has been set.
|
||||
|
||||
### SetAccountUUIDNil
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetAccountUUIDNil(b bool)`
|
||||
|
||||
SetAccountUUIDNil sets the value for AccountUUID to be an explicit nil
|
||||
|
||||
### UnsetAccountUUID
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) UnsetAccountUUID()`
|
||||
|
||||
UnsetAccountUUID ensures that no value is present for AccountUUID, not even an explicit nil
|
||||
### GetSourceId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetSourceId() string`
|
||||
|
||||
GetSourceId returns the SourceId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSourceIdOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) 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 *IdentityEntitlementDetailsAccountTarget) SetSourceId(v string)`
|
||||
|
||||
SetSourceId sets SourceId field to given value.
|
||||
|
||||
### HasSourceId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) HasSourceId() bool`
|
||||
|
||||
HasSourceId returns a boolean if a field has been set.
|
||||
|
||||
### GetSourceName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetSourceName() string`
|
||||
|
||||
GetSourceName returns the SourceName field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSourceNameOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetSourceNameOk() (*string, bool)`
|
||||
|
||||
GetSourceNameOk returns a tuple with the SourceName field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSourceName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetSourceName(v string)`
|
||||
|
||||
SetSourceName sets SourceName field to given value.
|
||||
|
||||
### HasSourceName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) HasSourceName() bool`
|
||||
|
||||
HasSourceName returns a boolean if a field has been set.
|
||||
|
||||
### GetRemoveDate
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetRemoveDate() string`
|
||||
|
||||
GetRemoveDate returns the RemoveDate field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRemoveDateOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetRemoveDateOk() (*string, bool)`
|
||||
|
||||
GetRemoveDateOk returns a tuple with the RemoveDate field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRemoveDate
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetRemoveDate(v string)`
|
||||
|
||||
SetRemoveDate sets RemoveDate field to given value.
|
||||
|
||||
### HasRemoveDate
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) HasRemoveDate() bool`
|
||||
|
||||
HasRemoveDate returns a boolean if a field has been set.
|
||||
|
||||
### SetRemoveDateNil
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetRemoveDateNil(b bool)`
|
||||
|
||||
SetRemoveDateNil sets the value for RemoveDate to be an explicit nil
|
||||
|
||||
### UnsetRemoveDate
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) UnsetRemoveDate()`
|
||||
|
||||
UnsetRemoveDate ensures that no value is present for RemoveDate, not even an explicit nil
|
||||
### GetAssignmentId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetAssignmentId() string`
|
||||
|
||||
GetAssignmentId returns the AssignmentId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetAssignmentIdOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetAssignmentIdOk() (*string, bool)`
|
||||
|
||||
GetAssignmentIdOk returns a tuple with the AssignmentId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetAssignmentId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetAssignmentId(v string)`
|
||||
|
||||
SetAssignmentId sets AssignmentId field to given value.
|
||||
|
||||
### HasAssignmentId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) HasAssignmentId() bool`
|
||||
|
||||
HasAssignmentId returns a boolean if a field has been set.
|
||||
|
||||
### SetAssignmentIdNil
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetAssignmentIdNil(b bool)`
|
||||
|
||||
SetAssignmentIdNil sets the value for AssignmentId to be an explicit nil
|
||||
|
||||
### UnsetAssignmentId
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) UnsetAssignmentId()`
|
||||
|
||||
UnsetAssignmentId ensures that no value is present for AssignmentId, not even an explicit nil
|
||||
### GetRevocable
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetRevocable() bool`
|
||||
|
||||
GetRevocable returns the Revocable field if non-nil, zero value otherwise.
|
||||
|
||||
### GetRevocableOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) GetRevocableOk() (*bool, bool)`
|
||||
|
||||
GetRevocableOk returns a tuple with the Revocable field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetRevocable
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) SetRevocable(v bool)`
|
||||
|
||||
SetRevocable sets Revocable field to given value.
|
||||
|
||||
### HasRevocable
|
||||
|
||||
`func (o *IdentityEntitlementDetailsAccountTarget) HasRevocable() bool`
|
||||
|
||||
HasRevocable returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,334 @@
|
||||
---
|
||||
id: v2024-identity-entitlement-details-entitlement-dto
|
||||
title: IdentityEntitlementDetailsEntitlementDto
|
||||
pagination_label: IdentityEntitlementDetailsEntitlementDto
|
||||
sidebar_label: IdentityEntitlementDetailsEntitlementDto
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityEntitlementDetailsEntitlementDto', 'V2024IdentityEntitlementDetailsEntitlementDto']
|
||||
slug: /tools/sdk/go/v2024/models/identity-entitlement-details-entitlement-dto
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityEntitlementDetailsEntitlementDto', 'V2024IdentityEntitlementDetailsEntitlementDto']
|
||||
---
|
||||
|
||||
# IdentityEntitlementDetailsEntitlementDto
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | Pointer to **string** | The entitlement id | [optional]
|
||||
**Name** | Pointer to **string** | The entitlement name | [optional]
|
||||
**Created** | Pointer to **SailPointTime** | Time when the entitlement was last modified | [optional]
|
||||
**Modified** | Pointer to **SailPointTime** | Time when the entitlement was last modified | [optional]
|
||||
**Description** | Pointer to **NullableString** | The description of the entitlement | [optional]
|
||||
**Type** | Pointer to **string** | The type of the object, will always be \"ENTITLEMENT\" | [optional]
|
||||
**SourceId** | Pointer to **string** | The source ID | [optional]
|
||||
**SourceName** | Pointer to **string** | The source name | [optional]
|
||||
**Owner** | Pointer to [**OwnerDto**](owner-dto) | | [optional]
|
||||
**Value** | Pointer to **string** | The value of the entitlement | [optional]
|
||||
**Flags** | Pointer to **[]string** | a list of properties informing the viewer about the entitlement | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewIdentityEntitlementDetailsEntitlementDto
|
||||
|
||||
`func NewIdentityEntitlementDetailsEntitlementDto() *IdentityEntitlementDetailsEntitlementDto`
|
||||
|
||||
NewIdentityEntitlementDetailsEntitlementDto instantiates a new IdentityEntitlementDetailsEntitlementDto 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
|
||||
|
||||
### NewIdentityEntitlementDetailsEntitlementDtoWithDefaults
|
||||
|
||||
`func NewIdentityEntitlementDetailsEntitlementDtoWithDefaults() *IdentityEntitlementDetailsEntitlementDto`
|
||||
|
||||
NewIdentityEntitlementDetailsEntitlementDtoWithDefaults instantiates a new IdentityEntitlementDetailsEntitlementDto 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 *IdentityEntitlementDetailsEntitlementDto) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) 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 *IdentityEntitlementDetailsEntitlementDto) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) 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 *IdentityEntitlementDetailsEntitlementDto) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
### GetCreated
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetCreated() SailPointTime`
|
||||
|
||||
GetCreated returns the Created field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) 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 *IdentityEntitlementDetailsEntitlementDto) SetCreated(v SailPointTime)`
|
||||
|
||||
SetCreated sets Created field to given value.
|
||||
|
||||
### HasCreated
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasCreated() bool`
|
||||
|
||||
HasCreated returns a boolean if a field has been set.
|
||||
|
||||
### GetModified
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetModified() SailPointTime`
|
||||
|
||||
GetModified returns the Modified field if non-nil, zero value otherwise.
|
||||
|
||||
### GetModifiedOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) 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 *IdentityEntitlementDetailsEntitlementDto) SetModified(v SailPointTime)`
|
||||
|
||||
SetModified sets Modified field to given value.
|
||||
|
||||
### HasModified
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasModified() bool`
|
||||
|
||||
HasModified returns a boolean if a field has been set.
|
||||
|
||||
### GetDescription
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetDescription() string`
|
||||
|
||||
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDescriptionOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) 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 *IdentityEntitlementDetailsEntitlementDto) SetDescription(v string)`
|
||||
|
||||
SetDescription sets Description field to given value.
|
||||
|
||||
### HasDescription
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasDescription() bool`
|
||||
|
||||
HasDescription returns a boolean if a field has been set.
|
||||
|
||||
### SetDescriptionNil
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) SetDescriptionNil(b bool)`
|
||||
|
||||
SetDescriptionNil sets the value for Description to be an explicit nil
|
||||
|
||||
### UnsetDescription
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) UnsetDescription()`
|
||||
|
||||
UnsetDescription ensures that no value is present for Description, not even an explicit nil
|
||||
### GetType
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) 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 *IdentityEntitlementDetailsEntitlementDto) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetSourceId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetSourceId() string`
|
||||
|
||||
GetSourceId returns the SourceId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSourceIdOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) 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 *IdentityEntitlementDetailsEntitlementDto) SetSourceId(v string)`
|
||||
|
||||
SetSourceId sets SourceId field to given value.
|
||||
|
||||
### HasSourceId
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasSourceId() bool`
|
||||
|
||||
HasSourceId returns a boolean if a field has been set.
|
||||
|
||||
### GetSourceName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetSourceName() string`
|
||||
|
||||
GetSourceName returns the SourceName field if non-nil, zero value otherwise.
|
||||
|
||||
### GetSourceNameOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetSourceNameOk() (*string, bool)`
|
||||
|
||||
GetSourceNameOk returns a tuple with the SourceName field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetSourceName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) SetSourceName(v string)`
|
||||
|
||||
SetSourceName sets SourceName field to given value.
|
||||
|
||||
### HasSourceName
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasSourceName() bool`
|
||||
|
||||
HasSourceName returns a boolean if a field has been set.
|
||||
|
||||
### GetOwner
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetOwner() OwnerDto`
|
||||
|
||||
GetOwner returns the Owner field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOwnerOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetOwnerOk() (*OwnerDto, bool)`
|
||||
|
||||
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOwner
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) SetOwner(v OwnerDto)`
|
||||
|
||||
SetOwner sets Owner field to given value.
|
||||
|
||||
### HasOwner
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasOwner() bool`
|
||||
|
||||
HasOwner returns a boolean if a field has been set.
|
||||
|
||||
### GetValue
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetValue() string`
|
||||
|
||||
GetValue returns the Value field if non-nil, zero value otherwise.
|
||||
|
||||
### GetValueOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) 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 *IdentityEntitlementDetailsEntitlementDto) SetValue(v string)`
|
||||
|
||||
SetValue sets Value field to given value.
|
||||
|
||||
### HasValue
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasValue() bool`
|
||||
|
||||
HasValue returns a boolean if a field has been set.
|
||||
|
||||
### GetFlags
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetFlags() []string`
|
||||
|
||||
GetFlags returns the Flags field if non-nil, zero value otherwise.
|
||||
|
||||
### GetFlagsOk
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) GetFlagsOk() (*[]string, bool)`
|
||||
|
||||
GetFlagsOk returns a tuple with the Flags field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetFlags
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) SetFlags(v []string)`
|
||||
|
||||
SetFlags sets Flags field to given value.
|
||||
|
||||
### HasFlags
|
||||
|
||||
`func (o *IdentityEntitlementDetailsEntitlementDto) HasFlags() bool`
|
||||
|
||||
HasFlags returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2024-identity-entitlements
|
||||
title: IdentityEntitlements
|
||||
pagination_label: IdentityEntitlements
|
||||
sidebar_label: IdentityEntitlements
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'IdentityEntitlements', 'V2024IdentityEntitlements']
|
||||
slug: /tools/sdk/go/v2024/models/identity-entitlements
|
||||
tags: ['SDK', 'Software Development Kit', 'IdentityEntitlements', 'V2024IdentityEntitlements']
|
||||
---
|
||||
|
||||
# IdentityEntitlements
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**ObjectRef** | Pointer to [**TaggedObjectDto**](tagged-object-dto) | | [optional]
|
||||
**Tags** | Pointer to **[]string** | Labels to be applied to object. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewIdentityEntitlements
|
||||
|
||||
`func NewIdentityEntitlements() *IdentityEntitlements`
|
||||
|
||||
NewIdentityEntitlements instantiates a new IdentityEntitlements 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
|
||||
|
||||
### NewIdentityEntitlementsWithDefaults
|
||||
|
||||
`func NewIdentityEntitlementsWithDefaults() *IdentityEntitlements`
|
||||
|
||||
NewIdentityEntitlementsWithDefaults instantiates a new IdentityEntitlements 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
|
||||
|
||||
### GetObjectRef
|
||||
|
||||
`func (o *IdentityEntitlements) GetObjectRef() TaggedObjectDto`
|
||||
|
||||
GetObjectRef returns the ObjectRef field if non-nil, zero value otherwise.
|
||||
|
||||
### GetObjectRefOk
|
||||
|
||||
`func (o *IdentityEntitlements) GetObjectRefOk() (*TaggedObjectDto, bool)`
|
||||
|
||||
GetObjectRefOk returns a tuple with the ObjectRef field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetObjectRef
|
||||
|
||||
`func (o *IdentityEntitlements) SetObjectRef(v TaggedObjectDto)`
|
||||
|
||||
SetObjectRef sets ObjectRef field to given value.
|
||||
|
||||
### HasObjectRef
|
||||
|
||||
`func (o *IdentityEntitlements) HasObjectRef() bool`
|
||||
|
||||
HasObjectRef returns a boolean if a field has been set.
|
||||
|
||||
### GetTags
|
||||
|
||||
`func (o *IdentityEntitlements) GetTags() []string`
|
||||
|
||||
GetTags returns the Tags field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTagsOk
|
||||
|
||||
`func (o *IdentityEntitlements) GetTagsOk() (*[]string, bool)`
|
||||
|
||||
GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTags
|
||||
|
||||
`func (o *IdentityEntitlements) SetTags(v []string)`
|
||||
|
||||
SetTags sets Tags field to given value.
|
||||
|
||||
### HasTags
|
||||
|
||||
`func (o *IdentityEntitlements) HasTags() bool`
|
||||
|
||||
HasTags returns a boolean if a field has been set.
|
||||
|
||||
|
||||
253
docs/tools/sdk/go/Reference/V2024/Models/Launcher.md
Normal file
253
docs/tools/sdk/go/Reference/V2024/Models/Launcher.md
Normal file
@@ -0,0 +1,253 @@
|
||||
---
|
||||
id: v2024-launcher
|
||||
title: Launcher
|
||||
pagination_label: Launcher
|
||||
sidebar_label: Launcher
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Launcher', 'V2024Launcher']
|
||||
slug: /tools/sdk/go/v2024/models/launcher
|
||||
tags: ['SDK', 'Software Development Kit', 'Launcher', 'V2024Launcher']
|
||||
---
|
||||
|
||||
# Launcher
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | **string** | ID of the Launcher |
|
||||
**Created** | **SailPointTime** | Date the Launcher was created |
|
||||
**Modified** | **SailPointTime** | Date the Launcher was last modified |
|
||||
**Owner** | [**LauncherOwner**](launcher-owner) | |
|
||||
**Name** | **string** | Name of the Launcher, limited to 255 characters |
|
||||
**Description** | **string** | Description of the Launcher, limited to 2000 characters |
|
||||
**Type** | **string** | Launcher type |
|
||||
**Disabled** | **bool** | State of the Launcher |
|
||||
**Reference** | Pointer to [**LauncherReference**](launcher-reference) | | [optional]
|
||||
**Config** | **string** | JSON configuration associated with this Launcher, restricted to a max size of 4KB |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncher
|
||||
|
||||
`func NewLauncher(id string, created SailPointTime, modified SailPointTime, owner LauncherOwner, name string, description string, type_ string, disabled bool, config string, ) *Launcher`
|
||||
|
||||
NewLauncher instantiates a new Launcher 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
|
||||
|
||||
### NewLauncherWithDefaults
|
||||
|
||||
`func NewLauncherWithDefaults() *Launcher`
|
||||
|
||||
NewLauncherWithDefaults instantiates a new Launcher 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 *Launcher) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
|
||||
### GetCreated
|
||||
|
||||
`func (o *Launcher) GetCreated() SailPointTime`
|
||||
|
||||
GetCreated returns the Created field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetCreated(v SailPointTime)`
|
||||
|
||||
SetCreated sets Created field to given value.
|
||||
|
||||
|
||||
### GetModified
|
||||
|
||||
`func (o *Launcher) GetModified() SailPointTime`
|
||||
|
||||
GetModified returns the Modified field if non-nil, zero value otherwise.
|
||||
|
||||
### GetModifiedOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetModified(v SailPointTime)`
|
||||
|
||||
SetModified sets Modified field to given value.
|
||||
|
||||
|
||||
### GetOwner
|
||||
|
||||
`func (o *Launcher) GetOwner() LauncherOwner`
|
||||
|
||||
GetOwner returns the Owner field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOwnerOk
|
||||
|
||||
`func (o *Launcher) GetOwnerOk() (*LauncherOwner, bool)`
|
||||
|
||||
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOwner
|
||||
|
||||
`func (o *Launcher) SetOwner(v LauncherOwner)`
|
||||
|
||||
SetOwner sets Owner field to given value.
|
||||
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *Launcher) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
|
||||
### GetDescription
|
||||
|
||||
`func (o *Launcher) GetDescription() string`
|
||||
|
||||
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDescriptionOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetDescription(v string)`
|
||||
|
||||
SetDescription sets Description field to given value.
|
||||
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *Launcher) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
|
||||
### GetDisabled
|
||||
|
||||
`func (o *Launcher) GetDisabled() bool`
|
||||
|
||||
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDisabledOk
|
||||
|
||||
`func (o *Launcher) GetDisabledOk() (*bool, bool)`
|
||||
|
||||
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDisabled
|
||||
|
||||
`func (o *Launcher) SetDisabled(v bool)`
|
||||
|
||||
SetDisabled sets Disabled field to given value.
|
||||
|
||||
|
||||
### GetReference
|
||||
|
||||
`func (o *Launcher) GetReference() LauncherReference`
|
||||
|
||||
GetReference returns the Reference field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReferenceOk
|
||||
|
||||
`func (o *Launcher) GetReferenceOk() (*LauncherReference, bool)`
|
||||
|
||||
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReference
|
||||
|
||||
`func (o *Launcher) SetReference(v LauncherReference)`
|
||||
|
||||
SetReference sets Reference field to given value.
|
||||
|
||||
### HasReference
|
||||
|
||||
`func (o *Launcher) HasReference() bool`
|
||||
|
||||
HasReference returns a boolean if a field has been set.
|
||||
|
||||
### GetConfig
|
||||
|
||||
`func (o *Launcher) GetConfig() string`
|
||||
|
||||
GetConfig returns the Config field if non-nil, zero value otherwise.
|
||||
|
||||
### GetConfigOk
|
||||
|
||||
`func (o *Launcher) GetConfigOk() (*string, bool)`
|
||||
|
||||
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetConfig
|
||||
|
||||
`func (o *Launcher) SetConfig(v string)`
|
||||
|
||||
SetConfig sets Config field to given value.
|
||||
|
||||
|
||||
|
||||
80
docs/tools/sdk/go/Reference/V2024/Models/LauncherOwner.md
Normal file
80
docs/tools/sdk/go/Reference/V2024/Models/LauncherOwner.md
Normal file
@@ -0,0 +1,80 @@
|
||||
---
|
||||
id: v2024-launcher-owner
|
||||
title: LauncherOwner
|
||||
pagination_label: LauncherOwner
|
||||
sidebar_label: LauncherOwner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LauncherOwner', 'V2024LauncherOwner']
|
||||
slug: /tools/sdk/go/v2024/models/launcher-owner
|
||||
tags: ['SDK', 'Software Development Kit', 'LauncherOwner', 'V2024LauncherOwner']
|
||||
---
|
||||
|
||||
# LauncherOwner
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | **string** | Owner type |
|
||||
**Id** | **string** | Owner ID |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncherOwner
|
||||
|
||||
`func NewLauncherOwner(type_ string, id string, ) *LauncherOwner`
|
||||
|
||||
NewLauncherOwner instantiates a new LauncherOwner 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
|
||||
|
||||
### NewLauncherOwnerWithDefaults
|
||||
|
||||
`func NewLauncherOwnerWithDefaults() *LauncherOwner`
|
||||
|
||||
NewLauncherOwnerWithDefaults instantiates a new LauncherOwner 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 *LauncherOwner) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *LauncherOwner) 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 *LauncherOwner) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *LauncherOwner) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *LauncherOwner) 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 *LauncherOwner) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2024-launcher-reference
|
||||
title: LauncherReference
|
||||
pagination_label: LauncherReference
|
||||
sidebar_label: LauncherReference
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LauncherReference', 'V2024LauncherReference']
|
||||
slug: /tools/sdk/go/v2024/models/launcher-reference
|
||||
tags: ['SDK', 'Software Development Kit', 'LauncherReference', 'V2024LauncherReference']
|
||||
---
|
||||
|
||||
# LauncherReference
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | Pointer to **string** | Type of Launcher reference | [optional]
|
||||
**Id** | Pointer to **string** | ID of Launcher reference | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncherReference
|
||||
|
||||
`func NewLauncherReference() *LauncherReference`
|
||||
|
||||
NewLauncherReference instantiates a new LauncherReference 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
|
||||
|
||||
### NewLauncherReferenceWithDefaults
|
||||
|
||||
`func NewLauncherReferenceWithDefaults() *LauncherReference`
|
||||
|
||||
NewLauncherReferenceWithDefaults instantiates a new LauncherReference 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 *LauncherReference) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *LauncherReference) 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 *LauncherReference) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *LauncherReference) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *LauncherReference) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *LauncherReference) 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 *LauncherReference) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *LauncherReference) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
|
||||
169
docs/tools/sdk/go/Reference/V2024/Models/LauncherRequest.md
Normal file
169
docs/tools/sdk/go/Reference/V2024/Models/LauncherRequest.md
Normal file
@@ -0,0 +1,169 @@
|
||||
---
|
||||
id: v2024-launcher-request
|
||||
title: LauncherRequest
|
||||
pagination_label: LauncherRequest
|
||||
sidebar_label: LauncherRequest
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LauncherRequest', 'V2024LauncherRequest']
|
||||
slug: /tools/sdk/go/v2024/models/launcher-request
|
||||
tags: ['SDK', 'Software Development Kit', 'LauncherRequest', 'V2024LauncherRequest']
|
||||
---
|
||||
|
||||
# LauncherRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Name** | **string** | Name of the Launcher, limited to 255 characters |
|
||||
**Description** | **string** | Description of the Launcher, limited to 2000 characters |
|
||||
**Type** | **string** | Launcher type |
|
||||
**Disabled** | **bool** | State of the Launcher |
|
||||
**Reference** | Pointer to [**LauncherRequestReference**](launcher-request-reference) | | [optional]
|
||||
**Config** | **string** | JSON configuration associated with this Launcher, restricted to a max size of 4KB |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncherRequest
|
||||
|
||||
`func NewLauncherRequest(name string, description string, type_ string, disabled bool, config string, ) *LauncherRequest`
|
||||
|
||||
NewLauncherRequest instantiates a new LauncherRequest 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
|
||||
|
||||
### NewLauncherRequestWithDefaults
|
||||
|
||||
`func NewLauncherRequestWithDefaults() *LauncherRequest`
|
||||
|
||||
NewLauncherRequestWithDefaults instantiates a new LauncherRequest object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *LauncherRequest) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *LauncherRequest) 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 *LauncherRequest) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
|
||||
### GetDescription
|
||||
|
||||
`func (o *LauncherRequest) GetDescription() string`
|
||||
|
||||
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDescriptionOk
|
||||
|
||||
`func (o *LauncherRequest) 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 *LauncherRequest) SetDescription(v string)`
|
||||
|
||||
SetDescription sets Description field to given value.
|
||||
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *LauncherRequest) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *LauncherRequest) 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 *LauncherRequest) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
|
||||
### GetDisabled
|
||||
|
||||
`func (o *LauncherRequest) GetDisabled() bool`
|
||||
|
||||
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDisabledOk
|
||||
|
||||
`func (o *LauncherRequest) GetDisabledOk() (*bool, bool)`
|
||||
|
||||
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDisabled
|
||||
|
||||
`func (o *LauncherRequest) SetDisabled(v bool)`
|
||||
|
||||
SetDisabled sets Disabled field to given value.
|
||||
|
||||
|
||||
### GetReference
|
||||
|
||||
`func (o *LauncherRequest) GetReference() LauncherRequestReference`
|
||||
|
||||
GetReference returns the Reference field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReferenceOk
|
||||
|
||||
`func (o *LauncherRequest) GetReferenceOk() (*LauncherRequestReference, bool)`
|
||||
|
||||
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReference
|
||||
|
||||
`func (o *LauncherRequest) SetReference(v LauncherRequestReference)`
|
||||
|
||||
SetReference sets Reference field to given value.
|
||||
|
||||
### HasReference
|
||||
|
||||
`func (o *LauncherRequest) HasReference() bool`
|
||||
|
||||
HasReference returns a boolean if a field has been set.
|
||||
|
||||
### GetConfig
|
||||
|
||||
`func (o *LauncherRequest) GetConfig() string`
|
||||
|
||||
GetConfig returns the Config field if non-nil, zero value otherwise.
|
||||
|
||||
### GetConfigOk
|
||||
|
||||
`func (o *LauncherRequest) GetConfigOk() (*string, bool)`
|
||||
|
||||
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetConfig
|
||||
|
||||
`func (o *LauncherRequest) SetConfig(v string)`
|
||||
|
||||
SetConfig sets Config field to given value.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
---
|
||||
id: v2024-launcher-request-reference
|
||||
title: LauncherRequestReference
|
||||
pagination_label: LauncherRequestReference
|
||||
sidebar_label: LauncherRequestReference
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LauncherRequestReference', 'V2024LauncherRequestReference']
|
||||
slug: /tools/sdk/go/v2024/models/launcher-request-reference
|
||||
tags: ['SDK', 'Software Development Kit', 'LauncherRequestReference', 'V2024LauncherRequestReference']
|
||||
---
|
||||
|
||||
# LauncherRequestReference
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | **string** | Type of Launcher reference |
|
||||
**Id** | **string** | ID of Launcher reference |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncherRequestReference
|
||||
|
||||
`func NewLauncherRequestReference(type_ string, id string, ) *LauncherRequestReference`
|
||||
|
||||
NewLauncherRequestReference instantiates a new LauncherRequestReference 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
|
||||
|
||||
### NewLauncherRequestReferenceWithDefaults
|
||||
|
||||
`func NewLauncherRequestReferenceWithDefaults() *LauncherRequestReference`
|
||||
|
||||
NewLauncherRequestReferenceWithDefaults instantiates a new LauncherRequestReference 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 *LauncherRequestReference) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *LauncherRequestReference) 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 *LauncherRequestReference) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *LauncherRequestReference) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *LauncherRequestReference) 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 *LauncherRequestReference) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
id: v2024-start-launcher200-response
|
||||
title: StartLauncher200Response
|
||||
pagination_label: StartLauncher200Response
|
||||
sidebar_label: StartLauncher200Response
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'StartLauncher200Response', 'V2024StartLauncher200Response']
|
||||
slug: /tools/sdk/go/v2024/models/start-launcher200-response
|
||||
tags: ['SDK', 'Software Development Kit', 'StartLauncher200Response', 'V2024StartLauncher200Response']
|
||||
---
|
||||
|
||||
# StartLauncher200Response
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**InteractiveProcessId** | **string** | ID of the Interactive Process that was launched |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewStartLauncher200Response
|
||||
|
||||
`func NewStartLauncher200Response(interactiveProcessId string, ) *StartLauncher200Response`
|
||||
|
||||
NewStartLauncher200Response instantiates a new StartLauncher200Response 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
|
||||
|
||||
### NewStartLauncher200ResponseWithDefaults
|
||||
|
||||
`func NewStartLauncher200ResponseWithDefaults() *StartLauncher200Response`
|
||||
|
||||
NewStartLauncher200ResponseWithDefaults instantiates a new StartLauncher200Response 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
|
||||
|
||||
### GetInteractiveProcessId
|
||||
|
||||
`func (o *StartLauncher200Response) GetInteractiveProcessId() string`
|
||||
|
||||
GetInteractiveProcessId returns the InteractiveProcessId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetInteractiveProcessIdOk
|
||||
|
||||
`func (o *StartLauncher200Response) GetInteractiveProcessIdOk() (*string, bool)`
|
||||
|
||||
GetInteractiveProcessIdOk returns a tuple with the InteractiveProcessId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetInteractiveProcessId
|
||||
|
||||
`func (o *StartLauncher200Response) SetInteractiveProcessId(v string)`
|
||||
|
||||
SetInteractiveProcessId sets InteractiveProcessId field to given value.
|
||||
|
||||
|
||||
|
||||
143
docs/tools/sdk/go/Reference/V2024/Models/Tag.md
Normal file
143
docs/tools/sdk/go/Reference/V2024/Models/Tag.md
Normal file
@@ -0,0 +1,143 @@
|
||||
---
|
||||
id: v2024-tag
|
||||
title: Tag
|
||||
pagination_label: Tag
|
||||
sidebar_label: Tag
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Tag', 'V2024Tag']
|
||||
slug: /tools/sdk/go/v2024/models/tag
|
||||
tags: ['SDK', 'Software Development Kit', 'Tag', 'V2024Tag']
|
||||
---
|
||||
|
||||
# Tag
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | **string** | Tag id | [readonly]
|
||||
**Name** | **string** | Name of the tag. |
|
||||
**Created** | **SailPointTime** | Date the tag was created. | [readonly]
|
||||
**Modified** | **SailPointTime** | Date the tag was last modified. | [readonly]
|
||||
**TagCategoryRefs** | [**[]TagTagCategoryRefsInner**](tag-tag-category-refs-inner) | | [readonly]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewTag
|
||||
|
||||
`func NewTag(id string, name string, created SailPointTime, modified SailPointTime, tagCategoryRefs []TagTagCategoryRefsInner, ) *Tag`
|
||||
|
||||
NewTag instantiates a new Tag 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
|
||||
|
||||
### NewTagWithDefaults
|
||||
|
||||
`func NewTagWithDefaults() *Tag`
|
||||
|
||||
NewTagWithDefaults instantiates a new Tag 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 *Tag) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *Tag) 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 *Tag) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *Tag) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *Tag) 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 *Tag) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
|
||||
### GetCreated
|
||||
|
||||
`func (o *Tag) GetCreated() SailPointTime`
|
||||
|
||||
GetCreated returns the Created field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedOk
|
||||
|
||||
`func (o *Tag) 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 *Tag) SetCreated(v SailPointTime)`
|
||||
|
||||
SetCreated sets Created field to given value.
|
||||
|
||||
|
||||
### GetModified
|
||||
|
||||
`func (o *Tag) GetModified() SailPointTime`
|
||||
|
||||
GetModified returns the Modified field if non-nil, zero value otherwise.
|
||||
|
||||
### GetModifiedOk
|
||||
|
||||
`func (o *Tag) 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 *Tag) SetModified(v SailPointTime)`
|
||||
|
||||
SetModified sets Modified field to given value.
|
||||
|
||||
|
||||
### GetTagCategoryRefs
|
||||
|
||||
`func (o *Tag) GetTagCategoryRefs() []TagTagCategoryRefsInner`
|
||||
|
||||
GetTagCategoryRefs returns the TagCategoryRefs field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTagCategoryRefsOk
|
||||
|
||||
`func (o *Tag) GetTagCategoryRefsOk() (*[]TagTagCategoryRefsInner, bool)`
|
||||
|
||||
GetTagCategoryRefsOk returns a tuple with the TagCategoryRefs field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTagCategoryRefs
|
||||
|
||||
`func (o *Tag) SetTagCategoryRefs(v []TagTagCategoryRefsInner)`
|
||||
|
||||
SetTagCategoryRefs sets TagCategoryRefs field to given value.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
---
|
||||
id: v2024-tag-tag-category-refs-inner
|
||||
title: TagTagCategoryRefsInner
|
||||
pagination_label: TagTagCategoryRefsInner
|
||||
sidebar_label: TagTagCategoryRefsInner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'TagTagCategoryRefsInner', 'V2024TagTagCategoryRefsInner']
|
||||
slug: /tools/sdk/go/v2024/models/tag-tag-category-refs-inner
|
||||
tags: ['SDK', 'Software Development Kit', 'TagTagCategoryRefsInner', 'V2024TagTagCategoryRefsInner']
|
||||
---
|
||||
|
||||
# TagTagCategoryRefsInner
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | Pointer to **string** | DTO type of the tagged object's category. | [optional]
|
||||
**Id** | Pointer to **string** | Tagged object's ID. | [optional]
|
||||
**Name** | Pointer to **string** | Tagged object's display name. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewTagTagCategoryRefsInner
|
||||
|
||||
`func NewTagTagCategoryRefsInner() *TagTagCategoryRefsInner`
|
||||
|
||||
NewTagTagCategoryRefsInner instantiates a new TagTagCategoryRefsInner 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
|
||||
|
||||
### NewTagTagCategoryRefsInnerWithDefaults
|
||||
|
||||
`func NewTagTagCategoryRefsInnerWithDefaults() *TagTagCategoryRefsInner`
|
||||
|
||||
NewTagTagCategoryRefsInnerWithDefaults instantiates a new TagTagCategoryRefsInner 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 *TagTagCategoryRefsInner) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) 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 *TagTagCategoryRefsInner) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) 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 *TagTagCategoryRefsInner) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) 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 *TagTagCategoryRefsInner) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -915,6 +915,17 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## load-account-selections
|
||||
:::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 accounts selections for identity
|
||||
Use this API to fetch account information for an identity against the items in an access request.
|
||||
|
||||
@@ -934,6 +945,7 @@ Other parameters are passed through a pointer to a apiLoadAccountSelectionsReque
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**accountsSelectionRequest** | [**AccountsSelectionRequest**](../models/accounts-selection-request) | |
|
||||
|
||||
### Return type
|
||||
@@ -960,6 +972,7 @@ 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")
|
||||
accountsselectionrequest := []byte(`{
|
||||
"requestedFor" : "2c918084660f45d6016617daa9210584",
|
||||
"clientMetadata" : {
|
||||
@@ -1034,8 +1047,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.LoadAccountSelections(context.Background()).AccountsSelectionRequest(accountsSelectionRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.AccessRequestsAPI.LoadAccountSelections(context.Background()).AccountsSelectionRequest(accountsSelectionRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.AccessRequestsAPI.LoadAccountSelections(context.Background()).XSailPointExperimental(xSailPointExperimental).AccountsSelectionRequest(accountsSelectionRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.AccessRequestsAPI.LoadAccountSelections(context.Background()).XSailPointExperimental(xSailPointExperimental).AccountsSelectionRequest(accountsSelectionRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AccessRequestsAPI.LoadAccountSelections``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -694,6 +694,17 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## start-identities-invite
|
||||
:::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
|
||||
```
|
||||
:::
|
||||
Invite identities to register
|
||||
This API submits a task for inviting given identities via email to complete registration. The invitation email will include the link. After selecting the link an identity will be able to set up password and log in into the system. Invitations expire after 7 days. By default invitations send to the work identity email. It can be changed in Admin > Identities > Identity Profiles by selecting corresponding profile and editing Invitation Options.
|
||||
|
||||
@@ -715,6 +726,7 @@ Other parameters are passed through a pointer to a apiStartIdentitiesInviteReque
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**inviteIdentitiesRequest** | [**InviteIdentitiesRequest**](../models/invite-identities-request) | |
|
||||
|
||||
### Return type
|
||||
@@ -741,6 +753,7 @@ 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")
|
||||
inviteidentitiesrequest := []byte(`{
|
||||
"ids" : [ "2b568c65bc3c4c57a43bd97e3a8e55", "2c9180867769897d01776ed5f125512f" ],
|
||||
"uninvited" : false
|
||||
@@ -755,8 +768,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.StartIdentitiesInvite(context.Background()).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.IdentitiesAPI.StartIdentitiesInvite(context.Background()).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentitiesAPI.StartIdentitiesInvite(context.Background()).XSailPointExperimental(xSailPointExperimental).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.IdentitiesAPI.StartIdentitiesInvite(context.Background()).XSailPointExperimental(xSailPointExperimental).InviteIdentitiesRequest(inviteIdentitiesRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentitiesAPI.StartIdentitiesInvite``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
@@ -362,17 +362,6 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## generate-identity-preview
|
||||
:::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
|
||||
```
|
||||
:::
|
||||
Generate identity profile preview
|
||||
This generates a non-persisted IdentityDetails object that will represent as the preview of the identities attribute when the given policy''s attribute config is applied.
|
||||
|
||||
@@ -389,7 +378,6 @@ Other parameters are passed through a pointer to a apiGenerateIdentityPreviewReq
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**identityPreviewRequest** | [**IdentityPreviewRequest**](../models/identity-preview-request) | Identity Preview request body. |
|
||||
|
||||
### Return type
|
||||
@@ -416,7 +404,6 @@ 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")
|
||||
identitypreviewrequest := []byte(`{
|
||||
"identityId" : "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
|
||||
"identityAttributeConfig" : {
|
||||
@@ -454,8 +441,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).XSailPointExperimental(xSailPointExperimental).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
resp, r, err := apiClient.V2025.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.IdentityProfilesAPI.GenerateIdentityPreview(context.Background()).IdentityPreviewRequest(identityPreviewRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `IdentityProfilesAPI.GenerateIdentityPreview``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
448
docs/tools/sdk/go/Reference/V2025/Methods/LaunchersAPI.md
Normal file
448
docs/tools/sdk/go/Reference/V2025/Methods/LaunchersAPI.md
Normal file
@@ -0,0 +1,448 @@
|
||||
---
|
||||
id: v2025-launchers
|
||||
title: Launchers
|
||||
pagination_label: Launchers
|
||||
sidebar_label: Launchers
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Launchers', 'V2025Launchers']
|
||||
slug: /tools/sdk/go/v2025/methods/launchers
|
||||
tags: ['SDK', 'Software Development Kit', 'Launchers', 'V2025Launchers']
|
||||
---
|
||||
|
||||
# LaunchersAPI
|
||||
|
||||
All URIs are relative to *https://sailpoint.api.identitynow.com/v2025*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**create-launcher**](#create-launcher) | **Post** `/launchers` | Create launcher
|
||||
[**delete-launcher**](#delete-launcher) | **Delete** `/launchers/{launcherID}` | Delete launcher
|
||||
[**get-launcher**](#get-launcher) | **Get** `/launchers/{launcherID}` | Get launcher by id
|
||||
[**get-launchers**](#get-launchers) | **Get** `/launchers` | List all launchers for tenant
|
||||
[**put-launcher**](#put-launcher) | **Put** `/launchers/{launcherID}` | Replace launcher
|
||||
[**start-launcher**](#start-launcher) | **Post** `/launchers/{launcherID}/launch` | Launch a launcher
|
||||
|
||||
|
||||
## create-launcher
|
||||
Create launcher
|
||||
Create a Launcher with given information
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**launcherRequest** | [**LauncherRequest**](../models/launcher-request) | Payload to create a Launcher |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Launcher**](../models/launcher)
|
||||
|
||||
### 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() {
|
||||
launcherrequest := []byte(`{
|
||||
"reference" : {
|
||||
"id" : "2fd6ff94-2081-4d29-acbc-83a0a2f744a5",
|
||||
"type" : "WORKFLOW"
|
||||
},
|
||||
"name" : "Group Create",
|
||||
"description" : "Create a new Active Directory Group",
|
||||
"disabled" : false,
|
||||
"type" : "INTERACTIVE_PROCESS",
|
||||
"config" : "{\"workflowId\" : \"6b42d9be-61b6-46af-827e-ea29ba8aa3d9\"}"
|
||||
}`) // LauncherRequest | Payload to create a Launcher
|
||||
|
||||
var launcherRequest v2025.LauncherRequest
|
||||
if err := json.Unmarshal(launcherrequest, &launcherRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.LaunchersAPI.CreateLauncher(context.Background()).LauncherRequest(launcherRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.LaunchersAPI.CreateLauncher(context.Background()).LauncherRequest(launcherRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.CreateLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateLauncher`: Launcher
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.CreateLauncher`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-launcher
|
||||
Delete launcher
|
||||
Delete the given Launcher ID
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**launcherID** | **string** | ID of the Launcher to be deleted |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### 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() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be deleted # string | ID of the Launcher to be deleted
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2025.LaunchersAPI.DeleteLauncher(context.Background(), launcherID).Execute()
|
||||
//r, err := apiClient.V2025.LaunchersAPI.DeleteLauncher(context.Background(), launcherID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.DeleteLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-launcher
|
||||
Get launcher by id
|
||||
Get details for the given Launcher ID
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**launcherID** | **string** | ID of the Launcher to be retrieved |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**Launcher**](../models/launcher)
|
||||
|
||||
### 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() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be retrieved # string | ID of the Launcher to be retrieved
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.LaunchersAPI.GetLauncher(context.Background(), launcherID).Execute()
|
||||
//resp, r, err := apiClient.V2025.LaunchersAPI.GetLauncher(context.Background(), launcherID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.GetLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetLauncher`: Launcher
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.GetLauncher`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-launchers
|
||||
List all launchers for tenant
|
||||
Return a list of Launchers for the authenticated tenant
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-launchers)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetLaunchersRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**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: **description**: *sw* **disabled**: *eq* **name**: *sw* |
|
||||
**next** | **string** | Pagination marker |
|
||||
**limit** | **int32** | Number of Launchers to return | [default to 10]
|
||||
|
||||
### Return type
|
||||
|
||||
[**GetLaunchers200Response**](../models/get-launchers200-response)
|
||||
|
||||
### 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() {
|
||||
filters := `disabled eq "true"` // 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: **description**: *sw* **disabled**: *eq* **name**: *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: **description**: *sw* **disabled**: *eq* **name**: *sw* (optional)
|
||||
next := `eyJuZXh0IjoxMjN9Cg==` // string | Pagination marker (optional) # string | Pagination marker (optional)
|
||||
limit := 42 // int32 | Number of Launchers to return (optional) (default to 10) # int32 | Number of Launchers to return (optional) (default to 10)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.LaunchersAPI.GetLaunchers(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.V2025.LaunchersAPI.GetLaunchers(context.Background()).Filters(filters).Next(next).Limit(limit).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.GetLaunchers``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetLaunchers`: GetLaunchers200Response
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.GetLaunchers`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## put-launcher
|
||||
Replace launcher
|
||||
Replace the given Launcher ID with given payload
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/put-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**launcherID** | **string** | ID of the Launcher to be replaced |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiPutLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**launcherRequest** | [**LauncherRequest**](../models/launcher-request) | Payload to replace Launcher |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Launcher**](../models/launcher)
|
||||
|
||||
### 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() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be replaced # string | ID of the Launcher to be replaced
|
||||
launcherrequest := []byte(`{
|
||||
"reference" : {
|
||||
"id" : "2fd6ff94-2081-4d29-acbc-83a0a2f744a5",
|
||||
"type" : "WORKFLOW"
|
||||
},
|
||||
"name" : "Group Create",
|
||||
"description" : "Create a new Active Directory Group",
|
||||
"disabled" : false,
|
||||
"type" : "INTERACTIVE_PROCESS",
|
||||
"config" : "{\"workflowId\" : \"6b42d9be-61b6-46af-827e-ea29ba8aa3d9\"}"
|
||||
}`) // LauncherRequest | Payload to replace Launcher
|
||||
|
||||
var launcherRequest v2025.LauncherRequest
|
||||
if err := json.Unmarshal(launcherrequest, &launcherRequest); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.LaunchersAPI.PutLauncher(context.Background(), launcherID).LauncherRequest(launcherRequest).Execute()
|
||||
//resp, r, err := apiClient.V2025.LaunchersAPI.PutLauncher(context.Background(), launcherID).LauncherRequest(launcherRequest).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.PutLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `PutLauncher`: Launcher
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.PutLauncher`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## start-launcher
|
||||
Launch a launcher
|
||||
Launch the given Launcher ID
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/start-launcher)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**launcherID** | **string** | ID of the Launcher to be launched |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiStartLauncherRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**StartLauncher200Response**](../models/start-launcher200-response)
|
||||
|
||||
### 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() {
|
||||
launcherID := `e3012408-8b61-4564-ad41-c5ec131c325b` // string | ID of the Launcher to be launched # string | ID of the Launcher to be launched
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.LaunchersAPI.StartLauncher(context.Background(), launcherID).Execute()
|
||||
//resp, r, err := apiClient.V2025.LaunchersAPI.StartLauncher(context.Background(), launcherID).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `LaunchersAPI.StartLauncher``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `StartLauncher`: StartLauncher200Response
|
||||
fmt.Fprintf(os.Stdout, "Response from `LaunchersAPI.StartLauncher`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
@@ -329,7 +329,7 @@ Name | Type | Description | Notes
|
||||
**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]
|
||||
**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]
|
||||
**sorters** | **string** | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** |
|
||||
**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: **name, priority, created, modified** |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -359,7 +359,7 @@ func main() {
|
||||
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)
|
||||
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)
|
||||
sorters := `created,modified` // string | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** (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: **created, modified** (optional)
|
||||
sorters := `created,modified` // 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: **name, priority, created, modified** (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: **name, priority, created, modified** (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -31,6 +31,17 @@ Method | HTTP request | Description
|
||||
|
||||
|
||||
## create-password-policy
|
||||
:::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 password policy
|
||||
This API creates the specified password policy.
|
||||
|
||||
@@ -47,6 +58,7 @@ Other parameters are passed through a pointer to a apiCreatePasswordPolicyReques
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**passwordPolicyV3Dto** | [**PasswordPolicyV3Dto**](../models/password-policy-v3-dto) | |
|
||||
|
||||
### Return type
|
||||
@@ -73,6 +85,7 @@ 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")
|
||||
passwordpolicyv3dto := []byte(`{
|
||||
"validateAgainstAccountName" : true,
|
||||
"minLength" : 8,
|
||||
@@ -116,8 +129,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.CreatePasswordPolicy(context.Background()).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
//resp, r, err := apiClient.V2025.PasswordPoliciesAPI.CreatePasswordPolicy(context.Background()).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.CreatePasswordPolicy(context.Background()).XSailPointExperimental(xSailPointExperimental).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
//resp, r, err := apiClient.V2025.PasswordPoliciesAPI.CreatePasswordPolicy(context.Background()).XSailPointExperimental(xSailPointExperimental).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.CreatePasswordPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -130,6 +143,17 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-password-policy
|
||||
:::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 password policy by id
|
||||
This API deletes the specified password policy.
|
||||
|
||||
@@ -151,6 +175,7 @@ Other parameters are passed through a pointer to a apiDeletePasswordPolicyReques
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -177,13 +202,14 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ff808081838d9e9d01838da6a03e0002` // string | The ID of password policy to delete. # string | The ID of password policy to delete.
|
||||
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.PasswordPoliciesAPI.DeletePasswordPolicy(context.Background(), id).Execute()
|
||||
//r, err := apiClient.V2025.PasswordPoliciesAPI.DeletePasswordPolicy(context.Background(), id).Execute()
|
||||
r, err := apiClient.V2025.PasswordPoliciesAPI.DeletePasswordPolicy(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//r, err := apiClient.V2025.PasswordPoliciesAPI.DeletePasswordPolicy(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.DeletePasswordPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -195,6 +221,17 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-password-policy-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
|
||||
```
|
||||
:::
|
||||
Get password policy by id
|
||||
This API returns the password policy for the specified ID.
|
||||
|
||||
@@ -216,6 +253,7 @@ Other parameters are passed through a pointer to a apiGetPasswordPolicyByIdReque
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -242,13 +280,14 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ff808081838d9e9d01838da6a03e0005` // string | The ID of password policy to retrieve. # string | The ID of password policy to retrieve.
|
||||
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.PasswordPoliciesAPI.GetPasswordPolicyById(context.Background(), id).Execute()
|
||||
//resp, r, err := apiClient.V2025.PasswordPoliciesAPI.GetPasswordPolicyById(context.Background(), id).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.GetPasswordPolicyById(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.PasswordPoliciesAPI.GetPasswordPolicyById(context.Background(), id).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.GetPasswordPolicyById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -261,6 +300,17 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-password-policies
|
||||
:::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
|
||||
```
|
||||
:::
|
||||
List password policies
|
||||
This gets list of all Password Policies.
|
||||
Requires role of ORG_ADMIN
|
||||
@@ -278,6 +328,7 @@ Other parameters are passed through a pointer to a apiListPasswordPoliciesReques
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**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]
|
||||
**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]
|
||||
@@ -306,6 +357,7 @@ 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")
|
||||
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)
|
||||
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)
|
||||
@@ -314,8 +366,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.ListPasswordPolicies(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.V2025.PasswordPoliciesAPI.ListPasswordPolicies(context.Background()).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.ListPasswordPolicies(context.Background()).XSailPointExperimental(xSailPointExperimental).Execute()
|
||||
//resp, r, err := apiClient.V2025.PasswordPoliciesAPI.ListPasswordPolicies(context.Background()).XSailPointExperimental(xSailPointExperimental).Limit(limit).Offset(offset).Count(count).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.ListPasswordPolicies``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -328,6 +380,17 @@ func main() {
|
||||
[[Back to top]](#)
|
||||
|
||||
## set-password-policy
|
||||
:::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
|
||||
```
|
||||
:::
|
||||
Update password policy by id
|
||||
This API updates the specified password policy.
|
||||
|
||||
@@ -349,6 +412,7 @@ Other parameters are passed through a pointer to a apiSetPasswordPolicyRequest s
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
**xSailPointExperimental** | **string** | Use this header to enable this experimental API. | [default to "true"]
|
||||
**passwordPolicyV3Dto** | [**PasswordPolicyV3Dto**](../models/password-policy-v3-dto) | |
|
||||
|
||||
### Return type
|
||||
@@ -376,6 +440,7 @@ import (
|
||||
|
||||
func main() {
|
||||
id := `ff808081838d9e9d01838da6a03e0007` // string | The ID of password policy to update. # string | The ID of password policy to update.
|
||||
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")
|
||||
passwordpolicyv3dto := []byte(`{
|
||||
"validateAgainstAccountName" : true,
|
||||
"minLength" : 8,
|
||||
@@ -419,8 +484,8 @@ func main() {
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.SetPasswordPolicy(context.Background(), id).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
//resp, r, err := apiClient.V2025.PasswordPoliciesAPI.SetPasswordPolicy(context.Background(), id).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
resp, r, err := apiClient.V2025.PasswordPoliciesAPI.SetPasswordPolicy(context.Background(), id).XSailPointExperimental(xSailPointExperimental).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
//resp, r, err := apiClient.V2025.PasswordPoliciesAPI.SetPasswordPolicy(context.Background(), id).XSailPointExperimental(xSailPointExperimental).PasswordPolicyV3Dto(passwordPolicyV3Dto).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `PasswordPoliciesAPI.SetPasswordPolicy``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
|
||||
314
docs/tools/sdk/go/Reference/V2025/Methods/TagsAPI.md
Normal file
314
docs/tools/sdk/go/Reference/V2025/Methods/TagsAPI.md
Normal file
@@ -0,0 +1,314 @@
|
||||
---
|
||||
id: v2025-tags
|
||||
title: Tags
|
||||
pagination_label: Tags
|
||||
sidebar_label: Tags
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Tags', 'V2025Tags']
|
||||
slug: /tools/sdk/go/v2025/methods/tags
|
||||
tags: ['SDK', 'Software Development Kit', 'Tags', 'V2025Tags']
|
||||
---
|
||||
|
||||
# TagsAPI
|
||||
|
||||
All URIs are relative to *https://sailpoint.api.identitynow.com/v2025*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**create-tag**](#create-tag) | **Post** `/tags` | Create tag
|
||||
[**delete-tag-by-id**](#delete-tag-by-id) | **Delete** `/tags/{id}` | Delete tag
|
||||
[**get-tag-by-id**](#get-tag-by-id) | **Get** `/tags/{id}` | Get tag by id
|
||||
[**list-tags**](#list-tags) | **Get** `/tags` | List tags
|
||||
|
||||
|
||||
## create-tag
|
||||
Create tag
|
||||
This API creates new tag.
|
||||
|
||||
A token with API, ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/create-tag)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiCreateTagRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**tag** | [**Tag**](../models/tag) | |
|
||||
|
||||
### Return type
|
||||
|
||||
[**Tag**](../models/tag)
|
||||
|
||||
### 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() {
|
||||
tag := []byte(`{
|
||||
"created" : "2022-05-04T14:48:49Z",
|
||||
"tagCategoryRefs" : [ {
|
||||
"name" : "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local",
|
||||
"id" : "2c91809773dee32014e13e122092014e",
|
||||
"type" : "ENTITLEMENT"
|
||||
}, {
|
||||
"name" : "CN=entitlement.490efde5,OU=OrgCo,OU=ServiceDept,DC=HQAD,DC=local",
|
||||
"id" : "2c91809773dee32014e13e122092014e",
|
||||
"type" : "ENTITLEMENT"
|
||||
} ],
|
||||
"name" : "PCI",
|
||||
"modified" : "2022-07-14T16:31:11Z",
|
||||
"id" : "449ecdc0-d4ff-4341-acf6-92f6f7ce604f"
|
||||
}`) // Tag |
|
||||
|
||||
var tag v2025.Tag
|
||||
if err := json.Unmarshal(tag, &tag); err != nil {
|
||||
fmt.Println("Error:", err)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.TagsAPI.CreateTag(context.Background()).Tag(tag).Execute()
|
||||
//resp, r, err := apiClient.V2025.TagsAPI.CreateTag(context.Background()).Tag(tag).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.CreateTag``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `CreateTag`: Tag
|
||||
fmt.Fprintf(os.Stdout, "Response from `TagsAPI.CreateTag`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## delete-tag-by-id
|
||||
Delete tag
|
||||
This API deletes a tag by specified id.
|
||||
|
||||
A token with API, ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/delete-tag-by-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | The ID of the object reference to delete. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiDeleteTagByIdRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### 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() {
|
||||
id := `329d96cf-3bdb-40a9-988a-b5037ab89022` // string | The ID of the object reference to delete. # string | The ID of the object reference to delete.
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
r, err := apiClient.V2025.TagsAPI.DeleteTagById(context.Background(), id).Execute()
|
||||
//r, err := apiClient.V2025.TagsAPI.DeleteTagById(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.DeleteTagById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## get-tag-by-id
|
||||
Get tag by id
|
||||
Returns a tag by its id.
|
||||
|
||||
A token with API, ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/get-tag-by-id)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
|
||||
**id** | **string** | The ID of the object reference to retrieve. |
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiGetTagByIdRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
|
||||
|
||||
### Return type
|
||||
|
||||
[**Tag**](../models/tag)
|
||||
|
||||
### 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 := `329d96cf-3bdb-40a9-988a-b5037ab89022` // string | The ID of the object reference to retrieve. # string | The ID of the object reference to retrieve.
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.TagsAPI.GetTagById(context.Background(), id).Execute()
|
||||
//resp, r, err := apiClient.V2025.TagsAPI.GetTagById(context.Background(), id).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.GetTagById``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `GetTagById`: Tag
|
||||
fmt.Fprintf(os.Stdout, "Response from `TagsAPI.GetTagById`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
## list-tags
|
||||
List tags
|
||||
This API returns a list of tags.
|
||||
|
||||
A token with API, ORG_ADMIN, CERT_ADMIN, REPORT_ADMIN, ROLE_ADMIN, ROLE_SUBADMIN, SOURCE_ADMIN, or SOURCE_SUBADMIN authority is required to call this API.
|
||||
|
||||
[API Spec](https://developer.sailpoint.com/docs/api/v2025/list-tags)
|
||||
|
||||
### Path Parameters
|
||||
|
||||
|
||||
|
||||
### Other Parameters
|
||||
|
||||
Other parameters are passed through a pointer to a apiListTagsRequest struct via the builder pattern
|
||||
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**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]
|
||||
**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]
|
||||
**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: **id**: *eq, in* **name**: *eq, in, 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: **id, name, created, modified** |
|
||||
|
||||
### Return type
|
||||
|
||||
[**[]Tag**](../models/tag)
|
||||
|
||||
### 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() {
|
||||
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)
|
||||
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)
|
||||
filters := `id eq "27462f54-61c7-4140-b5da-d5dbe27fc6db"` // 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: **id**: *eq, in* **name**: *eq, in, 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: **id**: *eq, in* **name**: *eq, in, sw* (optional)
|
||||
sorters := `name,-modified` // 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: **id, name, created, modified** (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: **id, name, created, modified** (optional)
|
||||
|
||||
|
||||
|
||||
configuration := sailpoint.NewDefaultConfiguration()
|
||||
apiClient := sailpoint.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.V2025.TagsAPI.ListTags(context.Background()).Execute()
|
||||
//resp, r, err := apiClient.V2025.TagsAPI.ListTags(context.Background()).Limit(limit).Offset(offset).Count(count).Filters(filters).Sorters(sorters).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `TagsAPI.ListTags``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
}
|
||||
// response from `ListTags`: []Tag
|
||||
fmt.Fprintf(os.Stdout, "Response from `TagsAPI.ListTags`: %v\n", resp)
|
||||
}
|
||||
```
|
||||
|
||||
[[Back to top]](#)
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2025-get-launchers200-response
|
||||
title: GetLaunchers200Response
|
||||
pagination_label: GetLaunchers200Response
|
||||
sidebar_label: GetLaunchers200Response
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'GetLaunchers200Response', 'V2025GetLaunchers200Response']
|
||||
slug: /tools/sdk/go/v2025/models/get-launchers200-response
|
||||
tags: ['SDK', 'Software Development Kit', 'GetLaunchers200Response', 'V2025GetLaunchers200Response']
|
||||
---
|
||||
|
||||
# GetLaunchers200Response
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Next** | Pointer to **string** | Pagination marker | [optional]
|
||||
**Items** | Pointer to [**[]Launcher**](launcher) | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewGetLaunchers200Response
|
||||
|
||||
`func NewGetLaunchers200Response() *GetLaunchers200Response`
|
||||
|
||||
NewGetLaunchers200Response instantiates a new GetLaunchers200Response 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
|
||||
|
||||
### NewGetLaunchers200ResponseWithDefaults
|
||||
|
||||
`func NewGetLaunchers200ResponseWithDefaults() *GetLaunchers200Response`
|
||||
|
||||
NewGetLaunchers200ResponseWithDefaults instantiates a new GetLaunchers200Response 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
|
||||
|
||||
### GetNext
|
||||
|
||||
`func (o *GetLaunchers200Response) GetNext() string`
|
||||
|
||||
GetNext returns the Next field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNextOk
|
||||
|
||||
`func (o *GetLaunchers200Response) GetNextOk() (*string, bool)`
|
||||
|
||||
GetNextOk returns a tuple with the Next field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetNext
|
||||
|
||||
`func (o *GetLaunchers200Response) SetNext(v string)`
|
||||
|
||||
SetNext sets Next field to given value.
|
||||
|
||||
### HasNext
|
||||
|
||||
`func (o *GetLaunchers200Response) HasNext() bool`
|
||||
|
||||
HasNext returns a boolean if a field has been set.
|
||||
|
||||
### GetItems
|
||||
|
||||
`func (o *GetLaunchers200Response) GetItems() []Launcher`
|
||||
|
||||
GetItems returns the Items field if non-nil, zero value otherwise.
|
||||
|
||||
### GetItemsOk
|
||||
|
||||
`func (o *GetLaunchers200Response) GetItemsOk() (*[]Launcher, bool)`
|
||||
|
||||
GetItemsOk returns a tuple with the Items field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetItems
|
||||
|
||||
`func (o *GetLaunchers200Response) SetItems(v []Launcher)`
|
||||
|
||||
SetItems sets Items field to given value.
|
||||
|
||||
### HasItems
|
||||
|
||||
`func (o *GetLaunchers200Response) HasItems() bool`
|
||||
|
||||
HasItems returns a boolean if a field has been set.
|
||||
|
||||
|
||||
253
docs/tools/sdk/go/Reference/V2025/Models/Launcher.md
Normal file
253
docs/tools/sdk/go/Reference/V2025/Models/Launcher.md
Normal file
@@ -0,0 +1,253 @@
|
||||
---
|
||||
id: v2025-launcher
|
||||
title: Launcher
|
||||
pagination_label: Launcher
|
||||
sidebar_label: Launcher
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Launcher', 'V2025Launcher']
|
||||
slug: /tools/sdk/go/v2025/models/launcher
|
||||
tags: ['SDK', 'Software Development Kit', 'Launcher', 'V2025Launcher']
|
||||
---
|
||||
|
||||
# Launcher
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | **string** | ID of the Launcher |
|
||||
**Created** | **SailPointTime** | Date the Launcher was created |
|
||||
**Modified** | **SailPointTime** | Date the Launcher was last modified |
|
||||
**Owner** | [**LauncherOwner**](launcher-owner) | |
|
||||
**Name** | **string** | Name of the Launcher, limited to 255 characters |
|
||||
**Description** | **string** | Description of the Launcher, limited to 2000 characters |
|
||||
**Type** | **string** | Launcher type |
|
||||
**Disabled** | **bool** | State of the Launcher |
|
||||
**Reference** | Pointer to [**LauncherReference**](launcher-reference) | | [optional]
|
||||
**Config** | **string** | JSON configuration associated with this Launcher, restricted to a max size of 4KB |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncher
|
||||
|
||||
`func NewLauncher(id string, created SailPointTime, modified SailPointTime, owner LauncherOwner, name string, description string, type_ string, disabled bool, config string, ) *Launcher`
|
||||
|
||||
NewLauncher instantiates a new Launcher 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
|
||||
|
||||
### NewLauncherWithDefaults
|
||||
|
||||
`func NewLauncherWithDefaults() *Launcher`
|
||||
|
||||
NewLauncherWithDefaults instantiates a new Launcher 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 *Launcher) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
|
||||
### GetCreated
|
||||
|
||||
`func (o *Launcher) GetCreated() SailPointTime`
|
||||
|
||||
GetCreated returns the Created field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetCreated(v SailPointTime)`
|
||||
|
||||
SetCreated sets Created field to given value.
|
||||
|
||||
|
||||
### GetModified
|
||||
|
||||
`func (o *Launcher) GetModified() SailPointTime`
|
||||
|
||||
GetModified returns the Modified field if non-nil, zero value otherwise.
|
||||
|
||||
### GetModifiedOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetModified(v SailPointTime)`
|
||||
|
||||
SetModified sets Modified field to given value.
|
||||
|
||||
|
||||
### GetOwner
|
||||
|
||||
`func (o *Launcher) GetOwner() LauncherOwner`
|
||||
|
||||
GetOwner returns the Owner field if non-nil, zero value otherwise.
|
||||
|
||||
### GetOwnerOk
|
||||
|
||||
`func (o *Launcher) GetOwnerOk() (*LauncherOwner, bool)`
|
||||
|
||||
GetOwnerOk returns a tuple with the Owner field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetOwner
|
||||
|
||||
`func (o *Launcher) SetOwner(v LauncherOwner)`
|
||||
|
||||
SetOwner sets Owner field to given value.
|
||||
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *Launcher) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
|
||||
### GetDescription
|
||||
|
||||
`func (o *Launcher) GetDescription() string`
|
||||
|
||||
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDescriptionOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetDescription(v string)`
|
||||
|
||||
SetDescription sets Description field to given value.
|
||||
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *Launcher) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *Launcher) 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 *Launcher) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
|
||||
### GetDisabled
|
||||
|
||||
`func (o *Launcher) GetDisabled() bool`
|
||||
|
||||
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDisabledOk
|
||||
|
||||
`func (o *Launcher) GetDisabledOk() (*bool, bool)`
|
||||
|
||||
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDisabled
|
||||
|
||||
`func (o *Launcher) SetDisabled(v bool)`
|
||||
|
||||
SetDisabled sets Disabled field to given value.
|
||||
|
||||
|
||||
### GetReference
|
||||
|
||||
`func (o *Launcher) GetReference() LauncherReference`
|
||||
|
||||
GetReference returns the Reference field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReferenceOk
|
||||
|
||||
`func (o *Launcher) GetReferenceOk() (*LauncherReference, bool)`
|
||||
|
||||
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReference
|
||||
|
||||
`func (o *Launcher) SetReference(v LauncherReference)`
|
||||
|
||||
SetReference sets Reference field to given value.
|
||||
|
||||
### HasReference
|
||||
|
||||
`func (o *Launcher) HasReference() bool`
|
||||
|
||||
HasReference returns a boolean if a field has been set.
|
||||
|
||||
### GetConfig
|
||||
|
||||
`func (o *Launcher) GetConfig() string`
|
||||
|
||||
GetConfig returns the Config field if non-nil, zero value otherwise.
|
||||
|
||||
### GetConfigOk
|
||||
|
||||
`func (o *Launcher) GetConfigOk() (*string, bool)`
|
||||
|
||||
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetConfig
|
||||
|
||||
`func (o *Launcher) SetConfig(v string)`
|
||||
|
||||
SetConfig sets Config field to given value.
|
||||
|
||||
|
||||
|
||||
80
docs/tools/sdk/go/Reference/V2025/Models/LauncherOwner.md
Normal file
80
docs/tools/sdk/go/Reference/V2025/Models/LauncherOwner.md
Normal file
@@ -0,0 +1,80 @@
|
||||
---
|
||||
id: v2025-launcher-owner
|
||||
title: LauncherOwner
|
||||
pagination_label: LauncherOwner
|
||||
sidebar_label: LauncherOwner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LauncherOwner', 'V2025LauncherOwner']
|
||||
slug: /tools/sdk/go/v2025/models/launcher-owner
|
||||
tags: ['SDK', 'Software Development Kit', 'LauncherOwner', 'V2025LauncherOwner']
|
||||
---
|
||||
|
||||
# LauncherOwner
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | **string** | Owner type |
|
||||
**Id** | **string** | Owner ID |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncherOwner
|
||||
|
||||
`func NewLauncherOwner(type_ string, id string, ) *LauncherOwner`
|
||||
|
||||
NewLauncherOwner instantiates a new LauncherOwner 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
|
||||
|
||||
### NewLauncherOwnerWithDefaults
|
||||
|
||||
`func NewLauncherOwnerWithDefaults() *LauncherOwner`
|
||||
|
||||
NewLauncherOwnerWithDefaults instantiates a new LauncherOwner 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 *LauncherOwner) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *LauncherOwner) 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 *LauncherOwner) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *LauncherOwner) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *LauncherOwner) 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 *LauncherOwner) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
---
|
||||
id: v2025-launcher-reference
|
||||
title: LauncherReference
|
||||
pagination_label: LauncherReference
|
||||
sidebar_label: LauncherReference
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LauncherReference', 'V2025LauncherReference']
|
||||
slug: /tools/sdk/go/v2025/models/launcher-reference
|
||||
tags: ['SDK', 'Software Development Kit', 'LauncherReference', 'V2025LauncherReference']
|
||||
---
|
||||
|
||||
# LauncherReference
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | Pointer to **string** | Type of Launcher reference | [optional]
|
||||
**Id** | Pointer to **string** | ID of Launcher reference | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncherReference
|
||||
|
||||
`func NewLauncherReference() *LauncherReference`
|
||||
|
||||
NewLauncherReference instantiates a new LauncherReference 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
|
||||
|
||||
### NewLauncherReferenceWithDefaults
|
||||
|
||||
`func NewLauncherReferenceWithDefaults() *LauncherReference`
|
||||
|
||||
NewLauncherReferenceWithDefaults instantiates a new LauncherReference 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 *LauncherReference) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *LauncherReference) 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 *LauncherReference) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *LauncherReference) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *LauncherReference) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *LauncherReference) 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 *LauncherReference) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *LauncherReference) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
|
||||
169
docs/tools/sdk/go/Reference/V2025/Models/LauncherRequest.md
Normal file
169
docs/tools/sdk/go/Reference/V2025/Models/LauncherRequest.md
Normal file
@@ -0,0 +1,169 @@
|
||||
---
|
||||
id: v2025-launcher-request
|
||||
title: LauncherRequest
|
||||
pagination_label: LauncherRequest
|
||||
sidebar_label: LauncherRequest
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LauncherRequest', 'V2025LauncherRequest']
|
||||
slug: /tools/sdk/go/v2025/models/launcher-request
|
||||
tags: ['SDK', 'Software Development Kit', 'LauncherRequest', 'V2025LauncherRequest']
|
||||
---
|
||||
|
||||
# LauncherRequest
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Name** | **string** | Name of the Launcher, limited to 255 characters |
|
||||
**Description** | **string** | Description of the Launcher, limited to 2000 characters |
|
||||
**Type** | **string** | Launcher type |
|
||||
**Disabled** | **bool** | State of the Launcher |
|
||||
**Reference** | Pointer to [**LauncherRequestReference**](launcher-request-reference) | | [optional]
|
||||
**Config** | **string** | JSON configuration associated with this Launcher, restricted to a max size of 4KB |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncherRequest
|
||||
|
||||
`func NewLauncherRequest(name string, description string, type_ string, disabled bool, config string, ) *LauncherRequest`
|
||||
|
||||
NewLauncherRequest instantiates a new LauncherRequest 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
|
||||
|
||||
### NewLauncherRequestWithDefaults
|
||||
|
||||
`func NewLauncherRequestWithDefaults() *LauncherRequest`
|
||||
|
||||
NewLauncherRequestWithDefaults instantiates a new LauncherRequest object
|
||||
This constructor will only assign default values to properties that have it defined,
|
||||
but it doesn't guarantee that properties required by API are set
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *LauncherRequest) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *LauncherRequest) 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 *LauncherRequest) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
|
||||
### GetDescription
|
||||
|
||||
`func (o *LauncherRequest) GetDescription() string`
|
||||
|
||||
GetDescription returns the Description field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDescriptionOk
|
||||
|
||||
`func (o *LauncherRequest) 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 *LauncherRequest) SetDescription(v string)`
|
||||
|
||||
SetDescription sets Description field to given value.
|
||||
|
||||
|
||||
### GetType
|
||||
|
||||
`func (o *LauncherRequest) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *LauncherRequest) 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 *LauncherRequest) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
|
||||
### GetDisabled
|
||||
|
||||
`func (o *LauncherRequest) GetDisabled() bool`
|
||||
|
||||
GetDisabled returns the Disabled field if non-nil, zero value otherwise.
|
||||
|
||||
### GetDisabledOk
|
||||
|
||||
`func (o *LauncherRequest) GetDisabledOk() (*bool, bool)`
|
||||
|
||||
GetDisabledOk returns a tuple with the Disabled field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetDisabled
|
||||
|
||||
`func (o *LauncherRequest) SetDisabled(v bool)`
|
||||
|
||||
SetDisabled sets Disabled field to given value.
|
||||
|
||||
|
||||
### GetReference
|
||||
|
||||
`func (o *LauncherRequest) GetReference() LauncherRequestReference`
|
||||
|
||||
GetReference returns the Reference field if non-nil, zero value otherwise.
|
||||
|
||||
### GetReferenceOk
|
||||
|
||||
`func (o *LauncherRequest) GetReferenceOk() (*LauncherRequestReference, bool)`
|
||||
|
||||
GetReferenceOk returns a tuple with the Reference field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetReference
|
||||
|
||||
`func (o *LauncherRequest) SetReference(v LauncherRequestReference)`
|
||||
|
||||
SetReference sets Reference field to given value.
|
||||
|
||||
### HasReference
|
||||
|
||||
`func (o *LauncherRequest) HasReference() bool`
|
||||
|
||||
HasReference returns a boolean if a field has been set.
|
||||
|
||||
### GetConfig
|
||||
|
||||
`func (o *LauncherRequest) GetConfig() string`
|
||||
|
||||
GetConfig returns the Config field if non-nil, zero value otherwise.
|
||||
|
||||
### GetConfigOk
|
||||
|
||||
`func (o *LauncherRequest) GetConfigOk() (*string, bool)`
|
||||
|
||||
GetConfigOk returns a tuple with the Config field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetConfig
|
||||
|
||||
`func (o *LauncherRequest) SetConfig(v string)`
|
||||
|
||||
SetConfig sets Config field to given value.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
---
|
||||
id: v2025-launcher-request-reference
|
||||
title: LauncherRequestReference
|
||||
pagination_label: LauncherRequestReference
|
||||
sidebar_label: LauncherRequestReference
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'LauncherRequestReference', 'V2025LauncherRequestReference']
|
||||
slug: /tools/sdk/go/v2025/models/launcher-request-reference
|
||||
tags: ['SDK', 'Software Development Kit', 'LauncherRequestReference', 'V2025LauncherRequestReference']
|
||||
---
|
||||
|
||||
# LauncherRequestReference
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | **string** | Type of Launcher reference |
|
||||
**Id** | **string** | ID of Launcher reference |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewLauncherRequestReference
|
||||
|
||||
`func NewLauncherRequestReference(type_ string, id string, ) *LauncherRequestReference`
|
||||
|
||||
NewLauncherRequestReference instantiates a new LauncherRequestReference 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
|
||||
|
||||
### NewLauncherRequestReferenceWithDefaults
|
||||
|
||||
`func NewLauncherRequestReferenceWithDefaults() *LauncherRequestReference`
|
||||
|
||||
NewLauncherRequestReferenceWithDefaults instantiates a new LauncherRequestReference 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 *LauncherRequestReference) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *LauncherRequestReference) 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 *LauncherRequestReference) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *LauncherRequestReference) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *LauncherRequestReference) 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 *LauncherRequestReference) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
id: v2025-start-launcher200-response
|
||||
title: StartLauncher200Response
|
||||
pagination_label: StartLauncher200Response
|
||||
sidebar_label: StartLauncher200Response
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'StartLauncher200Response', 'V2025StartLauncher200Response']
|
||||
slug: /tools/sdk/go/v2025/models/start-launcher200-response
|
||||
tags: ['SDK', 'Software Development Kit', 'StartLauncher200Response', 'V2025StartLauncher200Response']
|
||||
---
|
||||
|
||||
# StartLauncher200Response
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**InteractiveProcessId** | **string** | ID of the Interactive Process that was launched |
|
||||
|
||||
## Methods
|
||||
|
||||
### NewStartLauncher200Response
|
||||
|
||||
`func NewStartLauncher200Response(interactiveProcessId string, ) *StartLauncher200Response`
|
||||
|
||||
NewStartLauncher200Response instantiates a new StartLauncher200Response 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
|
||||
|
||||
### NewStartLauncher200ResponseWithDefaults
|
||||
|
||||
`func NewStartLauncher200ResponseWithDefaults() *StartLauncher200Response`
|
||||
|
||||
NewStartLauncher200ResponseWithDefaults instantiates a new StartLauncher200Response 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
|
||||
|
||||
### GetInteractiveProcessId
|
||||
|
||||
`func (o *StartLauncher200Response) GetInteractiveProcessId() string`
|
||||
|
||||
GetInteractiveProcessId returns the InteractiveProcessId field if non-nil, zero value otherwise.
|
||||
|
||||
### GetInteractiveProcessIdOk
|
||||
|
||||
`func (o *StartLauncher200Response) GetInteractiveProcessIdOk() (*string, bool)`
|
||||
|
||||
GetInteractiveProcessIdOk returns a tuple with the InteractiveProcessId field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetInteractiveProcessId
|
||||
|
||||
`func (o *StartLauncher200Response) SetInteractiveProcessId(v string)`
|
||||
|
||||
SetInteractiveProcessId sets InteractiveProcessId field to given value.
|
||||
|
||||
|
||||
|
||||
143
docs/tools/sdk/go/Reference/V2025/Models/Tag.md
Normal file
143
docs/tools/sdk/go/Reference/V2025/Models/Tag.md
Normal file
@@ -0,0 +1,143 @@
|
||||
---
|
||||
id: v2025-tag
|
||||
title: Tag
|
||||
pagination_label: Tag
|
||||
sidebar_label: Tag
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'Tag', 'V2025Tag']
|
||||
slug: /tools/sdk/go/v2025/models/tag
|
||||
tags: ['SDK', 'Software Development Kit', 'Tag', 'V2025Tag']
|
||||
---
|
||||
|
||||
# Tag
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | **string** | Tag id | [readonly]
|
||||
**Name** | **string** | Name of the tag. |
|
||||
**Created** | **SailPointTime** | Date the tag was created. | [readonly]
|
||||
**Modified** | **SailPointTime** | Date the tag was last modified. | [readonly]
|
||||
**TagCategoryRefs** | [**[]TagTagCategoryRefsInner**](tag-tag-category-refs-inner) | | [readonly]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewTag
|
||||
|
||||
`func NewTag(id string, name string, created SailPointTime, modified SailPointTime, tagCategoryRefs []TagTagCategoryRefsInner, ) *Tag`
|
||||
|
||||
NewTag instantiates a new Tag 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
|
||||
|
||||
### NewTagWithDefaults
|
||||
|
||||
`func NewTagWithDefaults() *Tag`
|
||||
|
||||
NewTagWithDefaults instantiates a new Tag 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 *Tag) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *Tag) 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 *Tag) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *Tag) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *Tag) 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 *Tag) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
|
||||
### GetCreated
|
||||
|
||||
`func (o *Tag) GetCreated() SailPointTime`
|
||||
|
||||
GetCreated returns the Created field if non-nil, zero value otherwise.
|
||||
|
||||
### GetCreatedOk
|
||||
|
||||
`func (o *Tag) 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 *Tag) SetCreated(v SailPointTime)`
|
||||
|
||||
SetCreated sets Created field to given value.
|
||||
|
||||
|
||||
### GetModified
|
||||
|
||||
`func (o *Tag) GetModified() SailPointTime`
|
||||
|
||||
GetModified returns the Modified field if non-nil, zero value otherwise.
|
||||
|
||||
### GetModifiedOk
|
||||
|
||||
`func (o *Tag) 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 *Tag) SetModified(v SailPointTime)`
|
||||
|
||||
SetModified sets Modified field to given value.
|
||||
|
||||
|
||||
### GetTagCategoryRefs
|
||||
|
||||
`func (o *Tag) GetTagCategoryRefs() []TagTagCategoryRefsInner`
|
||||
|
||||
GetTagCategoryRefs returns the TagCategoryRefs field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTagCategoryRefsOk
|
||||
|
||||
`func (o *Tag) GetTagCategoryRefsOk() (*[]TagTagCategoryRefsInner, bool)`
|
||||
|
||||
GetTagCategoryRefsOk returns a tuple with the TagCategoryRefs field if it's non-nil, zero value otherwise
|
||||
and a boolean to check if the value has been set.
|
||||
|
||||
### SetTagCategoryRefs
|
||||
|
||||
`func (o *Tag) SetTagCategoryRefs(v []TagTagCategoryRefsInner)`
|
||||
|
||||
SetTagCategoryRefs sets TagCategoryRefs field to given value.
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
---
|
||||
id: v2025-tag-tag-category-refs-inner
|
||||
title: TagTagCategoryRefsInner
|
||||
pagination_label: TagTagCategoryRefsInner
|
||||
sidebar_label: TagTagCategoryRefsInner
|
||||
sidebar_class_name: gosdk
|
||||
keywords: ['go', 'Golang', 'sdk', 'TagTagCategoryRefsInner', 'V2025TagTagCategoryRefsInner']
|
||||
slug: /tools/sdk/go/v2025/models/tag-tag-category-refs-inner
|
||||
tags: ['SDK', 'Software Development Kit', 'TagTagCategoryRefsInner', 'V2025TagTagCategoryRefsInner']
|
||||
---
|
||||
|
||||
# TagTagCategoryRefsInner
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Type** | Pointer to **string** | DTO type of the tagged object's category. | [optional]
|
||||
**Id** | Pointer to **string** | Tagged object's ID. | [optional]
|
||||
**Name** | Pointer to **string** | Tagged object's display name. | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
### NewTagTagCategoryRefsInner
|
||||
|
||||
`func NewTagTagCategoryRefsInner() *TagTagCategoryRefsInner`
|
||||
|
||||
NewTagTagCategoryRefsInner instantiates a new TagTagCategoryRefsInner 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
|
||||
|
||||
### NewTagTagCategoryRefsInnerWithDefaults
|
||||
|
||||
`func NewTagTagCategoryRefsInnerWithDefaults() *TagTagCategoryRefsInner`
|
||||
|
||||
NewTagTagCategoryRefsInnerWithDefaults instantiates a new TagTagCategoryRefsInner 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 *TagTagCategoryRefsInner) GetType() string`
|
||||
|
||||
GetType returns the Type field if non-nil, zero value otherwise.
|
||||
|
||||
### GetTypeOk
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) 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 *TagTagCategoryRefsInner) SetType(v string)`
|
||||
|
||||
SetType sets Type field to given value.
|
||||
|
||||
### HasType
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) HasType() bool`
|
||||
|
||||
HasType returns a boolean if a field has been set.
|
||||
|
||||
### GetId
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) GetId() string`
|
||||
|
||||
GetId returns the Id field if non-nil, zero value otherwise.
|
||||
|
||||
### GetIdOk
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) 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 *TagTagCategoryRefsInner) SetId(v string)`
|
||||
|
||||
SetId sets Id field to given value.
|
||||
|
||||
### HasId
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) HasId() bool`
|
||||
|
||||
HasId returns a boolean if a field has been set.
|
||||
|
||||
### GetName
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) GetName() string`
|
||||
|
||||
GetName returns the Name field if non-nil, zero value otherwise.
|
||||
|
||||
### GetNameOk
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) 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 *TagTagCategoryRefsInner) SetName(v string)`
|
||||
|
||||
SetName sets Name field to given value.
|
||||
|
||||
### HasName
|
||||
|
||||
`func (o *TagTagCategoryRefsInner) HasName() bool`
|
||||
|
||||
HasName returns a boolean if a field has been set.
|
||||
|
||||
|
||||
@@ -321,7 +321,7 @@ Name | Type | Description | Notes
|
||||
**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]
|
||||
**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]
|
||||
**sorters** | **string** | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** |
|
||||
**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: **name, priority, created, modified** |
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -351,7 +351,7 @@ func main() {
|
||||
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)
|
||||
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)
|
||||
sorters := `created,modified` // string | Sort results using the standard syntax described in [V3 API Standard Collection Parameters](https://developer.sailpoint.com/idn/api/standard-collection-parameters#sorting-results) Sorting is supported for the following fields: **created, modified** (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: **created, modified** (optional)
|
||||
sorters := `created,modified` // 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: **name, priority, created, modified** (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: **name, priority, created, modified** (optional)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user