model

package
v0.0.0-...-43c8b6e Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegionsAvailableList

func RegionsAvailableList() []string

Types

type GenericOpenAPIError

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

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

func RemarshalGenericOpenAPIErrorObj

func RemarshalGenericOpenAPIErrorObj(errorInf interface{}) (*GenericOpenAPIError, error)

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

func RemarshalErrorObj(errorInf interface{}) (*P1Error, error)

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.

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.

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.

type RegionMapping

type RegionMapping struct {
	Region    string
	URLSuffix string
	APICode   management.EnumRegionCode
	Default   bool
}

func FindRegionByAPICode

func FindRegionByAPICode(apiCode management.EnumRegionCode) RegionMapping

func FindRegionByName

func FindRegionByName(region string) RegionMapping

Jump to

Keyboard shortcuts

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