trinsic_api

package module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 20 Imported by: 0

README

Go API client for trinsic_api

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

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: v1
  • Package version: 0.3.0
  • Generator version: 7.7.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 trinsic_api "github.com/GIT_USER_ID/GIT_REPO_ID"

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 trinsic_api.ContextServerIndex of type int.

ctx := context.WithValue(context.Background(), trinsic_api.ContextServerIndex, 1)
Templated Server URL

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

ctx := context.WithValue(context.Background(), trinsic_api.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 trinsic_api.ContextOperationServerIndices and trinsic_api.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://api.trinsic.id

Class Method HTTP request Description
AttachmentsAPI ExchangeAttachmentAccessKey Post /api/v1/attachments/exchange Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 202 code, and you should try again later.
NetworkAPI IdentityLookup Get /api/v1/network/identities/{phoneNumber} Query the availability of an identity in the Trinsic Network by phone number
NetworkAPI ListProviders Get /api/v1/network/providers List all identity providers available for use
SessionsAPI CancelSession Post /api/v1/sessions/{sessionId}/cancel Cancel a Session by its ID
SessionsAPI CreateSession Post /api/v1/sessions Create a Session to verify a user's identity
SessionsAPI ExchangeResultsKey Post /api/v1/sessions/{sessionId}/results/exchange Exchange a Results Access Key for Identity Data
SessionsAPI GetSession Get /api/v1/sessions/{sessionId} Get a Session by its ID
SessionsAPI ListSessions Get /api/v1/sessions List Sessions created by your account
SessionsAPI RedactSession Post /api/v1/sessions/{sessionId}/redact Redact a Session, removing all identity data from Trinsic's servers. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

Bearer
  • Type: HTTP Bearer token authentication

Example

auth := context.WithValue(context.Background(), trinsic_api.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 (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
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 AllowedOrderDirectionEnumValues = []OrderDirection{
	"Ascending",
	"Descending",
}

All allowed values of OrderDirection enum

View Source
var AllowedSessionFailCodeEnumValues = []SessionFailCode{
	"SessionFailNone",
	"SessionFailInternal",
	"SessionFailVerificationFailed",
	"SessionFailAuthentication",
	"SessionFailExpired",
	"SessionFailUserCanceled",
	"SessionFailRpCanceled",
}

All allowed values of SessionFailCode enum

View Source
var AllowedSessionOrderingEnumValues = []SessionOrdering{
	"Created",
	"Updated",
	"State",
}

All allowed values of SessionOrdering enum

View Source
var AllowedSessionStateEnumValues = []SessionState{
	"IdvCreated",
	"IdvInitiated",
	"IdvAuthenticating",
	"IdvInProgress",
	"IdvSuccess",
	"IdvFailed",
}

All allowed values of SessionState enum

View Source
var AllowedVerificationFailCodeEnumValues = []VerificationFailCode{
	"VerificationFailNone",
	"VerificationFailInternal",
	"VerificationFailInvalidImage",
	"VerificationFailInauthentic",
	"VerificationFailUnsupportedDocument",
}

All allowed values of VerificationFailCode 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 {
	AttachmentsAPI *AttachmentsAPIService

	NetworkAPI *NetworkAPIService

	SessionsAPI *SessionsAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the Connect API API vv1 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 Address

type Address struct {
	Line1      *string `json:"line1,omitempty"`
	Line2      *string `json:"line2,omitempty"`
	Line3      *string `json:"line3,omitempty"`
	City       *string `json:"city,omitempty"`
	State      *string `json:"state,omitempty"`
	PostalCode *string `json:"postalCode,omitempty"`
	Country    *string `json:"country,omitempty"`
	// The full address as a single string
	FullAddress *string `json:"fullAddress,omitempty"`
}

Address Address information for an individual

func NewAddress

func NewAddress() *Address

NewAddress instantiates a new Address 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 NewAddressWithDefaults

func NewAddressWithDefaults() *Address

NewAddressWithDefaults instantiates a new Address 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 (*Address) GetCity

func (o *Address) GetCity() string

GetCity returns the City field value if set, zero value otherwise.

func (*Address) GetCityOk

func (o *Address) GetCityOk() (*string, bool)

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

func (*Address) GetCountry

func (o *Address) GetCountry() string

GetCountry returns the Country field value if set, zero value otherwise.

func (*Address) GetCountryOk

func (o *Address) GetCountryOk() (*string, bool)

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

func (*Address) GetFullAddress

func (o *Address) GetFullAddress() string

GetFullAddress returns the FullAddress field value if set, zero value otherwise.

func (*Address) GetFullAddressOk

func (o *Address) GetFullAddressOk() (*string, bool)

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

func (*Address) GetLine1

func (o *Address) GetLine1() string

GetLine1 returns the Line1 field value if set, zero value otherwise.

func (*Address) GetLine1Ok

func (o *Address) GetLine1Ok() (*string, bool)

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

func (*Address) GetLine2

func (o *Address) GetLine2() string

GetLine2 returns the Line2 field value if set, zero value otherwise.

func (*Address) GetLine2Ok

func (o *Address) GetLine2Ok() (*string, bool)

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

func (*Address) GetLine3

func (o *Address) GetLine3() string

GetLine3 returns the Line3 field value if set, zero value otherwise.

func (*Address) GetLine3Ok

func (o *Address) GetLine3Ok() (*string, bool)

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

func (*Address) GetPostalCode

func (o *Address) GetPostalCode() string

GetPostalCode returns the PostalCode field value if set, zero value otherwise.

func (*Address) GetPostalCodeOk

func (o *Address) GetPostalCodeOk() (*string, bool)

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

func (*Address) GetState

func (o *Address) GetState() string

GetState returns the State field value if set, zero value otherwise.

func (*Address) GetStateOk

func (o *Address) GetStateOk() (*string, bool)

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

func (*Address) HasCity

func (o *Address) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*Address) HasCountry

func (o *Address) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*Address) HasFullAddress

func (o *Address) HasFullAddress() bool

HasFullAddress returns a boolean if a field has been set.

func (*Address) HasLine1

func (o *Address) HasLine1() bool

HasLine1 returns a boolean if a field has been set.

func (*Address) HasLine2

func (o *Address) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*Address) HasLine3

func (o *Address) HasLine3() bool

HasLine3 returns a boolean if a field has been set.

func (*Address) HasPostalCode

func (o *Address) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*Address) HasState

func (o *Address) HasState() bool

HasState returns a boolean if a field has been set.

func (Address) MarshalJSON

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

func (*Address) SetCity

func (o *Address) SetCity(v string)

SetCity gets a reference to the given string and assigns it to the City field.

func (*Address) SetCountry

func (o *Address) SetCountry(v string)

SetCountry gets a reference to the given string and assigns it to the Country field.

func (*Address) SetFullAddress

func (o *Address) SetFullAddress(v string)

SetFullAddress gets a reference to the given string and assigns it to the FullAddress field.

func (*Address) SetLine1

func (o *Address) SetLine1(v string)

SetLine1 gets a reference to the given string and assigns it to the Line1 field.

func (*Address) SetLine2

func (o *Address) SetLine2(v string)

SetLine2 gets a reference to the given string and assigns it to the Line2 field.

func (*Address) SetLine3

func (o *Address) SetLine3(v string)

SetLine3 gets a reference to the given string and assigns it to the Line3 field.

func (*Address) SetPostalCode

func (o *Address) SetPostalCode(v string)

SetPostalCode gets a reference to the given string and assigns it to the PostalCode field.

func (*Address) SetState

func (o *Address) SetState(v string)

SetState gets a reference to the given string and assigns it to the State field.

func (Address) ToMap

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

type ApiCancelSessionRequest

type ApiCancelSessionRequest struct {
	ApiService *SessionsAPIService
	// contains filtered or unexported fields
}

func (ApiCancelSessionRequest) Execute

type ApiCreateSessionRequest

type ApiCreateSessionRequest struct {
	ApiService *SessionsAPIService
	// contains filtered or unexported fields
}

func (ApiCreateSessionRequest) CreateSessionRequest

func (r ApiCreateSessionRequest) CreateSessionRequest(createSessionRequest CreateSessionRequest) ApiCreateSessionRequest

func (ApiCreateSessionRequest) Execute

type ApiExchangeAttachmentAccessKeyRequest

type ApiExchangeAttachmentAccessKeyRequest struct {
	ApiService *AttachmentsAPIService
	// contains filtered or unexported fields
}

func (ApiExchangeAttachmentAccessKeyRequest) ExchangeAttachmentAccessKeyRequest

func (r ApiExchangeAttachmentAccessKeyRequest) ExchangeAttachmentAccessKeyRequest(exchangeAttachmentAccessKeyRequest ExchangeAttachmentAccessKeyRequest) ApiExchangeAttachmentAccessKeyRequest

func (ApiExchangeAttachmentAccessKeyRequest) Execute

type ApiExchangeResultsKeyRequest

type ApiExchangeResultsKeyRequest struct {
	ApiService *SessionsAPIService
	// contains filtered or unexported fields
}

func (ApiExchangeResultsKeyRequest) ExchangeResultsKeyRequest

func (r ApiExchangeResultsKeyRequest) ExchangeResultsKeyRequest(exchangeResultsKeyRequest ExchangeResultsKeyRequest) ApiExchangeResultsKeyRequest

func (ApiExchangeResultsKeyRequest) Execute

type ApiGetSessionRequest

type ApiGetSessionRequest struct {
	ApiService *SessionsAPIService
	// contains filtered or unexported fields
}

func (ApiGetSessionRequest) Execute

type ApiIdentityLookupRequest

type ApiIdentityLookupRequest struct {
	ApiService *NetworkAPIService
	// contains filtered or unexported fields
}

func (ApiIdentityLookupRequest) Execute

type ApiListProvidersRequest

type ApiListProvidersRequest struct {
	ApiService *NetworkAPIService
	// contains filtered or unexported fields
}

func (ApiListProvidersRequest) Execute

type ApiListSessionsRequest

type ApiListSessionsRequest struct {
	ApiService *SessionsAPIService
	// contains filtered or unexported fields
}

func (ApiListSessionsRequest) Execute

func (ApiListSessionsRequest) OrderBy

The field by which sessions should be ordered

func (ApiListSessionsRequest) OrderDirection

func (r ApiListSessionsRequest) OrderDirection(orderDirection OrderDirection) ApiListSessionsRequest

func (ApiListSessionsRequest) Page

The page number to return -- starts at `1`

func (ApiListSessionsRequest) PageSize

The number of items to return per page -- must be between `1` and `50`

type ApiRedactSessionRequest

type ApiRedactSessionRequest struct {
	ApiService *SessionsAPIService
	// contains filtered or unexported fields
}

func (ApiRedactSessionRequest) Execute

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

type Attachments

type Attachments struct {
	// Key to access the selfie image (if relevant) for this verification
	Selfie *string `json:"selfie,omitempty"`
	// Key to access the document front image (if relevant) for this verification
	DocumentFront *string `json:"documentFront,omitempty"`
	// Key to access the document back image (if relevant) for this verification
	DocumentBack *string `json:"documentBack,omitempty"`
	// Key to access the document portrait image (if relevant and available) for this verification.                Specifically, this is a cropped version of the document front image which includes only the portrait on the document.
	DocumentPortrait *string `json:"documentPortrait,omitempty"`
}

Attachments Attachment Access Keys for attachments (eg document / selfie images)

func NewAttachments

func NewAttachments() *Attachments

NewAttachments instantiates a new Attachments 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 NewAttachmentsWithDefaults

func NewAttachmentsWithDefaults() *Attachments

NewAttachmentsWithDefaults instantiates a new Attachments 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 (*Attachments) GetDocumentBack

func (o *Attachments) GetDocumentBack() string

GetDocumentBack returns the DocumentBack field value if set, zero value otherwise.

func (*Attachments) GetDocumentBackOk

func (o *Attachments) GetDocumentBackOk() (*string, bool)

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

func (*Attachments) GetDocumentFront

func (o *Attachments) GetDocumentFront() string

GetDocumentFront returns the DocumentFront field value if set, zero value otherwise.

func (*Attachments) GetDocumentFrontOk

func (o *Attachments) GetDocumentFrontOk() (*string, bool)

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

func (*Attachments) GetDocumentPortrait

func (o *Attachments) GetDocumentPortrait() string

GetDocumentPortrait returns the DocumentPortrait field value if set, zero value otherwise.

func (*Attachments) GetDocumentPortraitOk

func (o *Attachments) GetDocumentPortraitOk() (*string, bool)

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

func (*Attachments) GetSelfie

func (o *Attachments) GetSelfie() string

GetSelfie returns the Selfie field value if set, zero value otherwise.

func (*Attachments) GetSelfieOk

func (o *Attachments) GetSelfieOk() (*string, bool)

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

func (*Attachments) HasDocumentBack

func (o *Attachments) HasDocumentBack() bool

HasDocumentBack returns a boolean if a field has been set.

func (*Attachments) HasDocumentFront

func (o *Attachments) HasDocumentFront() bool

HasDocumentFront returns a boolean if a field has been set.

func (*Attachments) HasDocumentPortrait

func (o *Attachments) HasDocumentPortrait() bool

HasDocumentPortrait returns a boolean if a field has been set.

func (*Attachments) HasSelfie

func (o *Attachments) HasSelfie() bool

HasSelfie returns a boolean if a field has been set.

func (Attachments) MarshalJSON

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

func (*Attachments) SetDocumentBack

func (o *Attachments) SetDocumentBack(v string)

SetDocumentBack gets a reference to the given string and assigns it to the DocumentBack field.

func (*Attachments) SetDocumentFront

func (o *Attachments) SetDocumentFront(v string)

SetDocumentFront gets a reference to the given string and assigns it to the DocumentFront field.

func (*Attachments) SetDocumentPortrait

func (o *Attachments) SetDocumentPortrait(v string)

SetDocumentPortrait gets a reference to the given string and assigns it to the DocumentPortrait field.

func (*Attachments) SetSelfie

func (o *Attachments) SetSelfie(v string)

SetSelfie gets a reference to the given string and assigns it to the Selfie field.

func (Attachments) ToMap

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

type AttachmentsAPIService

type AttachmentsAPIService service

AttachmentsAPIService AttachmentsAPI service

func (*AttachmentsAPIService) ExchangeAttachmentAccessKey

func (a *AttachmentsAPIService) ExchangeAttachmentAccessKey(ctx context.Context) ApiExchangeAttachmentAccessKeyRequest

ExchangeAttachmentAccessKey Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 202 code, and you should try again later.

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

func (*AttachmentsAPIService) ExchangeAttachmentAccessKeyExecute

func (a *AttachmentsAPIService) ExchangeAttachmentAccessKeyExecute(r ApiExchangeAttachmentAccessKeyRequest) (*http.Response, error)

Execute executes the request

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 CancelSessionResponse

type CancelSessionResponse struct {
	Session Session `json:"session"`
}

CancelSessionResponse struct for CancelSessionResponse

func NewCancelSessionResponse

func NewCancelSessionResponse(session Session) *CancelSessionResponse

NewCancelSessionResponse instantiates a new CancelSessionResponse 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 NewCancelSessionResponseWithDefaults

func NewCancelSessionResponseWithDefaults() *CancelSessionResponse

NewCancelSessionResponseWithDefaults instantiates a new CancelSessionResponse 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 (*CancelSessionResponse) GetSession

func (o *CancelSessionResponse) GetSession() Session

GetSession returns the Session field value

func (*CancelSessionResponse) GetSessionOk

func (o *CancelSessionResponse) GetSessionOk() (*Session, bool)

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

func (CancelSessionResponse) MarshalJSON

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

func (*CancelSessionResponse) SetSession

func (o *CancelSessionResponse) SetSession(v Session)

SetSession sets field value

func (CancelSessionResponse) ToMap

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

func (*CancelSessionResponse) UnmarshalJSON

func (o *CancelSessionResponse) UnmarshalJSON(data []byte) (err error)

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

type CreateSessionRequest

type CreateSessionRequest struct {
	// Whether to immediately launch the identity provider, without invoking the Trinsic Connect Widget UI.                Users will not be shown the Connect Widget; therefore, reuse of Connect credentials, selection of an identity provider, and saving a verification for future reuse  are not available to the end user in this mode.                Sessions created with this option enabled must be created with a `RedirectUrl` specified, and cannot be invoked using the frontend SDK at this time.
	LaunchMethodDirectly *bool `json:"launchMethodDirectly,omitempty"`
	// The list of allowed identity providers. If not specified, all available providers will be allowed.                If `LaunchMethodDirectly` is `true`, this field must be set, and must have only a single entry.  If `LaunchMethodDirectly` is not specified or is `false`, this field may have any number of entries.
	Providers []string `json:"providers,omitempty"`
	// Specific identity attributes to request. If not provided, all available attributes will be requested.
	DisclosedFields *DisclosedFieldsRequest `json:"disclosedFields,omitempty"`
}

CreateSessionRequest struct for CreateSessionRequest

func NewCreateSessionRequest

func NewCreateSessionRequest() *CreateSessionRequest

NewCreateSessionRequest instantiates a new CreateSessionRequest 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 NewCreateSessionRequestWithDefaults

func NewCreateSessionRequestWithDefaults() *CreateSessionRequest

NewCreateSessionRequestWithDefaults instantiates a new CreateSessionRequest 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 (*CreateSessionRequest) GetDisclosedFields

func (o *CreateSessionRequest) GetDisclosedFields() DisclosedFieldsRequest

GetDisclosedFields returns the DisclosedFields field value if set, zero value otherwise.

func (*CreateSessionRequest) GetDisclosedFieldsOk

func (o *CreateSessionRequest) GetDisclosedFieldsOk() (*DisclosedFieldsRequest, bool)

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

func (*CreateSessionRequest) GetLaunchMethodDirectly

func (o *CreateSessionRequest) GetLaunchMethodDirectly() bool

GetLaunchMethodDirectly returns the LaunchMethodDirectly field value if set, zero value otherwise.

func (*CreateSessionRequest) GetLaunchMethodDirectlyOk

func (o *CreateSessionRequest) GetLaunchMethodDirectlyOk() (*bool, bool)

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

func (*CreateSessionRequest) GetProviders

func (o *CreateSessionRequest) GetProviders() []string

GetProviders returns the Providers field value if set, zero value otherwise.

func (*CreateSessionRequest) GetProvidersOk

func (o *CreateSessionRequest) GetProvidersOk() ([]string, bool)

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

func (*CreateSessionRequest) HasDisclosedFields

func (o *CreateSessionRequest) HasDisclosedFields() bool

HasDisclosedFields returns a boolean if a field has been set.

func (*CreateSessionRequest) HasLaunchMethodDirectly

func (o *CreateSessionRequest) HasLaunchMethodDirectly() bool

HasLaunchMethodDirectly returns a boolean if a field has been set.

func (*CreateSessionRequest) HasProviders

func (o *CreateSessionRequest) HasProviders() bool

HasProviders returns a boolean if a field has been set.

func (CreateSessionRequest) MarshalJSON

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

func (*CreateSessionRequest) SetDisclosedFields

func (o *CreateSessionRequest) SetDisclosedFields(v DisclosedFieldsRequest)

SetDisclosedFields gets a reference to the given DisclosedFieldsRequest and assigns it to the DisclosedFields field.

func (*CreateSessionRequest) SetLaunchMethodDirectly

func (o *CreateSessionRequest) SetLaunchMethodDirectly(v bool)

SetLaunchMethodDirectly gets a reference to the given bool and assigns it to the LaunchMethodDirectly field.

func (*CreateSessionRequest) SetProviders

func (o *CreateSessionRequest) SetProviders(v []string)

SetProviders gets a reference to the given []string and assigns it to the Providers field.

func (CreateSessionRequest) ToMap

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

type CreateSessionResponse

type CreateSessionResponse struct {
	// The created Acceptance Session
	Session Session `json:"session"`
	// The URL that should be used to invoke the Acceptance Session on your user's device.                If the Session was created with `LaunchMethodDirectly` set to `true`, you should redirect your user's browser to this URL. The frontend SDK cannot presently be used to  invoke these Sessions.                Otherwise, you should pass this URL to your user's frontend and use the frontend SDK to invoke the Session.                This URL is sensitive and as such can only be obtained once. If you need to obtain it again, you will need to create a new Acceptance Session.
	LaunchUrl *string `json:"launchUrl,omitempty"`
}

CreateSessionResponse struct for CreateSessionResponse

func NewCreateSessionResponse

func NewCreateSessionResponse(session Session) *CreateSessionResponse

NewCreateSessionResponse instantiates a new CreateSessionResponse 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 NewCreateSessionResponseWithDefaults

func NewCreateSessionResponseWithDefaults() *CreateSessionResponse

NewCreateSessionResponseWithDefaults instantiates a new CreateSessionResponse 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 (*CreateSessionResponse) GetLaunchUrl

func (o *CreateSessionResponse) GetLaunchUrl() string

GetLaunchUrl returns the LaunchUrl field value if set, zero value otherwise.

func (*CreateSessionResponse) GetLaunchUrlOk

func (o *CreateSessionResponse) GetLaunchUrlOk() (*string, bool)

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

func (*CreateSessionResponse) GetSession

func (o *CreateSessionResponse) GetSession() Session

GetSession returns the Session field value

func (*CreateSessionResponse) GetSessionOk

func (o *CreateSessionResponse) GetSessionOk() (*Session, bool)

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

func (*CreateSessionResponse) HasLaunchUrl

func (o *CreateSessionResponse) HasLaunchUrl() bool

HasLaunchUrl returns a boolean if a field has been set.

func (CreateSessionResponse) MarshalJSON

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

func (*CreateSessionResponse) SetLaunchUrl

func (o *CreateSessionResponse) SetLaunchUrl(v string)

SetLaunchUrl gets a reference to the given string and assigns it to the LaunchUrl field.

func (*CreateSessionResponse) SetSession

func (o *CreateSessionResponse) SetSession(v Session)

SetSession sets field value

func (CreateSessionResponse) ToMap

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

func (*CreateSessionResponse) UnmarshalJSON

func (o *CreateSessionResponse) UnmarshalJSON(data []byte) (err error)

type DisclosedFields

type DisclosedFields struct {
	IdNumber         bool `json:"idNumber"`
	GivenName        bool `json:"givenName"`
	FamilyName       bool `json:"familyName"`
	Address          bool `json:"address"`
	DateOfBirth      bool `json:"dateOfBirth"`
	Country          bool `json:"country"`
	IssueDate        bool `json:"issueDate"`
	ExpirationDate   bool `json:"expirationDate"`
	DocumentFront    bool `json:"documentFront"`
	DocumentBack     bool `json:"documentBack"`
	DocumentPortrait bool `json:"documentPortrait"`
	Selfie           bool `json:"selfie"`
}

DisclosedFields struct for DisclosedFields

func NewDisclosedFields

func NewDisclosedFields(idNumber bool, givenName bool, familyName bool, address bool, dateOfBirth bool, country bool, issueDate bool, expirationDate bool, documentFront bool, documentBack bool, documentPortrait bool, selfie bool) *DisclosedFields

NewDisclosedFields instantiates a new DisclosedFields 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 NewDisclosedFieldsWithDefaults

func NewDisclosedFieldsWithDefaults() *DisclosedFields

NewDisclosedFieldsWithDefaults instantiates a new DisclosedFields 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 (*DisclosedFields) GetAddress

func (o *DisclosedFields) GetAddress() bool

GetAddress returns the Address field value

func (*DisclosedFields) GetAddressOk

func (o *DisclosedFields) GetAddressOk() (*bool, bool)

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

func (*DisclosedFields) GetCountry

func (o *DisclosedFields) GetCountry() bool

GetCountry returns the Country field value

func (*DisclosedFields) GetCountryOk

func (o *DisclosedFields) GetCountryOk() (*bool, bool)

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

func (*DisclosedFields) GetDateOfBirth

func (o *DisclosedFields) GetDateOfBirth() bool

GetDateOfBirth returns the DateOfBirth field value

func (*DisclosedFields) GetDateOfBirthOk

func (o *DisclosedFields) GetDateOfBirthOk() (*bool, bool)

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

func (*DisclosedFields) GetDocumentBack

func (o *DisclosedFields) GetDocumentBack() bool

GetDocumentBack returns the DocumentBack field value

func (*DisclosedFields) GetDocumentBackOk

func (o *DisclosedFields) GetDocumentBackOk() (*bool, bool)

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

func (*DisclosedFields) GetDocumentFront

func (o *DisclosedFields) GetDocumentFront() bool

GetDocumentFront returns the DocumentFront field value

func (*DisclosedFields) GetDocumentFrontOk

func (o *DisclosedFields) GetDocumentFrontOk() (*bool, bool)

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

func (*DisclosedFields) GetDocumentPortrait

func (o *DisclosedFields) GetDocumentPortrait() bool

GetDocumentPortrait returns the DocumentPortrait field value

func (*DisclosedFields) GetDocumentPortraitOk

func (o *DisclosedFields) GetDocumentPortraitOk() (*bool, bool)

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

func (*DisclosedFields) GetExpirationDate

func (o *DisclosedFields) GetExpirationDate() bool

GetExpirationDate returns the ExpirationDate field value

func (*DisclosedFields) GetExpirationDateOk

func (o *DisclosedFields) GetExpirationDateOk() (*bool, bool)

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

func (*DisclosedFields) GetFamilyName

func (o *DisclosedFields) GetFamilyName() bool

GetFamilyName returns the FamilyName field value

func (*DisclosedFields) GetFamilyNameOk

func (o *DisclosedFields) GetFamilyNameOk() (*bool, bool)

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

func (*DisclosedFields) GetGivenName

func (o *DisclosedFields) GetGivenName() bool

GetGivenName returns the GivenName field value

func (*DisclosedFields) GetGivenNameOk

func (o *DisclosedFields) GetGivenNameOk() (*bool, bool)

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

func (*DisclosedFields) GetIdNumber

func (o *DisclosedFields) GetIdNumber() bool

GetIdNumber returns the IdNumber field value

func (*DisclosedFields) GetIdNumberOk

func (o *DisclosedFields) GetIdNumberOk() (*bool, bool)

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

func (*DisclosedFields) GetIssueDate

func (o *DisclosedFields) GetIssueDate() bool

GetIssueDate returns the IssueDate field value

func (*DisclosedFields) GetIssueDateOk

func (o *DisclosedFields) GetIssueDateOk() (*bool, bool)

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

func (*DisclosedFields) GetSelfie

func (o *DisclosedFields) GetSelfie() bool

GetSelfie returns the Selfie field value

func (*DisclosedFields) GetSelfieOk

func (o *DisclosedFields) GetSelfieOk() (*bool, bool)

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

func (DisclosedFields) MarshalJSON

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

func (*DisclosedFields) SetAddress

func (o *DisclosedFields) SetAddress(v bool)

SetAddress sets field value

func (*DisclosedFields) SetCountry

func (o *DisclosedFields) SetCountry(v bool)

SetCountry sets field value

func (*DisclosedFields) SetDateOfBirth

func (o *DisclosedFields) SetDateOfBirth(v bool)

SetDateOfBirth sets field value

func (*DisclosedFields) SetDocumentBack

func (o *DisclosedFields) SetDocumentBack(v bool)

SetDocumentBack sets field value

func (*DisclosedFields) SetDocumentFront

func (o *DisclosedFields) SetDocumentFront(v bool)

SetDocumentFront sets field value

func (*DisclosedFields) SetDocumentPortrait

func (o *DisclosedFields) SetDocumentPortrait(v bool)

SetDocumentPortrait sets field value

func (*DisclosedFields) SetExpirationDate

func (o *DisclosedFields) SetExpirationDate(v bool)

SetExpirationDate sets field value

func (*DisclosedFields) SetFamilyName

func (o *DisclosedFields) SetFamilyName(v bool)

SetFamilyName sets field value

func (*DisclosedFields) SetGivenName

func (o *DisclosedFields) SetGivenName(v bool)

SetGivenName sets field value

func (*DisclosedFields) SetIdNumber

func (o *DisclosedFields) SetIdNumber(v bool)

SetIdNumber sets field value

func (*DisclosedFields) SetIssueDate

func (o *DisclosedFields) SetIssueDate(v bool)

SetIssueDate sets field value

func (*DisclosedFields) SetSelfie

func (o *DisclosedFields) SetSelfie(v bool)

SetSelfie sets field value

func (DisclosedFields) ToMap

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

func (*DisclosedFields) UnmarshalJSON

func (o *DisclosedFields) UnmarshalJSON(data []byte) (err error)

type DisclosedFieldsRequest

type DisclosedFieldsRequest struct {
	IdNumber         *bool `json:"idNumber,omitempty"`
	GivenName        *bool `json:"givenName,omitempty"`
	FamilyName       *bool `json:"familyName,omitempty"`
	Address          *bool `json:"address,omitempty"`
	DateOfBirth      *bool `json:"dateOfBirth,omitempty"`
	Country          *bool `json:"country,omitempty"`
	IssueDate        *bool `json:"issueDate,omitempty"`
	ExpirationDate   *bool `json:"expirationDate,omitempty"`
	DocumentFront    *bool `json:"documentFront,omitempty"`
	DocumentBack     *bool `json:"documentBack,omitempty"`
	DocumentPortrait *bool `json:"documentPortrait,omitempty"`
	Selfie           *bool `json:"selfie,omitempty"`
}

DisclosedFieldsRequest struct for DisclosedFieldsRequest

func NewDisclosedFieldsRequest

func NewDisclosedFieldsRequest() *DisclosedFieldsRequest

NewDisclosedFieldsRequest instantiates a new DisclosedFieldsRequest 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 NewDisclosedFieldsRequestWithDefaults

func NewDisclosedFieldsRequestWithDefaults() *DisclosedFieldsRequest

NewDisclosedFieldsRequestWithDefaults instantiates a new DisclosedFieldsRequest 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 (*DisclosedFieldsRequest) GetAddress

func (o *DisclosedFieldsRequest) GetAddress() bool

GetAddress returns the Address field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetAddressOk

func (o *DisclosedFieldsRequest) GetAddressOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetCountry

func (o *DisclosedFieldsRequest) GetCountry() bool

GetCountry returns the Country field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetCountryOk

func (o *DisclosedFieldsRequest) GetCountryOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetDateOfBirth

func (o *DisclosedFieldsRequest) GetDateOfBirth() bool

GetDateOfBirth returns the DateOfBirth field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetDateOfBirthOk

func (o *DisclosedFieldsRequest) GetDateOfBirthOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetDocumentBack

func (o *DisclosedFieldsRequest) GetDocumentBack() bool

GetDocumentBack returns the DocumentBack field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetDocumentBackOk

func (o *DisclosedFieldsRequest) GetDocumentBackOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetDocumentFront

func (o *DisclosedFieldsRequest) GetDocumentFront() bool

GetDocumentFront returns the DocumentFront field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetDocumentFrontOk

func (o *DisclosedFieldsRequest) GetDocumentFrontOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetDocumentPortrait

func (o *DisclosedFieldsRequest) GetDocumentPortrait() bool

GetDocumentPortrait returns the DocumentPortrait field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetDocumentPortraitOk

func (o *DisclosedFieldsRequest) GetDocumentPortraitOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetExpirationDate

func (o *DisclosedFieldsRequest) GetExpirationDate() bool

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetExpirationDateOk

func (o *DisclosedFieldsRequest) GetExpirationDateOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetFamilyName

func (o *DisclosedFieldsRequest) GetFamilyName() bool

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetFamilyNameOk

func (o *DisclosedFieldsRequest) GetFamilyNameOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetGivenName

func (o *DisclosedFieldsRequest) GetGivenName() bool

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetGivenNameOk

func (o *DisclosedFieldsRequest) GetGivenNameOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetIdNumber

func (o *DisclosedFieldsRequest) GetIdNumber() bool

GetIdNumber returns the IdNumber field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetIdNumberOk

func (o *DisclosedFieldsRequest) GetIdNumberOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetIssueDate

func (o *DisclosedFieldsRequest) GetIssueDate() bool

GetIssueDate returns the IssueDate field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetIssueDateOk

func (o *DisclosedFieldsRequest) GetIssueDateOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) GetSelfie

func (o *DisclosedFieldsRequest) GetSelfie() bool

GetSelfie returns the Selfie field value if set, zero value otherwise.

func (*DisclosedFieldsRequest) GetSelfieOk

func (o *DisclosedFieldsRequest) GetSelfieOk() (*bool, bool)

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

func (*DisclosedFieldsRequest) HasAddress

func (o *DisclosedFieldsRequest) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasCountry

func (o *DisclosedFieldsRequest) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasDateOfBirth

func (o *DisclosedFieldsRequest) HasDateOfBirth() bool

HasDateOfBirth returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasDocumentBack

func (o *DisclosedFieldsRequest) HasDocumentBack() bool

HasDocumentBack returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasDocumentFront

func (o *DisclosedFieldsRequest) HasDocumentFront() bool

HasDocumentFront returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasDocumentPortrait

func (o *DisclosedFieldsRequest) HasDocumentPortrait() bool

HasDocumentPortrait returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasExpirationDate

func (o *DisclosedFieldsRequest) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasFamilyName

func (o *DisclosedFieldsRequest) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasGivenName

func (o *DisclosedFieldsRequest) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasIdNumber

func (o *DisclosedFieldsRequest) HasIdNumber() bool

HasIdNumber returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasIssueDate

func (o *DisclosedFieldsRequest) HasIssueDate() bool

HasIssueDate returns a boolean if a field has been set.

func (*DisclosedFieldsRequest) HasSelfie

func (o *DisclosedFieldsRequest) HasSelfie() bool

HasSelfie returns a boolean if a field has been set.

func (DisclosedFieldsRequest) MarshalJSON

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

func (*DisclosedFieldsRequest) SetAddress

func (o *DisclosedFieldsRequest) SetAddress(v bool)

SetAddress gets a reference to the given bool and assigns it to the Address field.

func (*DisclosedFieldsRequest) SetCountry

func (o *DisclosedFieldsRequest) SetCountry(v bool)

SetCountry gets a reference to the given bool and assigns it to the Country field.

func (*DisclosedFieldsRequest) SetDateOfBirth

func (o *DisclosedFieldsRequest) SetDateOfBirth(v bool)

SetDateOfBirth gets a reference to the given bool and assigns it to the DateOfBirth field.

func (*DisclosedFieldsRequest) SetDocumentBack

func (o *DisclosedFieldsRequest) SetDocumentBack(v bool)

SetDocumentBack gets a reference to the given bool and assigns it to the DocumentBack field.

func (*DisclosedFieldsRequest) SetDocumentFront

func (o *DisclosedFieldsRequest) SetDocumentFront(v bool)

SetDocumentFront gets a reference to the given bool and assigns it to the DocumentFront field.

func (*DisclosedFieldsRequest) SetDocumentPortrait

func (o *DisclosedFieldsRequest) SetDocumentPortrait(v bool)

SetDocumentPortrait gets a reference to the given bool and assigns it to the DocumentPortrait field.

func (*DisclosedFieldsRequest) SetExpirationDate

func (o *DisclosedFieldsRequest) SetExpirationDate(v bool)

SetExpirationDate gets a reference to the given bool and assigns it to the ExpirationDate field.

func (*DisclosedFieldsRequest) SetFamilyName

func (o *DisclosedFieldsRequest) SetFamilyName(v bool)

SetFamilyName gets a reference to the given bool and assigns it to the FamilyName field.

func (*DisclosedFieldsRequest) SetGivenName

func (o *DisclosedFieldsRequest) SetGivenName(v bool)

SetGivenName gets a reference to the given bool and assigns it to the GivenName field.

func (*DisclosedFieldsRequest) SetIdNumber

func (o *DisclosedFieldsRequest) SetIdNumber(v bool)

SetIdNumber gets a reference to the given bool and assigns it to the IdNumber field.

func (*DisclosedFieldsRequest) SetIssueDate

func (o *DisclosedFieldsRequest) SetIssueDate(v bool)

SetIssueDate gets a reference to the given bool and assigns it to the IssueDate field.

func (*DisclosedFieldsRequest) SetSelfie

func (o *DisclosedFieldsRequest) SetSelfie(v bool)

SetSelfie gets a reference to the given bool and assigns it to the Selfie field.

func (DisclosedFieldsRequest) ToMap

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

type DocumentData

type DocumentData struct {
	Type             *string `json:"type,omitempty"`
	Number           *string `json:"number,omitempty"`
	IssueDate        *string `json:"issueDate,omitempty"`
	ExpirationDate   *string `json:"expirationDate,omitempty"`
	IssuingCountry   *string `json:"issuingCountry,omitempty"`
	IssuingAuthority *string `json:"issuingAuthority,omitempty"`
}

DocumentData struct for DocumentData

func NewDocumentData

func NewDocumentData() *DocumentData

NewDocumentData instantiates a new DocumentData 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 NewDocumentDataWithDefaults

func NewDocumentDataWithDefaults() *DocumentData

NewDocumentDataWithDefaults instantiates a new DocumentData 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 (*DocumentData) GetExpirationDate

func (o *DocumentData) GetExpirationDate() string

GetExpirationDate returns the ExpirationDate field value if set, zero value otherwise.

func (*DocumentData) GetExpirationDateOk

func (o *DocumentData) GetExpirationDateOk() (*string, bool)

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

func (*DocumentData) GetIssueDate

func (o *DocumentData) GetIssueDate() string

GetIssueDate returns the IssueDate field value if set, zero value otherwise.

func (*DocumentData) GetIssueDateOk

func (o *DocumentData) GetIssueDateOk() (*string, bool)

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

func (*DocumentData) GetIssuingAuthority

func (o *DocumentData) GetIssuingAuthority() string

GetIssuingAuthority returns the IssuingAuthority field value if set, zero value otherwise.

func (*DocumentData) GetIssuingAuthorityOk

func (o *DocumentData) GetIssuingAuthorityOk() (*string, bool)

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

func (*DocumentData) GetIssuingCountry

func (o *DocumentData) GetIssuingCountry() string

GetIssuingCountry returns the IssuingCountry field value if set, zero value otherwise.

func (*DocumentData) GetIssuingCountryOk

func (o *DocumentData) GetIssuingCountryOk() (*string, bool)

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

func (*DocumentData) GetNumber

func (o *DocumentData) GetNumber() string

GetNumber returns the Number field value if set, zero value otherwise.

func (*DocumentData) GetNumberOk

func (o *DocumentData) GetNumberOk() (*string, bool)

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

func (*DocumentData) GetType

func (o *DocumentData) GetType() string

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

func (*DocumentData) GetTypeOk

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

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

func (*DocumentData) HasExpirationDate

func (o *DocumentData) HasExpirationDate() bool

HasExpirationDate returns a boolean if a field has been set.

func (*DocumentData) HasIssueDate

func (o *DocumentData) HasIssueDate() bool

HasIssueDate returns a boolean if a field has been set.

func (*DocumentData) HasIssuingAuthority

func (o *DocumentData) HasIssuingAuthority() bool

HasIssuingAuthority returns a boolean if a field has been set.

func (*DocumentData) HasIssuingCountry

func (o *DocumentData) HasIssuingCountry() bool

HasIssuingCountry returns a boolean if a field has been set.

func (*DocumentData) HasNumber

func (o *DocumentData) HasNumber() bool

HasNumber returns a boolean if a field has been set.

func (*DocumentData) HasType

func (o *DocumentData) HasType() bool

HasType returns a boolean if a field has been set.

func (DocumentData) MarshalJSON

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

func (*DocumentData) SetExpirationDate

func (o *DocumentData) SetExpirationDate(v string)

SetExpirationDate gets a reference to the given string and assigns it to the ExpirationDate field.

func (*DocumentData) SetIssueDate

func (o *DocumentData) SetIssueDate(v string)

SetIssueDate gets a reference to the given string and assigns it to the IssueDate field.

func (*DocumentData) SetIssuingAuthority

func (o *DocumentData) SetIssuingAuthority(v string)

SetIssuingAuthority gets a reference to the given string and assigns it to the IssuingAuthority field.

func (*DocumentData) SetIssuingCountry

func (o *DocumentData) SetIssuingCountry(v string)

SetIssuingCountry gets a reference to the given string and assigns it to the IssuingCountry field.

func (*DocumentData) SetNumber

func (o *DocumentData) SetNumber(v string)

SetNumber gets a reference to the given string and assigns it to the Number field.

func (*DocumentData) SetType

func (o *DocumentData) SetType(v string)

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

func (DocumentData) ToMap

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

type ExchangeAttachmentAccessKeyRequest

type ExchangeAttachmentAccessKeyRequest struct {
	// The Attachment Access Key to exchange for the raw file contents of the related Attachment
	AttachmentAccessKey string `json:"attachmentAccessKey"`
}

ExchangeAttachmentAccessKeyRequest struct for ExchangeAttachmentAccessKeyRequest

func NewExchangeAttachmentAccessKeyRequest

func NewExchangeAttachmentAccessKeyRequest(attachmentAccessKey string) *ExchangeAttachmentAccessKeyRequest

NewExchangeAttachmentAccessKeyRequest instantiates a new ExchangeAttachmentAccessKeyRequest 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 NewExchangeAttachmentAccessKeyRequestWithDefaults

func NewExchangeAttachmentAccessKeyRequestWithDefaults() *ExchangeAttachmentAccessKeyRequest

NewExchangeAttachmentAccessKeyRequestWithDefaults instantiates a new ExchangeAttachmentAccessKeyRequest 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 (*ExchangeAttachmentAccessKeyRequest) GetAttachmentAccessKey

func (o *ExchangeAttachmentAccessKeyRequest) GetAttachmentAccessKey() string

GetAttachmentAccessKey returns the AttachmentAccessKey field value

func (*ExchangeAttachmentAccessKeyRequest) GetAttachmentAccessKeyOk

func (o *ExchangeAttachmentAccessKeyRequest) GetAttachmentAccessKeyOk() (*string, bool)

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

func (ExchangeAttachmentAccessKeyRequest) MarshalJSON

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

func (*ExchangeAttachmentAccessKeyRequest) SetAttachmentAccessKey

func (o *ExchangeAttachmentAccessKeyRequest) SetAttachmentAccessKey(v string)

SetAttachmentAccessKey sets field value

func (ExchangeAttachmentAccessKeyRequest) ToMap

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

func (*ExchangeAttachmentAccessKeyRequest) UnmarshalJSON

func (o *ExchangeAttachmentAccessKeyRequest) UnmarshalJSON(data []byte) (err error)

type ExchangeResultsKeyRequest

type ExchangeResultsKeyRequest struct {
	// The Results Access Key to exchange
	ResultsAccessKey string `json:"resultsAccessKey"`
}

ExchangeResultsKeyRequest struct for ExchangeResultsKeyRequest

func NewExchangeResultsKeyRequest

func NewExchangeResultsKeyRequest(resultsAccessKey string) *ExchangeResultsKeyRequest

NewExchangeResultsKeyRequest instantiates a new ExchangeResultsKeyRequest 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 NewExchangeResultsKeyRequestWithDefaults

func NewExchangeResultsKeyRequestWithDefaults() *ExchangeResultsKeyRequest

NewExchangeResultsKeyRequestWithDefaults instantiates a new ExchangeResultsKeyRequest 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 (*ExchangeResultsKeyRequest) GetResultsAccessKey

func (o *ExchangeResultsKeyRequest) GetResultsAccessKey() string

GetResultsAccessKey returns the ResultsAccessKey field value

func (*ExchangeResultsKeyRequest) GetResultsAccessKeyOk

func (o *ExchangeResultsKeyRequest) GetResultsAccessKeyOk() (*string, bool)

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

func (ExchangeResultsKeyRequest) MarshalJSON

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

func (*ExchangeResultsKeyRequest) SetResultsAccessKey

func (o *ExchangeResultsKeyRequest) SetResultsAccessKey(v string)

SetResultsAccessKey sets field value

func (ExchangeResultsKeyRequest) ToMap

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

func (*ExchangeResultsKeyRequest) UnmarshalJSON

func (o *ExchangeResultsKeyRequest) UnmarshalJSON(data []byte) (err error)

type ExchangeResultsKeyResponse

type ExchangeResultsKeyResponse struct {
	Session      Session       `json:"session"`
	IdentityData *IdentityData `json:"identityData,omitempty"`
}

ExchangeResultsKeyResponse struct for ExchangeResultsKeyResponse

func NewExchangeResultsKeyResponse

func NewExchangeResultsKeyResponse(session Session) *ExchangeResultsKeyResponse

NewExchangeResultsKeyResponse instantiates a new ExchangeResultsKeyResponse 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 NewExchangeResultsKeyResponseWithDefaults

func NewExchangeResultsKeyResponseWithDefaults() *ExchangeResultsKeyResponse

NewExchangeResultsKeyResponseWithDefaults instantiates a new ExchangeResultsKeyResponse 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 (*ExchangeResultsKeyResponse) GetIdentityData

func (o *ExchangeResultsKeyResponse) GetIdentityData() IdentityData

GetIdentityData returns the IdentityData field value if set, zero value otherwise.

func (*ExchangeResultsKeyResponse) GetIdentityDataOk

func (o *ExchangeResultsKeyResponse) GetIdentityDataOk() (*IdentityData, bool)

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

func (*ExchangeResultsKeyResponse) GetSession

func (o *ExchangeResultsKeyResponse) GetSession() Session

GetSession returns the Session field value

func (*ExchangeResultsKeyResponse) GetSessionOk

func (o *ExchangeResultsKeyResponse) GetSessionOk() (*Session, bool)

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

func (*ExchangeResultsKeyResponse) HasIdentityData

func (o *ExchangeResultsKeyResponse) HasIdentityData() bool

HasIdentityData returns a boolean if a field has been set.

func (ExchangeResultsKeyResponse) MarshalJSON

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

func (*ExchangeResultsKeyResponse) SetIdentityData

func (o *ExchangeResultsKeyResponse) SetIdentityData(v IdentityData)

SetIdentityData gets a reference to the given IdentityData and assigns it to the IdentityData field.

func (*ExchangeResultsKeyResponse) SetSession

func (o *ExchangeResultsKeyResponse) SetSession(v Session)

SetSession sets field value

func (ExchangeResultsKeyResponse) ToMap

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

func (*ExchangeResultsKeyResponse) UnmarshalJSON

func (o *ExchangeResultsKeyResponse) UnmarshalJSON(data []byte) (err error)

type FailureMessage

type FailureMessage struct {
	Message string `json:"message"`
}

FailureMessage struct for FailureMessage

func NewFailureMessage

func NewFailureMessage(message string) *FailureMessage

NewFailureMessage instantiates a new FailureMessage 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 NewFailureMessageWithDefaults

func NewFailureMessageWithDefaults() *FailureMessage

NewFailureMessageWithDefaults instantiates a new FailureMessage 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 (*FailureMessage) GetMessage

func (o *FailureMessage) GetMessage() string

GetMessage returns the Message field value

func (*FailureMessage) GetMessageOk

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

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

func (FailureMessage) MarshalJSON

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

func (*FailureMessage) SetMessage

func (o *FailureMessage) SetMessage(v string)

SetMessage sets field value

func (FailureMessage) ToMap

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

func (*FailureMessage) UnmarshalJSON

func (o *FailureMessage) UnmarshalJSON(data []byte) (err 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 GetSessionResponse

type GetSessionResponse struct {
	Session Session `json:"session"`
}

GetSessionResponse struct for GetSessionResponse

func NewGetSessionResponse

func NewGetSessionResponse(session Session) *GetSessionResponse

NewGetSessionResponse instantiates a new GetSessionResponse 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 NewGetSessionResponseWithDefaults

func NewGetSessionResponseWithDefaults() *GetSessionResponse

NewGetSessionResponseWithDefaults instantiates a new GetSessionResponse 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 (*GetSessionResponse) GetSession

func (o *GetSessionResponse) GetSession() Session

GetSession returns the Session field value

func (*GetSessionResponse) GetSessionOk

func (o *GetSessionResponse) GetSessionOk() (*Session, bool)

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

func (GetSessionResponse) MarshalJSON

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

func (*GetSessionResponse) SetSession

func (o *GetSessionResponse) SetSession(v Session)

SetSession sets field value

func (GetSessionResponse) ToMap

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

func (*GetSessionResponse) UnmarshalJSON

func (o *GetSessionResponse) UnmarshalJSON(data []byte) (err error)

type IdentityData

type IdentityData struct {
	// The ID of the integration from which this data originated (eg \"yoti\", \"clear\")
	OriginatingProviderId *string `json:"originatingProviderId,omitempty"`
	// Identity data of the individual who was verified
	Person *PersonData `json:"person,omitempty"`
	// Identity data of the document involved in verification, if relevant
	Document *DocumentData `json:"document,omitempty"`
	// Access keys for attachments (eg document/selfie images)
	Attachments *Attachments `json:"attachments,omitempty"`
}

IdentityData struct for IdentityData

func NewIdentityData

func NewIdentityData() *IdentityData

NewIdentityData instantiates a new IdentityData 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 NewIdentityDataWithDefaults

func NewIdentityDataWithDefaults() *IdentityData

NewIdentityDataWithDefaults instantiates a new IdentityData 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 (*IdentityData) GetAttachments

func (o *IdentityData) GetAttachments() Attachments

GetAttachments returns the Attachments field value if set, zero value otherwise.

func (*IdentityData) GetAttachmentsOk

func (o *IdentityData) GetAttachmentsOk() (*Attachments, bool)

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

func (*IdentityData) GetDocument

func (o *IdentityData) GetDocument() DocumentData

GetDocument returns the Document field value if set, zero value otherwise.

func (*IdentityData) GetDocumentOk

func (o *IdentityData) GetDocumentOk() (*DocumentData, bool)

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

func (*IdentityData) GetOriginatingProviderId

func (o *IdentityData) GetOriginatingProviderId() string

GetOriginatingProviderId returns the OriginatingProviderId field value if set, zero value otherwise.

func (*IdentityData) GetOriginatingProviderIdOk

func (o *IdentityData) GetOriginatingProviderIdOk() (*string, bool)

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

func (*IdentityData) GetPerson

func (o *IdentityData) GetPerson() PersonData

GetPerson returns the Person field value if set, zero value otherwise.

func (*IdentityData) GetPersonOk

func (o *IdentityData) GetPersonOk() (*PersonData, bool)

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

func (*IdentityData) HasAttachments

func (o *IdentityData) HasAttachments() bool

HasAttachments returns a boolean if a field has been set.

func (*IdentityData) HasDocument

func (o *IdentityData) HasDocument() bool

HasDocument returns a boolean if a field has been set.

func (*IdentityData) HasOriginatingProviderId

func (o *IdentityData) HasOriginatingProviderId() bool

HasOriginatingProviderId returns a boolean if a field has been set.

func (*IdentityData) HasPerson

func (o *IdentityData) HasPerson() bool

HasPerson returns a boolean if a field has been set.

func (IdentityData) MarshalJSON

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

func (*IdentityData) SetAttachments

func (o *IdentityData) SetAttachments(v Attachments)

SetAttachments gets a reference to the given Attachments and assigns it to the Attachments field.

func (*IdentityData) SetDocument

func (o *IdentityData) SetDocument(v DocumentData)

SetDocument gets a reference to the given DocumentData and assigns it to the Document field.

func (*IdentityData) SetOriginatingProviderId

func (o *IdentityData) SetOriginatingProviderId(v string)

SetOriginatingProviderId gets a reference to the given string and assigns it to the OriginatingProviderId field.

func (*IdentityData) SetPerson

func (o *IdentityData) SetPerson(v PersonData)

SetPerson gets a reference to the given PersonData and assigns it to the Person field.

func (IdentityData) ToMap

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

type IdentityLookupResponse

type IdentityLookupResponse struct {
	// Whether the given phone number is known to have an identity in the network.
	IdentityInNetwork bool `json:"identityInNetwork"`
}

IdentityLookupResponse struct for IdentityLookupResponse

func NewIdentityLookupResponse

func NewIdentityLookupResponse(identityInNetwork bool) *IdentityLookupResponse

NewIdentityLookupResponse instantiates a new IdentityLookupResponse 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 NewIdentityLookupResponseWithDefaults

func NewIdentityLookupResponseWithDefaults() *IdentityLookupResponse

NewIdentityLookupResponseWithDefaults instantiates a new IdentityLookupResponse 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 (*IdentityLookupResponse) GetIdentityInNetwork

func (o *IdentityLookupResponse) GetIdentityInNetwork() bool

GetIdentityInNetwork returns the IdentityInNetwork field value

func (*IdentityLookupResponse) GetIdentityInNetworkOk

func (o *IdentityLookupResponse) GetIdentityInNetworkOk() (*bool, bool)

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

func (IdentityLookupResponse) MarshalJSON

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

func (*IdentityLookupResponse) SetIdentityInNetwork

func (o *IdentityLookupResponse) SetIdentityInNetwork(v bool)

SetIdentityInNetwork sets field value

func (IdentityLookupResponse) ToMap

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

func (*IdentityLookupResponse) UnmarshalJSON

func (o *IdentityLookupResponse) UnmarshalJSON(data []byte) (err error)

type ListProvidersResponse

type ListProvidersResponse struct {
	// The list of identity providers available to your account
	Providers []ProviderInfo `json:"providers"`
}

ListProvidersResponse struct for ListProvidersResponse

func NewListProvidersResponse

func NewListProvidersResponse(providers []ProviderInfo) *ListProvidersResponse

NewListProvidersResponse instantiates a new ListProvidersResponse 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 NewListProvidersResponseWithDefaults

func NewListProvidersResponseWithDefaults() *ListProvidersResponse

NewListProvidersResponseWithDefaults instantiates a new ListProvidersResponse 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 (*ListProvidersResponse) GetProviders

func (o *ListProvidersResponse) GetProviders() []ProviderInfo

GetProviders returns the Providers field value

func (*ListProvidersResponse) GetProvidersOk

func (o *ListProvidersResponse) GetProvidersOk() ([]ProviderInfo, bool)

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

func (ListProvidersResponse) MarshalJSON

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

func (*ListProvidersResponse) SetProviders

func (o *ListProvidersResponse) SetProviders(v []ProviderInfo)

SetProviders sets field value

func (ListProvidersResponse) ToMap

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

func (*ListProvidersResponse) UnmarshalJSON

func (o *ListProvidersResponse) UnmarshalJSON(data []byte) (err error)

type ListSessionsResponse

type ListSessionsResponse struct {
	Sessions []Session `json:"sessions"`
	// The total number of sessions tied to your account
	Total int32 `json:"total"`
	// Whether there are additional pages of sessions to retrieve
	More bool `json:"more"`
}

ListSessionsResponse struct for ListSessionsResponse

func NewListSessionsResponse

func NewListSessionsResponse(sessions []Session, total int32, more bool) *ListSessionsResponse

NewListSessionsResponse instantiates a new ListSessionsResponse 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 NewListSessionsResponseWithDefaults

func NewListSessionsResponseWithDefaults() *ListSessionsResponse

NewListSessionsResponseWithDefaults instantiates a new ListSessionsResponse 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 (*ListSessionsResponse) GetMore

func (o *ListSessionsResponse) GetMore() bool

GetMore returns the More field value

func (*ListSessionsResponse) GetMoreOk

func (o *ListSessionsResponse) GetMoreOk() (*bool, bool)

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

func (*ListSessionsResponse) GetSessions

func (o *ListSessionsResponse) GetSessions() []Session

GetSessions returns the Sessions field value

func (*ListSessionsResponse) GetSessionsOk

func (o *ListSessionsResponse) GetSessionsOk() ([]Session, bool)

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

func (*ListSessionsResponse) GetTotal

func (o *ListSessionsResponse) GetTotal() int32

GetTotal returns the Total field value

func (*ListSessionsResponse) GetTotalOk

func (o *ListSessionsResponse) GetTotalOk() (*int32, bool)

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

func (ListSessionsResponse) MarshalJSON

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

func (*ListSessionsResponse) SetMore

func (o *ListSessionsResponse) SetMore(v bool)

SetMore sets field value

func (*ListSessionsResponse) SetSessions

func (o *ListSessionsResponse) SetSessions(v []Session)

SetSessions sets field value

func (*ListSessionsResponse) SetTotal

func (o *ListSessionsResponse) SetTotal(v int32)

SetTotal sets field value

func (ListSessionsResponse) ToMap

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

func (*ListSessionsResponse) UnmarshalJSON

func (o *ListSessionsResponse) UnmarshalJSON(data []byte) (err error)

type MappedNullable

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

type NetworkAPIService

type NetworkAPIService service

NetworkAPIService NetworkAPI service

func (*NetworkAPIService) IdentityLookup

func (a *NetworkAPIService) IdentityLookup(ctx context.Context, phoneNumber string) ApiIdentityLookupRequest

IdentityLookup Query the availability of an identity in the Trinsic Network by phone number

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

func (*NetworkAPIService) IdentityLookupExecute

Execute executes the request

@return IdentityLookupResponse

func (*NetworkAPIService) ListProviders

ListProviders List all identity providers available for use

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

func (*NetworkAPIService) ListProvidersExecute

Execute executes the request

@return ListProvidersResponse

type NullableAddress

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

func NewNullableAddress

func NewNullableAddress(val *Address) *NullableAddress

func (NullableAddress) Get

func (v NullableAddress) Get() *Address

func (NullableAddress) IsSet

func (v NullableAddress) IsSet() bool

func (NullableAddress) MarshalJSON

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

func (*NullableAddress) Set

func (v *NullableAddress) Set(val *Address)

func (*NullableAddress) UnmarshalJSON

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

func (*NullableAddress) Unset

func (v *NullableAddress) Unset()

type NullableAttachments

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

func NewNullableAttachments

func NewNullableAttachments(val *Attachments) *NullableAttachments

func (NullableAttachments) Get

func (NullableAttachments) IsSet

func (v NullableAttachments) IsSet() bool

func (NullableAttachments) MarshalJSON

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

func (*NullableAttachments) Set

func (v *NullableAttachments) Set(val *Attachments)

func (*NullableAttachments) UnmarshalJSON

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

func (*NullableAttachments) Unset

func (v *NullableAttachments) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

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

func (*NullableBool) Set

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

func (*NullableBool) UnmarshalJSON

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

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableCancelSessionResponse

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

func (NullableCancelSessionResponse) Get

func (NullableCancelSessionResponse) IsSet

func (NullableCancelSessionResponse) MarshalJSON

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

func (*NullableCancelSessionResponse) Set

func (*NullableCancelSessionResponse) UnmarshalJSON

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

func (*NullableCancelSessionResponse) Unset

func (v *NullableCancelSessionResponse) Unset()

type NullableCreateSessionRequest

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

func NewNullableCreateSessionRequest

func NewNullableCreateSessionRequest(val *CreateSessionRequest) *NullableCreateSessionRequest

func (NullableCreateSessionRequest) Get

func (NullableCreateSessionRequest) IsSet

func (NullableCreateSessionRequest) MarshalJSON

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

func (*NullableCreateSessionRequest) Set

func (*NullableCreateSessionRequest) UnmarshalJSON

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

func (*NullableCreateSessionRequest) Unset

func (v *NullableCreateSessionRequest) Unset()

type NullableCreateSessionResponse

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

func (NullableCreateSessionResponse) Get

func (NullableCreateSessionResponse) IsSet

func (NullableCreateSessionResponse) MarshalJSON

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

func (*NullableCreateSessionResponse) Set

func (*NullableCreateSessionResponse) UnmarshalJSON

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

func (*NullableCreateSessionResponse) Unset

func (v *NullableCreateSessionResponse) Unset()

type NullableDisclosedFields

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

func NewNullableDisclosedFields

func NewNullableDisclosedFields(val *DisclosedFields) *NullableDisclosedFields

func (NullableDisclosedFields) Get

func (NullableDisclosedFields) IsSet

func (v NullableDisclosedFields) IsSet() bool

func (NullableDisclosedFields) MarshalJSON

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

func (*NullableDisclosedFields) Set

func (*NullableDisclosedFields) UnmarshalJSON

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

func (*NullableDisclosedFields) Unset

func (v *NullableDisclosedFields) Unset()

type NullableDisclosedFieldsRequest

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

func (NullableDisclosedFieldsRequest) Get

func (NullableDisclosedFieldsRequest) IsSet

func (NullableDisclosedFieldsRequest) MarshalJSON

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

func (*NullableDisclosedFieldsRequest) Set

func (*NullableDisclosedFieldsRequest) UnmarshalJSON

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

func (*NullableDisclosedFieldsRequest) Unset

func (v *NullableDisclosedFieldsRequest) Unset()

type NullableDocumentData

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

func NewNullableDocumentData

func NewNullableDocumentData(val *DocumentData) *NullableDocumentData

func (NullableDocumentData) Get

func (NullableDocumentData) IsSet

func (v NullableDocumentData) IsSet() bool

func (NullableDocumentData) MarshalJSON

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

func (*NullableDocumentData) Set

func (v *NullableDocumentData) Set(val *DocumentData)

func (*NullableDocumentData) UnmarshalJSON

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

func (*NullableDocumentData) Unset

func (v *NullableDocumentData) Unset()

type NullableExchangeAttachmentAccessKeyRequest

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

func (NullableExchangeAttachmentAccessKeyRequest) Get

func (NullableExchangeAttachmentAccessKeyRequest) IsSet

func (NullableExchangeAttachmentAccessKeyRequest) MarshalJSON

func (*NullableExchangeAttachmentAccessKeyRequest) Set

func (*NullableExchangeAttachmentAccessKeyRequest) UnmarshalJSON

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

func (*NullableExchangeAttachmentAccessKeyRequest) Unset

type NullableExchangeResultsKeyRequest

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

func (NullableExchangeResultsKeyRequest) Get

func (NullableExchangeResultsKeyRequest) IsSet

func (NullableExchangeResultsKeyRequest) MarshalJSON

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

func (*NullableExchangeResultsKeyRequest) Set

func (*NullableExchangeResultsKeyRequest) UnmarshalJSON

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

func (*NullableExchangeResultsKeyRequest) Unset

type NullableExchangeResultsKeyResponse

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

func (NullableExchangeResultsKeyResponse) Get

func (NullableExchangeResultsKeyResponse) IsSet

func (NullableExchangeResultsKeyResponse) MarshalJSON

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

func (*NullableExchangeResultsKeyResponse) Set

func (*NullableExchangeResultsKeyResponse) UnmarshalJSON

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

func (*NullableExchangeResultsKeyResponse) Unset

type NullableFailureMessage

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

func NewNullableFailureMessage

func NewNullableFailureMessage(val *FailureMessage) *NullableFailureMessage

func (NullableFailureMessage) Get

func (NullableFailureMessage) IsSet

func (v NullableFailureMessage) IsSet() bool

func (NullableFailureMessage) MarshalJSON

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

func (*NullableFailureMessage) Set

func (*NullableFailureMessage) UnmarshalJSON

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

func (*NullableFailureMessage) Unset

func (v *NullableFailureMessage) 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 NullableGetSessionResponse

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

func NewNullableGetSessionResponse

func NewNullableGetSessionResponse(val *GetSessionResponse) *NullableGetSessionResponse

func (NullableGetSessionResponse) Get

func (NullableGetSessionResponse) IsSet

func (v NullableGetSessionResponse) IsSet() bool

func (NullableGetSessionResponse) MarshalJSON

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

func (*NullableGetSessionResponse) Set

func (*NullableGetSessionResponse) UnmarshalJSON

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

func (*NullableGetSessionResponse) Unset

func (v *NullableGetSessionResponse) Unset()

type NullableIdentityData

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

func NewNullableIdentityData

func NewNullableIdentityData(val *IdentityData) *NullableIdentityData

func (NullableIdentityData) Get

func (NullableIdentityData) IsSet

func (v NullableIdentityData) IsSet() bool

func (NullableIdentityData) MarshalJSON

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

func (*NullableIdentityData) Set

func (v *NullableIdentityData) Set(val *IdentityData)

func (*NullableIdentityData) UnmarshalJSON

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

func (*NullableIdentityData) Unset

func (v *NullableIdentityData) Unset()

type NullableIdentityLookupResponse

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

func (NullableIdentityLookupResponse) Get

func (NullableIdentityLookupResponse) IsSet

func (NullableIdentityLookupResponse) MarshalJSON

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

func (*NullableIdentityLookupResponse) Set

func (*NullableIdentityLookupResponse) UnmarshalJSON

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

func (*NullableIdentityLookupResponse) Unset

func (v *NullableIdentityLookupResponse) 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 NullableListProvidersResponse

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

func (NullableListProvidersResponse) Get

func (NullableListProvidersResponse) IsSet

func (NullableListProvidersResponse) MarshalJSON

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

func (*NullableListProvidersResponse) Set

func (*NullableListProvidersResponse) UnmarshalJSON

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

func (*NullableListProvidersResponse) Unset

func (v *NullableListProvidersResponse) Unset()

type NullableListSessionsResponse

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

func NewNullableListSessionsResponse

func NewNullableListSessionsResponse(val *ListSessionsResponse) *NullableListSessionsResponse

func (NullableListSessionsResponse) Get

func (NullableListSessionsResponse) IsSet

func (NullableListSessionsResponse) MarshalJSON

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

func (*NullableListSessionsResponse) Set

func (*NullableListSessionsResponse) UnmarshalJSON

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

func (*NullableListSessionsResponse) Unset

func (v *NullableListSessionsResponse) Unset()

type NullableOrderDirection

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

func NewNullableOrderDirection

func NewNullableOrderDirection(val *OrderDirection) *NullableOrderDirection

func (NullableOrderDirection) Get

func (NullableOrderDirection) IsSet

func (v NullableOrderDirection) IsSet() bool

func (NullableOrderDirection) MarshalJSON

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

func (*NullableOrderDirection) Set

func (*NullableOrderDirection) UnmarshalJSON

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

func (*NullableOrderDirection) Unset

func (v *NullableOrderDirection) Unset()

type NullablePersonData

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

func NewNullablePersonData

func NewNullablePersonData(val *PersonData) *NullablePersonData

func (NullablePersonData) Get

func (v NullablePersonData) Get() *PersonData

func (NullablePersonData) IsSet

func (v NullablePersonData) IsSet() bool

func (NullablePersonData) MarshalJSON

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

func (*NullablePersonData) Set

func (v *NullablePersonData) Set(val *PersonData)

func (*NullablePersonData) UnmarshalJSON

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

func (*NullablePersonData) Unset

func (v *NullablePersonData) Unset()

type NullableProviderInfo

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

func NewNullableProviderInfo

func NewNullableProviderInfo(val *ProviderInfo) *NullableProviderInfo

func (NullableProviderInfo) Get

func (NullableProviderInfo) IsSet

func (v NullableProviderInfo) IsSet() bool

func (NullableProviderInfo) MarshalJSON

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

func (*NullableProviderInfo) Set

func (v *NullableProviderInfo) Set(val *ProviderInfo)

func (*NullableProviderInfo) UnmarshalJSON

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

func (*NullableProviderInfo) Unset

func (v *NullableProviderInfo) Unset()

type NullableSession

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

func NewNullableSession

func NewNullableSession(val *Session) *NullableSession

func (NullableSession) Get

func (v NullableSession) Get() *Session

func (NullableSession) IsSet

func (v NullableSession) IsSet() bool

func (NullableSession) MarshalJSON

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

func (*NullableSession) Set

func (v *NullableSession) Set(val *Session)

func (*NullableSession) UnmarshalJSON

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

func (*NullableSession) Unset

func (v *NullableSession) Unset()

type NullableSessionFailCode

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

func NewNullableSessionFailCode

func NewNullableSessionFailCode(val *SessionFailCode) *NullableSessionFailCode

func (NullableSessionFailCode) Get

func (NullableSessionFailCode) IsSet

func (v NullableSessionFailCode) IsSet() bool

func (NullableSessionFailCode) MarshalJSON

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

func (*NullableSessionFailCode) Set

func (*NullableSessionFailCode) UnmarshalJSON

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

func (*NullableSessionFailCode) Unset

func (v *NullableSessionFailCode) Unset()

type NullableSessionOrdering

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

func NewNullableSessionOrdering

func NewNullableSessionOrdering(val *SessionOrdering) *NullableSessionOrdering

func (NullableSessionOrdering) Get

func (NullableSessionOrdering) IsSet

func (v NullableSessionOrdering) IsSet() bool

func (NullableSessionOrdering) MarshalJSON

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

func (*NullableSessionOrdering) Set

func (*NullableSessionOrdering) UnmarshalJSON

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

func (*NullableSessionOrdering) Unset

func (v *NullableSessionOrdering) Unset()

type NullableSessionState

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

func NewNullableSessionState

func NewNullableSessionState(val *SessionState) *NullableSessionState

func (NullableSessionState) Get

func (NullableSessionState) IsSet

func (v NullableSessionState) IsSet() bool

func (NullableSessionState) MarshalJSON

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

func (*NullableSessionState) Set

func (v *NullableSessionState) Set(val *SessionState)

func (*NullableSessionState) UnmarshalJSON

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

func (*NullableSessionState) Unset

func (v *NullableSessionState) 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 NullableValidationResult

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

func NewNullableValidationResult

func NewNullableValidationResult(val *ValidationResult) *NullableValidationResult

func (NullableValidationResult) Get

func (NullableValidationResult) IsSet

func (v NullableValidationResult) IsSet() bool

func (NullableValidationResult) MarshalJSON

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

func (*NullableValidationResult) Set

func (*NullableValidationResult) UnmarshalJSON

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

func (*NullableValidationResult) Unset

func (v *NullableValidationResult) Unset()

type NullableVerification

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

func NewNullableVerification

func NewNullableVerification(val *Verification) *NullableVerification

func (NullableVerification) Get

func (NullableVerification) IsSet

func (v NullableVerification) IsSet() bool

func (NullableVerification) MarshalJSON

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

func (*NullableVerification) Set

func (v *NullableVerification) Set(val *Verification)

func (*NullableVerification) UnmarshalJSON

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

func (*NullableVerification) Unset

func (v *NullableVerification) Unset()

type NullableVerificationFailCode

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

func NewNullableVerificationFailCode

func NewNullableVerificationFailCode(val *VerificationFailCode) *NullableVerificationFailCode

func (NullableVerificationFailCode) Get

func (NullableVerificationFailCode) IsSet

func (NullableVerificationFailCode) MarshalJSON

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

func (*NullableVerificationFailCode) Set

func (*NullableVerificationFailCode) UnmarshalJSON

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

func (*NullableVerificationFailCode) Unset

func (v *NullableVerificationFailCode) Unset()

type OrderDirection

type OrderDirection string

OrderDirection the model 'OrderDirection'

const (
	ASCENDING  OrderDirection = "Ascending"
	DESCENDING OrderDirection = "Descending"
)

List of OrderDirection

func NewOrderDirectionFromValue

func NewOrderDirectionFromValue(v string) (*OrderDirection, error)

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

func (OrderDirection) IsValid

func (v OrderDirection) IsValid() bool

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

func (OrderDirection) Ptr

func (v OrderDirection) Ptr() *OrderDirection

Ptr returns reference to OrderDirection value

func (*OrderDirection) UnmarshalJSON

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

type PersonData

type PersonData struct {
	// Given (first) name of the individual
	GivenName *string `json:"givenName,omitempty"`
	// Family (last) name of the individual
	FamilyName *string `json:"familyName,omitempty"`
	// Middle name of the individual
	MiddleName *string `json:"middleName,omitempty"`
	// The individual's full name as a single string.                Useful for names which do not fit into a \"first middle last\" structure.
	FullName    *string `json:"fullName,omitempty"`
	Nationality *string `json:"nationality,omitempty"`
	Gender      *string `json:"gender,omitempty"`
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	// Address information for an individual
	Address     *Address `json:"address,omitempty"`
	DateOfBirth *string  `json:"dateOfBirth,omitempty"`
}

PersonData Identity information for the individual being verified

func NewPersonData

func NewPersonData() *PersonData

NewPersonData instantiates a new PersonData 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 NewPersonDataWithDefaults

func NewPersonDataWithDefaults() *PersonData

NewPersonDataWithDefaults instantiates a new PersonData 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 (*PersonData) GetAddress

func (o *PersonData) GetAddress() Address

GetAddress returns the Address field value if set, zero value otherwise.

func (*PersonData) GetAddressOk

func (o *PersonData) GetAddressOk() (*Address, bool)

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

func (*PersonData) GetDateOfBirth

func (o *PersonData) GetDateOfBirth() string

GetDateOfBirth returns the DateOfBirth field value if set, zero value otherwise.

func (*PersonData) GetDateOfBirthOk

func (o *PersonData) GetDateOfBirthOk() (*string, bool)

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

func (*PersonData) GetFamilyName

func (o *PersonData) GetFamilyName() string

GetFamilyName returns the FamilyName field value if set, zero value otherwise.

func (*PersonData) GetFamilyNameOk

func (o *PersonData) GetFamilyNameOk() (*string, bool)

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

func (*PersonData) GetFullName

func (o *PersonData) GetFullName() string

GetFullName returns the FullName field value if set, zero value otherwise.

func (*PersonData) GetFullNameOk

func (o *PersonData) GetFullNameOk() (*string, bool)

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

func (*PersonData) GetGender

func (o *PersonData) GetGender() string

GetGender returns the Gender field value if set, zero value otherwise.

func (*PersonData) GetGenderOk

func (o *PersonData) GetGenderOk() (*string, bool)

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

func (*PersonData) GetGivenName

func (o *PersonData) GetGivenName() string

GetGivenName returns the GivenName field value if set, zero value otherwise.

func (*PersonData) GetGivenNameOk

func (o *PersonData) GetGivenNameOk() (*string, bool)

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

func (*PersonData) GetMiddleName

func (o *PersonData) GetMiddleName() string

GetMiddleName returns the MiddleName field value if set, zero value otherwise.

func (*PersonData) GetMiddleNameOk

func (o *PersonData) GetMiddleNameOk() (*string, bool)

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

func (*PersonData) GetNationality

func (o *PersonData) GetNationality() string

GetNationality returns the Nationality field value if set, zero value otherwise.

func (*PersonData) GetNationalityOk

func (o *PersonData) GetNationalityOk() (*string, bool)

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

func (*PersonData) GetPhoneNumber

func (o *PersonData) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value if set, zero value otherwise.

func (*PersonData) GetPhoneNumberOk

func (o *PersonData) GetPhoneNumberOk() (*string, bool)

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

func (*PersonData) HasAddress

func (o *PersonData) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*PersonData) HasDateOfBirth

func (o *PersonData) HasDateOfBirth() bool

HasDateOfBirth returns a boolean if a field has been set.

func (*PersonData) HasFamilyName

func (o *PersonData) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*PersonData) HasFullName

func (o *PersonData) HasFullName() bool

HasFullName returns a boolean if a field has been set.

func (*PersonData) HasGender

func (o *PersonData) HasGender() bool

HasGender returns a boolean if a field has been set.

func (*PersonData) HasGivenName

func (o *PersonData) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*PersonData) HasMiddleName

func (o *PersonData) HasMiddleName() bool

HasMiddleName returns a boolean if a field has been set.

func (*PersonData) HasNationality

func (o *PersonData) HasNationality() bool

HasNationality returns a boolean if a field has been set.

func (*PersonData) HasPhoneNumber

func (o *PersonData) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (PersonData) MarshalJSON

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

func (*PersonData) SetAddress

func (o *PersonData) SetAddress(v Address)

SetAddress gets a reference to the given Address and assigns it to the Address field.

func (*PersonData) SetDateOfBirth

func (o *PersonData) SetDateOfBirth(v string)

SetDateOfBirth gets a reference to the given string and assigns it to the DateOfBirth field.

func (*PersonData) SetFamilyName

func (o *PersonData) SetFamilyName(v string)

SetFamilyName gets a reference to the given string and assigns it to the FamilyName field.

func (*PersonData) SetFullName

func (o *PersonData) SetFullName(v string)

SetFullName gets a reference to the given string and assigns it to the FullName field.

func (*PersonData) SetGender

func (o *PersonData) SetGender(v string)

SetGender gets a reference to the given string and assigns it to the Gender field.

func (*PersonData) SetGivenName

func (o *PersonData) SetGivenName(v string)

SetGivenName gets a reference to the given string and assigns it to the GivenName field.

func (*PersonData) SetMiddleName

func (o *PersonData) SetMiddleName(v string)

SetMiddleName gets a reference to the given string and assigns it to the MiddleName field.

func (*PersonData) SetNationality

func (o *PersonData) SetNationality(v string)

SetNationality gets a reference to the given string and assigns it to the Nationality field.

func (*PersonData) SetPhoneNumber

func (o *PersonData) SetPhoneNumber(v string)

SetPhoneNumber gets a reference to the given string and assigns it to the PhoneNumber field.

func (PersonData) ToMap

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

type ProviderInfo

type ProviderInfo struct {
	// The ID of the provider
	Id string `json:"id"`
	// The friendly, human-readable name of the provider
	Name string `json:"name"`
	// A URL pointing to the provider's logo
	LogoUrl string `json:"logoUrl"`
}

ProviderInfo A provider that can be specified when creating a `Session`

func NewProviderInfo

func NewProviderInfo(id string, name string, logoUrl string) *ProviderInfo

NewProviderInfo instantiates a new ProviderInfo 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 NewProviderInfoWithDefaults

func NewProviderInfoWithDefaults() *ProviderInfo

NewProviderInfoWithDefaults instantiates a new ProviderInfo 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 (*ProviderInfo) GetId

func (o *ProviderInfo) GetId() string

GetId returns the Id field value

func (*ProviderInfo) GetIdOk

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

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

func (*ProviderInfo) GetLogoUrl

func (o *ProviderInfo) GetLogoUrl() string

GetLogoUrl returns the LogoUrl field value

func (*ProviderInfo) GetLogoUrlOk

func (o *ProviderInfo) GetLogoUrlOk() (*string, bool)

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

func (*ProviderInfo) GetName

func (o *ProviderInfo) GetName() string

GetName returns the Name field value

func (*ProviderInfo) GetNameOk

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

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

func (ProviderInfo) MarshalJSON

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

func (*ProviderInfo) SetId

func (o *ProviderInfo) SetId(v string)

SetId sets field value

func (*ProviderInfo) SetLogoUrl

func (o *ProviderInfo) SetLogoUrl(v string)

SetLogoUrl sets field value

func (*ProviderInfo) SetName

func (o *ProviderInfo) SetName(v string)

SetName sets field value

func (ProviderInfo) ToMap

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

func (*ProviderInfo) UnmarshalJSON

func (o *ProviderInfo) UnmarshalJSON(data []byte) (err 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 Session

type Session struct {
	Id string `json:"id"`
	// The state of the session
	State SessionState `json:"state"`
	// If the session is in state `IdvFailed`, this field contains the reason for failure.
	FailCode *SessionFailCode `json:"failCode,omitempty"`
	// The underlying verification for this Session
	Verification Verification `json:"verification"`
	// The fields that were requested to be disclosed when the Session was created
	DisclosedFields DisclosedFields `json:"disclosedFields"`
	// The unix timestamp, in seconds, when this session was created
	Created int64 `json:"created"`
	// The unix timestamp, in seconds, when this session's state last changed
	Updated int64 `json:"updated"`
}

Session struct for Session

func NewSession

func NewSession(id string, state SessionState, verification Verification, disclosedFields DisclosedFields, created int64, updated int64) *Session

NewSession instantiates a new Session 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 NewSessionWithDefaults

func NewSessionWithDefaults() *Session

NewSessionWithDefaults instantiates a new Session 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 (*Session) GetCreated

func (o *Session) GetCreated() int64

GetCreated returns the Created field value

func (*Session) GetCreatedOk

func (o *Session) GetCreatedOk() (*int64, bool)

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

func (*Session) GetDisclosedFields

func (o *Session) GetDisclosedFields() DisclosedFields

GetDisclosedFields returns the DisclosedFields field value

func (*Session) GetDisclosedFieldsOk

func (o *Session) GetDisclosedFieldsOk() (*DisclosedFields, bool)

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

func (*Session) GetFailCode

func (o *Session) GetFailCode() SessionFailCode

GetFailCode returns the FailCode field value if set, zero value otherwise.

func (*Session) GetFailCodeOk

func (o *Session) GetFailCodeOk() (*SessionFailCode, bool)

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

func (*Session) GetId

func (o *Session) GetId() string

GetId returns the Id field value

func (*Session) GetIdOk

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

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

func (*Session) GetState

func (o *Session) GetState() SessionState

GetState returns the State field value

func (*Session) GetStateOk

func (o *Session) GetStateOk() (*SessionState, bool)

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

func (*Session) GetUpdated

func (o *Session) GetUpdated() int64

GetUpdated returns the Updated field value

func (*Session) GetUpdatedOk

func (o *Session) GetUpdatedOk() (*int64, bool)

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

func (*Session) GetVerification

func (o *Session) GetVerification() Verification

GetVerification returns the Verification field value

func (*Session) GetVerificationOk

func (o *Session) GetVerificationOk() (*Verification, bool)

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

func (*Session) HasFailCode

func (o *Session) HasFailCode() bool

HasFailCode returns a boolean if a field has been set.

func (Session) MarshalJSON

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

func (*Session) SetCreated

func (o *Session) SetCreated(v int64)

SetCreated sets field value

func (*Session) SetDisclosedFields

func (o *Session) SetDisclosedFields(v DisclosedFields)

SetDisclosedFields sets field value

func (*Session) SetFailCode

func (o *Session) SetFailCode(v SessionFailCode)

SetFailCode gets a reference to the given SessionFailCode and assigns it to the FailCode field.

func (*Session) SetId

func (o *Session) SetId(v string)

SetId sets field value

func (*Session) SetState

func (o *Session) SetState(v SessionState)

SetState sets field value

func (*Session) SetUpdated

func (o *Session) SetUpdated(v int64)

SetUpdated sets field value

func (*Session) SetVerification

func (o *Session) SetVerification(v Verification)

SetVerification sets field value

func (Session) ToMap

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

func (*Session) UnmarshalJSON

func (o *Session) UnmarshalJSON(data []byte) (err error)

type SessionFailCode

type SessionFailCode string

SessionFailCode the model 'SessionFailCode'

const (
	SESSION_FAIL_NONE                SessionFailCode = "SessionFailNone"
	SESSION_FAIL_INTERNAL            SessionFailCode = "SessionFailInternal"
	SESSION_FAIL_VERIFICATION_FAILED SessionFailCode = "SessionFailVerificationFailed"
	SESSION_FAIL_AUTHENTICATION      SessionFailCode = "SessionFailAuthentication"
	SESSION_FAIL_EXPIRED             SessionFailCode = "SessionFailExpired"
	SESSION_FAIL_USER_CANCELED       SessionFailCode = "SessionFailUserCanceled"
	SESSION_FAIL_RP_CANCELED         SessionFailCode = "SessionFailRpCanceled"
)

List of SessionFailCode

func NewSessionFailCodeFromValue

func NewSessionFailCodeFromValue(v string) (*SessionFailCode, error)

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

func (SessionFailCode) IsValid

func (v SessionFailCode) IsValid() bool

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

func (SessionFailCode) Ptr

Ptr returns reference to SessionFailCode value

func (*SessionFailCode) UnmarshalJSON

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

type SessionOrdering

type SessionOrdering string

SessionOrdering the model 'SessionOrdering'

const (
	CREATED SessionOrdering = "Created"
	UPDATED SessionOrdering = "Updated"
	STATE   SessionOrdering = "State"
)

List of SessionOrdering

func NewSessionOrderingFromValue

func NewSessionOrderingFromValue(v string) (*SessionOrdering, error)

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

func (SessionOrdering) IsValid

func (v SessionOrdering) IsValid() bool

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

func (SessionOrdering) Ptr

Ptr returns reference to SessionOrdering value

func (*SessionOrdering) UnmarshalJSON

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

type SessionState

type SessionState string

SessionState the model 'SessionState'

const (
	IDV_CREATED        SessionState = "IdvCreated"
	IDV_INITIATED      SessionState = "IdvInitiated"
	IDV_AUTHENTICATING SessionState = "IdvAuthenticating"
	IDV_IN_PROGRESS    SessionState = "IdvInProgress"
	IDV_SUCCESS        SessionState = "IdvSuccess"
	IDV_FAILED         SessionState = "IdvFailed"
)

List of SessionState

func NewSessionStateFromValue

func NewSessionStateFromValue(v string) (*SessionState, error)

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

func (SessionState) IsValid

func (v SessionState) IsValid() bool

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

func (SessionState) Ptr

func (v SessionState) Ptr() *SessionState

Ptr returns reference to SessionState value

func (*SessionState) UnmarshalJSON

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

type SessionsAPIService

type SessionsAPIService service

SessionsAPIService SessionsAPI service

func (*SessionsAPIService) CancelSession

func (a *SessionsAPIService) CancelSession(ctx context.Context, sessionId string) ApiCancelSessionRequest

CancelSession Cancel a Session by its ID

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

func (*SessionsAPIService) CancelSessionExecute

Execute executes the request

@return CancelSessionResponse

func (*SessionsAPIService) CreateSession

CreateSession Create a Session to verify a user's identity

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

func (*SessionsAPIService) CreateSessionExecute

Execute executes the request

@return CreateSessionResponse

func (*SessionsAPIService) ExchangeResultsKey

func (a *SessionsAPIService) ExchangeResultsKey(ctx context.Context, sessionId string) ApiExchangeResultsKeyRequest

ExchangeResultsKey Exchange a Results Access Key for Identity Data

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

func (*SessionsAPIService) ExchangeResultsKeyExecute

Execute executes the request

@return ExchangeResultsKeyResponse

func (*SessionsAPIService) GetSession

func (a *SessionsAPIService) GetSession(ctx context.Context, sessionId string) ApiGetSessionRequest

GetSession Get a Session by its ID

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

func (*SessionsAPIService) GetSessionExecute

Execute executes the request

@return GetSessionResponse

func (*SessionsAPIService) ListSessions

ListSessions List Sessions created by your account

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

func (*SessionsAPIService) ListSessionsExecute

Execute executes the request

@return ListSessionsResponse

func (*SessionsAPIService) RedactSession

func (a *SessionsAPIService) RedactSession(ctx context.Context, sessionId string) ApiRedactSessionRequest

RedactSession Redact a Session, removing all identity data from Trinsic's servers. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.

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

func (*SessionsAPIService) RedactSessionExecute

func (a *SessionsAPIService) RedactSessionExecute(r ApiRedactSessionRequest) (*http.Response, error)

Execute executes the request

type ValidationResult

type ValidationResult struct {
	MemberNames  []string `json:"memberNames"`
	ErrorMessage *string  `json:"errorMessage,omitempty"`
}

ValidationResult struct for ValidationResult

func NewValidationResult

func NewValidationResult(memberNames []string) *ValidationResult

NewValidationResult instantiates a new ValidationResult 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 NewValidationResultWithDefaults

func NewValidationResultWithDefaults() *ValidationResult

NewValidationResultWithDefaults instantiates a new ValidationResult 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 (*ValidationResult) GetErrorMessage

func (o *ValidationResult) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field value if set, zero value otherwise.

func (*ValidationResult) GetErrorMessageOk

func (o *ValidationResult) GetErrorMessageOk() (*string, bool)

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

func (*ValidationResult) GetMemberNames

func (o *ValidationResult) GetMemberNames() []string

GetMemberNames returns the MemberNames field value

func (*ValidationResult) GetMemberNamesOk

func (o *ValidationResult) GetMemberNamesOk() ([]string, bool)

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

func (*ValidationResult) HasErrorMessage

func (o *ValidationResult) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

func (ValidationResult) MarshalJSON

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

func (*ValidationResult) SetErrorMessage

func (o *ValidationResult) SetErrorMessage(v string)

SetErrorMessage gets a reference to the given string and assigns it to the ErrorMessage field.

func (*ValidationResult) SetMemberNames

func (o *ValidationResult) SetMemberNames(v []string)

SetMemberNames sets field value

func (ValidationResult) ToMap

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

func (*ValidationResult) UnmarshalJSON

func (o *ValidationResult) UnmarshalJSON(data []byte) (err error)

type Verification

type Verification struct {
	// The identity provider that was used to perform the Verification, if any
	Provider *string `json:"provider,omitempty"`
	// If the Verification is in state `VerificationFailed`, this field contains the reason for failure
	FailCode *VerificationFailCode `json:"failCode,omitempty"`
}

Verification A Verification contained within a Session

func NewVerification

func NewVerification() *Verification

NewVerification instantiates a new Verification 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 NewVerificationWithDefaults

func NewVerificationWithDefaults() *Verification

NewVerificationWithDefaults instantiates a new Verification 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 (*Verification) GetFailCode

func (o *Verification) GetFailCode() VerificationFailCode

GetFailCode returns the FailCode field value if set, zero value otherwise.

func (*Verification) GetFailCodeOk

func (o *Verification) GetFailCodeOk() (*VerificationFailCode, bool)

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

func (*Verification) GetProvider

func (o *Verification) GetProvider() string

GetProvider returns the Provider field value if set, zero value otherwise.

func (*Verification) GetProviderOk

func (o *Verification) GetProviderOk() (*string, bool)

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

func (*Verification) HasFailCode

func (o *Verification) HasFailCode() bool

HasFailCode returns a boolean if a field has been set.

func (*Verification) HasProvider

func (o *Verification) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (Verification) MarshalJSON

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

func (*Verification) SetFailCode

func (o *Verification) SetFailCode(v VerificationFailCode)

SetFailCode gets a reference to the given VerificationFailCode and assigns it to the FailCode field.

func (*Verification) SetProvider

func (o *Verification) SetProvider(v string)

SetProvider gets a reference to the given string and assigns it to the Provider field.

func (Verification) ToMap

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

type VerificationFailCode

type VerificationFailCode string

VerificationFailCode the model 'VerificationFailCode'

const (
	VERIFICATION_FAIL_NONE                 VerificationFailCode = "VerificationFailNone"
	VERIFICATION_FAIL_INTERNAL             VerificationFailCode = "VerificationFailInternal"
	VERIFICATION_FAIL_INVALID_IMAGE        VerificationFailCode = "VerificationFailInvalidImage"
	VERIFICATION_FAIL_INAUTHENTIC          VerificationFailCode = "VerificationFailInauthentic"
	VERIFICATION_FAIL_UNSUPPORTED_DOCUMENT VerificationFailCode = "VerificationFailUnsupportedDocument"
)

List of VerificationFailCode

func NewVerificationFailCodeFromValue

func NewVerificationFailCodeFromValue(v string) (*VerificationFailCode, error)

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

func (VerificationFailCode) IsValid

func (v VerificationFailCode) IsValid() bool

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

func (VerificationFailCode) Ptr

Ptr returns reference to VerificationFailCode value

func (*VerificationFailCode) UnmarshalJSON

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

Jump to

Keyboard shortcuts

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