trinsic_api

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 20 Imported by: 0

README

Trinsic API Go Library

Go Reference Build Status

The Trinsic API Go library provides convenient access to the Trinsic API from applications written in Go.

Documentation

See the Trinsic docs for more detailed information on how to start integrating with our identity acceptance network.

Installation

Install the package with:

go get github.com/trinsic-id/sdk-go-api

Usage

The package needs to be configured with your app's access token, which is available in the Trinsic Dashboard.

import "github.com/trinsic-id/sdk-go-api"

func main() {
	config := trinsic_api.NewConfiguration()
	config.AddDefaultHeader("Authorization", "Bearer "+"your-access-token")

	api := trinsic_api.NewAPIClient(config)

    attachments := api.AttachmentsAPI;
    network := api.NetworkAPI;
    sessions := api.SessionsAPI;
}

You can find a full Go example in the samples folder.

SDK Versioning

Our SDKs follow the Semantic Versioning ("SemVer") scheme.

For example, the version number 1.13.0 has a major version of 1, a minor version of 13, and a patch version of 0.

Breaking changes are only introduced alongside a new major version.

Support

Any issues, inquiries, and feature requests can be sent to support@trinsic.id, or feel free to open a GitHub issue here.

More Information

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",
	"VerificationFailUserAbandoned",
}

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

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

func (ApiGetAttachmentRequest) Execute added in v0.3.3

func (ApiGetAttachmentRequest) GetAttachmentRequest added in v0.3.3

func (r ApiGetAttachmentRequest) GetAttachmentRequest(getAttachmentRequest GetAttachmentRequest) ApiGetAttachmentRequest

type ApiGetSessionRequest

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

func (ApiGetSessionRequest) Execute

type ApiGetSessionResultRequest added in v0.3.3

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

func (ApiGetSessionResultRequest) Execute added in v0.3.3

func (ApiGetSessionResultRequest) GetSessionResultRequest added in v0.3.3

func (r ApiGetSessionResultRequest) GetSessionResultRequest(getSessionResultRequest GetSessionResultRequest) ApiGetSessionResultRequest

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 ApiRecommendProvidersRequest added in v1.2.0

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

func (ApiRecommendProvidersRequest) Execute added in v1.2.0

func (ApiRecommendProvidersRequest) RecommendRequest added in v1.2.0

func (r ApiRecommendProvidersRequest) RecommendRequest(recommendRequest RecommendRequest) ApiRecommendProvidersRequest

type ApiRedactSessionRequest

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

func (ApiRedactSessionRequest) Execute

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

type AttachmentAccessKeys added in v1.1.0

type AttachmentAccessKeys 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"`
}

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

func NewAttachmentAccessKeys added in v1.1.0

func NewAttachmentAccessKeys() *AttachmentAccessKeys

NewAttachmentAccessKeys instantiates a new AttachmentAccessKeys 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 NewAttachmentAccessKeysWithDefaults added in v1.1.0

func NewAttachmentAccessKeysWithDefaults() *AttachmentAccessKeys

NewAttachmentAccessKeysWithDefaults instantiates a new AttachmentAccessKeys 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 (*AttachmentAccessKeys) GetDocumentBack added in v1.1.0

func (o *AttachmentAccessKeys) GetDocumentBack() string

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

func (*AttachmentAccessKeys) GetDocumentBackOk added in v1.1.0

func (o *AttachmentAccessKeys) 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 (*AttachmentAccessKeys) GetDocumentFront added in v1.1.0

func (o *AttachmentAccessKeys) GetDocumentFront() string

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

func (*AttachmentAccessKeys) GetDocumentFrontOk added in v1.1.0

func (o *AttachmentAccessKeys) 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 (*AttachmentAccessKeys) GetDocumentPortrait added in v1.1.0

func (o *AttachmentAccessKeys) GetDocumentPortrait() string

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

func (*AttachmentAccessKeys) GetDocumentPortraitOk added in v1.1.0

func (o *AttachmentAccessKeys) 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 (*AttachmentAccessKeys) GetSelfie added in v1.1.0

func (o *AttachmentAccessKeys) GetSelfie() string

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

func (*AttachmentAccessKeys) GetSelfieOk added in v1.1.0

func (o *AttachmentAccessKeys) 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 (*AttachmentAccessKeys) HasDocumentBack added in v1.1.0

func (o *AttachmentAccessKeys) HasDocumentBack() bool

HasDocumentBack returns a boolean if a field has been set.

func (*AttachmentAccessKeys) HasDocumentFront added in v1.1.0

func (o *AttachmentAccessKeys) HasDocumentFront() bool

HasDocumentFront returns a boolean if a field has been set.

func (*AttachmentAccessKeys) HasDocumentPortrait added in v1.1.0

func (o *AttachmentAccessKeys) HasDocumentPortrait() bool

HasDocumentPortrait returns a boolean if a field has been set.

func (*AttachmentAccessKeys) HasSelfie added in v1.1.0

func (o *AttachmentAccessKeys) HasSelfie() bool

HasSelfie returns a boolean if a field has been set.

func (AttachmentAccessKeys) MarshalJSON added in v1.1.0

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

func (*AttachmentAccessKeys) SetDocumentBack added in v1.1.0

func (o *AttachmentAccessKeys) SetDocumentBack(v string)

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

func (*AttachmentAccessKeys) SetDocumentFront added in v1.1.0

func (o *AttachmentAccessKeys) SetDocumentFront(v string)

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

func (*AttachmentAccessKeys) SetDocumentPortrait added in v1.1.0

func (o *AttachmentAccessKeys) SetDocumentPortrait(v string)

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

func (*AttachmentAccessKeys) SetSelfie added in v1.1.0

func (o *AttachmentAccessKeys) SetSelfie(v string)

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

func (AttachmentAccessKeys) ToMap added in v1.1.0

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

type AttachmentsAPIService

type AttachmentsAPIService service

AttachmentsAPIService AttachmentsAPI service

func (*AttachmentsAPIService) GetAttachment added in v0.3.3

GetAttachment Get Attachment

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 503 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 ApiGetAttachmentRequest

func (*AttachmentsAPIService) GetAttachmentExecute added in v0.3.3

Execute executes the request

@return GetAttachmentResponse

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 Widget UI.                Users will not be shown the Widget; therefore, reuse of 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.
	LaunchProviderDirectly *bool `json:"launchProviderDirectly,omitempty"`
	// Whether to enable Trinsic's \"Remember Me\" feature, which allows users to save their credentials for future use.                This option is only relevant when `LaunchProviderDirectly` is unspecified or set to `false`.  If `LaunchProviderDirectly` is `true`, this field must be unspecified or set to `false`.                If this field is set to `true`, then:    - The user will be prompted to authenticate with their phone number at the start of the flow    - If the user has previously saved a verification for reuse with Trinsic, they will be offered the ability to reuse it    - After the user has verified their identity (and if the identity provider in question supports it), they will be prompted to save their credentials for future use                If this field is set to `false`, then:    - The user will not be prompted to authenticate with their phone number at the start of the flow.      - Instead, the user will be immediately shown the list of available providers    - The user will not be offered the ability to reuse a previously-saved Trinsic credential    - After the user has verified their identity, they will not be prompted to save their credentials for future use      - Instead, they will immediately return to your product
	EnableRememberMe *bool `json:"enableRememberMe,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"`
	// Known identity data of an individual being verified.                Provide this to Trinsic during Session creation to enable improved identity provider selection recommendations.
	KnownIdentityData *KnownIdentityData `json:"knownIdentityData,omitempty"`
	// Specific identity attributes to request. If not provided, all available attributes will be requested.
	DisclosedFields      *DisclosedFieldsRequest `json:"disclosedFields,omitempty"`
	AdditionalProperties map[string]interface{}
}

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) GetEnableRememberMe added in v1.1.2

func (o *CreateSessionRequest) GetEnableRememberMe() bool

GetEnableRememberMe returns the EnableRememberMe field value if set, zero value otherwise.

func (*CreateSessionRequest) GetEnableRememberMeOk added in v1.1.2

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

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

func (*CreateSessionRequest) GetKnownIdentityData added in v1.2.0

func (o *CreateSessionRequest) GetKnownIdentityData() KnownIdentityData

GetKnownIdentityData returns the KnownIdentityData field value if set, zero value otherwise.

func (*CreateSessionRequest) GetKnownIdentityDataOk added in v1.2.0

func (o *CreateSessionRequest) GetKnownIdentityDataOk() (*KnownIdentityData, bool)

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

func (*CreateSessionRequest) GetLaunchProviderDirectly added in v0.5.5

func (o *CreateSessionRequest) GetLaunchProviderDirectly() bool

GetLaunchProviderDirectly returns the LaunchProviderDirectly field value if set, zero value otherwise.

func (*CreateSessionRequest) GetLaunchProviderDirectlyOk added in v0.5.5

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

GetLaunchProviderDirectlyOk returns a tuple with the LaunchProviderDirectly 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) HasEnableRememberMe added in v1.1.2

func (o *CreateSessionRequest) HasEnableRememberMe() bool

HasEnableRememberMe returns a boolean if a field has been set.

func (*CreateSessionRequest) HasKnownIdentityData added in v1.2.0

func (o *CreateSessionRequest) HasKnownIdentityData() bool

HasKnownIdentityData returns a boolean if a field has been set.

func (*CreateSessionRequest) HasLaunchProviderDirectly added in v0.5.5

func (o *CreateSessionRequest) HasLaunchProviderDirectly() bool

HasLaunchProviderDirectly 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) SetEnableRememberMe added in v1.1.2

func (o *CreateSessionRequest) SetEnableRememberMe(v bool)

SetEnableRememberMe gets a reference to the given bool and assigns it to the EnableRememberMe field.

func (*CreateSessionRequest) SetKnownIdentityData added in v1.2.0

func (o *CreateSessionRequest) SetKnownIdentityData(v KnownIdentityData)

SetKnownIdentityData gets a reference to the given KnownIdentityData and assigns it to the KnownIdentityData field.

func (*CreateSessionRequest) SetLaunchProviderDirectly added in v0.5.5

func (o *CreateSessionRequest) SetLaunchProviderDirectly(v bool)

SetLaunchProviderDirectly gets a reference to the given bool and assigns it to the LaunchProviderDirectly 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)

func (*CreateSessionRequest) UnmarshalJSON added in v0.3.3

func (o *CreateSessionRequest) UnmarshalJSON(data []byte) (err 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.                You can use our frontend SDKs to launch the user into the Acceptance Session, or you can redirect the user's browser to this URL.  If the Session was created with `LaunchProviderDirectly` set to `true`, you can't use the iFrame mode.                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"`
	AdditionalProperties map[string]interface{}
}

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

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

GetAttachmentRequest struct for GetAttachmentRequest

func NewGetAttachmentRequest added in v0.3.3

func NewGetAttachmentRequest(attachmentAccessKey string) *GetAttachmentRequest

NewGetAttachmentRequest instantiates a new GetAttachmentRequest 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 NewGetAttachmentRequestWithDefaults added in v0.3.3

func NewGetAttachmentRequestWithDefaults() *GetAttachmentRequest

NewGetAttachmentRequestWithDefaults instantiates a new GetAttachmentRequest 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 (*GetAttachmentRequest) GetAttachmentAccessKey added in v0.3.3

func (o *GetAttachmentRequest) GetAttachmentAccessKey() string

GetAttachmentAccessKey returns the AttachmentAccessKey field value

func (*GetAttachmentRequest) GetAttachmentAccessKeyOk added in v0.3.3

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

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

func (GetAttachmentRequest) MarshalJSON added in v0.3.3

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

func (*GetAttachmentRequest) SetAttachmentAccessKey added in v0.3.3

func (o *GetAttachmentRequest) SetAttachmentAccessKey(v string)

SetAttachmentAccessKey sets field value

func (GetAttachmentRequest) ToMap added in v0.3.3

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

func (*GetAttachmentRequest) UnmarshalJSON added in v0.3.3

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

type GetAttachmentResponse added in v1.1.0

type GetAttachmentResponse struct {
	// The raw file contents of the Attachment
	Content string `json:"content"`
	// The MIME type of the Attachment data
	ContentType string `json:"contentType"`
}

GetAttachmentResponse struct for GetAttachmentResponse

func NewGetAttachmentResponse added in v1.1.0

func NewGetAttachmentResponse(content string, contentType string) *GetAttachmentResponse

NewGetAttachmentResponse instantiates a new GetAttachmentResponse 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 NewGetAttachmentResponseWithDefaults added in v1.1.0

func NewGetAttachmentResponseWithDefaults() *GetAttachmentResponse

NewGetAttachmentResponseWithDefaults instantiates a new GetAttachmentResponse 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 (*GetAttachmentResponse) GetContent added in v1.1.0

func (o *GetAttachmentResponse) GetContent() string

GetContent returns the Content field value

func (*GetAttachmentResponse) GetContentOk added in v1.1.0

func (o *GetAttachmentResponse) GetContentOk() (*string, bool)

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

func (*GetAttachmentResponse) GetContentType added in v1.1.0

func (o *GetAttachmentResponse) GetContentType() string

GetContentType returns the ContentType field value

func (*GetAttachmentResponse) GetContentTypeOk added in v1.1.0

func (o *GetAttachmentResponse) GetContentTypeOk() (*string, bool)

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

func (GetAttachmentResponse) MarshalJSON added in v1.1.0

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

func (*GetAttachmentResponse) SetContent added in v1.1.0

func (o *GetAttachmentResponse) SetContent(v string)

SetContent sets field value

func (*GetAttachmentResponse) SetContentType added in v1.1.0

func (o *GetAttachmentResponse) SetContentType(v string)

SetContentType sets field value

func (GetAttachmentResponse) ToMap added in v1.1.0

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

func (*GetAttachmentResponse) UnmarshalJSON added in v1.1.0

func (o *GetAttachmentResponse) UnmarshalJSON(data []byte) (err 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 GetSessionResultRequest added in v0.3.3

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

GetSessionResultRequest struct for GetSessionResultRequest

func NewGetSessionResultRequest added in v0.3.3

func NewGetSessionResultRequest(resultsAccessKey string) *GetSessionResultRequest

NewGetSessionResultRequest instantiates a new GetSessionResultRequest 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 NewGetSessionResultRequestWithDefaults added in v0.3.3

func NewGetSessionResultRequestWithDefaults() *GetSessionResultRequest

NewGetSessionResultRequestWithDefaults instantiates a new GetSessionResultRequest 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 (*GetSessionResultRequest) GetResultsAccessKey added in v0.3.3

func (o *GetSessionResultRequest) GetResultsAccessKey() string

GetResultsAccessKey returns the ResultsAccessKey field value

func (*GetSessionResultRequest) GetResultsAccessKeyOk added in v0.3.3

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

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

func (GetSessionResultRequest) MarshalJSON added in v0.3.3

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

func (*GetSessionResultRequest) SetResultsAccessKey added in v0.3.3

func (o *GetSessionResultRequest) SetResultsAccessKey(v string)

SetResultsAccessKey sets field value

func (GetSessionResultRequest) ToMap added in v0.3.3

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

func (*GetSessionResultRequest) UnmarshalJSON added in v0.3.3

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

type GetSessionResultResponse added in v0.3.3

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

GetSessionResultResponse struct for GetSessionResultResponse

func NewGetSessionResultResponse added in v0.3.3

func NewGetSessionResultResponse(session Session) *GetSessionResultResponse

NewGetSessionResultResponse instantiates a new GetSessionResultResponse 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 NewGetSessionResultResponseWithDefaults added in v0.3.3

func NewGetSessionResultResponseWithDefaults() *GetSessionResultResponse

NewGetSessionResultResponseWithDefaults instantiates a new GetSessionResultResponse 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 (*GetSessionResultResponse) GetIdentityData added in v0.3.3

func (o *GetSessionResultResponse) GetIdentityData() IdentityData

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

func (*GetSessionResultResponse) GetIdentityDataOk added in v0.3.3

func (o *GetSessionResultResponse) 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 (*GetSessionResultResponse) GetSession added in v0.3.3

func (o *GetSessionResultResponse) GetSession() Session

GetSession returns the Session field value

func (*GetSessionResultResponse) GetSessionOk added in v0.3.3

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

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

func (*GetSessionResultResponse) HasIdentityData added in v0.3.3

func (o *GetSessionResultResponse) HasIdentityData() bool

HasIdentityData returns a boolean if a field has been set.

func (GetSessionResultResponse) MarshalJSON added in v0.3.3

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

func (*GetSessionResultResponse) SetIdentityData added in v0.3.3

func (o *GetSessionResultResponse) SetIdentityData(v IdentityData)

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

func (*GetSessionResultResponse) SetSession added in v0.3.3

func (o *GetSessionResultResponse) SetSession(v Session)

SetSession sets field value

func (GetSessionResultResponse) ToMap added in v0.3.3

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

func (*GetSessionResultResponse) UnmarshalJSON added in v0.3.3

func (o *GetSessionResultResponse) 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"`
	// Attachment Access Keys for attachments (eg document / selfie images)
	AttachmentAccessKeys *AttachmentAccessKeys `json:"attachmentAccessKeys,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) GetAttachmentAccessKeys added in v1.1.0

func (o *IdentityData) GetAttachmentAccessKeys() AttachmentAccessKeys

GetAttachmentAccessKeys returns the AttachmentAccessKeys field value if set, zero value otherwise.

func (*IdentityData) GetAttachmentAccessKeysOk added in v1.1.0

func (o *IdentityData) GetAttachmentAccessKeysOk() (*AttachmentAccessKeys, bool)

GetAttachmentAccessKeysOk returns a tuple with the AttachmentAccessKeys 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) HasAttachmentAccessKeys added in v1.1.0

func (o *IdentityData) HasAttachmentAccessKeys() bool

HasAttachmentAccessKeys 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) SetAttachmentAccessKeys added in v1.1.0

func (o *IdentityData) SetAttachmentAccessKeys(v AttachmentAccessKeys)

SetAttachmentAccessKeys gets a reference to the given AttachmentAccessKeys and assigns it to the AttachmentAccessKeys 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 KnownAddress added in v1.2.0

type KnownAddress 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"`
}

KnownAddress Address information for an individual

func NewKnownAddress added in v1.2.0

func NewKnownAddress() *KnownAddress

NewKnownAddress instantiates a new KnownAddress 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 NewKnownAddressWithDefaults added in v1.2.0

func NewKnownAddressWithDefaults() *KnownAddress

NewKnownAddressWithDefaults instantiates a new KnownAddress 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 (*KnownAddress) GetCity added in v1.2.0

func (o *KnownAddress) GetCity() string

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

func (*KnownAddress) GetCityOk added in v1.2.0

func (o *KnownAddress) 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 (*KnownAddress) GetCountry added in v1.2.0

func (o *KnownAddress) GetCountry() string

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

func (*KnownAddress) GetCountryOk added in v1.2.0

func (o *KnownAddress) 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 (*KnownAddress) GetLine1 added in v1.2.0

func (o *KnownAddress) GetLine1() string

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

func (*KnownAddress) GetLine1Ok added in v1.2.0

func (o *KnownAddress) 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 (*KnownAddress) GetLine2 added in v1.2.0

func (o *KnownAddress) GetLine2() string

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

func (*KnownAddress) GetLine2Ok added in v1.2.0

func (o *KnownAddress) 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 (*KnownAddress) GetLine3 added in v1.2.0

func (o *KnownAddress) GetLine3() string

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

func (*KnownAddress) GetLine3Ok added in v1.2.0

func (o *KnownAddress) 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 (*KnownAddress) GetPostalCode added in v1.2.0

func (o *KnownAddress) GetPostalCode() string

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

func (*KnownAddress) GetPostalCodeOk added in v1.2.0

func (o *KnownAddress) 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 (*KnownAddress) GetState added in v1.2.0

func (o *KnownAddress) GetState() string

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

func (*KnownAddress) GetStateOk added in v1.2.0

func (o *KnownAddress) 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 (*KnownAddress) HasCity added in v1.2.0

func (o *KnownAddress) HasCity() bool

HasCity returns a boolean if a field has been set.

func (*KnownAddress) HasCountry added in v1.2.0

func (o *KnownAddress) HasCountry() bool

HasCountry returns a boolean if a field has been set.

func (*KnownAddress) HasLine1 added in v1.2.0

func (o *KnownAddress) HasLine1() bool

HasLine1 returns a boolean if a field has been set.

func (*KnownAddress) HasLine2 added in v1.2.0

func (o *KnownAddress) HasLine2() bool

HasLine2 returns a boolean if a field has been set.

func (*KnownAddress) HasLine3 added in v1.2.0

func (o *KnownAddress) HasLine3() bool

HasLine3 returns a boolean if a field has been set.

func (*KnownAddress) HasPostalCode added in v1.2.0

func (o *KnownAddress) HasPostalCode() bool

HasPostalCode returns a boolean if a field has been set.

func (*KnownAddress) HasState added in v1.2.0

func (o *KnownAddress) HasState() bool

HasState returns a boolean if a field has been set.

func (KnownAddress) MarshalJSON added in v1.2.0

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

func (*KnownAddress) SetCity added in v1.2.0

func (o *KnownAddress) SetCity(v string)

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

func (*KnownAddress) SetCountry added in v1.2.0

func (o *KnownAddress) SetCountry(v string)

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

func (*KnownAddress) SetLine1 added in v1.2.0

func (o *KnownAddress) SetLine1(v string)

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

func (*KnownAddress) SetLine2 added in v1.2.0

func (o *KnownAddress) SetLine2(v string)

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

func (*KnownAddress) SetLine3 added in v1.2.0

func (o *KnownAddress) SetLine3(v string)

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

func (*KnownAddress) SetPostalCode added in v1.2.0

func (o *KnownAddress) SetPostalCode(v string)

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

func (*KnownAddress) SetState added in v1.2.0

func (o *KnownAddress) SetState(v string)

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

func (KnownAddress) ToMap added in v1.2.0

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

type KnownIdentityData added in v1.2.0

type KnownIdentityData struct {
	// Known identity data specific to the person being verified
	Person *KnownPersonData `json:"person,omitempty"`
}

KnownIdentityData Known identity data of an individual being verified. Provide this to Trinsic during Session creation to enable improved identity provider selection recommendations.

func NewKnownIdentityData added in v1.2.0

func NewKnownIdentityData() *KnownIdentityData

NewKnownIdentityData instantiates a new KnownIdentityData 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 NewKnownIdentityDataWithDefaults added in v1.2.0

func NewKnownIdentityDataWithDefaults() *KnownIdentityData

NewKnownIdentityDataWithDefaults instantiates a new KnownIdentityData 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 (*KnownIdentityData) GetPerson added in v1.2.0

func (o *KnownIdentityData) GetPerson() KnownPersonData

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

func (*KnownIdentityData) GetPersonOk added in v1.2.0

func (o *KnownIdentityData) GetPersonOk() (*KnownPersonData, 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 (*KnownIdentityData) HasPerson added in v1.2.0

func (o *KnownIdentityData) HasPerson() bool

HasPerson returns a boolean if a field has been set.

func (KnownIdentityData) MarshalJSON added in v1.2.0

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

func (*KnownIdentityData) SetPerson added in v1.2.0

func (o *KnownIdentityData) SetPerson(v KnownPersonData)

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

func (KnownIdentityData) ToMap added in v1.2.0

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

type KnownPersonData added in v1.2.0

type KnownPersonData 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 phone number (with preceding + character and country code) of the individual being verified
	PhoneNumber *string `json:"phoneNumber,omitempty"`
	// The address of the individual being verified
	Address *KnownAddress `json:"address,omitempty"`
	// Date of birth of the individual, in the format \"YYYY-MM-DD\"
	DateOfBirth *string `json:"dateOfBirth,omitempty"`
}

KnownPersonData struct for KnownPersonData

func NewKnownPersonData added in v1.2.0

func NewKnownPersonData() *KnownPersonData

NewKnownPersonData instantiates a new KnownPersonData 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 NewKnownPersonDataWithDefaults added in v1.2.0

func NewKnownPersonDataWithDefaults() *KnownPersonData

NewKnownPersonDataWithDefaults instantiates a new KnownPersonData 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 (*KnownPersonData) GetAddress added in v1.2.0

func (o *KnownPersonData) GetAddress() KnownAddress

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

func (*KnownPersonData) GetAddressOk added in v1.2.0

func (o *KnownPersonData) GetAddressOk() (*KnownAddress, 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 (*KnownPersonData) GetDateOfBirth added in v1.2.0

func (o *KnownPersonData) GetDateOfBirth() string

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

func (*KnownPersonData) GetDateOfBirthOk added in v1.2.0

func (o *KnownPersonData) 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 (*KnownPersonData) GetFamilyName added in v1.2.0

func (o *KnownPersonData) GetFamilyName() string

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

func (*KnownPersonData) GetFamilyNameOk added in v1.2.0

func (o *KnownPersonData) 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 (*KnownPersonData) GetGivenName added in v1.2.0

func (o *KnownPersonData) GetGivenName() string

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

func (*KnownPersonData) GetGivenNameOk added in v1.2.0

func (o *KnownPersonData) 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 (*KnownPersonData) GetMiddleName added in v1.2.0

func (o *KnownPersonData) GetMiddleName() string

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

func (*KnownPersonData) GetMiddleNameOk added in v1.2.0

func (o *KnownPersonData) 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 (*KnownPersonData) GetPhoneNumber added in v1.2.0

func (o *KnownPersonData) GetPhoneNumber() string

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

func (*KnownPersonData) GetPhoneNumberOk added in v1.2.0

func (o *KnownPersonData) 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 (*KnownPersonData) HasAddress added in v1.2.0

func (o *KnownPersonData) HasAddress() bool

HasAddress returns a boolean if a field has been set.

func (*KnownPersonData) HasDateOfBirth added in v1.2.0

func (o *KnownPersonData) HasDateOfBirth() bool

HasDateOfBirth returns a boolean if a field has been set.

func (*KnownPersonData) HasFamilyName added in v1.2.0

func (o *KnownPersonData) HasFamilyName() bool

HasFamilyName returns a boolean if a field has been set.

func (*KnownPersonData) HasGivenName added in v1.2.0

func (o *KnownPersonData) HasGivenName() bool

HasGivenName returns a boolean if a field has been set.

func (*KnownPersonData) HasMiddleName added in v1.2.0

func (o *KnownPersonData) HasMiddleName() bool

HasMiddleName returns a boolean if a field has been set.

func (*KnownPersonData) HasPhoneNumber added in v1.2.0

func (o *KnownPersonData) HasPhoneNumber() bool

HasPhoneNumber returns a boolean if a field has been set.

func (KnownPersonData) MarshalJSON added in v1.2.0

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

func (*KnownPersonData) SetAddress added in v1.2.0

func (o *KnownPersonData) SetAddress(v KnownAddress)

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

func (*KnownPersonData) SetDateOfBirth added in v1.2.0

func (o *KnownPersonData) SetDateOfBirth(v string)

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

func (*KnownPersonData) SetFamilyName added in v1.2.0

func (o *KnownPersonData) SetFamilyName(v string)

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

func (*KnownPersonData) SetGivenName added in v1.2.0

func (o *KnownPersonData) SetGivenName(v string)

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

func (*KnownPersonData) SetMiddleName added in v1.2.0

func (o *KnownPersonData) SetMiddleName(v string)

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

func (*KnownPersonData) SetPhoneNumber added in v1.2.0

func (o *KnownPersonData) SetPhoneNumber(v string)

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

func (KnownPersonData) ToMap added in v1.2.0

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

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 Identity Providers

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

func (*NetworkAPIService) RecommendProviders added in v1.2.0

RecommendProviders Recommend Providers

Generate provider recommendations based on the given signals (phone number, countries, states)

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

func (*NetworkAPIService) RecommendProvidersExecute added in v1.2.0

Execute executes the request

@return RecommendResponse

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 NullableAttachmentAccessKeys added in v1.1.0

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

func NewNullableAttachmentAccessKeys added in v1.1.0

func NewNullableAttachmentAccessKeys(val *AttachmentAccessKeys) *NullableAttachmentAccessKeys

func (NullableAttachmentAccessKeys) Get added in v1.1.0

func (NullableAttachmentAccessKeys) IsSet added in v1.1.0

func (NullableAttachmentAccessKeys) MarshalJSON added in v1.1.0

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

func (*NullableAttachmentAccessKeys) Set added in v1.1.0

func (*NullableAttachmentAccessKeys) UnmarshalJSON added in v1.1.0

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

func (*NullableAttachmentAccessKeys) Unset added in v1.1.0

func (v *NullableAttachmentAccessKeys) 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 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 NullableGetAttachmentRequest added in v0.3.3

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

func NewNullableGetAttachmentRequest added in v0.3.3

func NewNullableGetAttachmentRequest(val *GetAttachmentRequest) *NullableGetAttachmentRequest

func (NullableGetAttachmentRequest) Get added in v0.3.3

func (NullableGetAttachmentRequest) IsSet added in v0.3.3

func (NullableGetAttachmentRequest) MarshalJSON added in v0.3.3

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

func (*NullableGetAttachmentRequest) Set added in v0.3.3

func (*NullableGetAttachmentRequest) UnmarshalJSON added in v0.3.3

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

func (*NullableGetAttachmentRequest) Unset added in v0.3.3

func (v *NullableGetAttachmentRequest) Unset()

type NullableGetAttachmentResponse added in v1.1.0

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

func NewNullableGetAttachmentResponse added in v1.1.0

func NewNullableGetAttachmentResponse(val *GetAttachmentResponse) *NullableGetAttachmentResponse

func (NullableGetAttachmentResponse) Get added in v1.1.0

func (NullableGetAttachmentResponse) IsSet added in v1.1.0

func (NullableGetAttachmentResponse) MarshalJSON added in v1.1.0

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

func (*NullableGetAttachmentResponse) Set added in v1.1.0

func (*NullableGetAttachmentResponse) UnmarshalJSON added in v1.1.0

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

func (*NullableGetAttachmentResponse) Unset added in v1.1.0

func (v *NullableGetAttachmentResponse) 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 NullableGetSessionResultRequest added in v0.3.3

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

func NewNullableGetSessionResultRequest added in v0.3.3

func NewNullableGetSessionResultRequest(val *GetSessionResultRequest) *NullableGetSessionResultRequest

func (NullableGetSessionResultRequest) Get added in v0.3.3

func (NullableGetSessionResultRequest) IsSet added in v0.3.3

func (NullableGetSessionResultRequest) MarshalJSON added in v0.3.3

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

func (*NullableGetSessionResultRequest) Set added in v0.3.3

func (*NullableGetSessionResultRequest) UnmarshalJSON added in v0.3.3

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

func (*NullableGetSessionResultRequest) Unset added in v0.3.3

type NullableGetSessionResultResponse added in v0.3.3

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

func NewNullableGetSessionResultResponse added in v0.3.3

func NewNullableGetSessionResultResponse(val *GetSessionResultResponse) *NullableGetSessionResultResponse

func (NullableGetSessionResultResponse) Get added in v0.3.3

func (NullableGetSessionResultResponse) IsSet added in v0.3.3

func (NullableGetSessionResultResponse) MarshalJSON added in v0.3.3

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

func (*NullableGetSessionResultResponse) Set added in v0.3.3

func (*NullableGetSessionResultResponse) UnmarshalJSON added in v0.3.3

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

func (*NullableGetSessionResultResponse) Unset added in v0.3.3

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 NullableKnownAddress added in v1.2.0

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

func NewNullableKnownAddress added in v1.2.0

func NewNullableKnownAddress(val *KnownAddress) *NullableKnownAddress

func (NullableKnownAddress) Get added in v1.2.0

func (NullableKnownAddress) IsSet added in v1.2.0

func (v NullableKnownAddress) IsSet() bool

func (NullableKnownAddress) MarshalJSON added in v1.2.0

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

func (*NullableKnownAddress) Set added in v1.2.0

func (v *NullableKnownAddress) Set(val *KnownAddress)

func (*NullableKnownAddress) UnmarshalJSON added in v1.2.0

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

func (*NullableKnownAddress) Unset added in v1.2.0

func (v *NullableKnownAddress) Unset()

type NullableKnownIdentityData added in v1.2.0

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

func NewNullableKnownIdentityData added in v1.2.0

func NewNullableKnownIdentityData(val *KnownIdentityData) *NullableKnownIdentityData

func (NullableKnownIdentityData) Get added in v1.2.0

func (NullableKnownIdentityData) IsSet added in v1.2.0

func (v NullableKnownIdentityData) IsSet() bool

func (NullableKnownIdentityData) MarshalJSON added in v1.2.0

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

func (*NullableKnownIdentityData) Set added in v1.2.0

func (*NullableKnownIdentityData) UnmarshalJSON added in v1.2.0

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

func (*NullableKnownIdentityData) Unset added in v1.2.0

func (v *NullableKnownIdentityData) Unset()

type NullableKnownPersonData added in v1.2.0

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

func NewNullableKnownPersonData added in v1.2.0

func NewNullableKnownPersonData(val *KnownPersonData) *NullableKnownPersonData

func (NullableKnownPersonData) Get added in v1.2.0

func (NullableKnownPersonData) IsSet added in v1.2.0

func (v NullableKnownPersonData) IsSet() bool

func (NullableKnownPersonData) MarshalJSON added in v1.2.0

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

func (*NullableKnownPersonData) Set added in v1.2.0

func (*NullableKnownPersonData) UnmarshalJSON added in v1.2.0

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

func (*NullableKnownPersonData) Unset added in v1.2.0

func (v *NullableKnownPersonData) 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 NullableProviderInformation added in v1.2.0

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

func NewNullableProviderInformation added in v1.2.0

func NewNullableProviderInformation(val *ProviderInformation) *NullableProviderInformation

func (NullableProviderInformation) Get added in v1.2.0

func (NullableProviderInformation) IsSet added in v1.2.0

func (NullableProviderInformation) MarshalJSON added in v1.2.0

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

func (*NullableProviderInformation) Set added in v1.2.0

func (*NullableProviderInformation) UnmarshalJSON added in v1.2.0

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

func (*NullableProviderInformation) Unset added in v1.2.0

func (v *NullableProviderInformation) Unset()

type NullableRecommendRequest added in v1.2.0

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

func NewNullableRecommendRequest added in v1.2.0

func NewNullableRecommendRequest(val *RecommendRequest) *NullableRecommendRequest

func (NullableRecommendRequest) Get added in v1.2.0

func (NullableRecommendRequest) IsSet added in v1.2.0

func (v NullableRecommendRequest) IsSet() bool

func (NullableRecommendRequest) MarshalJSON added in v1.2.0

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

func (*NullableRecommendRequest) Set added in v1.2.0

func (*NullableRecommendRequest) UnmarshalJSON added in v1.2.0

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

func (*NullableRecommendRequest) Unset added in v1.2.0

func (v *NullableRecommendRequest) Unset()

type NullableRecommendResponse added in v1.2.0

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

func NewNullableRecommendResponse added in v1.2.0

func NewNullableRecommendResponse(val *RecommendResponse) *NullableRecommendResponse

func (NullableRecommendResponse) Get added in v1.2.0

func (NullableRecommendResponse) IsSet added in v1.2.0

func (v NullableRecommendResponse) IsSet() bool

func (NullableRecommendResponse) MarshalJSON added in v1.2.0

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

func (*NullableRecommendResponse) Set added in v1.2.0

func (*NullableRecommendResponse) UnmarshalJSON added in v1.2.0

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

func (*NullableRecommendResponse) Unset added in v1.2.0

func (v *NullableRecommendResponse) 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 ProviderInformation added in v1.2.0

type ProviderInformation struct {
	ProviderId          string `json:"providerId"`
	ProviderDisplayName string `json:"providerDisplayName"`
}

ProviderInformation struct for ProviderInformation

func NewProviderInformation added in v1.2.0

func NewProviderInformation(providerId string, providerDisplayName string, providerLogo string) *ProviderInformation

NewProviderInformation instantiates a new ProviderInformation 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 NewProviderInformationWithDefaults added in v1.2.0

func NewProviderInformationWithDefaults() *ProviderInformation

NewProviderInformationWithDefaults instantiates a new ProviderInformation 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 (*ProviderInformation) GetProviderDisplayName added in v1.2.0

func (o *ProviderInformation) GetProviderDisplayName() string

GetProviderDisplayName returns the ProviderDisplayName field value

func (*ProviderInformation) GetProviderDisplayNameOk added in v1.2.0

func (o *ProviderInformation) GetProviderDisplayNameOk() (*string, bool)

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

func (*ProviderInformation) GetProviderId added in v1.2.0

func (o *ProviderInformation) GetProviderId() string

GetProviderId returns the ProviderId field value

func (*ProviderInformation) GetProviderIdOk added in v1.2.0

func (o *ProviderInformation) GetProviderIdOk() (*string, bool)

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

func (o *ProviderInformation) GetProviderLogo() string

GetProviderLogo returns the ProviderLogo field value

func (*ProviderInformation) GetProviderLogoOk added in v1.2.0

func (o *ProviderInformation) GetProviderLogoOk() (*string, bool)

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

func (ProviderInformation) MarshalJSON added in v1.2.0

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

func (*ProviderInformation) SetProviderDisplayName added in v1.2.0

func (o *ProviderInformation) SetProviderDisplayName(v string)

SetProviderDisplayName sets field value

func (*ProviderInformation) SetProviderId added in v1.2.0

func (o *ProviderInformation) SetProviderId(v string)

SetProviderId sets field value

func (o *ProviderInformation) SetProviderLogo(v string)

SetProviderLogo sets field value

func (ProviderInformation) ToMap added in v1.2.0

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

func (*ProviderInformation) UnmarshalJSON added in v1.2.0

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

type RecommendRequest added in v1.2.0

type RecommendRequest struct {
	// The phone number of the user you whish to generate a recommendation for. Will be used to lookup the user's identity in the network
	PhoneNumber string `json:"phoneNumber"`
	// A list of countries, in alpha-2 ISO 3166 format, you wish to specify for the recommendation, this can include the user's country of residence, nationality, etc.
	Countries []string `json:"countries,omitempty"`
	// If one of the countries is US, you can specify a list of US states to further refine the recommendation (e.g., CA, UT, NY)
	States []string `json:"states,omitempty"`
}

RecommendRequest struct for RecommendRequest

func NewRecommendRequest added in v1.2.0

func NewRecommendRequest(phoneNumber string) *RecommendRequest

NewRecommendRequest instantiates a new RecommendRequest 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 NewRecommendRequestWithDefaults added in v1.2.0

func NewRecommendRequestWithDefaults() *RecommendRequest

NewRecommendRequestWithDefaults instantiates a new RecommendRequest 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 (*RecommendRequest) GetCountries added in v1.2.0

func (o *RecommendRequest) GetCountries() []string

GetCountries returns the Countries field value if set, zero value otherwise.

func (*RecommendRequest) GetCountriesOk added in v1.2.0

func (o *RecommendRequest) GetCountriesOk() ([]string, bool)

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

func (*RecommendRequest) GetPhoneNumber added in v1.2.0

func (o *RecommendRequest) GetPhoneNumber() string

GetPhoneNumber returns the PhoneNumber field value

func (*RecommendRequest) GetPhoneNumberOk added in v1.2.0

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

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

func (*RecommendRequest) GetStates added in v1.2.0

func (o *RecommendRequest) GetStates() []string

GetStates returns the States field value if set, zero value otherwise.

func (*RecommendRequest) GetStatesOk added in v1.2.0

func (o *RecommendRequest) GetStatesOk() ([]string, bool)

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

func (*RecommendRequest) HasCountries added in v1.2.0

func (o *RecommendRequest) HasCountries() bool

HasCountries returns a boolean if a field has been set.

func (*RecommendRequest) HasStates added in v1.2.0

func (o *RecommendRequest) HasStates() bool

HasStates returns a boolean if a field has been set.

func (RecommendRequest) MarshalJSON added in v1.2.0

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

func (*RecommendRequest) SetCountries added in v1.2.0

func (o *RecommendRequest) SetCountries(v []string)

SetCountries gets a reference to the given []string and assigns it to the Countries field.

func (*RecommendRequest) SetPhoneNumber added in v1.2.0

func (o *RecommendRequest) SetPhoneNumber(v string)

SetPhoneNumber sets field value

func (*RecommendRequest) SetStates added in v1.2.0

func (o *RecommendRequest) SetStates(v []string)

SetStates gets a reference to the given []string and assigns it to the States field.

func (RecommendRequest) ToMap added in v1.2.0

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

func (*RecommendRequest) UnmarshalJSON added in v1.2.0

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

type RecommendResponse added in v1.2.0

type RecommendResponse struct {
	// The list of providers that were recognized in Trinsic's network. These are providers that already verified this user
	Recognized []ProviderInformation `json:"recognized"`
	// The list of providers that although not recognized, are relevant to the user's identity. The user may have been verified by these providers
	Relevant []ProviderInformation `json:"relevant"`
	// The list of providers that are not recognized and are not relevant to the user's identity
	Remainder []ProviderInformation `json:"remainder"`
}

RecommendResponse struct for RecommendResponse

func NewRecommendResponse added in v1.2.0

func NewRecommendResponse(recognized []ProviderInformation, relevant []ProviderInformation, remainder []ProviderInformation) *RecommendResponse

NewRecommendResponse instantiates a new RecommendResponse 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 NewRecommendResponseWithDefaults added in v1.2.0

func NewRecommendResponseWithDefaults() *RecommendResponse

NewRecommendResponseWithDefaults instantiates a new RecommendResponse 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 (*RecommendResponse) GetRecognized added in v1.2.0

func (o *RecommendResponse) GetRecognized() []ProviderInformation

GetRecognized returns the Recognized field value

func (*RecommendResponse) GetRecognizedOk added in v1.2.0

func (o *RecommendResponse) GetRecognizedOk() ([]ProviderInformation, bool)

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

func (*RecommendResponse) GetRelevant added in v1.2.0

func (o *RecommendResponse) GetRelevant() []ProviderInformation

GetRelevant returns the Relevant field value

func (*RecommendResponse) GetRelevantOk added in v1.2.0

func (o *RecommendResponse) GetRelevantOk() ([]ProviderInformation, bool)

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

func (*RecommendResponse) GetRemainder added in v1.2.0

func (o *RecommendResponse) GetRemainder() []ProviderInformation

GetRemainder returns the Remainder field value

func (*RecommendResponse) GetRemainderOk added in v1.2.0

func (o *RecommendResponse) GetRemainderOk() ([]ProviderInformation, bool)

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

func (RecommendResponse) MarshalJSON added in v1.2.0

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

func (*RecommendResponse) SetRecognized added in v1.2.0

func (o *RecommendResponse) SetRecognized(v []ProviderInformation)

SetRecognized sets field value

func (*RecommendResponse) SetRelevant added in v1.2.0

func (o *RecommendResponse) SetRelevant(v []ProviderInformation)

SetRelevant sets field value

func (*RecommendResponse) SetRemainder added in v1.2.0

func (o *RecommendResponse) SetRemainder(v []ProviderInformation)

SetRemainder sets field value

func (RecommendResponse) ToMap added in v1.2.0

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

func (*RecommendResponse) UnmarshalJSON added in v1.2.0

func (o *RecommendResponse) 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 Session

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 Session

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) GetSession

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

GetSession Get Session

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) GetSessionResult added in v0.3.3

func (a *SessionsAPIService) GetSessionResult(ctx context.Context, sessionId string) ApiGetSessionResultRequest

GetSessionResult Get Session Results

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

func (*SessionsAPIService) GetSessionResultExecute added in v0.3.3

Execute executes the request

@return GetSessionResultResponse

func (*SessionsAPIService) ListSessions

ListSessions List Sessions

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 Session

Redact a Session, removing all identity data from Trinsic's servers. Every application has a redaction period that dictates how long we will hold on to your users' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately.

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"
	VERIFICATION_FAIL_USER_ABANDONED       VerificationFailCode = "VerificationFailUserAbandoned"
)

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