model

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProductsSelectableList

func ProductsSelectableList() []string

func RegionsAvailableList

func RegionsAvailableList() []string

Types

type GenericOpenAPIError added in v0.4.0

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

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

func RemarshalGenericOpenAPIErrorObj added in v0.4.0

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

func (GenericOpenAPIError) Body added in v0.4.0

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error added in v0.4.0

func (e GenericOpenAPIError) Error() string

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

func (GenericOpenAPIError) Model added in v0.4.0

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type NullableP1Error added in v0.4.0

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

func NewNullableP1Error added in v0.4.0

func NewNullableP1Error(val *P1Error) *NullableP1Error

func (NullableP1Error) Get added in v0.4.0

func (v NullableP1Error) Get() *P1Error

func (NullableP1Error) IsSet added in v0.4.0

func (v NullableP1Error) IsSet() bool

func (NullableP1Error) MarshalJSON added in v0.4.0

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

func (*NullableP1Error) Set added in v0.4.0

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

func (*NullableP1Error) UnmarshalJSON added in v0.4.0

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

func (*NullableP1Error) Unset added in v0.4.0

func (v *NullableP1Error) Unset()

type NullableP1ErrorDetailsInner added in v0.4.0

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

func NewNullableP1ErrorDetailsInner added in v0.4.0

func NewNullableP1ErrorDetailsInner(val *P1ErrorDetailsInner) *NullableP1ErrorDetailsInner

func (NullableP1ErrorDetailsInner) Get added in v0.4.0

func (NullableP1ErrorDetailsInner) IsSet added in v0.4.0

func (NullableP1ErrorDetailsInner) MarshalJSON added in v0.4.0

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

func (*NullableP1ErrorDetailsInner) Set added in v0.4.0

func (*NullableP1ErrorDetailsInner) UnmarshalJSON added in v0.4.0

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

func (*NullableP1ErrorDetailsInner) Unset added in v0.4.0

func (v *NullableP1ErrorDetailsInner) Unset()

type NullableP1ErrorDetailsInnerInnerError added in v0.4.0

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

func NewNullableP1ErrorDetailsInnerInnerError added in v0.4.0

func NewNullableP1ErrorDetailsInnerInnerError(val *P1ErrorDetailsInnerInnerError) *NullableP1ErrorDetailsInnerInnerError

func (NullableP1ErrorDetailsInnerInnerError) Get added in v0.4.0

func (NullableP1ErrorDetailsInnerInnerError) IsSet added in v0.4.0

func (NullableP1ErrorDetailsInnerInnerError) MarshalJSON added in v0.4.0

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

func (*NullableP1ErrorDetailsInnerInnerError) Set added in v0.4.0

func (*NullableP1ErrorDetailsInnerInnerError) UnmarshalJSON added in v0.4.0

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

func (*NullableP1ErrorDetailsInnerInnerError) Unset added in v0.4.0

type P1Error added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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

func (*P1Error) GetCode added in v0.4.0

func (o *P1Error) GetCode() string

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

func (*P1Error) GetCodeOk added in v0.4.0

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 added in v0.4.0

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

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

func (*P1Error) GetDetailsOk added in v0.4.0

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 added in v0.4.0

func (o *P1Error) GetId() string

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

func (*P1Error) GetIdOk added in v0.4.0

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 added in v0.4.0

func (o *P1Error) GetMessage() string

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

func (*P1Error) GetMessageOk added in v0.4.0

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 added in v0.4.0

func (o *P1Error) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*P1Error) HasDetails added in v0.4.0

func (o *P1Error) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*P1Error) HasId added in v0.4.0

func (o *P1Error) HasId() bool

HasId returns a boolean if a field has been set.

func (*P1Error) HasMessage added in v0.4.0

func (o *P1Error) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (P1Error) MarshalJSON added in v0.4.0

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

func (*P1Error) SetCode added in v0.4.0

func (o *P1Error) SetCode(v string)

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

func (*P1Error) SetDetails added in v0.4.0

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

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

func (*P1Error) SetId added in v0.4.0

func (o *P1Error) SetId(v string)

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

func (*P1Error) SetMessage added in v0.4.0

func (o *P1Error) SetMessage(v string)

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

type P1ErrorDetailsInner added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *P1ErrorDetailsInner) GetCode() string

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

func (*P1ErrorDetailsInner) GetCodeOk added in v0.4.0

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 added in v0.4.0

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

func (*P1ErrorDetailsInner) GetInnerErrorOk added in v0.4.0

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 added in v0.4.0

func (o *P1ErrorDetailsInner) GetMessage() string

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

func (*P1ErrorDetailsInner) GetMessageOk added in v0.4.0

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 added in v0.4.0

func (o *P1ErrorDetailsInner) GetTarget() string

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

func (*P1ErrorDetailsInner) GetTargetOk added in v0.4.0

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 added in v0.4.0

func (o *P1ErrorDetailsInner) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*P1ErrorDetailsInner) HasInnerError added in v0.4.0

func (o *P1ErrorDetailsInner) HasInnerError() bool

HasInnerError returns a boolean if a field has been set.

func (*P1ErrorDetailsInner) HasMessage added in v0.4.0

func (o *P1ErrorDetailsInner) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*P1ErrorDetailsInner) HasTarget added in v0.4.0

func (o *P1ErrorDetailsInner) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (P1ErrorDetailsInner) MarshalJSON added in v0.4.0

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

func (*P1ErrorDetailsInner) SetCode added in v0.4.0

func (o *P1ErrorDetailsInner) SetCode(v string)

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

func (*P1ErrorDetailsInner) SetInnerError added in v0.4.0

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

func (*P1ErrorDetailsInner) SetMessage added in v0.4.0

func (o *P1ErrorDetailsInner) SetMessage(v string)

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

func (*P1ErrorDetailsInner) SetTarget added in v0.4.0

func (o *P1ErrorDetailsInner) SetTarget(v string)

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

type P1ErrorDetailsInnerInnerError added in v0.4.0

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"`
	ReferencedValues []string `json:"referencedValues,omitempty"`
}

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

func NewP1ErrorDetailsInnerInnerError added in v0.4.0

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 added in v0.4.0

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 added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) GetAllowedPattern() string

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

func (*P1ErrorDetailsInnerInnerError) GetAllowedPatternOk added in v0.4.0

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 added in v0.4.0

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

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

func (*P1ErrorDetailsInnerInnerError) GetAllowedValuesOk added in v0.4.0

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 added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) GetMaximumValue() int32

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

func (*P1ErrorDetailsInnerInnerError) GetMaximumValueOk added in v0.4.0

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 added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) GetRangeMaximumValue() int32

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

func (*P1ErrorDetailsInnerInnerError) GetRangeMaximumValueOk added in v0.4.0

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 added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) GetRangeMinimumValue() int32

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

func (*P1ErrorDetailsInnerInnerError) GetRangeMinimumValueOk added in v0.4.0

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) GetReferencedValues added in v0.11.0

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

GetReferencedValues returns the ReferencedValues field value if set, zero value otherwise.

func (*P1ErrorDetailsInnerInnerError) GetReferencedValuesOk added in v0.11.0

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

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

func (*P1ErrorDetailsInnerInnerError) HasAllowedPattern added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) HasAllowedPattern() bool

HasAllowedPattern returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasAllowedValues added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) HasAllowedValues() bool

HasAllowedValues returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasMaximumValue added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) HasMaximumValue() bool

HasMaximumValue returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasRangeMaximumValue added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) HasRangeMaximumValue() bool

HasRangeMaximumValue returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasRangeMinimumValue added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) HasRangeMinimumValue() bool

HasRangeMinimumValue returns a boolean if a field has been set.

func (*P1ErrorDetailsInnerInnerError) HasReferencedValues added in v0.11.0

func (o *P1ErrorDetailsInnerInnerError) HasReferencedValues() bool

HasReferencedValues returns a boolean if a field has been set.

func (P1ErrorDetailsInnerInnerError) MarshalJSON added in v0.4.0

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

func (*P1ErrorDetailsInnerInnerError) SetAllowedPattern added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) SetAllowedPattern(v string)

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

func (*P1ErrorDetailsInnerInnerError) SetAllowedValues added in v0.4.0

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

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

func (*P1ErrorDetailsInnerInnerError) SetMaximumValue added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) SetMaximumValue(v int32)

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

func (*P1ErrorDetailsInnerInnerError) SetRangeMaximumValue added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) SetRangeMaximumValue(v int32)

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

func (*P1ErrorDetailsInnerInnerError) SetRangeMinimumValue added in v0.4.0

func (o *P1ErrorDetailsInnerInnerError) SetRangeMinimumValue(v int32)

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

func (*P1ErrorDetailsInnerInnerError) SetReferencedValues added in v0.11.0

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

SetReferencedValues gets a reference to the given []string and assigns it to the ReferencedValues field.

type ProductMapping

type ProductMapping struct {
	ProductCode  string
	APICode      management.EnumProductType
	Default      bool
	Selectable   bool
	Deprecated   bool
	DisplayOrder int
}

func FindProductByAPICode

func FindProductByAPICode(apiCode management.EnumProductType) (ProductMapping, error)

func FindProductByName

func FindProductByName(product string) (ProductMapping, error)

type RegionMapping

type RegionMapping struct {
	// Deprecated: Use APICode instead
	Region    string
	URLSuffix string
	APICode   management.EnumRegionCode
	Default   bool
}

func FindRegionByAPICode

func FindRegionByAPICode(apiCode management.EnumRegionCode) RegionMapping

func FindRegionByName deprecated

func FindRegionByName(region string) RegionMapping

Deprecated: Use FindRegionByAPICode instead

Jump to

Keyboard shortcuts

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