# README

Go API client for identitycloud

Introduction

The PingOne Advanced Identity Cloud REST API lets you manage your Advanced Identity Cloud tenants. The API exposes access management and identity management endpoints, with additional endpoints specific to Advanced Identity Cloud tenant environments.

We are now publishing the API spec in OpenAPI 3.0. For the legacy Swagger 2.0 spec, please download swagger.yaml, but note that it may not contain all new functionality.

For full PingOne Advanced Identity Cloud documentation, please visit the docs website.

Authenticating to the API

The PingOne Advanced Identity Cloud REST API has two different authentication methods:

  • API key and secret: used for tenant read-only operations
  • Access token: used for access management operations, identity management operations or tenant write operations

For a summary of how to use these authentication methods, refer to Authenticate to Advanced Identity Cloud REST API.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version:
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import identitycloud "github.com/pingidentity/identitycloud-go-client"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), identitycloud.ContextServerIndex, 1)

Templated Server URL

Templated server URL is formatted using default variables from configuration or from context value sw.ContextServerVariables of type map[string]string.

ctx := context.WithValue(context.Background(), identitycloud.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identified by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

ctx := context.WithValue(context.Background(), identitycloud.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), identitycloud.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://openam-example.id.forgerock.io

ClassMethodHTTP requestDescription
CSRsAPICreateCertificateSigningRequestPost /environment/csrsCreate CSR
CSRsAPIDeleteCertificateSigningRequestByIdDelete /environment/csrs/{id}Delete CSR by ID
CSRsAPIGetCertificateSigningRequestByIdGet /environment/csrs/{id}Get CSR by ID
CSRsAPIGetCertificateSigningRequestsGet /environment/csrsGet all CSRs
CSRsAPIUpdateCertificateSigningRequestByIdPatch /environment/csrs/{id}Update CSR by ID
CertificatesAPICreateCertificatePost /environment/certificatesCreate certificate
CertificatesAPIDeleteCertificateByIDDelete /environment/certificates/{id}Delete certificate by ID
CertificatesAPIGetCertificateByIDGet /environment/certificates/{id}Get certificate by ID
CertificatesAPIGetCertificatesGet /environment/certificatesGet all certificates
CertificatesAPIUpdateCertificateByIDPatch /environment/certificates/{id}Update certificate by ID
ContentSecurityPolicyAPIGetEnforcedContentSecurityPolicyGet /environment/content-security-policy/enforcedGet enforced content security policy
ContentSecurityPolicyAPIGetReportOnlyContentSecurityPolicyGet /environment/content-security-policy/report-onlyGet report-only content security policy
ContentSecurityPolicyAPISetEnforcedContentSecurityPolicyPut /environment/content-security-policy/enforcedSet enforced content security policy
ContentSecurityPolicyAPISetReportOnlyContentSecurityPolicyPut /environment/content-security-policy/report-onlySet report-only content security policy
CookieDomainsAPIGetCookieDomainsGet /environment/cookie-domainsGet cookie domains
CookieDomainsAPISetCookieDomainsPut /environment/cookie-domainsSet cookie domains
CountAPIGetCountGet /environment/countGet count of ESVs
CustomDomainsAPIGetCustomDomainsGet /environment/custom-domains/{realm}Get custom domains
CustomDomainsAPISetCustomDomainsPut /environment/custom-domains/{realm}Set custom domains
CustomDomainsAPIVerifyCustomDomainsPost /environment/custom-domainsVerify a CNAME
FederationEnforcementAPIGetEnforcementGet /environment/federation/enforcementGet enforcement of federation
FederationEnforcementAPISetEnforcementPut /environment/federation/enforcementSet enforcement of federation
PromotionAPICheckLockGet /environment/promotion/lock/stateGet lock status
PromotionAPIGetLastReportGet /environment/promotion/reportGet last promotion report
PromotionAPIGetProvisionalReportGet /environment/promotion/report/provisionalGet a provisional promotion report
PromotionAPIGetProvisionalRollbackReportGet /environment/promotion/report/provisional-rollbackGet a provisional rollback report
PromotionAPIGetReportGet /environment/promotion/report/{reportId}Get a promotion report
PromotionAPIGetReportListGet /environment/promotion/reportsGet promotion reports
PromotionAPILockPost /environment/promotion/lockLock environments
PromotionAPIProgressGet /environment/promotion/promoteGet promotion status
PromotionAPIRollbackPost /environment/promotion/rollbackRollback a promotion
PromotionAPIStartPost /environment/promotion/promoteRun a promotion
PromotionAPIUnlockDelete /environment/promotion/lock/{promotionId}Unlock environments
ReleaseAPIGetReleaseInfoGet /environment/releaseGet release information
RestartAPIGetRestartStatusGet /environment/startupGet restart status
RestartAPIRestartPost /environment/startupInitiate restart
SSOCookieAPIGetSSOCookieGet /environment/sso-cookieGet SSO cookie configuration
SSOCookieAPIResetSSOCookiePost /environment/sso-cookieReset SSO cookie configuration
SSOCookieAPISetSSOCookiePut /environment/sso-cookieSet SSO cookie configuration
SecretsAPIActionSecretPost /environment/secrets/{secretId}Set a secret description
SecretsAPIChangeSecretVersionPost /environment/secrets/{secretId}/versions/{versionId}Update the status of a version of a secret
SecretsAPICreateSecretPut /environment/secrets/{secretId}Create a secret
SecretsAPICreateSecretVersionPost /environment/secrets/{secretId}/versionsCreate a new version of a secret
SecretsAPIDeleteSecretDelete /environment/secrets/{secretId}Delete a secret
SecretsAPIDeleteSecretVersionDelete /environment/secrets/{secretId}/versions/{versionId}Delete a version of a secret
SecretsAPIGetAllSecretsGet /environment/secretsGet all secrets
SecretsAPIGetSecretGet /environment/secrets/{secretId}Get a secret
SecretsAPIGetSecretVersionGet /environment/secrets/{secretId}/versions/{versionId}Get a version of a secret
SecretsAPIGetSecretVersionsGet /environment/secrets/{secretId}/versionsGet all versions of a secret
VariablesAPIActionVariablePost /environment/variables/{variableId}Set a variable description
VariablesAPICreateVariablesPut /environment/variables/{variableId}Create or update a variable
VariablesAPIDeleteVariableDelete /environment/variables/{variableId}Delete a variable
VariablesAPIGetAllVariablesGet /environment/variablesGet all variables
VariablesAPIGetVariableGet /environment/variables/{variableId}Get a variable

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

OAuth2

  • Type: OAuth
  • Flow: accessCode
  • Authorization URL: https://example.com/oauth/authorize
  • Scopes:
  • fr:idc:certificate:*: Full access to certificates configuration
  • fr:idc:certificate:read: Read only access to certificates configuration
  • fr:idc:content-security-policy:*: Full access to content security policy configuration
  • fr:idc:custom-domain:*: Full access to custom domains configuration
  • fr:idc:esv:*: Full ESV access
  • fr:idc:esv:read: Read ESVs
  • fr:idc:esv:restart: Perform a restart of the ID Cloud workloads
  • fr:idc:esv:update: Modify or delete ESVs
  • fr:idc:federation:*: Full access to federation configuration
  • fr:idc:promotion:*: Allows a user to trigger a promotion
  • fr:idc:release:*: Full access to release configuration
  • fr:idc:sso-cookie:*: Full access to SSO cookie configuration
  • fr:idm:*: Grants full ESV access if user has openidm-admin role

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "ACCESSTOKENSTRING")
r, err := client.Service.Operation(auth, args)

Or via OAuth2 module to automatically refresh tokens and perform user authentication.

import "golang.org/x/oauth2"

/* Perform OAuth2 round trip request and obtain a token */

tokenSource := oauth2cfg.TokenSource(createContext(httpClient), &token)
auth := context.WithValue(oauth2.NoContext, sw.ContextOAuth2, tokenSource)
r, err := client.Service.Operation(auth, args)

bearer

  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), sw.ContextAccessToken, "BEARER_TOKEN_STRING")
r, err := client.Service.Operation(auth, args)

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
EsvVariableListV1AsGetAllVariables200Response is a convenience function that returns EsvVariableListV1 wrapped in GetAllVariables200Response.
EsvVariableListV2AsGetAllVariables200Response is a convenience function that returns EsvVariableListV2 wrapped in GetAllVariables200Response.
IsNil checks if an input is nil.
NewAPIClient creates a new API client.
NewAPIResponse returns a new APIResponse object.
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
NewBadRequest instantiates a new BadRequest 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.
NewBadRequestWithDefaults instantiates a new BadRequest 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.
NewCertificate instantiates a new Certificate 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.
NewCertificateSigningRequest instantiates a new CertificateSigningRequest 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.
NewCertificateSigningRequestWithDefaults instantiates a new CertificateSigningRequest 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.
NewCertificateWithDefaults instantiates a new Certificate 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.
NewCName instantiates a new CName 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.
NewCNameWithDefaults instantiates a new CName 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.
NewConfiguration returns a new Configuration object.
NewConflict instantiates a new Conflict 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.
NewConflictWithDefaults instantiates a new Conflict 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.
NewContentSecurityPolicy instantiates a new ContentSecurityPolicy 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.
NewContentSecurityPolicyWithDefaults instantiates a new ContentSecurityPolicy 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.
NewCookieDomains instantiates a new CookieDomains 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.
NewCookieDomainsWithDefaults instantiates a new CookieDomains 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.
NewCreateCertificateRequest instantiates a new CreateCertificateRequest 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.
NewCreateCertificateRequestWithDefaults instantiates a new CreateCertificateRequest 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.
NewCreateCertificateSigningRequestRequest instantiates a new CreateCertificateSigningRequestRequest 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.
NewCreateCertificateSigningRequestRequestWithDefaults instantiates a new CreateCertificateSigningRequestRequest 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.
NewCustomDomains instantiates a new CustomDomains 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.
NewCustomDomainsWithDefaults instantiates a new CustomDomains 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.
NewError instantiates a new Error 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.
NewErrorWithDefaults instantiates a new Error 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.
NewEsvCount instantiates a new EsvCount 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.
NewEsvCountWithDefaults instantiates a new EsvCount 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.
NewEsvError instantiates a new EsvError 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.
NewEsvErrorWithDefaults instantiates a new EsvError 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.
NewEsvRestartStatus instantiates a new EsvRestartStatus 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.
NewEsvRestartStatusWithDefaults instantiates a new EsvRestartStatus 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.
NewEsvSecretCreateRequest instantiates a new EsvSecretCreateRequest 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.
NewEsvSecretCreateRequestWithDefaults instantiates a new EsvSecretCreateRequest 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.
NewEsvSecretResponse instantiates a new EsvSecretResponse 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.
NewEsvSecretResponseWithDefaults instantiates a new EsvSecretResponse 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.
NewEsvSecretsListResponse instantiates a new EsvSecretsListResponse 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.
NewEsvSecretsListResponseWithDefaults instantiates a new EsvSecretsListResponse 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.
NewEsvSecretVersionCreateRequest instantiates a new EsvSecretVersionCreateRequest 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.
NewEsvSecretVersionCreateRequestWithDefaults instantiates a new EsvSecretVersionCreateRequest 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.
NewEsvSecretVersionResponse instantiates a new EsvSecretVersionResponse 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.
NewEsvSecretVersionResponseWithDefaults instantiates a new EsvSecretVersionResponse 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.
NewEsvSecretVersionStatusRequest instantiates a new EsvSecretVersionStatusRequest 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.
NewEsvSecretVersionStatusRequestWithDefaults instantiates a new EsvSecretVersionStatusRequest 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.
NewEsvSetDescriptionRequest instantiates a new EsvSetDescriptionRequest 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.
NewEsvSetDescriptionRequestWithDefaults instantiates a new EsvSetDescriptionRequest 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.
NewEsvVariableCreateUpdateRequest instantiates a new EsvVariableCreateUpdateRequest 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.
NewEsvVariableCreateUpdateRequestWithDefaults instantiates a new EsvVariableCreateUpdateRequest 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.
NewEsvVariableListV1 instantiates a new EsvVariableListV1 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.
NewEsvVariableListV1WithDefaults instantiates a new EsvVariableListV1 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.
NewEsvVariableListV2 instantiates a new EsvVariableListV2 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.
NewEsvVariableListV2WithDefaults instantiates a new EsvVariableListV2 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.
NewEsvVariableResponse instantiates a new EsvVariableResponse 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.
NewEsvVariableResponseV2 instantiates a new EsvVariableResponseV2 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.
NewEsvVariableResponseV2WithDefaults instantiates a new EsvVariableResponseV2 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.
NewEsvVariableResponseWithDefaults instantiates a new EsvVariableResponse 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.
NewFederationEnforcement instantiates a new FederationEnforcement 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.
NewFederationEnforcementWithDefaults instantiates a new FederationEnforcement 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.
NewForbidden instantiates a new Forbidden 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.
NewForbiddenWithDefaults instantiates a new Forbidden 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.
NewInternalServerError instantiates a new InternalServerError 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.
NewInternalServerErrorWithDefaults instantiates a new InternalServerError 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.
NewModelDefault instantiates a new ModelDefault 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.
NewModelDefaultWithDefaults instantiates a new ModelDefault 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.
NewNotFound instantiates a new NotFound 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.
NewNotFoundWithDefaults instantiates a new NotFound 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.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewP1Connect instantiates a new P1Connect 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.
NewP1ConnectConfigureRequest instantiates a new P1ConnectConfigureRequest 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.
NewP1ConnectConfigureRequestWithDefaults instantiates a new P1ConnectConfigureRequest 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.
NewP1ConnectConfigureResponse instantiates a new P1ConnectConfigureResponse 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.
NewP1ConnectConfigureResponseWithDefaults instantiates a new P1ConnectConfigureResponse 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.
NewP1ConnectWithDefaults instantiates a new P1Connect 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.
NewPromotionCIMeta instantiates a new PromotionCIMeta 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.
NewPromotionCIMetaWithDefaults instantiates a new PromotionCIMeta 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.
NewPromotionConflictingLockState instantiates a new PromotionConflictingLockState 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.
NewPromotionConflictingLockStateWithDefaults instantiates a new PromotionConflictingLockState 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.
NewPromotionLockState instantiates a new PromotionLockState 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.
NewPromotionLockStateLowerEnv instantiates a new PromotionLockStateLowerEnv 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.
NewPromotionLockStateLowerEnvWithDefaults instantiates a new PromotionLockStateLowerEnv 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.
NewPromotionLockStateWithDefaults instantiates a new PromotionLockState 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.
NewPromotionProgress instantiates a new PromotionProgress 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.
NewPromotionProgressWithDefaults instantiates a new PromotionProgress 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.
NewPromotionReport instantiates a new PromotionReport 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.
NewPromotionReportContent instantiates a new PromotionReportContent 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.
NewPromotionReportContentConfigChange instantiates a new PromotionReportContentConfigChange 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.
NewPromotionReportContentConfigChangeWithDefaults instantiates a new PromotionReportContentConfigChange 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.
NewPromotionReportContentWithDefaults instantiates a new PromotionReportContent 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.
NewPromotionReportMeta instantiates a new PromotionReportMeta 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.
NewPromotionReportMetaWithDefaults instantiates a new PromotionReportMeta 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.
NewPromotionReportReport instantiates a new PromotionReportReport 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.
NewPromotionReportReportWithDefaults instantiates a new PromotionReportReport 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.
NewPromotionReportWithDefaults instantiates a new PromotionReport 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.
NewPromotionRequest instantiates a new PromotionRequest 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.
NewPromotionRequestWithDefaults instantiates a new PromotionRequest 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.
NewPromotionStart instantiates a new PromotionStart 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.
NewPromotionStartLocking instantiates a new PromotionStartLocking 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.
NewPromotionStartLockingWithDefaults instantiates a new PromotionStartLocking 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.
NewPromotionStartUnlocking instantiates a new PromotionStartUnlocking 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.
NewPromotionStartUnlockingWithDefaults instantiates a new PromotionStartUnlocking 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.
NewPromotionStartWithDefaults instantiates a new PromotionStart 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.
NewPromotionUnlocked instantiates a new PromotionUnlocked 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.
NewPromotionUnlockedWithDefaults instantiates a new PromotionUnlocked 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.
NewRelease instantiates a new Release 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.
NewReleaseWithDefaults instantiates a new Release 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.
NewRollbackRequest instantiates a new RollbackRequest 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.
NewRollbackRequestWithDefaults instantiates a new RollbackRequest 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.
NewRollbackStart instantiates a new RollbackStart 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.
NewRollbackStartWithDefaults instantiates a new RollbackStart 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.
NewSSOCookie instantiates a new SSOCookie 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.
NewSSOCookieWithDefaults instantiates a new SSOCookie 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.
NewUnauthorized instantiates a new Unauthorized 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.
NewUnauthorizedWithDefaults instantiates a new Unauthorized 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.
NewUpdateCertificateRequest instantiates a new UpdateCertificateRequest 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.
NewUpdateCertificateRequestWithDefaults instantiates a new UpdateCertificateRequest 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.
NewUpdateCertificateSigningRequestRequest instantiates a new UpdateCertificateSigningRequestRequest 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.
NewUpdateCertificateSigningRequestRequestWithDefaults instantiates a new UpdateCertificateSigningRequestRequest 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.
PtrBool is a helper routine that returns a pointer to given boolean value.
PtrFloat32 is a helper routine that returns a pointer to given float value.
PtrFloat64 is a helper routine that returns a pointer to given float value.
PtrInt is a helper routine that returns a pointer to given integer value.
PtrInt32 is a helper routine that returns a pointer to given integer value.
PtrInt64 is a helper routine that returns a pointer to given integer value.
PtrString is a helper routine that returns a pointer to given string value.
PtrTime is helper routine that returns a pointer to given Time value.

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
ContextOperationServerIndices uses a server configuration from the index mapping.
ContextOperationServerVariables overrides a server configuration variables using operation specific values.
ContextServerIndex uses a server configuration from the index.
ContextServerVariables overrides a server configuration variables.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIClient manages communication with the PingOne Advanced Identity Cloud API API v In most cases there should be only one, shared, APIClient.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
APIResponse stores the API response returned by the server.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BadRequest struct for BadRequest.
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
Certificate struct for Certificate.
CertificateSigningRequest struct for CertificateSigningRequest.
CName struct for CName.
Configuration stores the configuration of the API client.
Conflict struct for Conflict.
ContentSecurityPolicy struct for ContentSecurityPolicy.
CookieDomains struct for CookieDomains.
CreateCertificateRequest struct for CreateCertificateRequest.
CreateCertificateSigningRequestRequest struct for CreateCertificateSigningRequestRequest.
CustomDomains struct for CustomDomains.
Error struct for Error.
EsvCount struct for EsvCount.
EsvError struct for EsvError.
EsvRestartStatus struct for EsvRestartStatus.
EsvSecretCreateRequest struct for EsvSecretCreateRequest.
EsvSecretResponse struct for EsvSecretResponse.
EsvSecretsListResponse struct for EsvSecretsListResponse.
EsvSecretVersionCreateRequest struct for EsvSecretVersionCreateRequest.
EsvSecretVersionResponse struct for EsvSecretVersionResponse.
EsvSecretVersionStatusRequest struct for EsvSecretVersionStatusRequest.
EsvSetDescriptionRequest struct for EsvSetDescriptionRequest.
EsvVariableCreateUpdateRequest struct for EsvVariableCreateUpdateRequest.
EsvVariableListV1 Variable list response when requested with empty Accept-API-Version or Accept-API-Version: resource=1.0.
EsvVariableListV2 Variable list response when requested with Accept-API-Version: resource=2.0.
EsvVariableResponse struct for EsvVariableResponse.
EsvVariableResponseV2 struct for EsvVariableResponseV2.
FederationEnforcement struct for FederationEnforcement.
Forbidden struct for Forbidden.
GenericOpenAPIError Provides access to the body, error and model on returned errors.
GetAllVariables200Response - struct for GetAllVariables200Response.
InternalServerError struct for InternalServerError.
ModelDefault struct for ModelDefault.
NotFound struct for NotFound.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
P1Connect struct for P1Connect.
P1ConnectConfigureRequest struct for P1ConnectConfigureRequest.
P1ConnectConfigureResponse struct for P1ConnectConfigureResponse.
PromotionCIMeta struct for PromotionCIMeta.
PromotionConflictingLockState struct for PromotionConflictingLockState.
PromotionLockState struct for PromotionLockState.
PromotionLockStateLowerEnv struct for PromotionLockStateLowerEnv.
PromotionProgress struct for PromotionProgress.
PromotionReport struct for PromotionReport.
PromotionReportContent struct for PromotionReportContent.
PromotionReportContentConfigChange struct for PromotionReportContentConfigChange.
PromotionReportMeta struct for PromotionReportMeta.
PromotionReportReport struct for PromotionReportReport.
PromotionRequest struct for PromotionRequest.
PromotionStart struct for PromotionStart.
PromotionStartLocking struct for PromotionStartLocking.
PromotionStartUnlocking struct for PromotionStartUnlocking.
PromotionUnlocked struct for PromotionUnlocked.
Release struct for Release.
RollbackRequest struct for RollbackRequest.
RollbackStart struct for RollbackStart.
ServerConfiguration stores the information about a server.
ServerVariable stores the information about a server variable.
No description provided by the author
SSOCookie struct for SSOCookie.
Unauthorized struct for Unauthorized.
UpdateCertificateRequest struct for UpdateCertificateRequest.
UpdateCertificateSigningRequestRequest struct for UpdateCertificateSigningRequestRequest.

# Interfaces

No description provided by the author

# Type aliases

CertificatesAPIService CertificatesAPI service.
ContentSecurityPolicyAPIService ContentSecurityPolicyAPI service.
CookieDomainsAPIService CookieDomainsAPI service.
CountAPIService CountAPI service.
CSRsAPIService CSRsAPI service.
CustomDomainsAPIService CustomDomainsAPI service.
FederationEnforcementAPIService FederationEnforcementAPI service.
PromotionAPIService PromotionAPI service.
ReleaseAPIService ReleaseAPI service.
RestartAPIService RestartAPI service.
No description provided by the author
SecretsAPIService SecretsAPI service.
ServerConfigurations stores multiple ServerConfiguration items.
SSOCookieAPIService SSOCookieAPI service.
VariablesAPIService VariablesAPI service.