authorize

package module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: BSD-3-Clause Imports: 19 Imported by: 0

README

Go API client for authorize

The PingOne Platform API covering the PingOne Authorize service

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: 2023-06-29
  • Package version: 0.3.1
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

import authorize "github.com/patrickcping/pingone-go-sdk-v2/authorize"

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(), authorize.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(), authorize.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(), authorize.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), authorize.ContextOperationServerVariables, map[string]map[string]string{
	"{classname}Service.{nickname}": {
		"port": "8443",
	},
})

Documentation for API Endpoints

All URIs are relative to https://api.pingone.com/v1

Class Method HTTP request Description
APIServersApi CreateAPIServer Post /environments/{environmentID}/apiServers CREATE API Server
APIServersApi DeleteAPIServer Delete /environments/{environmentID}/apiServers/{apiServerID} DELETE API Server
APIServersApi ReadAllAPIServers Get /environments/{environmentID}/apiServers READ All API Servers
APIServersApi ReadOneAPIServer Get /environments/{environmentID}/apiServers/{apiServerID} READ One API Server
APIServersApi UpdateAPIServer Put /environments/{environmentID}/apiServers/{apiServerID} UPDATE API Server
PolicyDecisionManagementApi CreateDecisionEndpoint Post /environments/{environmentID}/decisionEndpoints CREATE Decision Endpoint
PolicyDecisionManagementApi DeleteDecisionEndpoint Delete /environments/{environmentID}/decisionEndpoints/{decisionEndpointID} DELETE Decision Endpoint
PolicyDecisionManagementApi ReadAllDecisionEndpoints Get /environments/{environmentID}/decisionEndpoints READ All Decision Endpoints
PolicyDecisionManagementApi ReadOneDecisionEndpoint Get /environments/{environmentID}/decisionEndpoints/{decisionEndpointID} READ One Decision Endpoint
PolicyDecisionManagementApi UpdateDecisionEndpoint Put /environments/{environmentID}/decisionEndpoints/{decisionEndpointID} UPDATE Decision Endpoint

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedEnumAPIServerPatternTypeEnumValues = []EnumAPIServerPatternType{
	"EXACT",
	"PARAMETER",
}

All allowed values of EnumAPIServerPatternType enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil added in v0.1.3

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	APIServersApi *APIServersApiService

	PolicyDecisionManagementApi *PolicyDecisionManagementApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the PingOne Platform API - Authorize API v2022-09-23 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type APIServer

type APIServer struct {
	Links               *LinksHATEOAS                `json:"_links,omitempty"`
	AuthorizationServer APIServerAuthorizationServer `json:"authorizationServer"`
	// An array of string that specifies the possible base URLs that an end-user will use to access the APIs hosted on the customer's API server. Multiple base URLs may be specified to support cases where the same API may be available from multiple URLs (for example, from a user-friendly domain URL and an internal domain URL). Base URLs must be valid absolute URLs with the https or http scheme. If the path component is non-empty, it must not end in a trailing slash. The path must not contain empty backslash, dot, or double-dot segments. It must not have a query or fragment present, and the host portion of the authority must be a DNS hostname or valid IP (IPv4 or IPv6). The length must be less than or equal to 256 characters.
	BaseURLs []string `json:"baseURLs"`
	// A string that specifies the resource's unique identifier.
	Id *string `json:"id,omitempty"`
	// A string that specifies the API server resource name. The name value must be unique among all API servers, and it must be a valid resource name.
	Name string `json:"name"`
	// A map from the operation name to the operation object. Each key must be valid ObjectName, and each value must be a valid operation. Each key must be unique within the operations object, which means the operation key is unique within an API server. No duplicate operation values are allowed; operations with the same paths and methods members are not allowed. The operations object is limited to 25 keys (25 individual operations).
	Operations map[string]interface{} `json:"operations,omitempty"`
}

APIServer struct for APIServer

func NewAPIServer

func NewAPIServer(authorizationServer APIServerAuthorizationServer, baseURLs []string, name string) *APIServer

NewAPIServer instantiates a new APIServer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPIServerWithDefaults

func NewAPIServerWithDefaults() *APIServer

NewAPIServerWithDefaults instantiates a new APIServer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APIServer) GetAuthorizationServer

func (o *APIServer) GetAuthorizationServer() APIServerAuthorizationServer

GetAuthorizationServer returns the AuthorizationServer field value

func (*APIServer) GetAuthorizationServerOk

func (o *APIServer) GetAuthorizationServerOk() (*APIServerAuthorizationServer, bool)

GetAuthorizationServerOk returns a tuple with the AuthorizationServer field value and a boolean to check if the value has been set.

func (*APIServer) GetBaseURLs

func (o *APIServer) GetBaseURLs() []string

GetBaseURLs returns the BaseURLs field value

func (*APIServer) GetBaseURLsOk

func (o *APIServer) GetBaseURLsOk() ([]string, bool)

GetBaseURLsOk returns a tuple with the BaseURLs field value and a boolean to check if the value has been set.

func (*APIServer) GetId

func (o *APIServer) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*APIServer) GetIdOk

func (o *APIServer) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *APIServer) GetLinks() LinksHATEOAS

GetLinks returns the Links field value if set, zero value otherwise.

func (*APIServer) GetLinksOk added in v0.3.0

func (o *APIServer) GetLinksOk() (*LinksHATEOAS, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIServer) GetName

func (o *APIServer) GetName() string

GetName returns the Name field value

func (*APIServer) GetNameOk

func (o *APIServer) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*APIServer) GetOperations

func (o *APIServer) GetOperations() map[string]interface{}

GetOperations returns the Operations field value if set, zero value otherwise.

func (*APIServer) GetOperationsOk

func (o *APIServer) GetOperationsOk() (map[string]interface{}, bool)

GetOperationsOk returns a tuple with the Operations field value if set, nil otherwise and a boolean to check if the value has been set.

func (*APIServer) HasId

func (o *APIServer) HasId() bool

HasId returns a boolean if a field has been set.

func (o *APIServer) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*APIServer) HasOperations

func (o *APIServer) HasOperations() bool

HasOperations returns a boolean if a field has been set.

func (APIServer) MarshalJSON

func (o APIServer) MarshalJSON() ([]byte, error)

func (*APIServer) SetAuthorizationServer

func (o *APIServer) SetAuthorizationServer(v APIServerAuthorizationServer)

SetAuthorizationServer sets field value

func (*APIServer) SetBaseURLs

func (o *APIServer) SetBaseURLs(v []string)

SetBaseURLs sets field value

func (*APIServer) SetId

func (o *APIServer) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *APIServer) SetLinks(v LinksHATEOAS)

SetLinks gets a reference to the given LinksHATEOAS and assigns it to the Links field.

func (*APIServer) SetName

func (o *APIServer) SetName(v string)

SetName sets field value

func (*APIServer) SetOperations

func (o *APIServer) SetOperations(v map[string]interface{})

SetOperations gets a reference to the given map[string]interface{} and assigns it to the Operations field.

func (APIServer) ToMap added in v0.1.3

func (o APIServer) ToMap() (map[string]interface{}, error)

type APIServerAuthorizationServer

type APIServerAuthorizationServer struct {
	Resource APIServerAuthorizationServerResource `json:"resource"`
}

APIServerAuthorizationServer A container object for properties related to the authorization server that will issue access tokens used to access the APIs.

func NewAPIServerAuthorizationServer

func NewAPIServerAuthorizationServer(resource APIServerAuthorizationServerResource) *APIServerAuthorizationServer

NewAPIServerAuthorizationServer instantiates a new APIServerAuthorizationServer object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPIServerAuthorizationServerWithDefaults

func NewAPIServerAuthorizationServerWithDefaults() *APIServerAuthorizationServer

NewAPIServerAuthorizationServerWithDefaults instantiates a new APIServerAuthorizationServer object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APIServerAuthorizationServer) GetResource

GetResource returns the Resource field value

func (*APIServerAuthorizationServer) GetResourceOk

GetResourceOk returns a tuple with the Resource field value and a boolean to check if the value has been set.

func (APIServerAuthorizationServer) MarshalJSON

func (o APIServerAuthorizationServer) MarshalJSON() ([]byte, error)

func (*APIServerAuthorizationServer) SetResource

SetResource sets field value

func (APIServerAuthorizationServer) ToMap added in v0.1.3

func (o APIServerAuthorizationServer) ToMap() (map[string]interface{}, error)

type APIServerAuthorizationServerResource

type APIServerAuthorizationServerResource struct {
	// A string that specifies the UUID of the custom PingOne resource. This property must identify a PingOne resource with a type property value of CUSTOM.
	Id string `json:"id"`
}

APIServerAuthorizationServerResource The resource defines the characteristics of the OAuth 2.0 access tokens used to get access to the APIs on the API server such as the audience and scopes.

func NewAPIServerAuthorizationServerResource

func NewAPIServerAuthorizationServerResource(id string) *APIServerAuthorizationServerResource

NewAPIServerAuthorizationServerResource instantiates a new APIServerAuthorizationServerResource object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAPIServerAuthorizationServerResourceWithDefaults

func NewAPIServerAuthorizationServerResourceWithDefaults() *APIServerAuthorizationServerResource

NewAPIServerAuthorizationServerResourceWithDefaults instantiates a new APIServerAuthorizationServerResource object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*APIServerAuthorizationServerResource) GetId

GetId returns the Id field value

func (*APIServerAuthorizationServerResource) GetIdOk

GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.

func (APIServerAuthorizationServerResource) MarshalJSON

func (o APIServerAuthorizationServerResource) MarshalJSON() ([]byte, error)

func (*APIServerAuthorizationServerResource) SetId

SetId sets field value

func (APIServerAuthorizationServerResource) ToMap added in v0.1.3

func (o APIServerAuthorizationServerResource) ToMap() (map[string]interface{}, error)

type APIServersApiService

type APIServersApiService service

APIServersApiService APIServersApi service

func (*APIServersApiService) CreateAPIServer

func (a *APIServersApiService) CreateAPIServer(ctx context.Context, environmentID string) ApiCreateAPIServerRequest

CreateAPIServer CREATE API Server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@return ApiCreateAPIServerRequest

func (*APIServersApiService) CreateAPIServerExecute

func (a *APIServersApiService) CreateAPIServerExecute(r ApiCreateAPIServerRequest) (*APIServer, *http.Response, error)

Execute executes the request

@return APIServer

func (*APIServersApiService) DeleteAPIServer

func (a *APIServersApiService) DeleteAPIServer(ctx context.Context, environmentID string, apiServerID string) ApiDeleteAPIServerRequest

DeleteAPIServer DELETE API Server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@param apiServerID
@return ApiDeleteAPIServerRequest

func (*APIServersApiService) DeleteAPIServerExecute

func (a *APIServersApiService) DeleteAPIServerExecute(r ApiDeleteAPIServerRequest) (*http.Response, error)

Execute executes the request

func (*APIServersApiService) ReadAllAPIServers

func (a *APIServersApiService) ReadAllAPIServers(ctx context.Context, environmentID string) ApiReadAllAPIServersRequest

ReadAllAPIServers READ All API Servers

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@return ApiReadAllAPIServersRequest

func (*APIServersApiService) ReadAllAPIServersExecute

func (a *APIServersApiService) ReadAllAPIServersExecute(r ApiReadAllAPIServersRequest) (*EntityArray, *http.Response, error)

Execute executes the request

@return EntityArray

func (*APIServersApiService) ReadOneAPIServer

func (a *APIServersApiService) ReadOneAPIServer(ctx context.Context, environmentID string, apiServerID string) ApiReadOneAPIServerRequest

ReadOneAPIServer READ One API Server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@param apiServerID
@return ApiReadOneAPIServerRequest

func (*APIServersApiService) ReadOneAPIServerExecute

func (a *APIServersApiService) ReadOneAPIServerExecute(r ApiReadOneAPIServerRequest) (*APIServer, *http.Response, error)

Execute executes the request

@return APIServer

func (*APIServersApiService) UpdateAPIServer

func (a *APIServersApiService) UpdateAPIServer(ctx context.Context, environmentID string, apiServerID string) ApiUpdateAPIServerRequest

UpdateAPIServer UPDATE API Server

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@param apiServerID
@return ApiUpdateAPIServerRequest

func (*APIServersApiService) UpdateAPIServerExecute

func (a *APIServersApiService) UpdateAPIServerExecute(r ApiUpdateAPIServerRequest) (*APIServer, *http.Response, error)

Execute executes the request

@return APIServer

type ApiCreateAPIServerRequest

type ApiCreateAPIServerRequest struct {
	ApiService *APIServersApiService
	// contains filtered or unexported fields
}

func (ApiCreateAPIServerRequest) APIServer

func (ApiCreateAPIServerRequest) Execute

type ApiCreateDecisionEndpointRequest

type ApiCreateDecisionEndpointRequest struct {
	ApiService *PolicyDecisionManagementApiService
	// contains filtered or unexported fields
}

func (ApiCreateDecisionEndpointRequest) DecisionEndpoint

func (ApiCreateDecisionEndpointRequest) Execute

type ApiDeleteAPIServerRequest

type ApiDeleteAPIServerRequest struct {
	ApiService *APIServersApiService
	// contains filtered or unexported fields
}

func (ApiDeleteAPIServerRequest) Execute

func (r ApiDeleteAPIServerRequest) Execute() (*http.Response, error)

type ApiDeleteDecisionEndpointRequest

type ApiDeleteDecisionEndpointRequest struct {
	ApiService *PolicyDecisionManagementApiService
	// contains filtered or unexported fields
}

func (ApiDeleteDecisionEndpointRequest) Execute

type ApiReadAllAPIServersRequest

type ApiReadAllAPIServersRequest struct {
	ApiService *APIServersApiService
	// contains filtered or unexported fields
}

func (ApiReadAllAPIServersRequest) Execute

type ApiReadAllDecisionEndpointsRequest

type ApiReadAllDecisionEndpointsRequest struct {
	ApiService *PolicyDecisionManagementApiService
	// contains filtered or unexported fields
}

func (ApiReadAllDecisionEndpointsRequest) Execute

type ApiReadOneAPIServerRequest

type ApiReadOneAPIServerRequest struct {
	ApiService *APIServersApiService
	// contains filtered or unexported fields
}

func (ApiReadOneAPIServerRequest) Execute

type ApiReadOneDecisionEndpointRequest

type ApiReadOneDecisionEndpointRequest struct {
	ApiService *PolicyDecisionManagementApiService
	// contains filtered or unexported fields
}

func (ApiReadOneDecisionEndpointRequest) Execute

type ApiUpdateAPIServerRequest

type ApiUpdateAPIServerRequest struct {
	ApiService *APIServersApiService
	// contains filtered or unexported fields
}

func (ApiUpdateAPIServerRequest) APIServer

func (ApiUpdateAPIServerRequest) Execute

type ApiUpdateDecisionEndpointRequest

type ApiUpdateDecisionEndpointRequest struct {
	ApiService *PolicyDecisionManagementApiService
	// contains filtered or unexported fields
}

func (ApiUpdateDecisionEndpointRequest) DecisionEndpoint

func (ApiUpdateDecisionEndpointRequest) Execute

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host               string            `json:"host,omitempty"`
	Scheme             string            `json:"scheme,omitempty"`
	DefaultHeader      map[string]string `json:"defaultHeader,omitempty"`
	UserAgent          string            `json:"userAgent,omitempty"`
	Debug              bool              `json:"debug,omitempty"`
	DefaultServerIndex int               `json:"defaultServerIndex,omitempty"`
	ProxyURL           *string           `json:"proxyURL,omitempty"`
	Servers            ServerConfigurations
	OperationServers   map[string]ServerConfigurations
	HTTPClient         *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

func (*Configuration) SetDebug added in v0.2.0

func (c *Configuration) SetDebug(debug bool)

func (*Configuration) SetDefaultServerIndex added in v0.2.0

func (c *Configuration) SetDefaultServerIndex(defaultServerIndex int)

func (*Configuration) SetDefaultServerVariableDefaultValue added in v0.2.0

func (c *Configuration) SetDefaultServerVariableDefaultValue(variable string, value string) error

func (*Configuration) SetServerVariableDefaultValue added in v0.2.0

func (c *Configuration) SetServerVariableDefaultValue(serverIndex int, variable string, value string) error

func (*Configuration) SetUserAgent added in v0.2.1

func (c *Configuration) SetUserAgent(userAgent string)

type DecisionEndpoint

type DecisionEndpoint struct {
	Links *LinksHATEOAS `json:"_links,omitempty"`
	// A string that specifies alternative unique identifier for the endpoint, which provides a method for locating the resource by a known, fixed identifier.
	AlternateId          *string                               `json:"alternateId,omitempty"`
	AuthorizationVersion *DecisionEndpointAuthorizationVersion `json:"authorizationVersion,omitempty"`
	// A string that specifies the description of the policy decision resource.
	Description string `json:"description"`
	// A string that specifies the resource’s unique identifier.
	Id *string `json:"id,omitempty"`
	// A string that specifies the policy decision resource name.
	Name string `json:"name"`
	// A boolean that when true restricts modifications of the endpoint to PingOne-owned clients.
	Owned *bool `json:"owned,omitempty"`
	// A string that specifies the ID of the root policy configured for this endpoint. If omitted, the policy editor service decides on a suitable default.
	PolicyId *string `json:"policyId,omitempty"`
	// A string that specifies a machine-readable identifier indicating the provenance of the current configuration. It has no meaning to the Policy Decision Service itself but exists to support integration with other services.
	Provenance *string `json:"provenance,omitempty"`
	// A boolean that specifies whether to show recent decisions.
	RecentDecisionsEnabled *bool                            `json:"recentDecisionsEnabled,omitempty"`
	RecentDecisions        *DecisionEndpointRecentDecisions `json:"recentDecisions,omitempty"`
	// A boolean that specifies whether to record a limited history of recent decision requests and responses, which can be queried through a separate API.
	RecordRecentRequests bool `json:"recordRecentRequests"`
}

DecisionEndpoint struct for DecisionEndpoint

func NewDecisionEndpoint

func NewDecisionEndpoint(description string, name string, recordRecentRequests bool) *DecisionEndpoint

NewDecisionEndpoint instantiates a new DecisionEndpoint object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDecisionEndpointWithDefaults

func NewDecisionEndpointWithDefaults() *DecisionEndpoint

NewDecisionEndpointWithDefaults instantiates a new DecisionEndpoint object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DecisionEndpoint) GetAlternateId

func (o *DecisionEndpoint) GetAlternateId() string

GetAlternateId returns the AlternateId field value if set, zero value otherwise.

func (*DecisionEndpoint) GetAlternateIdOk

func (o *DecisionEndpoint) GetAlternateIdOk() (*string, bool)

GetAlternateIdOk returns a tuple with the AlternateId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetAuthorizationVersion

func (o *DecisionEndpoint) GetAuthorizationVersion() DecisionEndpointAuthorizationVersion

GetAuthorizationVersion returns the AuthorizationVersion field value if set, zero value otherwise.

func (*DecisionEndpoint) GetAuthorizationVersionOk

func (o *DecisionEndpoint) GetAuthorizationVersionOk() (*DecisionEndpointAuthorizationVersion, bool)

GetAuthorizationVersionOk returns a tuple with the AuthorizationVersion field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetDescription

func (o *DecisionEndpoint) GetDescription() string

GetDescription returns the Description field value

func (*DecisionEndpoint) GetDescriptionOk

func (o *DecisionEndpoint) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field value and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetId

func (o *DecisionEndpoint) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*DecisionEndpoint) GetIdOk

func (o *DecisionEndpoint) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *DecisionEndpoint) GetLinks() LinksHATEOAS

GetLinks returns the Links field value if set, zero value otherwise.

func (*DecisionEndpoint) GetLinksOk added in v0.3.0

func (o *DecisionEndpoint) GetLinksOk() (*LinksHATEOAS, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetName

func (o *DecisionEndpoint) GetName() string

GetName returns the Name field value

func (*DecisionEndpoint) GetNameOk

func (o *DecisionEndpoint) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetOwned

func (o *DecisionEndpoint) GetOwned() bool

GetOwned returns the Owned field value if set, zero value otherwise.

func (*DecisionEndpoint) GetOwnedOk

func (o *DecisionEndpoint) GetOwnedOk() (*bool, bool)

GetOwnedOk returns a tuple with the Owned field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetPolicyId

func (o *DecisionEndpoint) GetPolicyId() string

GetPolicyId returns the PolicyId field value if set, zero value otherwise.

func (*DecisionEndpoint) GetPolicyIdOk

func (o *DecisionEndpoint) GetPolicyIdOk() (*string, bool)

GetPolicyIdOk returns a tuple with the PolicyId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetProvenance

func (o *DecisionEndpoint) GetProvenance() string

GetProvenance returns the Provenance field value if set, zero value otherwise.

func (*DecisionEndpoint) GetProvenanceOk

func (o *DecisionEndpoint) GetProvenanceOk() (*string, bool)

GetProvenanceOk returns a tuple with the Provenance field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetRecentDecisions

func (o *DecisionEndpoint) GetRecentDecisions() DecisionEndpointRecentDecisions

GetRecentDecisions returns the RecentDecisions field value if set, zero value otherwise.

func (*DecisionEndpoint) GetRecentDecisionsEnabled

func (o *DecisionEndpoint) GetRecentDecisionsEnabled() bool

GetRecentDecisionsEnabled returns the RecentDecisionsEnabled field value if set, zero value otherwise.

func (*DecisionEndpoint) GetRecentDecisionsEnabledOk

func (o *DecisionEndpoint) GetRecentDecisionsEnabledOk() (*bool, bool)

GetRecentDecisionsEnabledOk returns a tuple with the RecentDecisionsEnabled field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetRecentDecisionsOk

func (o *DecisionEndpoint) GetRecentDecisionsOk() (*DecisionEndpointRecentDecisions, bool)

GetRecentDecisionsOk returns a tuple with the RecentDecisions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpoint) GetRecordRecentRequests

func (o *DecisionEndpoint) GetRecordRecentRequests() bool

GetRecordRecentRequests returns the RecordRecentRequests field value

func (*DecisionEndpoint) GetRecordRecentRequestsOk

func (o *DecisionEndpoint) GetRecordRecentRequestsOk() (*bool, bool)

GetRecordRecentRequestsOk returns a tuple with the RecordRecentRequests field value and a boolean to check if the value has been set.

func (*DecisionEndpoint) HasAlternateId

func (o *DecisionEndpoint) HasAlternateId() bool

HasAlternateId returns a boolean if a field has been set.

func (*DecisionEndpoint) HasAuthorizationVersion

func (o *DecisionEndpoint) HasAuthorizationVersion() bool

HasAuthorizationVersion returns a boolean if a field has been set.

func (*DecisionEndpoint) HasId

func (o *DecisionEndpoint) HasId() bool

HasId returns a boolean if a field has been set.

func (o *DecisionEndpoint) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*DecisionEndpoint) HasOwned

func (o *DecisionEndpoint) HasOwned() bool

HasOwned returns a boolean if a field has been set.

func (*DecisionEndpoint) HasPolicyId

func (o *DecisionEndpoint) HasPolicyId() bool

HasPolicyId returns a boolean if a field has been set.

func (*DecisionEndpoint) HasProvenance

func (o *DecisionEndpoint) HasProvenance() bool

HasProvenance returns a boolean if a field has been set.

func (*DecisionEndpoint) HasRecentDecisions

func (o *DecisionEndpoint) HasRecentDecisions() bool

HasRecentDecisions returns a boolean if a field has been set.

func (*DecisionEndpoint) HasRecentDecisionsEnabled

func (o *DecisionEndpoint) HasRecentDecisionsEnabled() bool

HasRecentDecisionsEnabled returns a boolean if a field has been set.

func (DecisionEndpoint) MarshalJSON

func (o DecisionEndpoint) MarshalJSON() ([]byte, error)

func (*DecisionEndpoint) SetAlternateId

func (o *DecisionEndpoint) SetAlternateId(v string)

SetAlternateId gets a reference to the given string and assigns it to the AlternateId field.

func (*DecisionEndpoint) SetAuthorizationVersion

func (o *DecisionEndpoint) SetAuthorizationVersion(v DecisionEndpointAuthorizationVersion)

SetAuthorizationVersion gets a reference to the given DecisionEndpointAuthorizationVersion and assigns it to the AuthorizationVersion field.

func (*DecisionEndpoint) SetDescription

func (o *DecisionEndpoint) SetDescription(v string)

SetDescription sets field value

func (*DecisionEndpoint) SetId

func (o *DecisionEndpoint) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (o *DecisionEndpoint) SetLinks(v LinksHATEOAS)

SetLinks gets a reference to the given LinksHATEOAS and assigns it to the Links field.

func (*DecisionEndpoint) SetName

func (o *DecisionEndpoint) SetName(v string)

SetName sets field value

func (*DecisionEndpoint) SetOwned

func (o *DecisionEndpoint) SetOwned(v bool)

SetOwned gets a reference to the given bool and assigns it to the Owned field.

func (*DecisionEndpoint) SetPolicyId

func (o *DecisionEndpoint) SetPolicyId(v string)

SetPolicyId gets a reference to the given string and assigns it to the PolicyId field.

func (*DecisionEndpoint) SetProvenance

func (o *DecisionEndpoint) SetProvenance(v string)

SetProvenance gets a reference to the given string and assigns it to the Provenance field.

func (*DecisionEndpoint) SetRecentDecisions

func (o *DecisionEndpoint) SetRecentDecisions(v DecisionEndpointRecentDecisions)

SetRecentDecisions gets a reference to the given DecisionEndpointRecentDecisions and assigns it to the RecentDecisions field.

func (*DecisionEndpoint) SetRecentDecisionsEnabled

func (o *DecisionEndpoint) SetRecentDecisionsEnabled(v bool)

SetRecentDecisionsEnabled gets a reference to the given bool and assigns it to the RecentDecisionsEnabled field.

func (*DecisionEndpoint) SetRecordRecentRequests

func (o *DecisionEndpoint) SetRecordRecentRequests(v bool)

SetRecordRecentRequests sets field value

func (DecisionEndpoint) ToMap added in v0.1.3

func (o DecisionEndpoint) ToMap() (map[string]interface{}, error)

type DecisionEndpointAuthorizationVersion

type DecisionEndpointAuthorizationVersion struct {
	// A string that specifies the ID of the Authorization Version deployed to this endpoint. Versioning allows independent development and deployment of policies. If omitted, the endpoint always uses the latest policy version available from the policy editor service.
	Id *string `json:"id,omitempty"`
	// A string that specifies the request URL for the authorization version endpoint.
	Href *string `json:"href,omitempty"`
	// A string that specifies the title for the authorization version response.
	Title *string `json:"title,omitempty"`
	// A string that specifies the content type for the authorization version response.
	Type *string `json:"type,omitempty"`
}

DecisionEndpointAuthorizationVersion struct for DecisionEndpointAuthorizationVersion

func NewDecisionEndpointAuthorizationVersion

func NewDecisionEndpointAuthorizationVersion() *DecisionEndpointAuthorizationVersion

NewDecisionEndpointAuthorizationVersion instantiates a new DecisionEndpointAuthorizationVersion object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDecisionEndpointAuthorizationVersionWithDefaults

func NewDecisionEndpointAuthorizationVersionWithDefaults() *DecisionEndpointAuthorizationVersion

NewDecisionEndpointAuthorizationVersionWithDefaults instantiates a new DecisionEndpointAuthorizationVersion object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DecisionEndpointAuthorizationVersion) GetHref

GetHref returns the Href field value if set, zero value otherwise.

func (*DecisionEndpointAuthorizationVersion) GetHrefOk

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpointAuthorizationVersion) GetId

GetId returns the Id field value if set, zero value otherwise.

func (*DecisionEndpointAuthorizationVersion) GetIdOk

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpointAuthorizationVersion) GetTitle

GetTitle returns the Title field value if set, zero value otherwise.

func (*DecisionEndpointAuthorizationVersion) GetTitleOk

func (o *DecisionEndpointAuthorizationVersion) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpointAuthorizationVersion) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*DecisionEndpointAuthorizationVersion) GetTypeOk

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpointAuthorizationVersion) HasHref

HasHref returns a boolean if a field has been set.

func (*DecisionEndpointAuthorizationVersion) HasId

HasId returns a boolean if a field has been set.

func (*DecisionEndpointAuthorizationVersion) HasTitle

HasTitle returns a boolean if a field has been set.

func (*DecisionEndpointAuthorizationVersion) HasType

HasType returns a boolean if a field has been set.

func (DecisionEndpointAuthorizationVersion) MarshalJSON

func (o DecisionEndpointAuthorizationVersion) MarshalJSON() ([]byte, error)

func (*DecisionEndpointAuthorizationVersion) SetHref

SetHref gets a reference to the given string and assigns it to the Href field.

func (*DecisionEndpointAuthorizationVersion) SetId

SetId gets a reference to the given string and assigns it to the Id field.

func (*DecisionEndpointAuthorizationVersion) SetTitle

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*DecisionEndpointAuthorizationVersion) SetType

SetType gets a reference to the given string and assigns it to the Type field.

func (DecisionEndpointAuthorizationVersion) ToMap added in v0.1.3

func (o DecisionEndpointAuthorizationVersion) ToMap() (map[string]interface{}, error)

type DecisionEndpointRecentDecisions

type DecisionEndpointRecentDecisions struct {
	// A string that specifies the request URL for the recent decisions endpoint.
	Href *string `json:"href,omitempty"`
	// A string that specifies the title for the recent decisions response.
	Title *string `json:"title,omitempty"`
	// A string that specifies the content type for the recent decisions response.
	Type *string `json:"type,omitempty"`
}

DecisionEndpointRecentDecisions struct for DecisionEndpointRecentDecisions

func NewDecisionEndpointRecentDecisions

func NewDecisionEndpointRecentDecisions() *DecisionEndpointRecentDecisions

NewDecisionEndpointRecentDecisions instantiates a new DecisionEndpointRecentDecisions object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewDecisionEndpointRecentDecisionsWithDefaults

func NewDecisionEndpointRecentDecisionsWithDefaults() *DecisionEndpointRecentDecisions

NewDecisionEndpointRecentDecisionsWithDefaults instantiates a new DecisionEndpointRecentDecisions object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*DecisionEndpointRecentDecisions) GetHref

GetHref returns the Href field value if set, zero value otherwise.

func (*DecisionEndpointRecentDecisions) GetHrefOk

func (o *DecisionEndpointRecentDecisions) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpointRecentDecisions) GetTitle

GetTitle returns the Title field value if set, zero value otherwise.

func (*DecisionEndpointRecentDecisions) GetTitleOk

func (o *DecisionEndpointRecentDecisions) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpointRecentDecisions) GetType

GetType returns the Type field value if set, zero value otherwise.

func (*DecisionEndpointRecentDecisions) GetTypeOk

func (o *DecisionEndpointRecentDecisions) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*DecisionEndpointRecentDecisions) HasHref

HasHref returns a boolean if a field has been set.

func (*DecisionEndpointRecentDecisions) HasTitle

func (o *DecisionEndpointRecentDecisions) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (*DecisionEndpointRecentDecisions) HasType

HasType returns a boolean if a field has been set.

func (DecisionEndpointRecentDecisions) MarshalJSON

func (o DecisionEndpointRecentDecisions) MarshalJSON() ([]byte, error)

func (*DecisionEndpointRecentDecisions) SetHref

SetHref gets a reference to the given string and assigns it to the Href field.

func (*DecisionEndpointRecentDecisions) SetTitle

func (o *DecisionEndpointRecentDecisions) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (*DecisionEndpointRecentDecisions) SetType

SetType gets a reference to the given string and assigns it to the Type field.

func (DecisionEndpointRecentDecisions) ToMap added in v0.1.3

func (o DecisionEndpointRecentDecisions) ToMap() (map[string]interface{}, error)

type EntityArray

type EntityArray struct {
	Links    *LinksHATEOAS        `json:"_links,omitempty"`
	Embedded *EntityArrayEmbedded `json:"_embedded,omitempty"`
	Count    *float32             `json:"count,omitempty"`
	Size     *float32             `json:"size,omitempty"`
}

EntityArray struct for EntityArray

func NewEntityArray

func NewEntityArray() *EntityArray

NewEntityArray instantiates a new EntityArray object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEntityArrayWithDefaults

func NewEntityArrayWithDefaults() *EntityArray

NewEntityArrayWithDefaults instantiates a new EntityArray object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EntityArray) GetCount

func (o *EntityArray) GetCount() float32

GetCount returns the Count field value if set, zero value otherwise.

func (*EntityArray) GetCountOk

func (o *EntityArray) GetCountOk() (*float32, bool)

GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EntityArray) GetEmbedded

func (o *EntityArray) GetEmbedded() EntityArrayEmbedded

GetEmbedded returns the Embedded field value if set, zero value otherwise.

func (*EntityArray) GetEmbeddedOk

func (o *EntityArray) GetEmbeddedOk() (*EntityArrayEmbedded, bool)

GetEmbeddedOk returns a tuple with the Embedded field value if set, nil otherwise and a boolean to check if the value has been set.

func (o *EntityArray) GetLinks() LinksHATEOAS

GetLinks returns the Links field value if set, zero value otherwise.

func (*EntityArray) GetLinksOk added in v0.3.0

func (o *EntityArray) GetLinksOk() (*LinksHATEOAS, bool)

GetLinksOk returns a tuple with the Links field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EntityArray) GetSize

func (o *EntityArray) GetSize() float32

GetSize returns the Size field value if set, zero value otherwise.

func (*EntityArray) GetSizeOk

func (o *EntityArray) GetSizeOk() (*float32, bool)

GetSizeOk returns a tuple with the Size field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EntityArray) HasCount

func (o *EntityArray) HasCount() bool

HasCount returns a boolean if a field has been set.

func (*EntityArray) HasEmbedded

func (o *EntityArray) HasEmbedded() bool

HasEmbedded returns a boolean if a field has been set.

func (o *EntityArray) HasLinks() bool

HasLinks returns a boolean if a field has been set.

func (*EntityArray) HasSize

func (o *EntityArray) HasSize() bool

HasSize returns a boolean if a field has been set.

func (EntityArray) MarshalJSON

func (o EntityArray) MarshalJSON() ([]byte, error)

func (*EntityArray) SetCount

func (o *EntityArray) SetCount(v float32)

SetCount gets a reference to the given float32 and assigns it to the Count field.

func (*EntityArray) SetEmbedded

func (o *EntityArray) SetEmbedded(v EntityArrayEmbedded)

SetEmbedded gets a reference to the given EntityArrayEmbedded and assigns it to the Embedded field.

func (o *EntityArray) SetLinks(v LinksHATEOAS)

SetLinks gets a reference to the given LinksHATEOAS and assigns it to the Links field.

func (*EntityArray) SetSize

func (o *EntityArray) SetSize(v float32)

SetSize gets a reference to the given float32 and assigns it to the Size field.

func (EntityArray) ToMap added in v0.1.3

func (o EntityArray) ToMap() (map[string]interface{}, error)

type EntityArrayEmbedded

type EntityArrayEmbedded struct {
	DecisionEndpoints []DecisionEndpoint `json:"decisionEndpoints,omitempty"`
	ApiServers        []APIServer        `json:"apiServers,omitempty"`
}

EntityArrayEmbedded struct for EntityArrayEmbedded

func NewEntityArrayEmbedded

func NewEntityArrayEmbedded() *EntityArrayEmbedded

NewEntityArrayEmbedded instantiates a new EntityArrayEmbedded object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewEntityArrayEmbeddedWithDefaults

func NewEntityArrayEmbeddedWithDefaults() *EntityArrayEmbedded

NewEntityArrayEmbeddedWithDefaults instantiates a new EntityArrayEmbedded object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*EntityArrayEmbedded) GetApiServers

func (o *EntityArrayEmbedded) GetApiServers() []APIServer

GetApiServers returns the ApiServers field value if set, zero value otherwise.

func (*EntityArrayEmbedded) GetApiServersOk

func (o *EntityArrayEmbedded) GetApiServersOk() ([]APIServer, bool)

GetApiServersOk returns a tuple with the ApiServers field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EntityArrayEmbedded) GetDecisionEndpoints

func (o *EntityArrayEmbedded) GetDecisionEndpoints() []DecisionEndpoint

GetDecisionEndpoints returns the DecisionEndpoints field value if set, zero value otherwise.

func (*EntityArrayEmbedded) GetDecisionEndpointsOk

func (o *EntityArrayEmbedded) GetDecisionEndpointsOk() ([]DecisionEndpoint, bool)

GetDecisionEndpointsOk returns a tuple with the DecisionEndpoints field value if set, nil otherwise and a boolean to check if the value has been set.

func (*EntityArrayEmbedded) HasApiServers

func (o *EntityArrayEmbedded) HasApiServers() bool

HasApiServers returns a boolean if a field has been set.

func (*EntityArrayEmbedded) HasDecisionEndpoints

func (o *EntityArrayEmbedded) HasDecisionEndpoints() bool

HasDecisionEndpoints returns a boolean if a field has been set.

func (EntityArrayEmbedded) MarshalJSON

func (o EntityArrayEmbedded) MarshalJSON() ([]byte, error)

func (*EntityArrayEmbedded) SetApiServers

func (o *EntityArrayEmbedded) SetApiServers(v []APIServer)

SetApiServers gets a reference to the given []APIServer and assigns it to the ApiServers field.

func (*EntityArrayEmbedded) SetDecisionEndpoints

func (o *EntityArrayEmbedded) SetDecisionEndpoints(v []DecisionEndpoint)

SetDecisionEndpoints gets a reference to the given []DecisionEndpoint and assigns it to the DecisionEndpoints field.

func (EntityArrayEmbedded) ToMap added in v0.1.3

func (o EntityArrayEmbedded) ToMap() (map[string]interface{}, error)

type EnumAPIServerPatternType

type EnumAPIServerPatternType string

EnumAPIServerPatternType A string that specifies the type of the pattern. Options are `EXACT` ( the verbatim pattern is compared against the path from the request using a case-sensitive comparison) and `PARAMETER` (the pattern is compared against the path from the request using a case-sensitive comparison, using the syntax below to encode wildcards and path segment captures.)

const (
	ENUMAPISERVERPATTERNTYPE_EXACT     EnumAPIServerPatternType = "EXACT"
	ENUMAPISERVERPATTERNTYPE_PARAMETER EnumAPIServerPatternType = "PARAMETER"
)

List of EnumAPIServerPatternType

func NewEnumAPIServerPatternTypeFromValue

func NewEnumAPIServerPatternTypeFromValue(v string) (*EnumAPIServerPatternType, error)

NewEnumAPIServerPatternTypeFromValue returns a pointer to a valid EnumAPIServerPatternType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (EnumAPIServerPatternType) IsValid

func (v EnumAPIServerPatternType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (EnumAPIServerPatternType) Ptr

Ptr returns reference to EnumAPIServerPatternType value

func (*EnumAPIServerPatternType) UnmarshalJSON

func (v *EnumAPIServerPatternType) UnmarshalJSON(src []byte) error

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type LinksHATEOAS added in v0.3.0

type LinksHATEOAS struct {
	Self                 *LinksHATEOASSelf `json:"self,omitempty"`
	Next                 *LinksHATEOASNext `json:"next,omitempty"`
	AdditionalProperties map[string]interface{}
}

LinksHATEOAS struct for LinksHATEOAS

func NewLinksHATEOAS added in v0.3.0

func NewLinksHATEOAS() *LinksHATEOAS

NewLinksHATEOAS instantiates a new LinksHATEOAS object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLinksHATEOASWithDefaults added in v0.3.0

func NewLinksHATEOASWithDefaults() *LinksHATEOAS

NewLinksHATEOASWithDefaults instantiates a new LinksHATEOAS object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LinksHATEOAS) GetNext added in v0.3.0

func (o *LinksHATEOAS) GetNext() LinksHATEOASNext

GetNext returns the Next field value if set, zero value otherwise.

func (*LinksHATEOAS) GetNextOk added in v0.3.0

func (o *LinksHATEOAS) GetNextOk() (*LinksHATEOASNext, bool)

GetNextOk returns a tuple with the Next field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LinksHATEOAS) GetSelf added in v0.3.0

func (o *LinksHATEOAS) GetSelf() LinksHATEOASSelf

GetSelf returns the Self field value if set, zero value otherwise.

func (*LinksHATEOAS) GetSelfOk added in v0.3.0

func (o *LinksHATEOAS) GetSelfOk() (*LinksHATEOASSelf, bool)

GetSelfOk returns a tuple with the Self field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LinksHATEOAS) HasNext added in v0.3.0

func (o *LinksHATEOAS) HasNext() bool

HasNext returns a boolean if a field has been set.

func (*LinksHATEOAS) HasSelf added in v0.3.0

func (o *LinksHATEOAS) HasSelf() bool

HasSelf returns a boolean if a field has been set.

func (LinksHATEOAS) MarshalJSON added in v0.3.0

func (o LinksHATEOAS) MarshalJSON() ([]byte, error)

func (*LinksHATEOAS) SetNext added in v0.3.0

func (o *LinksHATEOAS) SetNext(v LinksHATEOASNext)

SetNext gets a reference to the given LinksHATEOASNext and assigns it to the Next field.

func (*LinksHATEOAS) SetSelf added in v0.3.0

func (o *LinksHATEOAS) SetSelf(v LinksHATEOASSelf)

SetSelf gets a reference to the given LinksHATEOASSelf and assigns it to the Self field.

func (LinksHATEOAS) ToMap added in v0.3.0

func (o LinksHATEOAS) ToMap() (map[string]interface{}, error)

func (*LinksHATEOAS) UnmarshalJSON added in v0.3.0

func (o *LinksHATEOAS) UnmarshalJSON(bytes []byte) (err error)

type LinksHATEOASNext added in v0.3.0

type LinksHATEOASNext struct {
	// The URI of the resource.
	Href *string `json:"href,omitempty"`
}

LinksHATEOASNext An object that describes the next page of results. This property is present only if there is a next page of results and the `limit` parameter is used.

func NewLinksHATEOASNext added in v0.3.0

func NewLinksHATEOASNext() *LinksHATEOASNext

NewLinksHATEOASNext instantiates a new LinksHATEOASNext object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLinksHATEOASNextWithDefaults added in v0.3.0

func NewLinksHATEOASNextWithDefaults() *LinksHATEOASNext

NewLinksHATEOASNextWithDefaults instantiates a new LinksHATEOASNext object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LinksHATEOASNext) GetHref added in v0.3.0

func (o *LinksHATEOASNext) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*LinksHATEOASNext) GetHrefOk added in v0.3.0

func (o *LinksHATEOASNext) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LinksHATEOASNext) HasHref added in v0.3.0

func (o *LinksHATEOASNext) HasHref() bool

HasHref returns a boolean if a field has been set.

func (LinksHATEOASNext) MarshalJSON added in v0.3.0

func (o LinksHATEOASNext) MarshalJSON() ([]byte, error)

func (*LinksHATEOASNext) SetHref added in v0.3.0

func (o *LinksHATEOASNext) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (LinksHATEOASNext) ToMap added in v0.3.0

func (o LinksHATEOASNext) ToMap() (map[string]interface{}, error)

type LinksHATEOASSelf added in v0.3.0

type LinksHATEOASSelf struct {
	// The URI of the resource.
	Href *string `json:"href,omitempty"`
}

LinksHATEOASSelf An object that describes the current resource.

func NewLinksHATEOASSelf added in v0.3.0

func NewLinksHATEOASSelf() *LinksHATEOASSelf

NewLinksHATEOASSelf instantiates a new LinksHATEOASSelf object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLinksHATEOASSelfWithDefaults added in v0.3.0

func NewLinksHATEOASSelfWithDefaults() *LinksHATEOASSelf

NewLinksHATEOASSelfWithDefaults instantiates a new LinksHATEOASSelf object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LinksHATEOASSelf) GetHref added in v0.3.0

func (o *LinksHATEOASSelf) GetHref() string

GetHref returns the Href field value if set, zero value otherwise.

func (*LinksHATEOASSelf) GetHrefOk added in v0.3.0

func (o *LinksHATEOASSelf) GetHrefOk() (*string, bool)

GetHrefOk returns a tuple with the Href field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LinksHATEOASSelf) HasHref added in v0.3.0

func (o *LinksHATEOASSelf) HasHref() bool

HasHref returns a boolean if a field has been set.

func (LinksHATEOASSelf) MarshalJSON added in v0.3.0

func (o LinksHATEOASSelf) MarshalJSON() ([]byte, error)

func (*LinksHATEOASSelf) SetHref added in v0.3.0

func (o *LinksHATEOASSelf) SetHref(v string)

SetHref gets a reference to the given string and assigns it to the Href field.

func (LinksHATEOASSelf) ToMap added in v0.3.0

func (o LinksHATEOASSelf) ToMap() (map[string]interface{}, error)

type MappedNullable added in v0.1.3

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NullableAPIServer

type NullableAPIServer struct {
	// contains filtered or unexported fields
}

func NewNullableAPIServer

func NewNullableAPIServer(val *APIServer) *NullableAPIServer

func (NullableAPIServer) Get

func (v NullableAPIServer) Get() *APIServer

func (NullableAPIServer) IsSet

func (v NullableAPIServer) IsSet() bool

func (NullableAPIServer) MarshalJSON

func (v NullableAPIServer) MarshalJSON() ([]byte, error)

func (*NullableAPIServer) Set

func (v *NullableAPIServer) Set(val *APIServer)

func (*NullableAPIServer) UnmarshalJSON

func (v *NullableAPIServer) UnmarshalJSON(src []byte) error

func (*NullableAPIServer) Unset

func (v *NullableAPIServer) Unset()

type NullableAPIServerAuthorizationServer

type NullableAPIServerAuthorizationServer struct {
	// contains filtered or unexported fields
}

func (NullableAPIServerAuthorizationServer) Get

func (NullableAPIServerAuthorizationServer) IsSet

func (NullableAPIServerAuthorizationServer) MarshalJSON

func (v NullableAPIServerAuthorizationServer) MarshalJSON() ([]byte, error)

func (*NullableAPIServerAuthorizationServer) Set

func (*NullableAPIServerAuthorizationServer) UnmarshalJSON

func (v *NullableAPIServerAuthorizationServer) UnmarshalJSON(src []byte) error

func (*NullableAPIServerAuthorizationServer) Unset

type NullableAPIServerAuthorizationServerResource

type NullableAPIServerAuthorizationServerResource struct {
	// contains filtered or unexported fields
}

func (NullableAPIServerAuthorizationServerResource) Get

func (NullableAPIServerAuthorizationServerResource) IsSet

func (NullableAPIServerAuthorizationServerResource) MarshalJSON

func (*NullableAPIServerAuthorizationServerResource) Set

func (*NullableAPIServerAuthorizationServerResource) UnmarshalJSON

func (*NullableAPIServerAuthorizationServerResource) Unset

type NullableBool

type NullableBool struct {
	// contains filtered or unexported fields
}

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableDecisionEndpoint

type NullableDecisionEndpoint struct {
	// contains filtered or unexported fields
}

func NewNullableDecisionEndpoint

func NewNullableDecisionEndpoint(val *DecisionEndpoint) *NullableDecisionEndpoint

func (NullableDecisionEndpoint) Get

func (NullableDecisionEndpoint) IsSet

func (v NullableDecisionEndpoint) IsSet() bool

func (NullableDecisionEndpoint) MarshalJSON

func (v NullableDecisionEndpoint) MarshalJSON() ([]byte, error)

func (*NullableDecisionEndpoint) Set

func (*NullableDecisionEndpoint) UnmarshalJSON

func (v *NullableDecisionEndpoint) UnmarshalJSON(src []byte) error

func (*NullableDecisionEndpoint) Unset

func (v *NullableDecisionEndpoint) Unset()

type NullableDecisionEndpointAuthorizationVersion

type NullableDecisionEndpointAuthorizationVersion struct {
	// contains filtered or unexported fields
}

func (NullableDecisionEndpointAuthorizationVersion) Get

func (NullableDecisionEndpointAuthorizationVersion) IsSet

func (NullableDecisionEndpointAuthorizationVersion) MarshalJSON

func (*NullableDecisionEndpointAuthorizationVersion) Set

func (*NullableDecisionEndpointAuthorizationVersion) UnmarshalJSON

func (*NullableDecisionEndpointAuthorizationVersion) Unset

type NullableDecisionEndpointRecentDecisions

type NullableDecisionEndpointRecentDecisions struct {
	// contains filtered or unexported fields
}

func (NullableDecisionEndpointRecentDecisions) Get

func (NullableDecisionEndpointRecentDecisions) IsSet

func (NullableDecisionEndpointRecentDecisions) MarshalJSON

func (v NullableDecisionEndpointRecentDecisions) MarshalJSON() ([]byte, error)

func (*NullableDecisionEndpointRecentDecisions) Set

func (*NullableDecisionEndpointRecentDecisions) UnmarshalJSON

func (v *NullableDecisionEndpointRecentDecisions) UnmarshalJSON(src []byte) error

func (*NullableDecisionEndpointRecentDecisions) Unset

type NullableEntityArray

type NullableEntityArray struct {
	// contains filtered or unexported fields
}

func NewNullableEntityArray

func NewNullableEntityArray(val *EntityArray) *NullableEntityArray

func (NullableEntityArray) Get

func (NullableEntityArray) IsSet

func (v NullableEntityArray) IsSet() bool

func (NullableEntityArray) MarshalJSON

func (v NullableEntityArray) MarshalJSON() ([]byte, error)

func (*NullableEntityArray) Set

func (v *NullableEntityArray) Set(val *EntityArray)

func (*NullableEntityArray) UnmarshalJSON

func (v *NullableEntityArray) UnmarshalJSON(src []byte) error

func (*NullableEntityArray) Unset

func (v *NullableEntityArray) Unset()

type NullableEntityArrayEmbedded

type NullableEntityArrayEmbedded struct {
	// contains filtered or unexported fields
}

func NewNullableEntityArrayEmbedded

func NewNullableEntityArrayEmbedded(val *EntityArrayEmbedded) *NullableEntityArrayEmbedded

func (NullableEntityArrayEmbedded) Get

func (NullableEntityArrayEmbedded) IsSet

func (NullableEntityArrayEmbedded) MarshalJSON

func (v NullableEntityArrayEmbedded) MarshalJSON() ([]byte, error)

func (*NullableEntityArrayEmbedded) Set

func (*NullableEntityArrayEmbedded) UnmarshalJSON

func (v *NullableEntityArrayEmbedded) UnmarshalJSON(src []byte) error

func (*NullableEntityArrayEmbedded) Unset

func (v *NullableEntityArrayEmbedded) Unset()

type NullableEnumAPIServerPatternType

type NullableEnumAPIServerPatternType struct {
	// contains filtered or unexported fields
}

func (NullableEnumAPIServerPatternType) Get

func (NullableEnumAPIServerPatternType) IsSet

func (NullableEnumAPIServerPatternType) MarshalJSON

func (v NullableEnumAPIServerPatternType) MarshalJSON() ([]byte, error)

func (*NullableEnumAPIServerPatternType) Set

func (*NullableEnumAPIServerPatternType) UnmarshalJSON

func (v *NullableEnumAPIServerPatternType) UnmarshalJSON(src []byte) error

func (*NullableEnumAPIServerPatternType) Unset

type NullableFloat32

type NullableFloat32 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

type NullableFloat64 struct {
	// contains filtered or unexported fields
}

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableInt

type NullableInt struct {
	// contains filtered or unexported fields
}

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

type NullableInt32 struct {
	// contains filtered or unexported fields
}

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

type NullableInt64 struct {
	// contains filtered or unexported fields
}

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLinksHATEOAS added in v0.3.0

type NullableLinksHATEOAS struct {
	// contains filtered or unexported fields
}

func NewNullableLinksHATEOAS added in v0.3.0

func NewNullableLinksHATEOAS(val *LinksHATEOAS) *NullableLinksHATEOAS

func (NullableLinksHATEOAS) Get added in v0.3.0

func (NullableLinksHATEOAS) IsSet added in v0.3.0

func (v NullableLinksHATEOAS) IsSet() bool

func (NullableLinksHATEOAS) MarshalJSON added in v0.3.0

func (v NullableLinksHATEOAS) MarshalJSON() ([]byte, error)

func (*NullableLinksHATEOAS) Set added in v0.3.0

func (v *NullableLinksHATEOAS) Set(val *LinksHATEOAS)

func (*NullableLinksHATEOAS) UnmarshalJSON added in v0.3.0

func (v *NullableLinksHATEOAS) UnmarshalJSON(src []byte) error

func (*NullableLinksHATEOAS) Unset added in v0.3.0

func (v *NullableLinksHATEOAS) Unset()

type NullableLinksHATEOASNext added in v0.3.0

type NullableLinksHATEOASNext struct {
	// contains filtered or unexported fields
}

func NewNullableLinksHATEOASNext added in v0.3.0

func NewNullableLinksHATEOASNext(val *LinksHATEOASNext) *NullableLinksHATEOASNext

func (NullableLinksHATEOASNext) Get added in v0.3.0

func (NullableLinksHATEOASNext) IsSet added in v0.3.0

func (v NullableLinksHATEOASNext) IsSet() bool

func (NullableLinksHATEOASNext) MarshalJSON added in v0.3.0

func (v NullableLinksHATEOASNext) MarshalJSON() ([]byte, error)

func (*NullableLinksHATEOASNext) Set added in v0.3.0

func (*NullableLinksHATEOASNext) UnmarshalJSON added in v0.3.0

func (v *NullableLinksHATEOASNext) UnmarshalJSON(src []byte) error

func (*NullableLinksHATEOASNext) Unset added in v0.3.0

func (v *NullableLinksHATEOASNext) Unset()

type NullableLinksHATEOASSelf added in v0.3.0

type NullableLinksHATEOASSelf struct {
	// contains filtered or unexported fields
}

func NewNullableLinksHATEOASSelf added in v0.3.0

func NewNullableLinksHATEOASSelf(val *LinksHATEOASSelf) *NullableLinksHATEOASSelf

func (NullableLinksHATEOASSelf) Get added in v0.3.0

func (NullableLinksHATEOASSelf) IsSet added in v0.3.0

func (v NullableLinksHATEOASSelf) IsSet() bool

func (NullableLinksHATEOASSelf) MarshalJSON added in v0.3.0

func (v NullableLinksHATEOASSelf) MarshalJSON() ([]byte, error)

func (*NullableLinksHATEOASSelf) Set added in v0.3.0

func (*NullableLinksHATEOASSelf) UnmarshalJSON added in v0.3.0

func (v *NullableLinksHATEOASSelf) UnmarshalJSON(src []byte) error

func (*NullableLinksHATEOASSelf) Unset added in v0.3.0

func (v *NullableLinksHATEOASSelf) Unset()

type NullableObjectApplication

type NullableObjectApplication struct {
	// contains filtered or unexported fields
}

func NewNullableObjectApplication

func NewNullableObjectApplication(val *ObjectApplication) *NullableObjectApplication

func (NullableObjectApplication) Get

func (NullableObjectApplication) IsSet

func (v NullableObjectApplication) IsSet() bool

func (NullableObjectApplication) MarshalJSON

func (v NullableObjectApplication) MarshalJSON() ([]byte, error)

func (*NullableObjectApplication) Set

func (*NullableObjectApplication) UnmarshalJSON

func (v *NullableObjectApplication) UnmarshalJSON(src []byte) error

func (*NullableObjectApplication) Unset

func (v *NullableObjectApplication) Unset()

type NullableObjectEnvironment

type NullableObjectEnvironment struct {
	// contains filtered or unexported fields
}

func NewNullableObjectEnvironment

func NewNullableObjectEnvironment(val *ObjectEnvironment) *NullableObjectEnvironment

func (NullableObjectEnvironment) Get

func (NullableObjectEnvironment) IsSet

func (v NullableObjectEnvironment) IsSet() bool

func (NullableObjectEnvironment) MarshalJSON

func (v NullableObjectEnvironment) MarshalJSON() ([]byte, error)

func (*NullableObjectEnvironment) Set

func (*NullableObjectEnvironment) UnmarshalJSON

func (v *NullableObjectEnvironment) UnmarshalJSON(src []byte) error

func (*NullableObjectEnvironment) Unset

func (v *NullableObjectEnvironment) Unset()

type NullableObjectOrganization

type NullableObjectOrganization struct {
	// contains filtered or unexported fields
}

func NewNullableObjectOrganization

func NewNullableObjectOrganization(val *ObjectOrganization) *NullableObjectOrganization

func (NullableObjectOrganization) Get

func (NullableObjectOrganization) IsSet

func (v NullableObjectOrganization) IsSet() bool

func (NullableObjectOrganization) MarshalJSON

func (v NullableObjectOrganization) MarshalJSON() ([]byte, error)

func (*NullableObjectOrganization) Set

func (*NullableObjectOrganization) UnmarshalJSON

func (v *NullableObjectOrganization) UnmarshalJSON(src []byte) error

func (*NullableObjectOrganization) Unset

func (v *NullableObjectOrganization) Unset()

type NullableObjectPopulation

type NullableObjectPopulation struct {
	// contains filtered or unexported fields
}

func NewNullableObjectPopulation

func NewNullableObjectPopulation(val *ObjectPopulation) *NullableObjectPopulation

func (NullableObjectPopulation) Get

func (NullableObjectPopulation) IsSet

func (v NullableObjectPopulation) IsSet() bool

func (NullableObjectPopulation) MarshalJSON

func (v NullableObjectPopulation) MarshalJSON() ([]byte, error)

func (*NullableObjectPopulation) Set

func (*NullableObjectPopulation) UnmarshalJSON

func (v *NullableObjectPopulation) UnmarshalJSON(src []byte) error

func (*NullableObjectPopulation) Unset

func (v *NullableObjectPopulation) Unset()

type NullableP1Error

type NullableP1Error struct {
	// contains filtered or unexported fields
}

func NewNullableP1Error

func NewNullableP1Error(val *P1Error) *NullableP1Error

func (NullableP1Error) Get

func (v NullableP1Error) Get() *P1Error

func (NullableP1Error) IsSet

func (v NullableP1Error) IsSet() bool

func (NullableP1Error) MarshalJSON

func (v NullableP1Error) MarshalJSON() ([]byte, error)

func (*NullableP1Error) Set

func (v *NullableP1Error) Set(val *P1Error)

func (*NullableP1Error) UnmarshalJSON

func (v *NullableP1Error) UnmarshalJSON(src []byte) error

func (*NullableP1Error) Unset

func (v *NullableP1Error) Unset()

type NullableP1ErrorDetailsInner

type NullableP1ErrorDetailsInner struct {
	// contains filtered or unexported fields
}

func NewNullableP1ErrorDetailsInner

func NewNullableP1ErrorDetailsInner(val *P1ErrorDetailsInner) *NullableP1ErrorDetailsInner

func (NullableP1ErrorDetailsInner) Get

func (NullableP1ErrorDetailsInner) IsSet

func (NullableP1ErrorDetailsInner) MarshalJSON

func (v NullableP1ErrorDetailsInner) MarshalJSON() ([]byte, error)

func (*NullableP1ErrorDetailsInner) Set

func (*NullableP1ErrorDetailsInner) UnmarshalJSON

func (v *NullableP1ErrorDetailsInner) UnmarshalJSON(src []byte) error

func (*NullableP1ErrorDetailsInner) Unset

func (v *NullableP1ErrorDetailsInner) Unset()

type NullableP1ErrorDetailsInnerInnerError

type NullableP1ErrorDetailsInnerInnerError struct {
	// contains filtered or unexported fields
}

func (NullableP1ErrorDetailsInnerInnerError) Get

func (NullableP1ErrorDetailsInnerInnerError) IsSet

func (NullableP1ErrorDetailsInnerInnerError) MarshalJSON

func (v NullableP1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error)

func (*NullableP1ErrorDetailsInnerInnerError) Set

func (*NullableP1ErrorDetailsInnerInnerError) UnmarshalJSON

func (v *NullableP1ErrorDetailsInnerInnerError) UnmarshalJSON(src []byte) error

func (*NullableP1ErrorDetailsInnerInnerError) Unset

type NullableString

type NullableString struct {
	// contains filtered or unexported fields
}

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

type NullableTime struct {
	// contains filtered or unexported fields
}

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type ObjectApplication

type ObjectApplication struct {
	// A string that specifies the application resource ID associated with the object.
	Id *string `json:"id,omitempty"`
}

ObjectApplication struct for ObjectApplication

func NewObjectApplication

func NewObjectApplication() *ObjectApplication

NewObjectApplication instantiates a new ObjectApplication object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewObjectApplicationWithDefaults

func NewObjectApplicationWithDefaults() *ObjectApplication

NewObjectApplicationWithDefaults instantiates a new ObjectApplication object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ObjectApplication) GetId

func (o *ObjectApplication) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ObjectApplication) GetIdOk

func (o *ObjectApplication) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectApplication) HasId

func (o *ObjectApplication) HasId() bool

HasId returns a boolean if a field has been set.

func (ObjectApplication) MarshalJSON

func (o ObjectApplication) MarshalJSON() ([]byte, error)

func (*ObjectApplication) SetId

func (o *ObjectApplication) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (ObjectApplication) ToMap added in v0.1.3

func (o ObjectApplication) ToMap() (map[string]interface{}, error)

type ObjectEnvironment

type ObjectEnvironment struct {
	// A string that specifies the environment associated with the object.
	Id *string `json:"id,omitempty"`
}

ObjectEnvironment struct for ObjectEnvironment

func NewObjectEnvironment

func NewObjectEnvironment() *ObjectEnvironment

NewObjectEnvironment instantiates a new ObjectEnvironment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewObjectEnvironmentWithDefaults

func NewObjectEnvironmentWithDefaults() *ObjectEnvironment

NewObjectEnvironmentWithDefaults instantiates a new ObjectEnvironment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ObjectEnvironment) GetId

func (o *ObjectEnvironment) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ObjectEnvironment) GetIdOk

func (o *ObjectEnvironment) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectEnvironment) HasId

func (o *ObjectEnvironment) HasId() bool

HasId returns a boolean if a field has been set.

func (ObjectEnvironment) MarshalJSON

func (o ObjectEnvironment) MarshalJSON() ([]byte, error)

func (*ObjectEnvironment) SetId

func (o *ObjectEnvironment) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (ObjectEnvironment) ToMap added in v0.1.3

func (o ObjectEnvironment) ToMap() (map[string]interface{}, error)

type ObjectOrganization

type ObjectOrganization struct {
	// A string that specifies the organization associated with the object.
	Id *string `json:"id,omitempty"`
}

ObjectOrganization struct for ObjectOrganization

func NewObjectOrganization

func NewObjectOrganization() *ObjectOrganization

NewObjectOrganization instantiates a new ObjectOrganization object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewObjectOrganizationWithDefaults

func NewObjectOrganizationWithDefaults() *ObjectOrganization

NewObjectOrganizationWithDefaults instantiates a new ObjectOrganization object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ObjectOrganization) GetId

func (o *ObjectOrganization) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ObjectOrganization) GetIdOk

func (o *ObjectOrganization) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectOrganization) HasId

func (o *ObjectOrganization) HasId() bool

HasId returns a boolean if a field has been set.

func (ObjectOrganization) MarshalJSON

func (o ObjectOrganization) MarshalJSON() ([]byte, error)

func (*ObjectOrganization) SetId

func (o *ObjectOrganization) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (ObjectOrganization) ToMap added in v0.1.3

func (o ObjectOrganization) ToMap() (map[string]interface{}, error)

type ObjectPopulation

type ObjectPopulation struct {
	// A string that specifies the population associated with the object.
	Id *string `json:"id,omitempty"`
}

ObjectPopulation struct for ObjectPopulation

func NewObjectPopulation

func NewObjectPopulation() *ObjectPopulation

NewObjectPopulation instantiates a new ObjectPopulation object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewObjectPopulationWithDefaults

func NewObjectPopulationWithDefaults() *ObjectPopulation

NewObjectPopulationWithDefaults instantiates a new ObjectPopulation object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ObjectPopulation) GetId

func (o *ObjectPopulation) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*ObjectPopulation) GetIdOk

func (o *ObjectPopulation) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ObjectPopulation) HasId

func (o *ObjectPopulation) HasId() bool

HasId returns a boolean if a field has been set.

func (ObjectPopulation) MarshalJSON

func (o ObjectPopulation) MarshalJSON() ([]byte, error)

func (*ObjectPopulation) SetId

func (o *ObjectPopulation) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (ObjectPopulation) ToMap added in v0.1.3

func (o ObjectPopulation) ToMap() (map[string]interface{}, error)

type P1Error

type P1Error struct {
	// A unique identifier that is stored in log files and always included in an error response. This value can be used to track the error received by the client, with server-side activity included for troubleshooting purposes.
	Id *string `json:"id,omitempty"`
	// A general fault code which the client must handle to provide all exception handling routines and to localize messages for users. This code is common across all PingOne services and is human readable (such as a defined constant rather than a number).
	Code *string `json:"code,omitempty"`
	// A short description of the error. This message is intended to assist with debugging and is returned in English only.
	Message *string `json:"message,omitempty"`
	// Additional details about the error. Optional information to help resolve the error and to display to users.
	Details []P1ErrorDetailsInner `json:"details,omitempty"`
}

P1Error struct for P1Error

func NewP1Error

func NewP1Error() *P1Error

NewP1Error instantiates a new P1Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewP1ErrorWithDefaults

func NewP1ErrorWithDefaults() *P1Error

NewP1ErrorWithDefaults instantiates a new P1Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*P1Error) GetCode

func (o *P1Error) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*P1Error) GetCodeOk

func (o *P1Error) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1Error) GetDetails

func (o *P1Error) GetDetails() []P1ErrorDetailsInner

GetDetails returns the Details field value if set, zero value otherwise.

func (*P1Error) GetDetailsOk

func (o *P1Error) GetDetailsOk() ([]P1ErrorDetailsInner, bool)

GetDetailsOk returns a tuple with the Details field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1Error) GetId

func (o *P1Error) GetId() string

GetId returns the Id field value if set, zero value otherwise.

func (*P1Error) GetIdOk

func (o *P1Error) GetIdOk() (*string, bool)

GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1Error) GetMessage

func (o *P1Error) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*P1Error) GetMessageOk

func (o *P1Error) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1Error) HasCode

func (o *P1Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*P1Error) HasDetails

func (o *P1Error) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*P1Error) HasId

func (o *P1Error) HasId() bool

HasId returns a boolean if a field has been set.

func (*P1Error) HasMessage

func (o *P1Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (P1Error) MarshalJSON

func (o P1Error) MarshalJSON() ([]byte, error)

func (*P1Error) SetCode

func (o *P1Error) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*P1Error) SetDetails

func (o *P1Error) SetDetails(v []P1ErrorDetailsInner)

SetDetails gets a reference to the given []P1ErrorDetailsInner and assigns it to the Details field.

func (*P1Error) SetId

func (o *P1Error) SetId(v string)

SetId gets a reference to the given string and assigns it to the Id field.

func (*P1Error) SetMessage

func (o *P1Error) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (P1Error) ToMap added in v0.1.3

func (o P1Error) ToMap() (map[string]interface{}, error)

type P1ErrorDetailsInner

type P1ErrorDetailsInner struct {
	// A general fault code which the client must handle to provide all exception handling routines and to localize messages for users. This code is common across all PingOne services and is human readable (such as a defined constant rather than a number).
	Code *string `json:"code,omitempty"`
	// The item that caused the error (such as a form field ID or an attribute inside a JSON object).
	Target *string `json:"target,omitempty"`
	// A short description of the error. This message is intended to assist with debugging and is returned in English only.
	Message    *string                        `json:"message,omitempty"`
	InnerError *P1ErrorDetailsInnerInnerError `json:"innerError,omitempty"`
}

P1ErrorDetailsInner struct for P1ErrorDetailsInner

func NewP1ErrorDetailsInner

func NewP1ErrorDetailsInner() *P1ErrorDetailsInner

NewP1ErrorDetailsInner instantiates a new P1ErrorDetailsInner object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewP1ErrorDetailsInnerWithDefaults

func NewP1ErrorDetailsInnerWithDefaults() *P1ErrorDetailsInner

NewP1ErrorDetailsInnerWithDefaults instantiates a new P1ErrorDetailsInner object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*P1ErrorDetailsInner) GetCode

func (o *P1ErrorDetailsInner) GetCode() string

GetCode returns the Code field value if set, zero value otherwise.

func (*P1ErrorDetailsInner) GetCodeOk

func (o *P1ErrorDetailsInner) GetCodeOk() (*string, bool)

GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInner) GetInnerError

GetInnerError returns the InnerError field value if set, zero value otherwise.

func (*P1ErrorDetailsInner) GetInnerErrorOk

func (o *P1ErrorDetailsInner) GetInnerErrorOk() (*P1ErrorDetailsInnerInnerError, bool)

GetInnerErrorOk returns a tuple with the InnerError field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInner) GetMessage

func (o *P1ErrorDetailsInner) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*P1ErrorDetailsInner) GetMessageOk

func (o *P1ErrorDetailsInner) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInner) GetTarget

func (o *P1ErrorDetailsInner) GetTarget() string

GetTarget returns the Target field value if set, zero value otherwise.

func (*P1ErrorDetailsInner) GetTargetOk

func (o *P1ErrorDetailsInner) GetTargetOk() (*string, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInner) HasCode

func (o *P1ErrorDetailsInner) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*P1ErrorDetailsInner) HasInnerError

func (o *P1ErrorDetailsInner) HasInnerError() bool

HasInnerError returns a boolean if a field has been set.

func (*P1ErrorDetailsInner) HasMessage

func (o *P1ErrorDetailsInner) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*P1ErrorDetailsInner) HasTarget

func (o *P1ErrorDetailsInner) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (P1ErrorDetailsInner) MarshalJSON

func (o P1ErrorDetailsInner) MarshalJSON() ([]byte, error)

func (*P1ErrorDetailsInner) SetCode

func (o *P1ErrorDetailsInner) SetCode(v string)

SetCode gets a reference to the given string and assigns it to the Code field.

func (*P1ErrorDetailsInner) SetInnerError

SetInnerError gets a reference to the given P1ErrorDetailsInnerInnerError and assigns it to the InnerError field.

func (*P1ErrorDetailsInner) SetMessage

func (o *P1ErrorDetailsInner) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*P1ErrorDetailsInner) SetTarget

func (o *P1ErrorDetailsInner) SetTarget(v string)

SetTarget gets a reference to the given string and assigns it to the Target field.

func (P1ErrorDetailsInner) ToMap added in v0.1.3

func (o P1ErrorDetailsInner) ToMap() (map[string]interface{}, error)

type P1ErrorDetailsInnerInnerError

type P1ErrorDetailsInnerInnerError struct {
	// Errors that failed due to range violation. This attribute represents the minimum value of the range.
	RangeMinimumValue *int32 `json:"rangeMinimumValue,omitempty"`
	// The maximum range or value of an attribute.
	RangeMaximumValue *int32 `json:"rangeMaximumValue,omitempty"`
	// A regex pattern describing an acceptable input pattern.
	AllowedPattern *string `json:"allowedPattern,omitempty"`
	// A list describing acceptable values.
	AllowedValues []string `json:"allowedValues,omitempty"`
	// The maximum value allowed for the request.
	MaximumValue *int32 `json:"maximumValue,omitempty"`
}

P1ErrorDetailsInnerInnerError Additional details to help the client developer resolve the fault (primarily for UI validation reasons).

func NewP1ErrorDetailsInnerInnerError

func NewP1ErrorDetailsInnerInnerError() *P1ErrorDetailsInnerInnerError

NewP1ErrorDetailsInnerInnerError instantiates a new P1ErrorDetailsInnerInnerError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewP1ErrorDetailsInnerInnerErrorWithDefaults

func NewP1ErrorDetailsInnerInnerErrorWithDefaults() *P1ErrorDetailsInnerInnerError

NewP1ErrorDetailsInnerInnerErrorWithDefaults instantiates a new P1ErrorDetailsInnerInnerError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*P1ErrorDetailsInnerInnerError) GetAllowedPattern

func (o *P1ErrorDetailsInnerInnerError) GetAllowedPattern() string

GetAllowedPattern returns the AllowedPattern field value if set, zero value otherwise.

func (*P1ErrorDetailsInnerInnerError) GetAllowedPatternOk

func (o *P1ErrorDetailsInnerInnerError) GetAllowedPatternOk() (*string, bool)

GetAllowedPatternOk returns a tuple with the AllowedPattern field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInnerInnerError) GetAllowedValues

func (o *P1ErrorDetailsInnerInnerError) GetAllowedValues() []string

GetAllowedValues returns the AllowedValues field value if set, zero value otherwise.

func (*P1ErrorDetailsInnerInnerError) GetAllowedValuesOk

func (o *P1ErrorDetailsInnerInnerError) GetAllowedValuesOk() ([]string, bool)

GetAllowedValuesOk returns a tuple with the AllowedValues field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInnerInnerError) GetMaximumValue

func (o *P1ErrorDetailsInnerInnerError) GetMaximumValue() int32

GetMaximumValue returns the MaximumValue field value if set, zero value otherwise.

func (*P1ErrorDetailsInnerInnerError) GetMaximumValueOk

func (o *P1ErrorDetailsInnerInnerError) GetMaximumValueOk() (*int32, bool)

GetMaximumValueOk returns a tuple with the MaximumValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInnerInnerError) GetRangeMaximumValue

func (o *P1ErrorDetailsInnerInnerError) GetRangeMaximumValue() int32

GetRangeMaximumValue returns the RangeMaximumValue field value if set, zero value otherwise.

func (*P1ErrorDetailsInnerInnerError) GetRangeMaximumValueOk

func (o *P1ErrorDetailsInnerInnerError) GetRangeMaximumValueOk() (*int32, bool)

GetRangeMaximumValueOk returns a tuple with the RangeMaximumValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInnerInnerError) GetRangeMinimumValue

func (o *P1ErrorDetailsInnerInnerError) GetRangeMinimumValue() int32

GetRangeMinimumValue returns the RangeMinimumValue field value if set, zero value otherwise.

func (*P1ErrorDetailsInnerInnerError) GetRangeMinimumValueOk

func (o *P1ErrorDetailsInnerInnerError) GetRangeMinimumValueOk() (*int32, bool)

GetRangeMinimumValueOk returns a tuple with the RangeMinimumValue field value if set, nil otherwise and a boolean to check if the value has been set.

func (*P1ErrorDetailsInnerInnerError) HasAllowedPattern

func (o *P1ErrorDetailsInnerInnerError) HasAllowedPattern() bool

HasAllowedPattern returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasAllowedValues

func (o *P1ErrorDetailsInnerInnerError) HasAllowedValues() bool

HasAllowedValues returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasMaximumValue

func (o *P1ErrorDetailsInnerInnerError) HasMaximumValue() bool

HasMaximumValue returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasRangeMaximumValue

func (o *P1ErrorDetailsInnerInnerError) HasRangeMaximumValue() bool

HasRangeMaximumValue returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasRangeMinimumValue

func (o *P1ErrorDetailsInnerInnerError) HasRangeMinimumValue() bool

HasRangeMinimumValue returns a boolean if a field has been set.

func (P1ErrorDetailsInnerInnerError) MarshalJSON

func (o P1ErrorDetailsInnerInnerError) MarshalJSON() ([]byte, error)

func (*P1ErrorDetailsInnerInnerError) SetAllowedPattern

func (o *P1ErrorDetailsInnerInnerError) SetAllowedPattern(v string)

SetAllowedPattern gets a reference to the given string and assigns it to the AllowedPattern field.

func (*P1ErrorDetailsInnerInnerError) SetAllowedValues

func (o *P1ErrorDetailsInnerInnerError) SetAllowedValues(v []string)

SetAllowedValues gets a reference to the given []string and assigns it to the AllowedValues field.

func (*P1ErrorDetailsInnerInnerError) SetMaximumValue

func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32)

SetMaximumValue gets a reference to the given int32 and assigns it to the MaximumValue field.

func (*P1ErrorDetailsInnerInnerError) SetRangeMaximumValue

func (o *P1ErrorDetailsInnerInnerError) SetRangeMaximumValue(v int32)

SetRangeMaximumValue gets a reference to the given int32 and assigns it to the RangeMaximumValue field.

func (*P1ErrorDetailsInnerInnerError) SetRangeMinimumValue

func (o *P1ErrorDetailsInnerInnerError) SetRangeMinimumValue(v int32)

SetRangeMinimumValue gets a reference to the given int32 and assigns it to the RangeMinimumValue field.

func (P1ErrorDetailsInnerInnerError) ToMap added in v0.1.3

func (o P1ErrorDetailsInnerInnerError) ToMap() (map[string]interface{}, error)

type PolicyDecisionManagementApiService

type PolicyDecisionManagementApiService service

PolicyDecisionManagementApiService PolicyDecisionManagementApi service

func (*PolicyDecisionManagementApiService) CreateDecisionEndpoint

func (a *PolicyDecisionManagementApiService) CreateDecisionEndpoint(ctx context.Context, environmentID string) ApiCreateDecisionEndpointRequest

CreateDecisionEndpoint CREATE Decision Endpoint

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@return ApiCreateDecisionEndpointRequest

func (*PolicyDecisionManagementApiService) CreateDecisionEndpointExecute

Execute executes the request

@return DecisionEndpoint

func (*PolicyDecisionManagementApiService) DeleteDecisionEndpoint

func (a *PolicyDecisionManagementApiService) DeleteDecisionEndpoint(ctx context.Context, environmentID string, decisionEndpointID string) ApiDeleteDecisionEndpointRequest

DeleteDecisionEndpoint DELETE Decision Endpoint

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@param decisionEndpointID
@return ApiDeleteDecisionEndpointRequest

func (*PolicyDecisionManagementApiService) DeleteDecisionEndpointExecute

Execute executes the request

func (*PolicyDecisionManagementApiService) ReadAllDecisionEndpoints

func (a *PolicyDecisionManagementApiService) ReadAllDecisionEndpoints(ctx context.Context, environmentID string) ApiReadAllDecisionEndpointsRequest

ReadAllDecisionEndpoints READ All Decision Endpoints

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@return ApiReadAllDecisionEndpointsRequest

func (*PolicyDecisionManagementApiService) ReadAllDecisionEndpointsExecute

Execute executes the request

@return EntityArray

func (*PolicyDecisionManagementApiService) ReadOneDecisionEndpoint

func (a *PolicyDecisionManagementApiService) ReadOneDecisionEndpoint(ctx context.Context, environmentID string, decisionEndpointID string) ApiReadOneDecisionEndpointRequest

ReadOneDecisionEndpoint READ One Decision Endpoint

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@param decisionEndpointID
@return ApiReadOneDecisionEndpointRequest

func (*PolicyDecisionManagementApiService) ReadOneDecisionEndpointExecute

Execute executes the request

@return DecisionEndpoint

func (*PolicyDecisionManagementApiService) UpdateDecisionEndpoint

func (a *PolicyDecisionManagementApiService) UpdateDecisionEndpoint(ctx context.Context, environmentID string, decisionEndpointID string) ApiUpdateDecisionEndpointRequest

UpdateDecisionEndpoint UPDATE Decision Endpoint

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param environmentID
@param decisionEndpointID
@return ApiUpdateDecisionEndpointRequest

func (*PolicyDecisionManagementApiService) UpdateDecisionEndpointExecute

Execute executes the request

@return DecisionEndpoint

type SDKInterfaceFunc added in v0.1.5

type SDKInterfaceFunc func() (any, *http.Response, error)

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

Directories

Path Synopsis
generate

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL