verify

package module
v0.2.0 Latest Latest
Warning

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

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

README

Go API client for verify

The PingOne Platform API covering the PingOne Verify 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.2.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

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

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

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

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(), verify.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(), verify.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(), verify.ContextOperationServerIndices, map[string]int{
	"{classname}Service.{nickname}": 2,
})
ctx = context.WithValue(context.Background(), verify.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
VerifyPoliciesApi CreateVerifyPolicy Post /environments/{environmentID}/verifyPolicies CREATE Verify Policy
VerifyPoliciesApi DeleteVerifyPolicy Delete /environments/{environmentID}/verifyPolicies/{verifyPolicyID} Delete Verify Policy
VerifyPoliciesApi ReadAllVerifyPolicies Get /environments/{environmentID}/verifyPolicies READ All Verify Policies
VerifyPoliciesApi ReadOneVerifyPolicy Get /environments/{environmentID}/verifyPolicies/{verifyPolicyID} READ One Verify Policy
VerifyPoliciesApi UpdateVerifyPolicy Put /environments/{environmentID}/verifyPolicies/{verifyPolicyID} UPDATE Verify Policy

Documentation For Models

Documentation For Authorization

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 AllowedEnumThresholdEnumValues = []EnumThreshold{
	"LOW",
	"MEDIUM",
	"HIGH",
}

All allowed values of EnumThreshold enum

View Source
var AllowedEnumTimeUnitEnumValues = []EnumTimeUnit{
	"SECONDS",
	"MINUTES",
}

All allowed values of EnumTimeUnit enum

View Source
var AllowedEnumVerifyEnumValues = []EnumVerify{
	"REQUIRED",
	"OPTIONAL",
	"DISABLED",
}

All allowed values of EnumVerify enum

Functions

func CacheExpires

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

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

func IsNil

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 {
	VerifyPoliciesApi *VerifyPoliciesApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the PingOne Platform API - PingOne Verify API v2023-05-26 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 ApiCreateVerifyPolicyRequest

type ApiCreateVerifyPolicyRequest struct {
	ApiService *VerifyPoliciesApiService
	// contains filtered or unexported fields
}

func (ApiCreateVerifyPolicyRequest) Execute

func (ApiCreateVerifyPolicyRequest) VerifyPolicy

type ApiDeleteVerifyPolicyRequest

type ApiDeleteVerifyPolicyRequest struct {
	ApiService *VerifyPoliciesApiService
	// contains filtered or unexported fields
}

func (ApiDeleteVerifyPolicyRequest) Execute

type ApiReadAllVerifyPoliciesRequest

type ApiReadAllVerifyPoliciesRequest struct {
	ApiService *VerifyPoliciesApiService
	// contains filtered or unexported fields
}

func (ApiReadAllVerifyPoliciesRequest) Execute

type ApiReadOneVerifyPolicyRequest

type ApiReadOneVerifyPolicyRequest struct {
	ApiService *VerifyPoliciesApiService
	// contains filtered or unexported fields
}

func (ApiReadOneVerifyPolicyRequest) Execute

type ApiUpdateVerifyPolicyRequest

type ApiUpdateVerifyPolicyRequest struct {
	ApiService *VerifyPoliciesApiService
	// contains filtered or unexported fields
}

func (ApiUpdateVerifyPolicyRequest) Execute

func (ApiUpdateVerifyPolicyRequest) VerifyPolicy

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"`
	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

type EntityArray

type EntityArray struct {
	Embedded *EntityArrayEmbedded `json:"_embedded,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) 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 (*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) HasEmbedded

func (o *EntityArray) HasEmbedded() bool

HasEmbedded 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) SetEmbedded

func (o *EntityArray) SetEmbedded(v EntityArrayEmbedded)

SetEmbedded gets a reference to the given EntityArrayEmbedded and assigns it to the Embedded 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

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

type EntityArrayEmbedded

type EntityArrayEmbedded struct {
	VerifyPolicies []VerifyPolicy `json:"verifyPolicies,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) GetVerifyPolicies

func (o *EntityArrayEmbedded) GetVerifyPolicies() []VerifyPolicy

GetVerifyPolicies returns the VerifyPolicies field value if set, zero value otherwise.

func (*EntityArrayEmbedded) GetVerifyPoliciesOk

func (o *EntityArrayEmbedded) GetVerifyPoliciesOk() ([]VerifyPolicy, bool)

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

func (*EntityArrayEmbedded) HasVerifyPolicies

func (o *EntityArrayEmbedded) HasVerifyPolicies() bool

HasVerifyPolicies returns a boolean if a field has been set.

func (EntityArrayEmbedded) MarshalJSON

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

func (*EntityArrayEmbedded) SetVerifyPolicies

func (o *EntityArrayEmbedded) SetVerifyPolicies(v []VerifyPolicy)

SetVerifyPolicies gets a reference to the given []VerifyPolicy and assigns it to the VerifyPolicies field.

func (EntityArrayEmbedded) ToMap

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

type EnumThreshold

type EnumThreshold string

EnumThreshold A string that defines the verification comparison threshold. Options are `LOW`, `MEDIUM` and `HIGH`.

const (
	ENUMTHRESHOLD_LOW    EnumThreshold = "LOW"
	ENUMTHRESHOLD_MEDIUM EnumThreshold = "MEDIUM"
	ENUMTHRESHOLD_HIGH   EnumThreshold = "HIGH"
)

List of EnumThreshold

func NewEnumThresholdFromValue

func NewEnumThresholdFromValue(v string) (*EnumThreshold, error)

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

func (EnumThreshold) IsValid

func (v EnumThreshold) IsValid() bool

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

func (EnumThreshold) Ptr

func (v EnumThreshold) Ptr() *EnumThreshold

Ptr returns reference to EnumThreshold value

func (*EnumThreshold) UnmarshalJSON

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

type EnumTimeUnit

type EnumTimeUnit string

EnumTimeUnit A string that defines the time unit of a specified duration in `SECONDS` or `MINUTES`.

const (
	ENUMTIMEUNIT_SECONDS EnumTimeUnit = "SECONDS"
	ENUMTIMEUNIT_MINUTES EnumTimeUnit = "MINUTES"
)

List of EnumTimeUnit

func NewEnumTimeUnitFromValue

func NewEnumTimeUnitFromValue(v string) (*EnumTimeUnit, error)

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

func (EnumTimeUnit) IsValid

func (v EnumTimeUnit) IsValid() bool

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

func (EnumTimeUnit) Ptr

func (v EnumTimeUnit) Ptr() *EnumTimeUnit

Ptr returns reference to EnumTimeUnit value

func (*EnumTimeUnit) UnmarshalJSON

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

type EnumVerify

type EnumVerify string

EnumVerify A string that defines the verification check requirements. Options are `REQUIRED`, `OPTIONAL` and `DISABLED`.

const (
	ENUMVERIFY_REQUIRED EnumVerify = "REQUIRED"
	ENUMVERIFY_OPTIONAL EnumVerify = "OPTIONAL"
	ENUMVERIFY_DISABLED EnumVerify = "DISABLED"
)

List of EnumVerify

func NewEnumVerifyFromValue

func NewEnumVerifyFromValue(v string) (*EnumVerify, error)

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

func (EnumVerify) IsValid

func (v EnumVerify) IsValid() bool

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

func (EnumVerify) Ptr

func (v EnumVerify) Ptr() *EnumVerify

Ptr returns reference to EnumVerify value

func (*EnumVerify) UnmarshalJSON

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

type FacialComparisonConfiguration

type FacialComparisonConfiguration struct {
	Verify    EnumVerify    `json:"verify"`
	Threshold EnumThreshold `json:"threshold"`
}

FacialComparisonConfiguration struct for FacialComparisonConfiguration

func NewFacialComparisonConfiguration

func NewFacialComparisonConfiguration(verify EnumVerify, threshold EnumThreshold) *FacialComparisonConfiguration

NewFacialComparisonConfiguration instantiates a new FacialComparisonConfiguration 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 NewFacialComparisonConfigurationWithDefaults

func NewFacialComparisonConfigurationWithDefaults() *FacialComparisonConfiguration

NewFacialComparisonConfigurationWithDefaults instantiates a new FacialComparisonConfiguration 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 (*FacialComparisonConfiguration) GetThreshold

func (o *FacialComparisonConfiguration) GetThreshold() EnumThreshold

GetThreshold returns the Threshold field value

func (*FacialComparisonConfiguration) GetThresholdOk

func (o *FacialComparisonConfiguration) GetThresholdOk() (*EnumThreshold, bool)

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

func (*FacialComparisonConfiguration) GetVerify

GetVerify returns the Verify field value

func (*FacialComparisonConfiguration) GetVerifyOk

func (o *FacialComparisonConfiguration) GetVerifyOk() (*EnumVerify, bool)

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

func (FacialComparisonConfiguration) MarshalJSON

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

func (*FacialComparisonConfiguration) SetThreshold

func (o *FacialComparisonConfiguration) SetThreshold(v EnumThreshold)

SetThreshold sets field value

func (*FacialComparisonConfiguration) SetVerify

func (o *FacialComparisonConfiguration) SetVerify(v EnumVerify)

SetVerify sets field value

func (FacialComparisonConfiguration) ToMap

func (o FacialComparisonConfiguration) ToMap() (map[string]interface{}, 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 GovernmentIdConfiguration

type GovernmentIdConfiguration struct {
	Verify EnumVerify `json:"verify"`
}

GovernmentIdConfiguration struct for GovernmentIdConfiguration

func NewGovernmentIdConfiguration

func NewGovernmentIdConfiguration(verify EnumVerify) *GovernmentIdConfiguration

NewGovernmentIdConfiguration instantiates a new GovernmentIdConfiguration 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 NewGovernmentIdConfigurationWithDefaults

func NewGovernmentIdConfigurationWithDefaults() *GovernmentIdConfiguration

NewGovernmentIdConfigurationWithDefaults instantiates a new GovernmentIdConfiguration 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 (*GovernmentIdConfiguration) GetVerify

func (o *GovernmentIdConfiguration) GetVerify() EnumVerify

GetVerify returns the Verify field value

func (*GovernmentIdConfiguration) GetVerifyOk

func (o *GovernmentIdConfiguration) GetVerifyOk() (*EnumVerify, bool)

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

func (GovernmentIdConfiguration) MarshalJSON

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

func (*GovernmentIdConfiguration) SetVerify

func (o *GovernmentIdConfiguration) SetVerify(v EnumVerify)

SetVerify sets field value

func (GovernmentIdConfiguration) ToMap

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

type LivenessConfiguration

type LivenessConfiguration struct {
	Verify    EnumVerify    `json:"verify"`
	Threshold EnumThreshold `json:"threshold"`
}

LivenessConfiguration struct for LivenessConfiguration

func NewLivenessConfiguration

func NewLivenessConfiguration(verify EnumVerify, threshold EnumThreshold) *LivenessConfiguration

NewLivenessConfiguration instantiates a new LivenessConfiguration 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 NewLivenessConfigurationWithDefaults

func NewLivenessConfigurationWithDefaults() *LivenessConfiguration

NewLivenessConfigurationWithDefaults instantiates a new LivenessConfiguration 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 (*LivenessConfiguration) GetThreshold

func (o *LivenessConfiguration) GetThreshold() EnumThreshold

GetThreshold returns the Threshold field value

func (*LivenessConfiguration) GetThresholdOk

func (o *LivenessConfiguration) GetThresholdOk() (*EnumThreshold, bool)

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

func (*LivenessConfiguration) GetVerify

func (o *LivenessConfiguration) GetVerify() EnumVerify

GetVerify returns the Verify field value

func (*LivenessConfiguration) GetVerifyOk

func (o *LivenessConfiguration) GetVerifyOk() (*EnumVerify, bool)

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

func (LivenessConfiguration) MarshalJSON

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

func (*LivenessConfiguration) SetThreshold

func (o *LivenessConfiguration) SetThreshold(v EnumThreshold)

SetThreshold sets field value

func (*LivenessConfiguration) SetVerify

func (o *LivenessConfiguration) SetVerify(v EnumVerify)

SetVerify sets field value

func (LivenessConfiguration) ToMap

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

type MappedNullable

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

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 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 NullableEnumThreshold

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

func NewNullableEnumThreshold

func NewNullableEnumThreshold(val *EnumThreshold) *NullableEnumThreshold

func (NullableEnumThreshold) Get

func (NullableEnumThreshold) IsSet

func (v NullableEnumThreshold) IsSet() bool

func (NullableEnumThreshold) MarshalJSON

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

func (*NullableEnumThreshold) Set

func (v *NullableEnumThreshold) Set(val *EnumThreshold)

func (*NullableEnumThreshold) UnmarshalJSON

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

func (*NullableEnumThreshold) Unset

func (v *NullableEnumThreshold) Unset()

type NullableEnumTimeUnit

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

func NewNullableEnumTimeUnit

func NewNullableEnumTimeUnit(val *EnumTimeUnit) *NullableEnumTimeUnit

func (NullableEnumTimeUnit) Get

func (NullableEnumTimeUnit) IsSet

func (v NullableEnumTimeUnit) IsSet() bool

func (NullableEnumTimeUnit) MarshalJSON

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

func (*NullableEnumTimeUnit) Set

func (v *NullableEnumTimeUnit) Set(val *EnumTimeUnit)

func (*NullableEnumTimeUnit) UnmarshalJSON

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

func (*NullableEnumTimeUnit) Unset

func (v *NullableEnumTimeUnit) Unset()

type NullableEnumVerify

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

func NewNullableEnumVerify

func NewNullableEnumVerify(val *EnumVerify) *NullableEnumVerify

func (NullableEnumVerify) Get

func (v NullableEnumVerify) Get() *EnumVerify

func (NullableEnumVerify) IsSet

func (v NullableEnumVerify) IsSet() bool

func (NullableEnumVerify) MarshalJSON

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

func (*NullableEnumVerify) Set

func (v *NullableEnumVerify) Set(val *EnumVerify)

func (*NullableEnumVerify) UnmarshalJSON

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

func (*NullableEnumVerify) Unset

func (v *NullableEnumVerify) Unset()

type NullableFacialComparisonConfiguration

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

func (NullableFacialComparisonConfiguration) Get

func (NullableFacialComparisonConfiguration) IsSet

func (NullableFacialComparisonConfiguration) MarshalJSON

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

func (*NullableFacialComparisonConfiguration) Set

func (*NullableFacialComparisonConfiguration) UnmarshalJSON

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

func (*NullableFacialComparisonConfiguration) 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 NullableGovernmentIdConfiguration

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

func (NullableGovernmentIdConfiguration) Get

func (NullableGovernmentIdConfiguration) IsSet

func (NullableGovernmentIdConfiguration) MarshalJSON

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

func (*NullableGovernmentIdConfiguration) Set

func (*NullableGovernmentIdConfiguration) UnmarshalJSON

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

func (*NullableGovernmentIdConfiguration) 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 NullableLivenessConfiguration

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

func (NullableLivenessConfiguration) Get

func (NullableLivenessConfiguration) IsSet

func (NullableLivenessConfiguration) MarshalJSON

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

func (*NullableLivenessConfiguration) Set

func (*NullableLivenessConfiguration) UnmarshalJSON

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

func (*NullableLivenessConfiguration) Unset

func (v *NullableLivenessConfiguration) Unset()

type NullableOTPDeviceConfiguration

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

func (NullableOTPDeviceConfiguration) Get

func (NullableOTPDeviceConfiguration) IsSet

func (NullableOTPDeviceConfiguration) MarshalJSON

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

func (*NullableOTPDeviceConfiguration) Set

func (*NullableOTPDeviceConfiguration) UnmarshalJSON

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

func (*NullableOTPDeviceConfiguration) Unset

func (v *NullableOTPDeviceConfiguration) Unset()

type NullableOTPDeviceConfigurationOtp

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

func (NullableOTPDeviceConfigurationOtp) Get

func (NullableOTPDeviceConfigurationOtp) IsSet

func (NullableOTPDeviceConfigurationOtp) MarshalJSON

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

func (*NullableOTPDeviceConfigurationOtp) Set

func (*NullableOTPDeviceConfigurationOtp) UnmarshalJSON

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

func (*NullableOTPDeviceConfigurationOtp) Unset

type NullableOTPDeviceConfigurationOtpAttempts

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

func (NullableOTPDeviceConfigurationOtpAttempts) Get

func (NullableOTPDeviceConfigurationOtpAttempts) IsSet

func (NullableOTPDeviceConfigurationOtpAttempts) MarshalJSON

func (*NullableOTPDeviceConfigurationOtpAttempts) Set

func (*NullableOTPDeviceConfigurationOtpAttempts) UnmarshalJSON

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

func (*NullableOTPDeviceConfigurationOtpAttempts) Unset

type NullableOTPDeviceConfigurationOtpDeliveries

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

func (NullableOTPDeviceConfigurationOtpDeliveries) Get

func (NullableOTPDeviceConfigurationOtpDeliveries) IsSet

func (NullableOTPDeviceConfigurationOtpDeliveries) MarshalJSON

func (*NullableOTPDeviceConfigurationOtpDeliveries) Set

func (*NullableOTPDeviceConfigurationOtpDeliveries) UnmarshalJSON

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

func (*NullableOTPDeviceConfigurationOtpDeliveries) Unset

type NullableOTPDeviceConfigurationOtpDeliveriesCooldown

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

func (NullableOTPDeviceConfigurationOtpDeliveriesCooldown) Get

func (NullableOTPDeviceConfigurationOtpDeliveriesCooldown) IsSet

func (NullableOTPDeviceConfigurationOtpDeliveriesCooldown) MarshalJSON

func (*NullableOTPDeviceConfigurationOtpDeliveriesCooldown) Set

func (*NullableOTPDeviceConfigurationOtpDeliveriesCooldown) UnmarshalJSON

func (*NullableOTPDeviceConfigurationOtpDeliveriesCooldown) Unset

type NullableOTPDeviceConfigurationOtpLifeTime

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

func (NullableOTPDeviceConfigurationOtpLifeTime) Get

func (NullableOTPDeviceConfigurationOtpLifeTime) IsSet

func (NullableOTPDeviceConfigurationOtpLifeTime) MarshalJSON

func (*NullableOTPDeviceConfigurationOtpLifeTime) Set

func (*NullableOTPDeviceConfigurationOtpLifeTime) UnmarshalJSON

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

func (*NullableOTPDeviceConfigurationOtpLifeTime) Unset

type NullableOTPDeviceConfigurationOtpNotification

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

func (NullableOTPDeviceConfigurationOtpNotification) Get

func (NullableOTPDeviceConfigurationOtpNotification) IsSet

func (NullableOTPDeviceConfigurationOtpNotification) MarshalJSON

func (*NullableOTPDeviceConfigurationOtpNotification) Set

func (*NullableOTPDeviceConfigurationOtpNotification) UnmarshalJSON

func (*NullableOTPDeviceConfigurationOtpNotification) 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 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 NullableTransactionConfiguration

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

func (NullableTransactionConfiguration) Get

func (NullableTransactionConfiguration) IsSet

func (NullableTransactionConfiguration) MarshalJSON

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

func (*NullableTransactionConfiguration) Set

func (*NullableTransactionConfiguration) UnmarshalJSON

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

func (*NullableTransactionConfiguration) Unset

type NullableTransactionConfigurationDataCollection

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

func (NullableTransactionConfigurationDataCollection) Get

func (NullableTransactionConfigurationDataCollection) IsSet

func (NullableTransactionConfigurationDataCollection) MarshalJSON

func (*NullableTransactionConfigurationDataCollection) Set

func (*NullableTransactionConfigurationDataCollection) UnmarshalJSON

func (*NullableTransactionConfigurationDataCollection) Unset

type NullableTransactionConfigurationDataCollectionTimeout

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

func (NullableTransactionConfigurationDataCollectionTimeout) Get

func (NullableTransactionConfigurationDataCollectionTimeout) IsSet

func (NullableTransactionConfigurationDataCollectionTimeout) MarshalJSON

func (*NullableTransactionConfigurationDataCollectionTimeout) Set

func (*NullableTransactionConfigurationDataCollectionTimeout) UnmarshalJSON

func (*NullableTransactionConfigurationDataCollectionTimeout) Unset

type NullableTransactionConfigurationTimeout

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

func (NullableTransactionConfigurationTimeout) Get

func (NullableTransactionConfigurationTimeout) IsSet

func (NullableTransactionConfigurationTimeout) MarshalJSON

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

func (*NullableTransactionConfigurationTimeout) Set

func (*NullableTransactionConfigurationTimeout) UnmarshalJSON

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

func (*NullableTransactionConfigurationTimeout) Unset

type NullableVerifyPolicy

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

func NewNullableVerifyPolicy

func NewNullableVerifyPolicy(val *VerifyPolicy) *NullableVerifyPolicy

func (NullableVerifyPolicy) Get

func (NullableVerifyPolicy) IsSet

func (v NullableVerifyPolicy) IsSet() bool

func (NullableVerifyPolicy) MarshalJSON

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

func (*NullableVerifyPolicy) Set

func (v *NullableVerifyPolicy) Set(val *VerifyPolicy)

func (*NullableVerifyPolicy) UnmarshalJSON

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

func (*NullableVerifyPolicy) Unset

func (v *NullableVerifyPolicy) Unset()

type OTPDeviceConfiguration

type OTPDeviceConfiguration struct {
	Verify EnumVerify `json:"verify"`
	// When enabled, PingOne Verify registers the email address or phone number with PingOne MFA as a verified MFA device.
	CreateMfaDevice *bool                      `json:"createMfaDevice,omitempty"`
	Otp             *OTPDeviceConfigurationOtp `json:"otp,omitempty"`
}

OTPDeviceConfiguration struct for OTPDeviceConfiguration

func NewOTPDeviceConfiguration

func NewOTPDeviceConfiguration(verify EnumVerify) *OTPDeviceConfiguration

NewOTPDeviceConfiguration instantiates a new OTPDeviceConfiguration 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 NewOTPDeviceConfigurationWithDefaults

func NewOTPDeviceConfigurationWithDefaults() *OTPDeviceConfiguration

NewOTPDeviceConfigurationWithDefaults instantiates a new OTPDeviceConfiguration 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 (*OTPDeviceConfiguration) GetCreateMfaDevice

func (o *OTPDeviceConfiguration) GetCreateMfaDevice() bool

GetCreateMfaDevice returns the CreateMfaDevice field value if set, zero value otherwise.

func (*OTPDeviceConfiguration) GetCreateMfaDeviceOk

func (o *OTPDeviceConfiguration) GetCreateMfaDeviceOk() (*bool, bool)

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

func (*OTPDeviceConfiguration) GetOtp

GetOtp returns the Otp field value if set, zero value otherwise.

func (*OTPDeviceConfiguration) GetOtpOk

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

func (*OTPDeviceConfiguration) GetVerify

func (o *OTPDeviceConfiguration) GetVerify() EnumVerify

GetVerify returns the Verify field value

func (*OTPDeviceConfiguration) GetVerifyOk

func (o *OTPDeviceConfiguration) GetVerifyOk() (*EnumVerify, bool)

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

func (*OTPDeviceConfiguration) HasCreateMfaDevice

func (o *OTPDeviceConfiguration) HasCreateMfaDevice() bool

HasCreateMfaDevice returns a boolean if a field has been set.

func (*OTPDeviceConfiguration) HasOtp

func (o *OTPDeviceConfiguration) HasOtp() bool

HasOtp returns a boolean if a field has been set.

func (OTPDeviceConfiguration) MarshalJSON

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

func (*OTPDeviceConfiguration) SetCreateMfaDevice

func (o *OTPDeviceConfiguration) SetCreateMfaDevice(v bool)

SetCreateMfaDevice gets a reference to the given bool and assigns it to the CreateMfaDevice field.

func (*OTPDeviceConfiguration) SetOtp

SetOtp gets a reference to the given OTPDeviceConfigurationOtp and assigns it to the Otp field.

func (*OTPDeviceConfiguration) SetVerify

func (o *OTPDeviceConfiguration) SetVerify(v EnumVerify)

SetVerify sets field value

func (OTPDeviceConfiguration) ToMap

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

type OTPDeviceConfigurationOtp

type OTPDeviceConfigurationOtp struct {
	Attempts     OTPDeviceConfigurationOtpAttempts     `json:"attempts"`
	Deliveries   OTPDeviceConfigurationOtpDeliveries   `json:"deliveries"`
	LifeTime     OTPDeviceConfigurationOtpLifeTime     `json:"lifeTime"`
	Notification OTPDeviceConfigurationOtpNotification `json:"notification"`
}

OTPDeviceConfigurationOtp struct for OTPDeviceConfigurationOtp

func NewOTPDeviceConfigurationOtp

NewOTPDeviceConfigurationOtp instantiates a new OTPDeviceConfigurationOtp 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 NewOTPDeviceConfigurationOtpWithDefaults

func NewOTPDeviceConfigurationOtpWithDefaults() *OTPDeviceConfigurationOtp

NewOTPDeviceConfigurationOtpWithDefaults instantiates a new OTPDeviceConfigurationOtp 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 (*OTPDeviceConfigurationOtp) GetAttempts

GetAttempts returns the Attempts field value

func (*OTPDeviceConfigurationOtp) GetAttemptsOk

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

func (*OTPDeviceConfigurationOtp) GetDeliveries

GetDeliveries returns the Deliveries field value

func (*OTPDeviceConfigurationOtp) GetDeliveriesOk

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

func (*OTPDeviceConfigurationOtp) GetLifeTime

GetLifeTime returns the LifeTime field value

func (*OTPDeviceConfigurationOtp) GetLifeTimeOk

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

func (*OTPDeviceConfigurationOtp) GetNotification

GetNotification returns the Notification field value

func (*OTPDeviceConfigurationOtp) GetNotificationOk

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

func (OTPDeviceConfigurationOtp) MarshalJSON

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

func (*OTPDeviceConfigurationOtp) SetAttempts

SetAttempts sets field value

func (*OTPDeviceConfigurationOtp) SetDeliveries

SetDeliveries sets field value

func (*OTPDeviceConfigurationOtp) SetLifeTime

SetLifeTime sets field value

func (*OTPDeviceConfigurationOtp) SetNotification

SetNotification sets field value

func (OTPDeviceConfigurationOtp) ToMap

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

type OTPDeviceConfigurationOtpAttempts

type OTPDeviceConfigurationOtpAttempts struct {
	// Count of OTP failures.
	Count int32 `json:"count"`
}

OTPDeviceConfigurationOtpAttempts OTP attempts configuration.

func NewOTPDeviceConfigurationOtpAttempts

func NewOTPDeviceConfigurationOtpAttempts(count int32) *OTPDeviceConfigurationOtpAttempts

NewOTPDeviceConfigurationOtpAttempts instantiates a new OTPDeviceConfigurationOtpAttempts 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 NewOTPDeviceConfigurationOtpAttemptsWithDefaults

func NewOTPDeviceConfigurationOtpAttemptsWithDefaults() *OTPDeviceConfigurationOtpAttempts

NewOTPDeviceConfigurationOtpAttemptsWithDefaults instantiates a new OTPDeviceConfigurationOtpAttempts 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 (*OTPDeviceConfigurationOtpAttempts) GetCount

GetCount returns the Count field value

func (*OTPDeviceConfigurationOtpAttempts) GetCountOk

func (o *OTPDeviceConfigurationOtpAttempts) GetCountOk() (*int32, bool)

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

func (OTPDeviceConfigurationOtpAttempts) MarshalJSON

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

func (*OTPDeviceConfigurationOtpAttempts) SetCount

SetCount sets field value

func (OTPDeviceConfigurationOtpAttempts) ToMap

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

type OTPDeviceConfigurationOtpDeliveries

type OTPDeviceConfigurationOtpDeliveries struct {
	// Count of OTP deliveries.
	Count    int32                                       `json:"count"`
	Cooldown OTPDeviceConfigurationOtpDeliveriesCooldown `json:"cooldown"`
}

OTPDeviceConfigurationOtpDeliveries OTP delivery configuration.

func NewOTPDeviceConfigurationOtpDeliveries

func NewOTPDeviceConfigurationOtpDeliveries(count int32, cooldown OTPDeviceConfigurationOtpDeliveriesCooldown) *OTPDeviceConfigurationOtpDeliveries

NewOTPDeviceConfigurationOtpDeliveries instantiates a new OTPDeviceConfigurationOtpDeliveries 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 NewOTPDeviceConfigurationOtpDeliveriesWithDefaults

func NewOTPDeviceConfigurationOtpDeliveriesWithDefaults() *OTPDeviceConfigurationOtpDeliveries

NewOTPDeviceConfigurationOtpDeliveriesWithDefaults instantiates a new OTPDeviceConfigurationOtpDeliveries 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 (*OTPDeviceConfigurationOtpDeliveries) GetCooldown

GetCooldown returns the Cooldown field value

func (*OTPDeviceConfigurationOtpDeliveries) GetCooldownOk

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

func (*OTPDeviceConfigurationOtpDeliveries) GetCount

GetCount returns the Count field value

func (*OTPDeviceConfigurationOtpDeliveries) GetCountOk

func (o *OTPDeviceConfigurationOtpDeliveries) GetCountOk() (*int32, bool)

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

func (OTPDeviceConfigurationOtpDeliveries) MarshalJSON

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

func (*OTPDeviceConfigurationOtpDeliveries) SetCooldown

SetCooldown sets field value

func (*OTPDeviceConfigurationOtpDeliveries) SetCount

SetCount sets field value

func (OTPDeviceConfigurationOtpDeliveries) ToMap

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

type OTPDeviceConfigurationOtpDeliveriesCooldown

type OTPDeviceConfigurationOtpDeliveriesCooldown struct {
	// Cooldown duration configuration.
	Duration int32        `json:"duration"`
	TimeUnit EnumTimeUnit `json:"timeUnit"`
}

OTPDeviceConfigurationOtpDeliveriesCooldown Cooldown (waiting period between OTP attempts) configuration.

func NewOTPDeviceConfigurationOtpDeliveriesCooldown

func NewOTPDeviceConfigurationOtpDeliveriesCooldown(duration int32, timeUnit EnumTimeUnit) *OTPDeviceConfigurationOtpDeliveriesCooldown

NewOTPDeviceConfigurationOtpDeliveriesCooldown instantiates a new OTPDeviceConfigurationOtpDeliveriesCooldown 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 NewOTPDeviceConfigurationOtpDeliveriesCooldownWithDefaults

func NewOTPDeviceConfigurationOtpDeliveriesCooldownWithDefaults() *OTPDeviceConfigurationOtpDeliveriesCooldown

NewOTPDeviceConfigurationOtpDeliveriesCooldownWithDefaults instantiates a new OTPDeviceConfigurationOtpDeliveriesCooldown 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 (*OTPDeviceConfigurationOtpDeliveriesCooldown) GetDuration

GetDuration returns the Duration field value

func (*OTPDeviceConfigurationOtpDeliveriesCooldown) GetDurationOk

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

func (*OTPDeviceConfigurationOtpDeliveriesCooldown) GetTimeUnit

GetTimeUnit returns the TimeUnit field value

func (*OTPDeviceConfigurationOtpDeliveriesCooldown) GetTimeUnitOk

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

func (OTPDeviceConfigurationOtpDeliveriesCooldown) MarshalJSON

func (*OTPDeviceConfigurationOtpDeliveriesCooldown) SetDuration

SetDuration sets field value

func (*OTPDeviceConfigurationOtpDeliveriesCooldown) SetTimeUnit

SetTimeUnit sets field value

func (OTPDeviceConfigurationOtpDeliveriesCooldown) ToMap

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

type OTPDeviceConfigurationOtpLifeTime

type OTPDeviceConfigurationOtpLifeTime struct {
	// OTP duration configuration.
	Duration int32        `json:"duration"`
	TimeUnit EnumTimeUnit `json:"timeUnit"`
}

OTPDeviceConfigurationOtpLifeTime The length of time for which the OTP is valid.

func NewOTPDeviceConfigurationOtpLifeTime

func NewOTPDeviceConfigurationOtpLifeTime(duration int32, timeUnit EnumTimeUnit) *OTPDeviceConfigurationOtpLifeTime

NewOTPDeviceConfigurationOtpLifeTime instantiates a new OTPDeviceConfigurationOtpLifeTime 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 NewOTPDeviceConfigurationOtpLifeTimeWithDefaults

func NewOTPDeviceConfigurationOtpLifeTimeWithDefaults() *OTPDeviceConfigurationOtpLifeTime

NewOTPDeviceConfigurationOtpLifeTimeWithDefaults instantiates a new OTPDeviceConfigurationOtpLifeTime 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 (*OTPDeviceConfigurationOtpLifeTime) GetDuration

func (o *OTPDeviceConfigurationOtpLifeTime) GetDuration() int32

GetDuration returns the Duration field value

func (*OTPDeviceConfigurationOtpLifeTime) GetDurationOk

func (o *OTPDeviceConfigurationOtpLifeTime) GetDurationOk() (*int32, bool)

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

func (*OTPDeviceConfigurationOtpLifeTime) GetTimeUnit

GetTimeUnit returns the TimeUnit field value

func (*OTPDeviceConfigurationOtpLifeTime) GetTimeUnitOk

func (o *OTPDeviceConfigurationOtpLifeTime) GetTimeUnitOk() (*EnumTimeUnit, bool)

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

func (OTPDeviceConfigurationOtpLifeTime) MarshalJSON

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

func (*OTPDeviceConfigurationOtpLifeTime) SetDuration

func (o *OTPDeviceConfigurationOtpLifeTime) SetDuration(v int32)

SetDuration sets field value

func (*OTPDeviceConfigurationOtpLifeTime) SetTimeUnit

SetTimeUnit sets field value

func (OTPDeviceConfigurationOtpLifeTime) ToMap

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

type OTPDeviceConfigurationOtpNotification

type OTPDeviceConfigurationOtpNotification struct {
	TemplateName string  `json:"templateName"`
	VariantName  *string `json:"variantName,omitempty"`
}

OTPDeviceConfigurationOtpNotification OTP notification template configuration.

func NewOTPDeviceConfigurationOtpNotification

func NewOTPDeviceConfigurationOtpNotification(templateName string) *OTPDeviceConfigurationOtpNotification

NewOTPDeviceConfigurationOtpNotification instantiates a new OTPDeviceConfigurationOtpNotification 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 NewOTPDeviceConfigurationOtpNotificationWithDefaults

func NewOTPDeviceConfigurationOtpNotificationWithDefaults() *OTPDeviceConfigurationOtpNotification

NewOTPDeviceConfigurationOtpNotificationWithDefaults instantiates a new OTPDeviceConfigurationOtpNotification 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 (*OTPDeviceConfigurationOtpNotification) GetTemplateName

func (o *OTPDeviceConfigurationOtpNotification) GetTemplateName() string

GetTemplateName returns the TemplateName field value

func (*OTPDeviceConfigurationOtpNotification) GetTemplateNameOk

func (o *OTPDeviceConfigurationOtpNotification) GetTemplateNameOk() (*string, bool)

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

func (*OTPDeviceConfigurationOtpNotification) GetVariantName

func (o *OTPDeviceConfigurationOtpNotification) GetVariantName() string

GetVariantName returns the VariantName field value if set, zero value otherwise.

func (*OTPDeviceConfigurationOtpNotification) GetVariantNameOk

func (o *OTPDeviceConfigurationOtpNotification) GetVariantNameOk() (*string, bool)

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

func (*OTPDeviceConfigurationOtpNotification) HasVariantName

func (o *OTPDeviceConfigurationOtpNotification) HasVariantName() bool

HasVariantName returns a boolean if a field has been set.

func (OTPDeviceConfigurationOtpNotification) MarshalJSON

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

func (*OTPDeviceConfigurationOtpNotification) SetTemplateName

func (o *OTPDeviceConfigurationOtpNotification) SetTemplateName(v string)

SetTemplateName sets field value

func (*OTPDeviceConfigurationOtpNotification) SetVariantName

func (o *OTPDeviceConfigurationOtpNotification) SetVariantName(v string)

SetVariantName gets a reference to the given string and assigns it to the VariantName field.

func (OTPDeviceConfigurationOtpNotification) ToMap

func (o OTPDeviceConfigurationOtpNotification) 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

func (o ObjectEnvironment) 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

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

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

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

type SDKInterfaceFunc

type SDKInterfaceFunc func() (interface{}, *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

type TransactionConfiguration

type TransactionConfiguration struct {
	Timeout            *TransactionConfigurationTimeout        `json:"timeout,omitempty"`
	DataCollection     *TransactionConfigurationDataCollection `json:"dataCollection,omitempty"`
	DataCollectionOnly *bool                                   `json:"dataCollectionOnly,omitempty"`
}

TransactionConfiguration struct for TransactionConfiguration

func NewTransactionConfiguration

func NewTransactionConfiguration() *TransactionConfiguration

NewTransactionConfiguration instantiates a new TransactionConfiguration 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 NewTransactionConfigurationWithDefaults

func NewTransactionConfigurationWithDefaults() *TransactionConfiguration

NewTransactionConfigurationWithDefaults instantiates a new TransactionConfiguration 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 (*TransactionConfiguration) GetDataCollection

GetDataCollection returns the DataCollection field value if set, zero value otherwise.

func (*TransactionConfiguration) GetDataCollectionOk

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

func (*TransactionConfiguration) GetDataCollectionOnly

func (o *TransactionConfiguration) GetDataCollectionOnly() bool

GetDataCollectionOnly returns the DataCollectionOnly field value if set, zero value otherwise.

func (*TransactionConfiguration) GetDataCollectionOnlyOk

func (o *TransactionConfiguration) GetDataCollectionOnlyOk() (*bool, bool)

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

func (*TransactionConfiguration) GetTimeout

GetTimeout returns the Timeout field value if set, zero value otherwise.

func (*TransactionConfiguration) GetTimeoutOk

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

func (*TransactionConfiguration) HasDataCollection

func (o *TransactionConfiguration) HasDataCollection() bool

HasDataCollection returns a boolean if a field has been set.

func (*TransactionConfiguration) HasDataCollectionOnly

func (o *TransactionConfiguration) HasDataCollectionOnly() bool

HasDataCollectionOnly returns a boolean if a field has been set.

func (*TransactionConfiguration) HasTimeout

func (o *TransactionConfiguration) HasTimeout() bool

HasTimeout returns a boolean if a field has been set.

func (TransactionConfiguration) MarshalJSON

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

func (*TransactionConfiguration) SetDataCollection

SetDataCollection gets a reference to the given TransactionConfigurationDataCollection and assigns it to the DataCollection field.

func (*TransactionConfiguration) SetDataCollectionOnly

func (o *TransactionConfiguration) SetDataCollectionOnly(v bool)

SetDataCollectionOnly gets a reference to the given bool and assigns it to the DataCollectionOnly field.

func (*TransactionConfiguration) SetTimeout

SetTimeout gets a reference to the given TransactionConfigurationTimeout and assigns it to the Timeout field.

func (TransactionConfiguration) ToMap

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

type TransactionConfigurationDataCollection

type TransactionConfigurationDataCollection struct {
	Timeout TransactionConfigurationDataCollectionTimeout `json:"timeout"`
}

TransactionConfigurationDataCollection struct for TransactionConfigurationDataCollection

func NewTransactionConfigurationDataCollection

func NewTransactionConfigurationDataCollection(timeout TransactionConfigurationDataCollectionTimeout) *TransactionConfigurationDataCollection

NewTransactionConfigurationDataCollection instantiates a new TransactionConfigurationDataCollection 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 NewTransactionConfigurationDataCollectionWithDefaults

func NewTransactionConfigurationDataCollectionWithDefaults() *TransactionConfigurationDataCollection

NewTransactionConfigurationDataCollectionWithDefaults instantiates a new TransactionConfigurationDataCollection 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 (*TransactionConfigurationDataCollection) GetTimeout

GetTimeout returns the Timeout field value

func (*TransactionConfigurationDataCollection) GetTimeoutOk

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

func (TransactionConfigurationDataCollection) MarshalJSON

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

func (*TransactionConfigurationDataCollection) SetTimeout

SetTimeout sets field value

func (TransactionConfigurationDataCollection) ToMap

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

type TransactionConfigurationDataCollectionTimeout

type TransactionConfigurationDataCollectionTimeout struct {
	// Length of time before data collection timeout expires; range is 0-30 minutes or 0-1800 seconds.
	Duration int32        `json:"duration"`
	TimeUnit EnumTimeUnit `json:"timeUnit"`
}

TransactionConfigurationDataCollectionTimeout struct for TransactionConfigurationDataCollectionTimeout

func NewTransactionConfigurationDataCollectionTimeout

func NewTransactionConfigurationDataCollectionTimeout(duration int32, timeUnit EnumTimeUnit) *TransactionConfigurationDataCollectionTimeout

NewTransactionConfigurationDataCollectionTimeout instantiates a new TransactionConfigurationDataCollectionTimeout 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 NewTransactionConfigurationDataCollectionTimeoutWithDefaults

func NewTransactionConfigurationDataCollectionTimeoutWithDefaults() *TransactionConfigurationDataCollectionTimeout

NewTransactionConfigurationDataCollectionTimeoutWithDefaults instantiates a new TransactionConfigurationDataCollectionTimeout 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 (*TransactionConfigurationDataCollectionTimeout) GetDuration

GetDuration returns the Duration field value

func (*TransactionConfigurationDataCollectionTimeout) GetDurationOk

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

func (*TransactionConfigurationDataCollectionTimeout) GetTimeUnit

GetTimeUnit returns the TimeUnit field value

func (*TransactionConfigurationDataCollectionTimeout) GetTimeUnitOk

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

func (TransactionConfigurationDataCollectionTimeout) MarshalJSON

func (*TransactionConfigurationDataCollectionTimeout) SetDuration

SetDuration sets field value

func (*TransactionConfigurationDataCollectionTimeout) SetTimeUnit

SetTimeUnit sets field value

func (TransactionConfigurationDataCollectionTimeout) ToMap

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

type TransactionConfigurationTimeout

type TransactionConfigurationTimeout struct {
	// Length of time before transaction timeout expires; range is 0-30 minutes or 0-1800 seconds.
	Duration int32        `json:"duration"`
	TimeUnit EnumTimeUnit `json:"timeUnit"`
}

TransactionConfigurationTimeout struct for TransactionConfigurationTimeout

func NewTransactionConfigurationTimeout

func NewTransactionConfigurationTimeout(duration int32, timeUnit EnumTimeUnit) *TransactionConfigurationTimeout

NewTransactionConfigurationTimeout instantiates a new TransactionConfigurationTimeout 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 NewTransactionConfigurationTimeoutWithDefaults

func NewTransactionConfigurationTimeoutWithDefaults() *TransactionConfigurationTimeout

NewTransactionConfigurationTimeoutWithDefaults instantiates a new TransactionConfigurationTimeout 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 (*TransactionConfigurationTimeout) GetDuration

func (o *TransactionConfigurationTimeout) GetDuration() int32

GetDuration returns the Duration field value

func (*TransactionConfigurationTimeout) GetDurationOk

func (o *TransactionConfigurationTimeout) GetDurationOk() (*int32, bool)

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

func (*TransactionConfigurationTimeout) GetTimeUnit

GetTimeUnit returns the TimeUnit field value

func (*TransactionConfigurationTimeout) GetTimeUnitOk

func (o *TransactionConfigurationTimeout) GetTimeUnitOk() (*EnumTimeUnit, bool)

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

func (TransactionConfigurationTimeout) MarshalJSON

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

func (*TransactionConfigurationTimeout) SetDuration

func (o *TransactionConfigurationTimeout) SetDuration(v int32)

SetDuration sets field value

func (*TransactionConfigurationTimeout) SetTimeUnit

SetTimeUnit sets field value

func (TransactionConfigurationTimeout) ToMap

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

type VerifyPoliciesApiService

type VerifyPoliciesApiService service

VerifyPoliciesApiService VerifyPoliciesApi service

func (*VerifyPoliciesApiService) CreateVerifyPolicy

func (a *VerifyPoliciesApiService) CreateVerifyPolicy(ctx context.Context, environmentID string) ApiCreateVerifyPolicyRequest

CreateVerifyPolicy CREATE Verify Policy

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

func (*VerifyPoliciesApiService) CreateVerifyPolicyExecute

Execute executes the request

@return VerifyPolicy

func (*VerifyPoliciesApiService) DeleteVerifyPolicy

func (a *VerifyPoliciesApiService) DeleteVerifyPolicy(ctx context.Context, environmentID string, verifyPolicyID string) ApiDeleteVerifyPolicyRequest

DeleteVerifyPolicy Delete Verify Policy

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

func (*VerifyPoliciesApiService) DeleteVerifyPolicyExecute

func (a *VerifyPoliciesApiService) DeleteVerifyPolicyExecute(r ApiDeleteVerifyPolicyRequest) (*http.Response, error)

Execute executes the request

func (*VerifyPoliciesApiService) ReadAllVerifyPolicies

func (a *VerifyPoliciesApiService) ReadAllVerifyPolicies(ctx context.Context, environmentID string) ApiReadAllVerifyPoliciesRequest

ReadAllVerifyPolicies READ All Verify Policies

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

func (*VerifyPoliciesApiService) ReadAllVerifyPoliciesExecute

Execute executes the request

@return EntityArray

func (*VerifyPoliciesApiService) ReadOneVerifyPolicy

func (a *VerifyPoliciesApiService) ReadOneVerifyPolicy(ctx context.Context, environmentID string, verifyPolicyID string) ApiReadOneVerifyPolicyRequest

ReadOneVerifyPolicy READ One Verify Policy

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

func (*VerifyPoliciesApiService) ReadOneVerifyPolicyExecute

Execute executes the request

@return VerifyPolicy

func (*VerifyPoliciesApiService) UpdateVerifyPolicy

func (a *VerifyPoliciesApiService) UpdateVerifyPolicy(ctx context.Context, environmentID string, verifyPolicyID string) ApiUpdateVerifyPolicyRequest

UpdateVerifyPolicy UPDATE Verify Policy

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

func (*VerifyPoliciesApiService) UpdateVerifyPolicyExecute

Execute executes the request

@return VerifyPolicy

type VerifyPolicy

type VerifyPolicy struct {
	Id          *string            `json:"id,omitempty"`
	Environment *ObjectEnvironment `json:"environment,omitempty"`
	// Name displayed in PingOne Admin UI.
	Name string `json:"name"`
	// Description displayed in PingOne Admin UI, 1-1024 characters.
	Description *string `json:"description,omitempty"`
	// Required as true to set this verify policy as the default policy for the environment; otherwise optional and defaults to false.
	Default          *bool                          `json:"default,omitempty"`
	GovernmentId     *GovernmentIdConfiguration     `json:"governmentId,omitempty"`
	FacialComparison *FacialComparisonConfiguration `json:"facialComparison,omitempty"`
	Liveness         *LivenessConfiguration         `json:"liveness,omitempty"`
	Email            *OTPDeviceConfiguration        `json:"email,omitempty"`
	Phone            *OTPDeviceConfiguration        `json:"phone,omitempty"`
	Transaction      *TransactionConfiguration      `json:"transaction,omitempty"`
	CreatedAt        *time.Time                     `json:"createdAt,omitempty"`
	UpdatedAt        *time.Time                     `json:"updatedAt,omitempty"`
}

VerifyPolicy struct for VerifyPolicy

func NewVerifyPolicy

func NewVerifyPolicy(name string) *VerifyPolicy

NewVerifyPolicy instantiates a new VerifyPolicy 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 NewVerifyPolicyWithDefaults

func NewVerifyPolicyWithDefaults() *VerifyPolicy

NewVerifyPolicyWithDefaults instantiates a new VerifyPolicy 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 (*VerifyPolicy) GetCreatedAt

func (o *VerifyPolicy) GetCreatedAt() time.Time

GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.

func (*VerifyPolicy) GetCreatedAtOk

func (o *VerifyPolicy) GetCreatedAtOk() (*time.Time, bool)

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

func (*VerifyPolicy) GetDefault

func (o *VerifyPolicy) GetDefault() bool

GetDefault returns the Default field value if set, zero value otherwise.

func (*VerifyPolicy) GetDefaultOk

func (o *VerifyPolicy) GetDefaultOk() (*bool, bool)

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

func (*VerifyPolicy) GetDescription

func (o *VerifyPolicy) GetDescription() string

GetDescription returns the Description field value if set, zero value otherwise.

func (*VerifyPolicy) GetDescriptionOk

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

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

func (*VerifyPolicy) GetEmail

func (o *VerifyPolicy) GetEmail() OTPDeviceConfiguration

GetEmail returns the Email field value if set, zero value otherwise.

func (*VerifyPolicy) GetEmailOk

func (o *VerifyPolicy) GetEmailOk() (*OTPDeviceConfiguration, bool)

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

func (*VerifyPolicy) GetEnvironment

func (o *VerifyPolicy) GetEnvironment() ObjectEnvironment

GetEnvironment returns the Environment field value if set, zero value otherwise.

func (*VerifyPolicy) GetEnvironmentOk

func (o *VerifyPolicy) GetEnvironmentOk() (*ObjectEnvironment, bool)

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

func (*VerifyPolicy) GetFacialComparison

func (o *VerifyPolicy) GetFacialComparison() FacialComparisonConfiguration

GetFacialComparison returns the FacialComparison field value if set, zero value otherwise.

func (*VerifyPolicy) GetFacialComparisonOk

func (o *VerifyPolicy) GetFacialComparisonOk() (*FacialComparisonConfiguration, bool)

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

func (*VerifyPolicy) GetGovernmentId

func (o *VerifyPolicy) GetGovernmentId() GovernmentIdConfiguration

GetGovernmentId returns the GovernmentId field value if set, zero value otherwise.

func (*VerifyPolicy) GetGovernmentIdOk

func (o *VerifyPolicy) GetGovernmentIdOk() (*GovernmentIdConfiguration, bool)

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

func (*VerifyPolicy) GetId

func (o *VerifyPolicy) GetId() string

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

func (*VerifyPolicy) GetIdOk

func (o *VerifyPolicy) 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 (*VerifyPolicy) GetLiveness

func (o *VerifyPolicy) GetLiveness() LivenessConfiguration

GetLiveness returns the Liveness field value if set, zero value otherwise.

func (*VerifyPolicy) GetLivenessOk

func (o *VerifyPolicy) GetLivenessOk() (*LivenessConfiguration, bool)

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

func (*VerifyPolicy) GetName

func (o *VerifyPolicy) GetName() string

GetName returns the Name field value

func (*VerifyPolicy) GetNameOk

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

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

func (*VerifyPolicy) GetPhone

func (o *VerifyPolicy) GetPhone() OTPDeviceConfiguration

GetPhone returns the Phone field value if set, zero value otherwise.

func (*VerifyPolicy) GetPhoneOk

func (o *VerifyPolicy) GetPhoneOk() (*OTPDeviceConfiguration, bool)

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

func (*VerifyPolicy) GetTransaction

func (o *VerifyPolicy) GetTransaction() TransactionConfiguration

GetTransaction returns the Transaction field value if set, zero value otherwise.

func (*VerifyPolicy) GetTransactionOk

func (o *VerifyPolicy) GetTransactionOk() (*TransactionConfiguration, bool)

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

func (*VerifyPolicy) GetUpdatedAt

func (o *VerifyPolicy) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.

func (*VerifyPolicy) GetUpdatedAtOk

func (o *VerifyPolicy) GetUpdatedAtOk() (*time.Time, bool)

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

func (*VerifyPolicy) HasCreatedAt

func (o *VerifyPolicy) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VerifyPolicy) HasDefault

func (o *VerifyPolicy) HasDefault() bool

HasDefault returns a boolean if a field has been set.

func (*VerifyPolicy) HasDescription

func (o *VerifyPolicy) HasDescription() bool

HasDescription returns a boolean if a field has been set.

func (*VerifyPolicy) HasEmail

func (o *VerifyPolicy) HasEmail() bool

HasEmail returns a boolean if a field has been set.

func (*VerifyPolicy) HasEnvironment

func (o *VerifyPolicy) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

func (*VerifyPolicy) HasFacialComparison

func (o *VerifyPolicy) HasFacialComparison() bool

HasFacialComparison returns a boolean if a field has been set.

func (*VerifyPolicy) HasGovernmentId

func (o *VerifyPolicy) HasGovernmentId() bool

HasGovernmentId returns a boolean if a field has been set.

func (*VerifyPolicy) HasId

func (o *VerifyPolicy) HasId() bool

HasId returns a boolean if a field has been set.

func (*VerifyPolicy) HasLiveness

func (o *VerifyPolicy) HasLiveness() bool

HasLiveness returns a boolean if a field has been set.

func (*VerifyPolicy) HasPhone

func (o *VerifyPolicy) HasPhone() bool

HasPhone returns a boolean if a field has been set.

func (*VerifyPolicy) HasTransaction

func (o *VerifyPolicy) HasTransaction() bool

HasTransaction returns a boolean if a field has been set.

func (*VerifyPolicy) HasUpdatedAt

func (o *VerifyPolicy) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (VerifyPolicy) MarshalJSON

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

func (*VerifyPolicy) SetCreatedAt

func (o *VerifyPolicy) SetCreatedAt(v time.Time)

SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.

func (*VerifyPolicy) SetDefault

func (o *VerifyPolicy) SetDefault(v bool)

SetDefault gets a reference to the given bool and assigns it to the Default field.

func (*VerifyPolicy) SetDescription

func (o *VerifyPolicy) SetDescription(v string)

SetDescription gets a reference to the given string and assigns it to the Description field.

func (*VerifyPolicy) SetEmail

func (o *VerifyPolicy) SetEmail(v OTPDeviceConfiguration)

SetEmail gets a reference to the given OTPDeviceConfiguration and assigns it to the Email field.

func (*VerifyPolicy) SetEnvironment

func (o *VerifyPolicy) SetEnvironment(v ObjectEnvironment)

SetEnvironment gets a reference to the given ObjectEnvironment and assigns it to the Environment field.

func (*VerifyPolicy) SetFacialComparison

func (o *VerifyPolicy) SetFacialComparison(v FacialComparisonConfiguration)

SetFacialComparison gets a reference to the given FacialComparisonConfiguration and assigns it to the FacialComparison field.

func (*VerifyPolicy) SetGovernmentId

func (o *VerifyPolicy) SetGovernmentId(v GovernmentIdConfiguration)

SetGovernmentId gets a reference to the given GovernmentIdConfiguration and assigns it to the GovernmentId field.

func (*VerifyPolicy) SetId

func (o *VerifyPolicy) SetId(v string)

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

func (*VerifyPolicy) SetLiveness

func (o *VerifyPolicy) SetLiveness(v LivenessConfiguration)

SetLiveness gets a reference to the given LivenessConfiguration and assigns it to the Liveness field.

func (*VerifyPolicy) SetName

func (o *VerifyPolicy) SetName(v string)

SetName sets field value

func (*VerifyPolicy) SetPhone

func (o *VerifyPolicy) SetPhone(v OTPDeviceConfiguration)

SetPhone gets a reference to the given OTPDeviceConfiguration and assigns it to the Phone field.

func (*VerifyPolicy) SetTransaction

func (o *VerifyPolicy) SetTransaction(v TransactionConfiguration)

SetTransaction gets a reference to the given TransactionConfiguration and assigns it to the Transaction field.

func (*VerifyPolicy) SetUpdatedAt

func (o *VerifyPolicy) SetUpdatedAt(v time.Time)

SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.

func (VerifyPolicy) ToMap

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

Directories

Path Synopsis
generate
postprocessing command

Jump to

Keyboard shortcuts

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