client

package module
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

README

ory/kratos-client-go

This is the official Ory Kratos SDK for go.

Please do not make any pull requests against this repository! Its contents are fully auto-generated by the ory/sdk repository. Any changes to this repository will be overwritten on the next CI run!

Installation

package repository is missing, please open an issue about this.

Generation

This code base, including this README, is auto-generated using OpenAPI Generator. If you find bugs in the SDK please check if there is an open issue at OpenAPITools/openapi-generator or ory/sdk already before opening an issue here.

If you have general feedback on the generated SDK please open an issue in ory/sdk.

Documentation

Unfortunately this SDK is not yet documented. If you are looking for contributing documentation please open an issue first to discuss your ideas. We are greatly appreciating any help!

In the meanwhile, check out the meta-documentation for Ory's SDKs:

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKeys takes a string apikey as authentication for the request
	ContextAPIKeys = contextKey("apiKeys")

	// ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request.
	ContextHttpSignatureAuth = contextKey("httpsignature")

	// 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")
)

Functions

func CacheExpires

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

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

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 {
	MetadataApi MetadataApi

	V0alpha2Api V0alpha2Api
	// contains filtered or unexported fields
}

APIClient manages communication with the Ory Kratos API API vv0.10.1 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 APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type AdminCreateIdentityBody

type AdminCreateIdentityBody struct {
	Credentials *AdminIdentityImportCredentials `json:"credentials,omitempty"`
	// Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/<id>`.
	MetadataAdmin interface{} `json:"metadata_admin,omitempty"`
	// Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field.
	MetadataPublic interface{} `json:"metadata_public,omitempty"`
	// RecoveryAddresses contains all the addresses that can be used to recover an identity.  Use this structure to import recovery addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update.
	RecoveryAddresses []RecoveryAddress `json:"recovery_addresses,omitempty"`
	// SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
	SchemaId string         `json:"schema_id"`
	State    *IdentityState `json:"state,omitempty"`
	// Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`.
	Traits map[string]interface{} `json:"traits"`
	// VerifiableAddresses contains all the addresses that can be verified by the user.  Use this structure to import verified addresses for an identity. Please keep in mind that the address needs to be represented in the Identity Schema or this field will be overwritten on the next identity update.
	VerifiableAddresses []VerifiableIdentityAddress `json:"verifiable_addresses,omitempty"`
}

AdminCreateIdentityBody struct for AdminCreateIdentityBody

func NewAdminCreateIdentityBody

func NewAdminCreateIdentityBody(schemaId string, traits map[string]interface{}) *AdminCreateIdentityBody

NewAdminCreateIdentityBody instantiates a new AdminCreateIdentityBody 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 NewAdminCreateIdentityBodyWithDefaults

func NewAdminCreateIdentityBodyWithDefaults() *AdminCreateIdentityBody

NewAdminCreateIdentityBodyWithDefaults instantiates a new AdminCreateIdentityBody 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 (*AdminCreateIdentityBody) GetCredentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*AdminCreateIdentityBody) GetCredentialsOk

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

func (*AdminCreateIdentityBody) GetMetadataAdmin

func (o *AdminCreateIdentityBody) GetMetadataAdmin() interface{}

GetMetadataAdmin returns the MetadataAdmin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AdminCreateIdentityBody) GetMetadataAdminOk

func (o *AdminCreateIdentityBody) GetMetadataAdminOk() (*interface{}, bool)

GetMetadataAdminOk returns a tuple with the MetadataAdmin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AdminCreateIdentityBody) GetMetadataPublic

func (o *AdminCreateIdentityBody) GetMetadataPublic() interface{}

GetMetadataPublic returns the MetadataPublic field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AdminCreateIdentityBody) GetMetadataPublicOk

func (o *AdminCreateIdentityBody) GetMetadataPublicOk() (*interface{}, bool)

GetMetadataPublicOk returns a tuple with the MetadataPublic field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AdminCreateIdentityBody) GetRecoveryAddresses

func (o *AdminCreateIdentityBody) GetRecoveryAddresses() []RecoveryAddress

GetRecoveryAddresses returns the RecoveryAddresses field value if set, zero value otherwise.

func (*AdminCreateIdentityBody) GetRecoveryAddressesOk

func (o *AdminCreateIdentityBody) GetRecoveryAddressesOk() ([]RecoveryAddress, bool)

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

func (*AdminCreateIdentityBody) GetSchemaId

func (o *AdminCreateIdentityBody) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*AdminCreateIdentityBody) GetSchemaIdOk

func (o *AdminCreateIdentityBody) GetSchemaIdOk() (*string, bool)

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

func (*AdminCreateIdentityBody) GetState

func (o *AdminCreateIdentityBody) GetState() IdentityState

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

func (*AdminCreateIdentityBody) GetStateOk

func (o *AdminCreateIdentityBody) GetStateOk() (*IdentityState, 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 (*AdminCreateIdentityBody) GetTraits

func (o *AdminCreateIdentityBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*AdminCreateIdentityBody) GetTraitsOk

func (o *AdminCreateIdentityBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*AdminCreateIdentityBody) GetVerifiableAddresses

func (o *AdminCreateIdentityBody) GetVerifiableAddresses() []VerifiableIdentityAddress

GetVerifiableAddresses returns the VerifiableAddresses field value if set, zero value otherwise.

func (*AdminCreateIdentityBody) GetVerifiableAddressesOk

func (o *AdminCreateIdentityBody) GetVerifiableAddressesOk() ([]VerifiableIdentityAddress, bool)

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

func (*AdminCreateIdentityBody) HasCredentials

func (o *AdminCreateIdentityBody) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*AdminCreateIdentityBody) HasMetadataAdmin

func (o *AdminCreateIdentityBody) HasMetadataAdmin() bool

HasMetadataAdmin returns a boolean if a field has been set.

func (*AdminCreateIdentityBody) HasMetadataPublic

func (o *AdminCreateIdentityBody) HasMetadataPublic() bool

HasMetadataPublic returns a boolean if a field has been set.

func (*AdminCreateIdentityBody) HasRecoveryAddresses

func (o *AdminCreateIdentityBody) HasRecoveryAddresses() bool

HasRecoveryAddresses returns a boolean if a field has been set.

func (*AdminCreateIdentityBody) HasState

func (o *AdminCreateIdentityBody) HasState() bool

HasState returns a boolean if a field has been set.

func (*AdminCreateIdentityBody) HasVerifiableAddresses

func (o *AdminCreateIdentityBody) HasVerifiableAddresses() bool

HasVerifiableAddresses returns a boolean if a field has been set.

func (AdminCreateIdentityBody) MarshalJSON

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

func (*AdminCreateIdentityBody) SetCredentials

SetCredentials gets a reference to the given AdminIdentityImportCredentials and assigns it to the Credentials field.

func (*AdminCreateIdentityBody) SetMetadataAdmin

func (o *AdminCreateIdentityBody) SetMetadataAdmin(v interface{})

SetMetadataAdmin gets a reference to the given interface{} and assigns it to the MetadataAdmin field.

func (*AdminCreateIdentityBody) SetMetadataPublic

func (o *AdminCreateIdentityBody) SetMetadataPublic(v interface{})

SetMetadataPublic gets a reference to the given interface{} and assigns it to the MetadataPublic field.

func (*AdminCreateIdentityBody) SetRecoveryAddresses

func (o *AdminCreateIdentityBody) SetRecoveryAddresses(v []RecoveryAddress)

SetRecoveryAddresses gets a reference to the given []RecoveryAddress and assigns it to the RecoveryAddresses field.

func (*AdminCreateIdentityBody) SetSchemaId

func (o *AdminCreateIdentityBody) SetSchemaId(v string)

SetSchemaId sets field value

func (*AdminCreateIdentityBody) SetState

func (o *AdminCreateIdentityBody) SetState(v IdentityState)

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

func (*AdminCreateIdentityBody) SetTraits

func (o *AdminCreateIdentityBody) SetTraits(v map[string]interface{})

SetTraits sets field value

func (*AdminCreateIdentityBody) SetVerifiableAddresses

func (o *AdminCreateIdentityBody) SetVerifiableAddresses(v []VerifiableIdentityAddress)

SetVerifiableAddresses gets a reference to the given []VerifiableIdentityAddress and assigns it to the VerifiableAddresses field.

type AdminCreateIdentityImportCredentialsOidc

type AdminCreateIdentityImportCredentialsOidc struct {
	Config *AdminCreateIdentityImportCredentialsOidcConfig `json:"config,omitempty"`
}

AdminCreateIdentityImportCredentialsOidc struct for AdminCreateIdentityImportCredentialsOidc

func NewAdminCreateIdentityImportCredentialsOidc

func NewAdminCreateIdentityImportCredentialsOidc() *AdminCreateIdentityImportCredentialsOidc

NewAdminCreateIdentityImportCredentialsOidc instantiates a new AdminCreateIdentityImportCredentialsOidc 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 NewAdminCreateIdentityImportCredentialsOidcWithDefaults

func NewAdminCreateIdentityImportCredentialsOidcWithDefaults() *AdminCreateIdentityImportCredentialsOidc

NewAdminCreateIdentityImportCredentialsOidcWithDefaults instantiates a new AdminCreateIdentityImportCredentialsOidc 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 (*AdminCreateIdentityImportCredentialsOidc) GetConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*AdminCreateIdentityImportCredentialsOidc) GetConfigOk

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

func (*AdminCreateIdentityImportCredentialsOidc) HasConfig

HasConfig returns a boolean if a field has been set.

func (AdminCreateIdentityImportCredentialsOidc) MarshalJSON

func (*AdminCreateIdentityImportCredentialsOidc) SetConfig

SetConfig gets a reference to the given AdminCreateIdentityImportCredentialsOidcConfig and assigns it to the Config field.

type AdminCreateIdentityImportCredentialsOidcConfig

type AdminCreateIdentityImportCredentialsOidcConfig struct {
	Config *AdminCreateIdentityImportCredentialsPasswordConfig `json:"config,omitempty"`
	// A list of OpenID Connect Providers
	Providers []AdminCreateIdentityImportCredentialsOidcProvider `json:"providers,omitempty"`
}

AdminCreateIdentityImportCredentialsOidcConfig struct for AdminCreateIdentityImportCredentialsOidcConfig

func NewAdminCreateIdentityImportCredentialsOidcConfig

func NewAdminCreateIdentityImportCredentialsOidcConfig() *AdminCreateIdentityImportCredentialsOidcConfig

NewAdminCreateIdentityImportCredentialsOidcConfig instantiates a new AdminCreateIdentityImportCredentialsOidcConfig 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 NewAdminCreateIdentityImportCredentialsOidcConfigWithDefaults

func NewAdminCreateIdentityImportCredentialsOidcConfigWithDefaults() *AdminCreateIdentityImportCredentialsOidcConfig

NewAdminCreateIdentityImportCredentialsOidcConfigWithDefaults instantiates a new AdminCreateIdentityImportCredentialsOidcConfig 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 (*AdminCreateIdentityImportCredentialsOidcConfig) GetConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*AdminCreateIdentityImportCredentialsOidcConfig) GetConfigOk

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

func (*AdminCreateIdentityImportCredentialsOidcConfig) GetProviders

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

func (*AdminCreateIdentityImportCredentialsOidcConfig) GetProvidersOk

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 (*AdminCreateIdentityImportCredentialsOidcConfig) HasConfig

HasConfig returns a boolean if a field has been set.

func (*AdminCreateIdentityImportCredentialsOidcConfig) HasProviders

HasProviders returns a boolean if a field has been set.

func (AdminCreateIdentityImportCredentialsOidcConfig) MarshalJSON

func (*AdminCreateIdentityImportCredentialsOidcConfig) SetConfig

SetConfig gets a reference to the given AdminCreateIdentityImportCredentialsPasswordConfig and assigns it to the Config field.

func (*AdminCreateIdentityImportCredentialsOidcConfig) SetProviders

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

type AdminCreateIdentityImportCredentialsOidcProvider

type AdminCreateIdentityImportCredentialsOidcProvider struct {
	// The OpenID Connect provider to link the subject to. Usually something like `google` or `github`.
	Provider string `json:"provider"`
	// The subject (`sub`) of the OpenID Connect connection. Usually the `sub` field of the ID Token.
	Subject string `json:"subject"`
}

AdminCreateIdentityImportCredentialsOidcProvider struct for AdminCreateIdentityImportCredentialsOidcProvider

func NewAdminCreateIdentityImportCredentialsOidcProvider

func NewAdminCreateIdentityImportCredentialsOidcProvider(provider string, subject string) *AdminCreateIdentityImportCredentialsOidcProvider

NewAdminCreateIdentityImportCredentialsOidcProvider instantiates a new AdminCreateIdentityImportCredentialsOidcProvider 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 NewAdminCreateIdentityImportCredentialsOidcProviderWithDefaults

func NewAdminCreateIdentityImportCredentialsOidcProviderWithDefaults() *AdminCreateIdentityImportCredentialsOidcProvider

NewAdminCreateIdentityImportCredentialsOidcProviderWithDefaults instantiates a new AdminCreateIdentityImportCredentialsOidcProvider 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 (*AdminCreateIdentityImportCredentialsOidcProvider) GetProvider

GetProvider returns the Provider field value

func (*AdminCreateIdentityImportCredentialsOidcProvider) GetProviderOk

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

func (*AdminCreateIdentityImportCredentialsOidcProvider) GetSubject

GetSubject returns the Subject field value

func (*AdminCreateIdentityImportCredentialsOidcProvider) GetSubjectOk

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

func (AdminCreateIdentityImportCredentialsOidcProvider) MarshalJSON

func (*AdminCreateIdentityImportCredentialsOidcProvider) SetProvider

SetProvider sets field value

func (*AdminCreateIdentityImportCredentialsOidcProvider) SetSubject

SetSubject sets field value

type AdminCreateIdentityImportCredentialsPassword

type AdminCreateIdentityImportCredentialsPassword struct {
	Config *AdminCreateIdentityImportCredentialsPasswordConfig `json:"config,omitempty"`
}

AdminCreateIdentityImportCredentialsPassword struct for AdminCreateIdentityImportCredentialsPassword

func NewAdminCreateIdentityImportCredentialsPassword

func NewAdminCreateIdentityImportCredentialsPassword() *AdminCreateIdentityImportCredentialsPassword

NewAdminCreateIdentityImportCredentialsPassword instantiates a new AdminCreateIdentityImportCredentialsPassword 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 NewAdminCreateIdentityImportCredentialsPasswordWithDefaults

func NewAdminCreateIdentityImportCredentialsPasswordWithDefaults() *AdminCreateIdentityImportCredentialsPassword

NewAdminCreateIdentityImportCredentialsPasswordWithDefaults instantiates a new AdminCreateIdentityImportCredentialsPassword 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 (*AdminCreateIdentityImportCredentialsPassword) GetConfig

GetConfig returns the Config field value if set, zero value otherwise.

func (*AdminCreateIdentityImportCredentialsPassword) GetConfigOk

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

func (*AdminCreateIdentityImportCredentialsPassword) HasConfig

HasConfig returns a boolean if a field has been set.

func (AdminCreateIdentityImportCredentialsPassword) MarshalJSON

func (*AdminCreateIdentityImportCredentialsPassword) SetConfig

SetConfig gets a reference to the given AdminCreateIdentityImportCredentialsPasswordConfig and assigns it to the Config field.

type AdminCreateIdentityImportCredentialsPasswordConfig

type AdminCreateIdentityImportCredentialsPasswordConfig struct {
	// The hashed password in [PHC format]( https://www.ory.sh/docs/kratos/concepts/credentials/username-email-password#hashed-password-format)
	HashedPassword *string `json:"hashed_password,omitempty"`
	// The password in plain text if no hash is available.
	Password *string `json:"password,omitempty"`
}

AdminCreateIdentityImportCredentialsPasswordConfig struct for AdminCreateIdentityImportCredentialsPasswordConfig

func NewAdminCreateIdentityImportCredentialsPasswordConfig

func NewAdminCreateIdentityImportCredentialsPasswordConfig() *AdminCreateIdentityImportCredentialsPasswordConfig

NewAdminCreateIdentityImportCredentialsPasswordConfig instantiates a new AdminCreateIdentityImportCredentialsPasswordConfig 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 NewAdminCreateIdentityImportCredentialsPasswordConfigWithDefaults

func NewAdminCreateIdentityImportCredentialsPasswordConfigWithDefaults() *AdminCreateIdentityImportCredentialsPasswordConfig

NewAdminCreateIdentityImportCredentialsPasswordConfigWithDefaults instantiates a new AdminCreateIdentityImportCredentialsPasswordConfig 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 (*AdminCreateIdentityImportCredentialsPasswordConfig) GetHashedPassword

GetHashedPassword returns the HashedPassword field value if set, zero value otherwise.

func (*AdminCreateIdentityImportCredentialsPasswordConfig) GetHashedPasswordOk

func (o *AdminCreateIdentityImportCredentialsPasswordConfig) GetHashedPasswordOk() (*string, bool)

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

func (*AdminCreateIdentityImportCredentialsPasswordConfig) GetPassword

GetPassword returns the Password field value if set, zero value otherwise.

func (*AdminCreateIdentityImportCredentialsPasswordConfig) GetPasswordOk

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

func (*AdminCreateIdentityImportCredentialsPasswordConfig) HasHashedPassword

HasHashedPassword returns a boolean if a field has been set.

func (*AdminCreateIdentityImportCredentialsPasswordConfig) HasPassword

HasPassword returns a boolean if a field has been set.

func (AdminCreateIdentityImportCredentialsPasswordConfig) MarshalJSON

func (*AdminCreateIdentityImportCredentialsPasswordConfig) SetHashedPassword

SetHashedPassword gets a reference to the given string and assigns it to the HashedPassword field.

func (*AdminCreateIdentityImportCredentialsPasswordConfig) SetPassword

SetPassword gets a reference to the given string and assigns it to the Password field.

type AdminCreateSelfServiceRecoveryLinkBody

type AdminCreateSelfServiceRecoveryLinkBody struct {
	// Link Expires In  The recovery link will expire at that point in time. Defaults to the configuration value of `selfservice.flows.recovery.request_lifespan`.
	ExpiresIn  *string `json:"expires_in,omitempty"`
	IdentityId string  `json:"identity_id"`
}

AdminCreateSelfServiceRecoveryLinkBody struct for AdminCreateSelfServiceRecoveryLinkBody

func NewAdminCreateSelfServiceRecoveryLinkBody

func NewAdminCreateSelfServiceRecoveryLinkBody(identityId string) *AdminCreateSelfServiceRecoveryLinkBody

NewAdminCreateSelfServiceRecoveryLinkBody instantiates a new AdminCreateSelfServiceRecoveryLinkBody 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 NewAdminCreateSelfServiceRecoveryLinkBodyWithDefaults

func NewAdminCreateSelfServiceRecoveryLinkBodyWithDefaults() *AdminCreateSelfServiceRecoveryLinkBody

NewAdminCreateSelfServiceRecoveryLinkBodyWithDefaults instantiates a new AdminCreateSelfServiceRecoveryLinkBody 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 (*AdminCreateSelfServiceRecoveryLinkBody) GetExpiresIn

GetExpiresIn returns the ExpiresIn field value if set, zero value otherwise.

func (*AdminCreateSelfServiceRecoveryLinkBody) GetExpiresInOk

func (o *AdminCreateSelfServiceRecoveryLinkBody) GetExpiresInOk() (*string, bool)

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

func (*AdminCreateSelfServiceRecoveryLinkBody) GetIdentityId

GetIdentityId returns the IdentityId field value

func (*AdminCreateSelfServiceRecoveryLinkBody) GetIdentityIdOk

func (o *AdminCreateSelfServiceRecoveryLinkBody) GetIdentityIdOk() (*string, bool)

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

func (*AdminCreateSelfServiceRecoveryLinkBody) HasExpiresIn

func (o *AdminCreateSelfServiceRecoveryLinkBody) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (AdminCreateSelfServiceRecoveryLinkBody) MarshalJSON

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

func (*AdminCreateSelfServiceRecoveryLinkBody) SetExpiresIn

SetExpiresIn gets a reference to the given string and assigns it to the ExpiresIn field.

func (*AdminCreateSelfServiceRecoveryLinkBody) SetIdentityId

func (o *AdminCreateSelfServiceRecoveryLinkBody) SetIdentityId(v string)

SetIdentityId sets field value

type AdminIdentityImportCredentials

type AdminIdentityImportCredentials struct {
	Oidc     *AdminCreateIdentityImportCredentialsOidc     `json:"oidc,omitempty"`
	Password *AdminCreateIdentityImportCredentialsPassword `json:"password,omitempty"`
}

AdminIdentityImportCredentials struct for AdminIdentityImportCredentials

func NewAdminIdentityImportCredentials

func NewAdminIdentityImportCredentials() *AdminIdentityImportCredentials

NewAdminIdentityImportCredentials instantiates a new AdminIdentityImportCredentials 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 NewAdminIdentityImportCredentialsWithDefaults

func NewAdminIdentityImportCredentialsWithDefaults() *AdminIdentityImportCredentials

NewAdminIdentityImportCredentialsWithDefaults instantiates a new AdminIdentityImportCredentials 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 (*AdminIdentityImportCredentials) GetOidc

GetOidc returns the Oidc field value if set, zero value otherwise.

func (*AdminIdentityImportCredentials) GetOidcOk

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

func (*AdminIdentityImportCredentials) GetPassword

GetPassword returns the Password field value if set, zero value otherwise.

func (*AdminIdentityImportCredentials) GetPasswordOk

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

func (*AdminIdentityImportCredentials) HasOidc

func (o *AdminIdentityImportCredentials) HasOidc() bool

HasOidc returns a boolean if a field has been set.

func (*AdminIdentityImportCredentials) HasPassword

func (o *AdminIdentityImportCredentials) HasPassword() bool

HasPassword returns a boolean if a field has been set.

func (AdminIdentityImportCredentials) MarshalJSON

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

func (*AdminIdentityImportCredentials) SetOidc

SetOidc gets a reference to the given AdminCreateIdentityImportCredentialsOidc and assigns it to the Oidc field.

func (*AdminIdentityImportCredentials) SetPassword

SetPassword gets a reference to the given AdminCreateIdentityImportCredentialsPassword and assigns it to the Password field.

type AdminUpdateIdentityBody

type AdminUpdateIdentityBody struct {
	// Store metadata about the user which is only accessible through admin APIs such as `GET /admin/identities/<id>`.
	MetadataAdmin interface{} `json:"metadata_admin,omitempty"`
	// Store metadata about the identity which the identity itself can see when calling for example the session endpoint. Do not store sensitive information (e.g. credit score) about the identity in this field.
	MetadataPublic interface{} `json:"metadata_public,omitempty"`
	// SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set will update the Identity's SchemaID.
	SchemaId string        `json:"schema_id"`
	State    IdentityState `json:"state"`
	// Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_id`.
	Traits map[string]interface{} `json:"traits"`
}

AdminUpdateIdentityBody struct for AdminUpdateIdentityBody

func NewAdminUpdateIdentityBody

func NewAdminUpdateIdentityBody(schemaId string, state IdentityState, traits map[string]interface{}) *AdminUpdateIdentityBody

NewAdminUpdateIdentityBody instantiates a new AdminUpdateIdentityBody 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 NewAdminUpdateIdentityBodyWithDefaults

func NewAdminUpdateIdentityBodyWithDefaults() *AdminUpdateIdentityBody

NewAdminUpdateIdentityBodyWithDefaults instantiates a new AdminUpdateIdentityBody 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 (*AdminUpdateIdentityBody) GetMetadataAdmin

func (o *AdminUpdateIdentityBody) GetMetadataAdmin() interface{}

GetMetadataAdmin returns the MetadataAdmin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AdminUpdateIdentityBody) GetMetadataAdminOk

func (o *AdminUpdateIdentityBody) GetMetadataAdminOk() (*interface{}, bool)

GetMetadataAdminOk returns a tuple with the MetadataAdmin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AdminUpdateIdentityBody) GetMetadataPublic

func (o *AdminUpdateIdentityBody) GetMetadataPublic() interface{}

GetMetadataPublic returns the MetadataPublic field value if set, zero value otherwise (both if not set or set to explicit null).

func (*AdminUpdateIdentityBody) GetMetadataPublicOk

func (o *AdminUpdateIdentityBody) GetMetadataPublicOk() (*interface{}, bool)

GetMetadataPublicOk returns a tuple with the MetadataPublic field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*AdminUpdateIdentityBody) GetSchemaId

func (o *AdminUpdateIdentityBody) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*AdminUpdateIdentityBody) GetSchemaIdOk

func (o *AdminUpdateIdentityBody) GetSchemaIdOk() (*string, bool)

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

func (*AdminUpdateIdentityBody) GetState

func (o *AdminUpdateIdentityBody) GetState() IdentityState

GetState returns the State field value

func (*AdminUpdateIdentityBody) GetStateOk

func (o *AdminUpdateIdentityBody) GetStateOk() (*IdentityState, bool)

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

func (*AdminUpdateIdentityBody) GetTraits

func (o *AdminUpdateIdentityBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*AdminUpdateIdentityBody) GetTraitsOk

func (o *AdminUpdateIdentityBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*AdminUpdateIdentityBody) HasMetadataAdmin

func (o *AdminUpdateIdentityBody) HasMetadataAdmin() bool

HasMetadataAdmin returns a boolean if a field has been set.

func (*AdminUpdateIdentityBody) HasMetadataPublic

func (o *AdminUpdateIdentityBody) HasMetadataPublic() bool

HasMetadataPublic returns a boolean if a field has been set.

func (AdminUpdateIdentityBody) MarshalJSON

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

func (*AdminUpdateIdentityBody) SetMetadataAdmin

func (o *AdminUpdateIdentityBody) SetMetadataAdmin(v interface{})

SetMetadataAdmin gets a reference to the given interface{} and assigns it to the MetadataAdmin field.

func (*AdminUpdateIdentityBody) SetMetadataPublic

func (o *AdminUpdateIdentityBody) SetMetadataPublic(v interface{})

SetMetadataPublic gets a reference to the given interface{} and assigns it to the MetadataPublic field.

func (*AdminUpdateIdentityBody) SetSchemaId

func (o *AdminUpdateIdentityBody) SetSchemaId(v string)

SetSchemaId sets field value

func (*AdminUpdateIdentityBody) SetState

func (o *AdminUpdateIdentityBody) SetState(v IdentityState)

SetState sets field value

func (*AdminUpdateIdentityBody) SetTraits

func (o *AdminUpdateIdentityBody) SetTraits(v map[string]interface{})

SetTraits sets field value

type AuthenticatorAssuranceLevel

type AuthenticatorAssuranceLevel string

AuthenticatorAssuranceLevel The authenticator assurance level can be one of \"aal1\", \"aal2\", or \"aal3\". A higher number means that it is harder for an attacker to compromise the account. Generally, \"aal1\" implies that one authentication factor was used while AAL2 implies that two factors (e.g. password + TOTP) have been used. To learn more about these levels please head over to: https://www.ory.sh/kratos/docs/concepts/credentials

const (
	AUTHENTICATORASSURANCELEVEL_AAL0 AuthenticatorAssuranceLevel = "aal0"
	AUTHENTICATORASSURANCELEVEL_AAL1 AuthenticatorAssuranceLevel = "aal1"
	AUTHENTICATORASSURANCELEVEL_AAL2 AuthenticatorAssuranceLevel = "aal2"
	AUTHENTICATORASSURANCELEVEL_AAL3 AuthenticatorAssuranceLevel = "aal3"
)

List of authenticatorAssuranceLevel

func NewAuthenticatorAssuranceLevelFromValue

func NewAuthenticatorAssuranceLevelFromValue(v string) (*AuthenticatorAssuranceLevel, error)

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

func (AuthenticatorAssuranceLevel) IsValid

func (v AuthenticatorAssuranceLevel) IsValid() bool

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

func (AuthenticatorAssuranceLevel) Ptr

Ptr returns reference to authenticatorAssuranceLevel value

func (*AuthenticatorAssuranceLevel) UnmarshalJSON

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

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	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 ErrorAuthenticatorAssuranceLevelNotSatisfied

type ErrorAuthenticatorAssuranceLevelNotSatisfied struct {
	// The status code
	Code *int64 `json:"code,omitempty"`
	// Debug information  This field is often not exposed to protect against leaking sensitive information.
	Debug *string `json:"debug,omitempty"`
	// Further error details
	Details map[string]map[string]interface{} `json:"details,omitempty"`
	// The error ID  Useful when trying to identify various errors in application logic.
	Id *string `json:"id,omitempty"`
	// Error message  The error's message.
	Message string `json:"message"`
	// A human-readable reason for the error
	Reason            *string `json:"reason,omitempty"`
	RedirectBrowserTo *string `json:"redirect_browser_to,omitempty"`
	// The request ID  The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
	Request *string `json:"request,omitempty"`
	// The status description
	Status *string `json:"status,omitempty"`
}

ErrorAuthenticatorAssuranceLevelNotSatisfied struct for ErrorAuthenticatorAssuranceLevelNotSatisfied

func NewErrorAuthenticatorAssuranceLevelNotSatisfied

func NewErrorAuthenticatorAssuranceLevelNotSatisfied(message string) *ErrorAuthenticatorAssuranceLevelNotSatisfied

NewErrorAuthenticatorAssuranceLevelNotSatisfied instantiates a new ErrorAuthenticatorAssuranceLevelNotSatisfied 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 NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults

func NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults() *ErrorAuthenticatorAssuranceLevelNotSatisfied

NewErrorAuthenticatorAssuranceLevelNotSatisfiedWithDefaults instantiates a new ErrorAuthenticatorAssuranceLevelNotSatisfied 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 (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetCode

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetCodeOk

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetDebug

GetDebug returns the Debug field value if set, zero value otherwise.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetDebugOk

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetDetails

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetDetails() map[string]map[string]interface{}

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetDetailsOk

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetDetailsOk() (map[string]map[string]interface{}, bool)

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetId

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetIdOk

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetMessage

GetMessage returns the Message field value

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetMessageOk

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetReason

GetReason returns the Reason field value if set, zero value otherwise.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetReasonOk

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserTo

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserTo() string

GetRedirectBrowserTo returns the RedirectBrowserTo field value if set, zero value otherwise.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserToOk

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRedirectBrowserToOk() (*string, bool)

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRequest

GetRequest returns the Request field value if set, zero value otherwise.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetRequestOk

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) GetStatusOk

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasCode

HasCode returns a boolean if a field has been set.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasDebug

HasDebug returns a boolean if a field has been set.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasDetails

HasDetails returns a boolean if a field has been set.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasId

HasId returns a boolean if a field has been set.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasReason

HasReason returns a boolean if a field has been set.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasRedirectBrowserTo

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) HasRedirectBrowserTo() bool

HasRedirectBrowserTo returns a boolean if a field has been set.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasRequest

HasRequest returns a boolean if a field has been set.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) HasStatus

HasStatus returns a boolean if a field has been set.

func (ErrorAuthenticatorAssuranceLevelNotSatisfied) MarshalJSON

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetCode

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetDebug

SetDebug gets a reference to the given string and assigns it to the Debug field.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetDetails

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) SetDetails(v map[string]map[string]interface{})

SetDetails gets a reference to the given map[string]map[string]interface{} and assigns it to the Details field.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetId

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

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetMessage

SetMessage sets field value

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetReason

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetRedirectBrowserTo

func (o *ErrorAuthenticatorAssuranceLevelNotSatisfied) SetRedirectBrowserTo(v string)

SetRedirectBrowserTo gets a reference to the given string and assigns it to the RedirectBrowserTo field.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetRequest

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*ErrorAuthenticatorAssuranceLevelNotSatisfied) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

type GenericError

type GenericError struct {
	// The status code
	Code *int64 `json:"code,omitempty"`
	// Debug information  This field is often not exposed to protect against leaking sensitive information.
	Debug *string `json:"debug,omitempty"`
	// Further error details
	Details map[string]interface{} `json:"details,omitempty"`
	// The error ID  Useful when trying to identify various errors in application logic.
	Id *string `json:"id,omitempty"`
	// Error message  The error's message.
	Message string `json:"message"`
	// A human-readable reason for the error
	Reason *string `json:"reason,omitempty"`
	// The request ID  The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
	Request *string `json:"request,omitempty"`
	// The status description
	Status *string `json:"status,omitempty"`
}

GenericError struct for GenericError

func NewGenericError

func NewGenericError(message string) *GenericError

NewGenericError instantiates a new GenericError 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 NewGenericErrorWithDefaults

func NewGenericErrorWithDefaults() *GenericError

NewGenericErrorWithDefaults instantiates a new GenericError 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 (*GenericError) GetCode

func (o *GenericError) GetCode() int64

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

func (*GenericError) GetCodeOk

func (o *GenericError) GetCodeOk() (*int64, bool)

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

func (*GenericError) GetDebug

func (o *GenericError) GetDebug() string

GetDebug returns the Debug field value if set, zero value otherwise.

func (*GenericError) GetDebugOk

func (o *GenericError) GetDebugOk() (*string, bool)

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

func (*GenericError) GetDetails

func (o *GenericError) GetDetails() map[string]interface{}

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

func (*GenericError) GetDetailsOk

func (o *GenericError) GetDetailsOk() (map[string]interface{}, bool)

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

func (*GenericError) GetId

func (o *GenericError) GetId() string

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

func (*GenericError) GetIdOk

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

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

func (*GenericError) GetMessage

func (o *GenericError) GetMessage() string

GetMessage returns the Message field value

func (*GenericError) GetMessageOk

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

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

func (*GenericError) GetReason

func (o *GenericError) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*GenericError) GetReasonOk

func (o *GenericError) GetReasonOk() (*string, bool)

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

func (*GenericError) GetRequest

func (o *GenericError) GetRequest() string

GetRequest returns the Request field value if set, zero value otherwise.

func (*GenericError) GetRequestOk

func (o *GenericError) GetRequestOk() (*string, bool)

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

func (*GenericError) GetStatus

func (o *GenericError) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*GenericError) GetStatusOk

func (o *GenericError) GetStatusOk() (*string, bool)

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

func (*GenericError) HasCode

func (o *GenericError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*GenericError) HasDebug

func (o *GenericError) HasDebug() bool

HasDebug returns a boolean if a field has been set.

func (*GenericError) HasDetails

func (o *GenericError) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*GenericError) HasId

func (o *GenericError) HasId() bool

HasId returns a boolean if a field has been set.

func (*GenericError) HasReason

func (o *GenericError) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*GenericError) HasRequest

func (o *GenericError) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*GenericError) HasStatus

func (o *GenericError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (GenericError) MarshalJSON

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

func (*GenericError) SetCode

func (o *GenericError) SetCode(v int64)

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

func (*GenericError) SetDebug

func (o *GenericError) SetDebug(v string)

SetDebug gets a reference to the given string and assigns it to the Debug field.

func (*GenericError) SetDetails

func (o *GenericError) SetDetails(v map[string]interface{})

SetDetails gets a reference to the given map[string]interface{} and assigns it to the Details field.

func (*GenericError) SetId

func (o *GenericError) SetId(v string)

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

func (*GenericError) SetMessage

func (o *GenericError) SetMessage(v string)

SetMessage sets field value

func (*GenericError) SetReason

func (o *GenericError) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*GenericError) SetRequest

func (o *GenericError) SetRequest(v string)

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*GenericError) SetStatus

func (o *GenericError) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

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 HealthNotReadyStatus

type HealthNotReadyStatus struct {
	// Errors contains a list of errors that caused the not ready status.
	Errors *map[string]string `json:"errors,omitempty"`
}

HealthNotReadyStatus struct for HealthNotReadyStatus

func NewHealthNotReadyStatus

func NewHealthNotReadyStatus() *HealthNotReadyStatus

NewHealthNotReadyStatus instantiates a new HealthNotReadyStatus 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 NewHealthNotReadyStatusWithDefaults

func NewHealthNotReadyStatusWithDefaults() *HealthNotReadyStatus

NewHealthNotReadyStatusWithDefaults instantiates a new HealthNotReadyStatus 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 (*HealthNotReadyStatus) GetErrors

func (o *HealthNotReadyStatus) GetErrors() map[string]string

GetErrors returns the Errors field value if set, zero value otherwise.

func (*HealthNotReadyStatus) GetErrorsOk

func (o *HealthNotReadyStatus) GetErrorsOk() (*map[string]string, bool)

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

func (*HealthNotReadyStatus) HasErrors

func (o *HealthNotReadyStatus) HasErrors() bool

HasErrors returns a boolean if a field has been set.

func (HealthNotReadyStatus) MarshalJSON

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

func (*HealthNotReadyStatus) SetErrors

func (o *HealthNotReadyStatus) SetErrors(v map[string]string)

SetErrors gets a reference to the given map[string]string and assigns it to the Errors field.

type HealthStatus

type HealthStatus struct {
	// Status always contains \"ok\".
	Status *string `json:"status,omitempty"`
}

HealthStatus struct for HealthStatus

func NewHealthStatus

func NewHealthStatus() *HealthStatus

NewHealthStatus instantiates a new HealthStatus 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 NewHealthStatusWithDefaults

func NewHealthStatusWithDefaults() *HealthStatus

NewHealthStatusWithDefaults instantiates a new HealthStatus 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 (*HealthStatus) GetStatus

func (o *HealthStatus) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*HealthStatus) GetStatusOk

func (o *HealthStatus) GetStatusOk() (*string, bool)

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

func (*HealthStatus) HasStatus

func (o *HealthStatus) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (HealthStatus) MarshalJSON

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

func (*HealthStatus) SetStatus

func (o *HealthStatus) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type Identity

type Identity struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Credentials represents all credentials that can be used for authenticating this identity.
	Credentials *map[string]IdentityCredentials `json:"credentials,omitempty"`
	Id          string                          `json:"id"`
	// NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-
	MetadataAdmin interface{} `json:"metadata_admin,omitempty"`
	// NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-
	MetadataPublic interface{} `json:"metadata_public,omitempty"`
	// RecoveryAddresses contains all the addresses that can be used to recover an identity.
	RecoveryAddresses []RecoveryAddress `json:"recovery_addresses,omitempty"`
	// SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
	SchemaId string `json:"schema_id"`
	// SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.  format: url
	SchemaUrl      string         `json:"schema_url"`
	State          *IdentityState `json:"state,omitempty"`
	StateChangedAt *time.Time     `json:"state_changed_at,omitempty"`
	// Traits represent an identity's traits. The identity is able to create, modify, and delete traits in a self-service manner. The input will always be validated against the JSON Schema defined in `schema_url`.
	Traits interface{} `json:"traits"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// VerifiableAddresses contains all the addresses that can be verified by the user.
	VerifiableAddresses []VerifiableIdentityAddress `json:"verifiable_addresses,omitempty"`
}

Identity An identity can be a real human, a service, an IoT device - everything that can be described as an \"actor\" in a system.

func NewIdentity

func NewIdentity(id string, schemaId string, schemaUrl string, traits interface{}) *Identity

NewIdentity instantiates a new Identity 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 NewIdentityWithDefaults

func NewIdentityWithDefaults() *Identity

NewIdentityWithDefaults instantiates a new Identity 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 (*Identity) GetCreatedAt

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

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

func (*Identity) GetCreatedAtOk

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

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

func (*Identity) GetCredentials

func (o *Identity) GetCredentials() map[string]IdentityCredentials

GetCredentials returns the Credentials field value if set, zero value otherwise.

func (*Identity) GetCredentialsOk

func (o *Identity) GetCredentialsOk() (*map[string]IdentityCredentials, bool)

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

func (*Identity) GetId

func (o *Identity) GetId() string

GetId returns the Id field value

func (*Identity) GetIdOk

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

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

func (*Identity) GetMetadataAdmin

func (o *Identity) GetMetadataAdmin() interface{}

GetMetadataAdmin returns the MetadataAdmin field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Identity) GetMetadataAdminOk

func (o *Identity) GetMetadataAdminOk() (*interface{}, bool)

GetMetadataAdminOk returns a tuple with the MetadataAdmin field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Identity) GetMetadataPublic

func (o *Identity) GetMetadataPublic() interface{}

GetMetadataPublic returns the MetadataPublic field value if set, zero value otherwise (both if not set or set to explicit null).

func (*Identity) GetMetadataPublicOk

func (o *Identity) GetMetadataPublicOk() (*interface{}, bool)

GetMetadataPublicOk returns a tuple with the MetadataPublic field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Identity) GetRecoveryAddresses

func (o *Identity) GetRecoveryAddresses() []RecoveryAddress

GetRecoveryAddresses returns the RecoveryAddresses field value if set, zero value otherwise.

func (*Identity) GetRecoveryAddressesOk

func (o *Identity) GetRecoveryAddressesOk() ([]RecoveryAddress, bool)

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

func (*Identity) GetSchemaId

func (o *Identity) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*Identity) GetSchemaIdOk

func (o *Identity) GetSchemaIdOk() (*string, bool)

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

func (*Identity) GetSchemaUrl

func (o *Identity) GetSchemaUrl() string

GetSchemaUrl returns the SchemaUrl field value

func (*Identity) GetSchemaUrlOk

func (o *Identity) GetSchemaUrlOk() (*string, bool)

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

func (*Identity) GetState

func (o *Identity) GetState() IdentityState

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

func (*Identity) GetStateChangedAt

func (o *Identity) GetStateChangedAt() time.Time

GetStateChangedAt returns the StateChangedAt field value if set, zero value otherwise.

func (*Identity) GetStateChangedAtOk

func (o *Identity) GetStateChangedAtOk() (*time.Time, bool)

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

func (*Identity) GetStateOk

func (o *Identity) GetStateOk() (*IdentityState, 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 (*Identity) GetTraits

func (o *Identity) GetTraits() interface{}

GetTraits returns the Traits field value If the value is explicit nil, the zero value for interface{} will be returned

func (*Identity) GetTraitsOk

func (o *Identity) GetTraitsOk() (*interface{}, bool)

GetTraitsOk returns a tuple with the Traits field value and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*Identity) GetUpdatedAt

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

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

func (*Identity) GetUpdatedAtOk

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

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

func (*Identity) GetVerifiableAddresses

func (o *Identity) GetVerifiableAddresses() []VerifiableIdentityAddress

GetVerifiableAddresses returns the VerifiableAddresses field value if set, zero value otherwise.

func (*Identity) GetVerifiableAddressesOk

func (o *Identity) GetVerifiableAddressesOk() ([]VerifiableIdentityAddress, bool)

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

func (*Identity) HasCreatedAt

func (o *Identity) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Identity) HasCredentials

func (o *Identity) HasCredentials() bool

HasCredentials returns a boolean if a field has been set.

func (*Identity) HasMetadataAdmin

func (o *Identity) HasMetadataAdmin() bool

HasMetadataAdmin returns a boolean if a field has been set.

func (*Identity) HasMetadataPublic

func (o *Identity) HasMetadataPublic() bool

HasMetadataPublic returns a boolean if a field has been set.

func (*Identity) HasRecoveryAddresses

func (o *Identity) HasRecoveryAddresses() bool

HasRecoveryAddresses returns a boolean if a field has been set.

func (*Identity) HasState

func (o *Identity) HasState() bool

HasState returns a boolean if a field has been set.

func (*Identity) HasStateChangedAt

func (o *Identity) HasStateChangedAt() bool

HasStateChangedAt returns a boolean if a field has been set.

func (*Identity) HasUpdatedAt

func (o *Identity) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*Identity) HasVerifiableAddresses

func (o *Identity) HasVerifiableAddresses() bool

HasVerifiableAddresses returns a boolean if a field has been set.

func (Identity) MarshalJSON

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

func (*Identity) SetCreatedAt

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

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

func (*Identity) SetCredentials

func (o *Identity) SetCredentials(v map[string]IdentityCredentials)

SetCredentials gets a reference to the given map[string]IdentityCredentials and assigns it to the Credentials field.

func (*Identity) SetId

func (o *Identity) SetId(v string)

SetId sets field value

func (*Identity) SetMetadataAdmin

func (o *Identity) SetMetadataAdmin(v interface{})

SetMetadataAdmin gets a reference to the given interface{} and assigns it to the MetadataAdmin field.

func (*Identity) SetMetadataPublic

func (o *Identity) SetMetadataPublic(v interface{})

SetMetadataPublic gets a reference to the given interface{} and assigns it to the MetadataPublic field.

func (*Identity) SetRecoveryAddresses

func (o *Identity) SetRecoveryAddresses(v []RecoveryAddress)

SetRecoveryAddresses gets a reference to the given []RecoveryAddress and assigns it to the RecoveryAddresses field.

func (*Identity) SetSchemaId

func (o *Identity) SetSchemaId(v string)

SetSchemaId sets field value

func (*Identity) SetSchemaUrl

func (o *Identity) SetSchemaUrl(v string)

SetSchemaUrl sets field value

func (*Identity) SetState

func (o *Identity) SetState(v IdentityState)

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

func (*Identity) SetStateChangedAt

func (o *Identity) SetStateChangedAt(v time.Time)

SetStateChangedAt gets a reference to the given time.Time and assigns it to the StateChangedAt field.

func (*Identity) SetTraits

func (o *Identity) SetTraits(v interface{})

SetTraits sets field value

func (*Identity) SetUpdatedAt

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

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

func (*Identity) SetVerifiableAddresses

func (o *Identity) SetVerifiableAddresses(v []VerifiableIdentityAddress)

SetVerifiableAddresses gets a reference to the given []VerifiableIdentityAddress and assigns it to the VerifiableAddresses field.

type IdentityCredentials

type IdentityCredentials struct {
	Config map[string]interface{} `json:"config,omitempty"`
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Identifiers represents a list of unique identifiers this credential type matches.
	Identifiers []string                 `json:"identifiers,omitempty"`
	Type        *IdentityCredentialsType `json:"type,omitempty"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// Version refers to the version of the credential. Useful when changing the config schema.
	Version *int64 `json:"version,omitempty"`
}

IdentityCredentials Credentials represents a specific credential type

func NewIdentityCredentials

func NewIdentityCredentials() *IdentityCredentials

NewIdentityCredentials instantiates a new IdentityCredentials 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 NewIdentityCredentialsWithDefaults

func NewIdentityCredentialsWithDefaults() *IdentityCredentials

NewIdentityCredentialsWithDefaults instantiates a new IdentityCredentials 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 (*IdentityCredentials) GetConfig

func (o *IdentityCredentials) GetConfig() map[string]interface{}

GetConfig returns the Config field value if set, zero value otherwise.

func (*IdentityCredentials) GetConfigOk

func (o *IdentityCredentials) GetConfigOk() (map[string]interface{}, bool)

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

func (*IdentityCredentials) GetCreatedAt

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

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

func (*IdentityCredentials) GetCreatedAtOk

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

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

func (*IdentityCredentials) GetIdentifiers

func (o *IdentityCredentials) GetIdentifiers() []string

GetIdentifiers returns the Identifiers field value if set, zero value otherwise.

func (*IdentityCredentials) GetIdentifiersOk

func (o *IdentityCredentials) GetIdentifiersOk() ([]string, bool)

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

func (*IdentityCredentials) GetType

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

func (*IdentityCredentials) GetTypeOk

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 (*IdentityCredentials) GetUpdatedAt

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

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

func (*IdentityCredentials) GetUpdatedAtOk

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

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

func (*IdentityCredentials) GetVersion

func (o *IdentityCredentials) GetVersion() int64

GetVersion returns the Version field value if set, zero value otherwise.

func (*IdentityCredentials) GetVersionOk

func (o *IdentityCredentials) GetVersionOk() (*int64, bool)

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

func (*IdentityCredentials) HasConfig

func (o *IdentityCredentials) HasConfig() bool

HasConfig returns a boolean if a field has been set.

func (*IdentityCredentials) HasCreatedAt

func (o *IdentityCredentials) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*IdentityCredentials) HasIdentifiers

func (o *IdentityCredentials) HasIdentifiers() bool

HasIdentifiers returns a boolean if a field has been set.

func (*IdentityCredentials) HasType

func (o *IdentityCredentials) HasType() bool

HasType returns a boolean if a field has been set.

func (*IdentityCredentials) HasUpdatedAt

func (o *IdentityCredentials) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*IdentityCredentials) HasVersion

func (o *IdentityCredentials) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (IdentityCredentials) MarshalJSON

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

func (*IdentityCredentials) SetConfig

func (o *IdentityCredentials) SetConfig(v map[string]interface{})

SetConfig gets a reference to the given map[string]interface{} and assigns it to the Config field.

func (*IdentityCredentials) SetCreatedAt

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

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

func (*IdentityCredentials) SetIdentifiers

func (o *IdentityCredentials) SetIdentifiers(v []string)

SetIdentifiers gets a reference to the given []string and assigns it to the Identifiers field.

func (*IdentityCredentials) SetType

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

func (*IdentityCredentials) SetUpdatedAt

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

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

func (*IdentityCredentials) SetVersion

func (o *IdentityCredentials) SetVersion(v int64)

SetVersion gets a reference to the given int64 and assigns it to the Version field.

type IdentityCredentialsOidc

type IdentityCredentialsOidc struct {
	Providers []IdentityCredentialsOidcProvider `json:"providers,omitempty"`
}

IdentityCredentialsOidc struct for IdentityCredentialsOidc

func NewIdentityCredentialsOidc

func NewIdentityCredentialsOidc() *IdentityCredentialsOidc

NewIdentityCredentialsOidc instantiates a new IdentityCredentialsOidc 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 NewIdentityCredentialsOidcWithDefaults

func NewIdentityCredentialsOidcWithDefaults() *IdentityCredentialsOidc

NewIdentityCredentialsOidcWithDefaults instantiates a new IdentityCredentialsOidc 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 (*IdentityCredentialsOidc) GetProviders

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

func (*IdentityCredentialsOidc) GetProvidersOk

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 (*IdentityCredentialsOidc) HasProviders

func (o *IdentityCredentialsOidc) HasProviders() bool

HasProviders returns a boolean if a field has been set.

func (IdentityCredentialsOidc) MarshalJSON

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

func (*IdentityCredentialsOidc) SetProviders

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

type IdentityCredentialsOidcProvider

type IdentityCredentialsOidcProvider struct {
	InitialAccessToken  *string `json:"initial_access_token,omitempty"`
	InitialIdToken      *string `json:"initial_id_token,omitempty"`
	InitialRefreshToken *string `json:"initial_refresh_token,omitempty"`
	Provider            *string `json:"provider,omitempty"`
	Subject             *string `json:"subject,omitempty"`
}

IdentityCredentialsOidcProvider struct for IdentityCredentialsOidcProvider

func NewIdentityCredentialsOidcProvider

func NewIdentityCredentialsOidcProvider() *IdentityCredentialsOidcProvider

NewIdentityCredentialsOidcProvider instantiates a new IdentityCredentialsOidcProvider 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 NewIdentityCredentialsOidcProviderWithDefaults

func NewIdentityCredentialsOidcProviderWithDefaults() *IdentityCredentialsOidcProvider

NewIdentityCredentialsOidcProviderWithDefaults instantiates a new IdentityCredentialsOidcProvider 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 (*IdentityCredentialsOidcProvider) GetInitialAccessToken

func (o *IdentityCredentialsOidcProvider) GetInitialAccessToken() string

GetInitialAccessToken returns the InitialAccessToken field value if set, zero value otherwise.

func (*IdentityCredentialsOidcProvider) GetInitialAccessTokenOk

func (o *IdentityCredentialsOidcProvider) GetInitialAccessTokenOk() (*string, bool)

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

func (*IdentityCredentialsOidcProvider) GetInitialIdToken

func (o *IdentityCredentialsOidcProvider) GetInitialIdToken() string

GetInitialIdToken returns the InitialIdToken field value if set, zero value otherwise.

func (*IdentityCredentialsOidcProvider) GetInitialIdTokenOk

func (o *IdentityCredentialsOidcProvider) GetInitialIdTokenOk() (*string, bool)

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

func (*IdentityCredentialsOidcProvider) GetInitialRefreshToken

func (o *IdentityCredentialsOidcProvider) GetInitialRefreshToken() string

GetInitialRefreshToken returns the InitialRefreshToken field value if set, zero value otherwise.

func (*IdentityCredentialsOidcProvider) GetInitialRefreshTokenOk

func (o *IdentityCredentialsOidcProvider) GetInitialRefreshTokenOk() (*string, bool)

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

func (*IdentityCredentialsOidcProvider) GetProvider

func (o *IdentityCredentialsOidcProvider) GetProvider() string

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

func (*IdentityCredentialsOidcProvider) GetProviderOk

func (o *IdentityCredentialsOidcProvider) 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 (*IdentityCredentialsOidcProvider) GetSubject

func (o *IdentityCredentialsOidcProvider) GetSubject() string

GetSubject returns the Subject field value if set, zero value otherwise.

func (*IdentityCredentialsOidcProvider) GetSubjectOk

func (o *IdentityCredentialsOidcProvider) GetSubjectOk() (*string, bool)

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

func (*IdentityCredentialsOidcProvider) HasInitialAccessToken

func (o *IdentityCredentialsOidcProvider) HasInitialAccessToken() bool

HasInitialAccessToken returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasInitialIdToken

func (o *IdentityCredentialsOidcProvider) HasInitialIdToken() bool

HasInitialIdToken returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasInitialRefreshToken

func (o *IdentityCredentialsOidcProvider) HasInitialRefreshToken() bool

HasInitialRefreshToken returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasProvider

func (o *IdentityCredentialsOidcProvider) HasProvider() bool

HasProvider returns a boolean if a field has been set.

func (*IdentityCredentialsOidcProvider) HasSubject

func (o *IdentityCredentialsOidcProvider) HasSubject() bool

HasSubject returns a boolean if a field has been set.

func (IdentityCredentialsOidcProvider) MarshalJSON

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

func (*IdentityCredentialsOidcProvider) SetInitialAccessToken

func (o *IdentityCredentialsOidcProvider) SetInitialAccessToken(v string)

SetInitialAccessToken gets a reference to the given string and assigns it to the InitialAccessToken field.

func (*IdentityCredentialsOidcProvider) SetInitialIdToken

func (o *IdentityCredentialsOidcProvider) SetInitialIdToken(v string)

SetInitialIdToken gets a reference to the given string and assigns it to the InitialIdToken field.

func (*IdentityCredentialsOidcProvider) SetInitialRefreshToken

func (o *IdentityCredentialsOidcProvider) SetInitialRefreshToken(v string)

SetInitialRefreshToken gets a reference to the given string and assigns it to the InitialRefreshToken field.

func (*IdentityCredentialsOidcProvider) SetProvider

func (o *IdentityCredentialsOidcProvider) SetProvider(v string)

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

func (*IdentityCredentialsOidcProvider) SetSubject

func (o *IdentityCredentialsOidcProvider) SetSubject(v string)

SetSubject gets a reference to the given string and assigns it to the Subject field.

type IdentityCredentialsPassword

type IdentityCredentialsPassword struct {
	// HashedPassword is a hash-representation of the password.
	HashedPassword *string `json:"hashed_password,omitempty"`
}

IdentityCredentialsPassword struct for IdentityCredentialsPassword

func NewIdentityCredentialsPassword

func NewIdentityCredentialsPassword() *IdentityCredentialsPassword

NewIdentityCredentialsPassword instantiates a new IdentityCredentialsPassword 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 NewIdentityCredentialsPasswordWithDefaults

func NewIdentityCredentialsPasswordWithDefaults() *IdentityCredentialsPassword

NewIdentityCredentialsPasswordWithDefaults instantiates a new IdentityCredentialsPassword 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 (*IdentityCredentialsPassword) GetHashedPassword

func (o *IdentityCredentialsPassword) GetHashedPassword() string

GetHashedPassword returns the HashedPassword field value if set, zero value otherwise.

func (*IdentityCredentialsPassword) GetHashedPasswordOk

func (o *IdentityCredentialsPassword) GetHashedPasswordOk() (*string, bool)

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

func (*IdentityCredentialsPassword) HasHashedPassword

func (o *IdentityCredentialsPassword) HasHashedPassword() bool

HasHashedPassword returns a boolean if a field has been set.

func (IdentityCredentialsPassword) MarshalJSON

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

func (*IdentityCredentialsPassword) SetHashedPassword

func (o *IdentityCredentialsPassword) SetHashedPassword(v string)

SetHashedPassword gets a reference to the given string and assigns it to the HashedPassword field.

type IdentityCredentialsType

type IdentityCredentialsType string

IdentityCredentialsType and so on.

const (
	IDENTITYCREDENTIALSTYPE_PASSWORD      IdentityCredentialsType = "password"
	IDENTITYCREDENTIALSTYPE_TOTP          IdentityCredentialsType = "totp"
	IDENTITYCREDENTIALSTYPE_OIDC          IdentityCredentialsType = "oidc"
	IDENTITYCREDENTIALSTYPE_WEBAUTHN      IdentityCredentialsType = "webauthn"
	IDENTITYCREDENTIALSTYPE_LOOKUP_SECRET IdentityCredentialsType = "lookup_secret"
)

List of identityCredentialsType

func NewIdentityCredentialsTypeFromValue

func NewIdentityCredentialsTypeFromValue(v string) (*IdentityCredentialsType, error)

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

func (IdentityCredentialsType) IsValid

func (v IdentityCredentialsType) IsValid() bool

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

func (IdentityCredentialsType) Ptr

Ptr returns reference to identityCredentialsType value

func (*IdentityCredentialsType) UnmarshalJSON

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

type IdentitySchema

type IdentitySchema struct {
	// The ID of the Identity JSON Schema
	Id *string `json:"id,omitempty"`
	// The actual Identity JSON Schema
	Schema map[string]interface{} `json:"schema,omitempty"`
}

IdentitySchema struct for IdentitySchema

func NewIdentitySchema

func NewIdentitySchema() *IdentitySchema

NewIdentitySchema instantiates a new IdentitySchema 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 NewIdentitySchemaWithDefaults

func NewIdentitySchemaWithDefaults() *IdentitySchema

NewIdentitySchemaWithDefaults instantiates a new IdentitySchema 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 (*IdentitySchema) GetId

func (o *IdentitySchema) GetId() string

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

func (*IdentitySchema) GetIdOk

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

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

func (*IdentitySchema) GetSchema

func (o *IdentitySchema) GetSchema() map[string]interface{}

GetSchema returns the Schema field value if set, zero value otherwise.

func (*IdentitySchema) GetSchemaOk

func (o *IdentitySchema) GetSchemaOk() (map[string]interface{}, bool)

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

func (*IdentitySchema) HasId

func (o *IdentitySchema) HasId() bool

HasId returns a boolean if a field has been set.

func (*IdentitySchema) HasSchema

func (o *IdentitySchema) HasSchema() bool

HasSchema returns a boolean if a field has been set.

func (IdentitySchema) MarshalJSON

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

func (*IdentitySchema) SetId

func (o *IdentitySchema) SetId(v string)

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

func (*IdentitySchema) SetSchema

func (o *IdentitySchema) SetSchema(v map[string]interface{})

SetSchema gets a reference to the given map[string]interface{} and assigns it to the Schema field.

type IdentityState

type IdentityState string

IdentityState The state can either be `active` or `inactive`.

const (
	IDENTITYSTATE_ACTIVE   IdentityState = "active"
	IDENTITYSTATE_INACTIVE IdentityState = "inactive"
)

List of identityState

func NewIdentityStateFromValue

func NewIdentityStateFromValue(v string) (*IdentityState, error)

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

func (IdentityState) IsValid

func (v IdentityState) IsValid() bool

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

func (IdentityState) Ptr

func (v IdentityState) Ptr() *IdentityState

Ptr returns reference to identityState value

func (*IdentityState) UnmarshalJSON

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

type InlineResponse200

type InlineResponse200 struct {
	// Always \"ok\".
	Status string `json:"status"`
}

InlineResponse200 struct for InlineResponse200

func NewInlineResponse200

func NewInlineResponse200(status string) *InlineResponse200

NewInlineResponse200 instantiates a new InlineResponse200 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 NewInlineResponse200WithDefaults

func NewInlineResponse200WithDefaults() *InlineResponse200

NewInlineResponse200WithDefaults instantiates a new InlineResponse200 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 (*InlineResponse200) GetStatus

func (o *InlineResponse200) GetStatus() string

GetStatus returns the Status field value

func (*InlineResponse200) GetStatusOk

func (o *InlineResponse200) GetStatusOk() (*string, bool)

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

func (InlineResponse200) MarshalJSON

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

func (*InlineResponse200) SetStatus

func (o *InlineResponse200) SetStatus(v string)

SetStatus sets field value

type InlineResponse2001

type InlineResponse2001 struct {
	// The version of Ory Kratos.
	Version string `json:"version"`
}

InlineResponse2001 struct for InlineResponse2001

func NewInlineResponse2001

func NewInlineResponse2001(version string) *InlineResponse2001

NewInlineResponse2001 instantiates a new InlineResponse2001 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 NewInlineResponse2001WithDefaults

func NewInlineResponse2001WithDefaults() *InlineResponse2001

NewInlineResponse2001WithDefaults instantiates a new InlineResponse2001 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 (*InlineResponse2001) GetVersion

func (o *InlineResponse2001) GetVersion() string

GetVersion returns the Version field value

func (*InlineResponse2001) GetVersionOk

func (o *InlineResponse2001) GetVersionOk() (*string, bool)

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

func (InlineResponse2001) MarshalJSON

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

func (*InlineResponse2001) SetVersion

func (o *InlineResponse2001) SetVersion(v string)

SetVersion sets field value

type InlineResponse503

type InlineResponse503 struct {
	// Errors contains a list of errors that caused the not ready status.
	Errors map[string]string `json:"errors"`
}

InlineResponse503 struct for InlineResponse503

func NewInlineResponse503

func NewInlineResponse503(errors map[string]string) *InlineResponse503

NewInlineResponse503 instantiates a new InlineResponse503 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 NewInlineResponse503WithDefaults

func NewInlineResponse503WithDefaults() *InlineResponse503

NewInlineResponse503WithDefaults instantiates a new InlineResponse503 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 (*InlineResponse503) GetErrors

func (o *InlineResponse503) GetErrors() map[string]string

GetErrors returns the Errors field value

func (*InlineResponse503) GetErrorsOk

func (o *InlineResponse503) GetErrorsOk() (*map[string]string, bool)

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

func (InlineResponse503) MarshalJSON

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

func (*InlineResponse503) SetErrors

func (o *InlineResponse503) SetErrors(v map[string]string)

SetErrors sets field value

type JsonError

type JsonError struct {
	Error GenericError `json:"error"`
}

JsonError The standard Ory JSON API error format.

func NewJsonError

func NewJsonError(error_ GenericError) *JsonError

NewJsonError instantiates a new JsonError 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 NewJsonErrorWithDefaults

func NewJsonErrorWithDefaults() *JsonError

NewJsonErrorWithDefaults instantiates a new JsonError 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 (*JsonError) GetError

func (o *JsonError) GetError() GenericError

GetError returns the Error field value

func (*JsonError) GetErrorOk

func (o *JsonError) GetErrorOk() (*GenericError, bool)

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

func (JsonError) MarshalJSON

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

func (*JsonError) SetError

func (o *JsonError) SetError(v GenericError)

SetError sets field value

type MetadataApi

type MetadataApi interface {

	/*
		 * GetVersion Return Running Software Version.
		 * This endpoint returns the version of Ory Kratos.

	If the service supports TLS Edge Termination, this endpoint does not require the
	`X-Forwarded-Proto` header to be set.

	Be aware that if you are running multiple nodes of this service, the version will never
	refer to the cluster state, only to a single instance.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return MetadataApiApiGetVersionRequest
	*/
	GetVersion(ctx context.Context) MetadataApiApiGetVersionRequest

	/*
	 * GetVersionExecute executes the request
	 * @return InlineResponse2001
	 */
	GetVersionExecute(r MetadataApiApiGetVersionRequest) (*InlineResponse2001, *http.Response, error)

	/*
		 * IsAlive Check HTTP Server Status
		 * This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming
	HTTP requests. This status does currently not include checks whether the database connection is working.

	If the service supports TLS Edge Termination, this endpoint does not require the
	`X-Forwarded-Proto` header to be set.

	Be aware that if you are running multiple nodes of this service, the health status will never
	refer to the cluster state, only to a single instance.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return MetadataApiApiIsAliveRequest
	*/
	IsAlive(ctx context.Context) MetadataApiApiIsAliveRequest

	/*
	 * IsAliveExecute executes the request
	 * @return InlineResponse200
	 */
	IsAliveExecute(r MetadataApiApiIsAliveRequest) (*InlineResponse200, *http.Response, error)

	/*
		 * IsReady Check HTTP Server and Database Status
		 * This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g.
	the database) are responsive as well.

	If the service supports TLS Edge Termination, this endpoint does not require the
	`X-Forwarded-Proto` header to be set.

	Be aware that if you are running multiple nodes of Ory Kratos, the health status will never
	refer to the cluster state, only to a single instance.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return MetadataApiApiIsReadyRequest
	*/
	IsReady(ctx context.Context) MetadataApiApiIsReadyRequest

	/*
	 * IsReadyExecute executes the request
	 * @return InlineResponse200
	 */
	IsReadyExecute(r MetadataApiApiIsReadyRequest) (*InlineResponse200, *http.Response, error)
}

type MetadataApiApiGetVersionRequest

type MetadataApiApiGetVersionRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (MetadataApiApiGetVersionRequest) Execute

type MetadataApiApiIsAliveRequest

type MetadataApiApiIsAliveRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (MetadataApiApiIsAliveRequest) Execute

type MetadataApiApiIsReadyRequest

type MetadataApiApiIsReadyRequest struct {
	ApiService MetadataApi
	// contains filtered or unexported fields
}

func (MetadataApiApiIsReadyRequest) Execute

type MetadataApiService

type MetadataApiService service

MetadataApiService MetadataApi service

func (*MetadataApiService) GetVersion

  • GetVersion Return Running Software Version.
  • This endpoint returns the version of Ory Kratos.

If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.

Be aware that if you are running multiple nodes of this service, the version will never refer to the cluster state, only to a single instance.

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

func (*MetadataApiService) GetVersionExecute

* Execute executes the request * @return InlineResponse2001

func (*MetadataApiService) IsAlive

  • IsAlive Check HTTP Server Status
  • This endpoint returns a HTTP 200 status code when Ory Kratos is accepting incoming

HTTP requests. This status does currently not include checks whether the database connection is working.

If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.

Be aware that if you are running multiple nodes of this service, the health status will never refer to the cluster state, only to a single instance.

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

func (*MetadataApiService) IsAliveExecute

* Execute executes the request * @return InlineResponse200

func (*MetadataApiService) IsReady

  • IsReady Check HTTP Server and Database Status
  • This endpoint returns a HTTP 200 status code when Ory Kratos is up running and the environment dependencies (e.g.

the database) are responsive as well.

If the service supports TLS Edge Termination, this endpoint does not require the `X-Forwarded-Proto` header to be set.

Be aware that if you are running multiple nodes of Ory Kratos, the health status will never refer to the cluster state, only to a single instance.

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

func (*MetadataApiService) IsReadyExecute

* Execute executes the request * @return InlineResponse200

type NeedsPrivilegedSessionError

type NeedsPrivilegedSessionError struct {
	// The status code
	Code *int64 `json:"code,omitempty"`
	// Debug information  This field is often not exposed to protect against leaking sensitive information.
	Debug *string `json:"debug,omitempty"`
	// Further error details
	Details map[string]map[string]interface{} `json:"details,omitempty"`
	// The error ID  Useful when trying to identify various errors in application logic.
	Id *string `json:"id,omitempty"`
	// Error message  The error's message.
	Message string `json:"message"`
	// A human-readable reason for the error
	Reason *string `json:"reason,omitempty"`
	// Points to where to redirect the user to next.
	RedirectBrowserTo string `json:"redirect_browser_to"`
	// The request ID  The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
	Request *string `json:"request,omitempty"`
	// The status description
	Status *string `json:"status,omitempty"`
}

NeedsPrivilegedSessionError struct for NeedsPrivilegedSessionError

func NewNeedsPrivilegedSessionError

func NewNeedsPrivilegedSessionError(message string, redirectBrowserTo string) *NeedsPrivilegedSessionError

NewNeedsPrivilegedSessionError instantiates a new NeedsPrivilegedSessionError 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 NewNeedsPrivilegedSessionErrorWithDefaults

func NewNeedsPrivilegedSessionErrorWithDefaults() *NeedsPrivilegedSessionError

NewNeedsPrivilegedSessionErrorWithDefaults instantiates a new NeedsPrivilegedSessionError 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 (*NeedsPrivilegedSessionError) GetCode

func (o *NeedsPrivilegedSessionError) GetCode() int64

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

func (*NeedsPrivilegedSessionError) GetCodeOk

func (o *NeedsPrivilegedSessionError) GetCodeOk() (*int64, bool)

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

func (*NeedsPrivilegedSessionError) GetDebug

func (o *NeedsPrivilegedSessionError) GetDebug() string

GetDebug returns the Debug field value if set, zero value otherwise.

func (*NeedsPrivilegedSessionError) GetDebugOk

func (o *NeedsPrivilegedSessionError) GetDebugOk() (*string, bool)

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

func (*NeedsPrivilegedSessionError) GetDetails

func (o *NeedsPrivilegedSessionError) GetDetails() map[string]map[string]interface{}

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

func (*NeedsPrivilegedSessionError) GetDetailsOk

func (o *NeedsPrivilegedSessionError) GetDetailsOk() (map[string]map[string]interface{}, bool)

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

func (*NeedsPrivilegedSessionError) GetId

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

func (*NeedsPrivilegedSessionError) GetIdOk

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

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

func (*NeedsPrivilegedSessionError) GetMessage

func (o *NeedsPrivilegedSessionError) GetMessage() string

GetMessage returns the Message field value

func (*NeedsPrivilegedSessionError) GetMessageOk

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

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

func (*NeedsPrivilegedSessionError) GetReason

func (o *NeedsPrivilegedSessionError) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*NeedsPrivilegedSessionError) GetReasonOk

func (o *NeedsPrivilegedSessionError) GetReasonOk() (*string, bool)

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

func (*NeedsPrivilegedSessionError) GetRedirectBrowserTo

func (o *NeedsPrivilegedSessionError) GetRedirectBrowserTo() string

GetRedirectBrowserTo returns the RedirectBrowserTo field value

func (*NeedsPrivilegedSessionError) GetRedirectBrowserToOk

func (o *NeedsPrivilegedSessionError) GetRedirectBrowserToOk() (*string, bool)

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

func (*NeedsPrivilegedSessionError) GetRequest

func (o *NeedsPrivilegedSessionError) GetRequest() string

GetRequest returns the Request field value if set, zero value otherwise.

func (*NeedsPrivilegedSessionError) GetRequestOk

func (o *NeedsPrivilegedSessionError) GetRequestOk() (*string, bool)

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

func (*NeedsPrivilegedSessionError) GetStatus

func (o *NeedsPrivilegedSessionError) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*NeedsPrivilegedSessionError) GetStatusOk

func (o *NeedsPrivilegedSessionError) GetStatusOk() (*string, bool)

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

func (*NeedsPrivilegedSessionError) HasCode

func (o *NeedsPrivilegedSessionError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*NeedsPrivilegedSessionError) HasDebug

func (o *NeedsPrivilegedSessionError) HasDebug() bool

HasDebug returns a boolean if a field has been set.

func (*NeedsPrivilegedSessionError) HasDetails

func (o *NeedsPrivilegedSessionError) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*NeedsPrivilegedSessionError) HasId

func (o *NeedsPrivilegedSessionError) HasId() bool

HasId returns a boolean if a field has been set.

func (*NeedsPrivilegedSessionError) HasReason

func (o *NeedsPrivilegedSessionError) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*NeedsPrivilegedSessionError) HasRequest

func (o *NeedsPrivilegedSessionError) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*NeedsPrivilegedSessionError) HasStatus

func (o *NeedsPrivilegedSessionError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (NeedsPrivilegedSessionError) MarshalJSON

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

func (*NeedsPrivilegedSessionError) SetCode

func (o *NeedsPrivilegedSessionError) SetCode(v int64)

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

func (*NeedsPrivilegedSessionError) SetDebug

func (o *NeedsPrivilegedSessionError) SetDebug(v string)

SetDebug gets a reference to the given string and assigns it to the Debug field.

func (*NeedsPrivilegedSessionError) SetDetails

func (o *NeedsPrivilegedSessionError) SetDetails(v map[string]map[string]interface{})

SetDetails gets a reference to the given map[string]map[string]interface{} and assigns it to the Details field.

func (*NeedsPrivilegedSessionError) SetId

func (o *NeedsPrivilegedSessionError) SetId(v string)

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

func (*NeedsPrivilegedSessionError) SetMessage

func (o *NeedsPrivilegedSessionError) SetMessage(v string)

SetMessage sets field value

func (*NeedsPrivilegedSessionError) SetReason

func (o *NeedsPrivilegedSessionError) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*NeedsPrivilegedSessionError) SetRedirectBrowserTo

func (o *NeedsPrivilegedSessionError) SetRedirectBrowserTo(v string)

SetRedirectBrowserTo sets field value

func (*NeedsPrivilegedSessionError) SetRequest

func (o *NeedsPrivilegedSessionError) SetRequest(v string)

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*NeedsPrivilegedSessionError) SetStatus

func (o *NeedsPrivilegedSessionError) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

type NullableAdminCreateIdentityBody

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

func (NullableAdminCreateIdentityBody) Get

func (NullableAdminCreateIdentityBody) IsSet

func (NullableAdminCreateIdentityBody) MarshalJSON

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

func (*NullableAdminCreateIdentityBody) Set

func (*NullableAdminCreateIdentityBody) UnmarshalJSON

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

func (*NullableAdminCreateIdentityBody) Unset

type NullableAdminCreateIdentityImportCredentialsOidc

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

func (NullableAdminCreateIdentityImportCredentialsOidc) Get

func (NullableAdminCreateIdentityImportCredentialsOidc) IsSet

func (NullableAdminCreateIdentityImportCredentialsOidc) MarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsOidc) Set

func (*NullableAdminCreateIdentityImportCredentialsOidc) UnmarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsOidc) Unset

type NullableAdminCreateIdentityImportCredentialsOidcConfig

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

func (NullableAdminCreateIdentityImportCredentialsOidcConfig) Get

func (NullableAdminCreateIdentityImportCredentialsOidcConfig) IsSet

func (NullableAdminCreateIdentityImportCredentialsOidcConfig) MarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsOidcConfig) Set

func (*NullableAdminCreateIdentityImportCredentialsOidcConfig) UnmarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsOidcConfig) Unset

type NullableAdminCreateIdentityImportCredentialsOidcProvider

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

func (NullableAdminCreateIdentityImportCredentialsOidcProvider) Get

func (NullableAdminCreateIdentityImportCredentialsOidcProvider) IsSet

func (NullableAdminCreateIdentityImportCredentialsOidcProvider) MarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsOidcProvider) Set

func (*NullableAdminCreateIdentityImportCredentialsOidcProvider) UnmarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsOidcProvider) Unset

type NullableAdminCreateIdentityImportCredentialsPassword

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

func (NullableAdminCreateIdentityImportCredentialsPassword) Get

func (NullableAdminCreateIdentityImportCredentialsPassword) IsSet

func (NullableAdminCreateIdentityImportCredentialsPassword) MarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsPassword) Set

func (*NullableAdminCreateIdentityImportCredentialsPassword) UnmarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsPassword) Unset

type NullableAdminCreateIdentityImportCredentialsPasswordConfig

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

func (NullableAdminCreateIdentityImportCredentialsPasswordConfig) Get

func (NullableAdminCreateIdentityImportCredentialsPasswordConfig) IsSet

func (NullableAdminCreateIdentityImportCredentialsPasswordConfig) MarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsPasswordConfig) Set

func (*NullableAdminCreateIdentityImportCredentialsPasswordConfig) UnmarshalJSON

func (*NullableAdminCreateIdentityImportCredentialsPasswordConfig) Unset

type NullableAdminCreateSelfServiceRecoveryLinkBody

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

func (NullableAdminCreateSelfServiceRecoveryLinkBody) Get

func (NullableAdminCreateSelfServiceRecoveryLinkBody) IsSet

func (NullableAdminCreateSelfServiceRecoveryLinkBody) MarshalJSON

func (*NullableAdminCreateSelfServiceRecoveryLinkBody) Set

func (*NullableAdminCreateSelfServiceRecoveryLinkBody) UnmarshalJSON

func (*NullableAdminCreateSelfServiceRecoveryLinkBody) Unset

type NullableAdminIdentityImportCredentials

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

func (NullableAdminIdentityImportCredentials) Get

func (NullableAdminIdentityImportCredentials) IsSet

func (NullableAdminIdentityImportCredentials) MarshalJSON

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

func (*NullableAdminIdentityImportCredentials) Set

func (*NullableAdminIdentityImportCredentials) UnmarshalJSON

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

func (*NullableAdminIdentityImportCredentials) Unset

type NullableAdminUpdateIdentityBody

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

func (NullableAdminUpdateIdentityBody) Get

func (NullableAdminUpdateIdentityBody) IsSet

func (NullableAdminUpdateIdentityBody) MarshalJSON

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

func (*NullableAdminUpdateIdentityBody) Set

func (*NullableAdminUpdateIdentityBody) UnmarshalJSON

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

func (*NullableAdminUpdateIdentityBody) Unset

type NullableAuthenticatorAssuranceLevel

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

func (NullableAuthenticatorAssuranceLevel) Get

func (NullableAuthenticatorAssuranceLevel) IsSet

func (NullableAuthenticatorAssuranceLevel) MarshalJSON

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

func (*NullableAuthenticatorAssuranceLevel) Set

func (*NullableAuthenticatorAssuranceLevel) UnmarshalJSON

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

func (*NullableAuthenticatorAssuranceLevel) 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 NullableErrorAuthenticatorAssuranceLevelNotSatisfied

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

func (NullableErrorAuthenticatorAssuranceLevelNotSatisfied) Get

func (NullableErrorAuthenticatorAssuranceLevelNotSatisfied) IsSet

func (NullableErrorAuthenticatorAssuranceLevelNotSatisfied) MarshalJSON

func (*NullableErrorAuthenticatorAssuranceLevelNotSatisfied) Set

func (*NullableErrorAuthenticatorAssuranceLevelNotSatisfied) UnmarshalJSON

func (*NullableErrorAuthenticatorAssuranceLevelNotSatisfied) 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 NullableGenericError

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

func NewNullableGenericError

func NewNullableGenericError(val *GenericError) *NullableGenericError

func (NullableGenericError) Get

func (NullableGenericError) IsSet

func (v NullableGenericError) IsSet() bool

func (NullableGenericError) MarshalJSON

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

func (*NullableGenericError) Set

func (v *NullableGenericError) Set(val *GenericError)

func (*NullableGenericError) UnmarshalJSON

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

func (*NullableGenericError) Unset

func (v *NullableGenericError) Unset()

type NullableHealthNotReadyStatus

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

func NewNullableHealthNotReadyStatus

func NewNullableHealthNotReadyStatus(val *HealthNotReadyStatus) *NullableHealthNotReadyStatus

func (NullableHealthNotReadyStatus) Get

func (NullableHealthNotReadyStatus) IsSet

func (NullableHealthNotReadyStatus) MarshalJSON

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

func (*NullableHealthNotReadyStatus) Set

func (*NullableHealthNotReadyStatus) UnmarshalJSON

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

func (*NullableHealthNotReadyStatus) Unset

func (v *NullableHealthNotReadyStatus) Unset()

type NullableHealthStatus

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

func NewNullableHealthStatus

func NewNullableHealthStatus(val *HealthStatus) *NullableHealthStatus

func (NullableHealthStatus) Get

func (NullableHealthStatus) IsSet

func (v NullableHealthStatus) IsSet() bool

func (NullableHealthStatus) MarshalJSON

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

func (*NullableHealthStatus) Set

func (v *NullableHealthStatus) Set(val *HealthStatus)

func (*NullableHealthStatus) UnmarshalJSON

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

func (*NullableHealthStatus) Unset

func (v *NullableHealthStatus) Unset()

type NullableIdentity

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

func NewNullableIdentity

func NewNullableIdentity(val *Identity) *NullableIdentity

func (NullableIdentity) Get

func (v NullableIdentity) Get() *Identity

func (NullableIdentity) IsSet

func (v NullableIdentity) IsSet() bool

func (NullableIdentity) MarshalJSON

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

func (*NullableIdentity) Set

func (v *NullableIdentity) Set(val *Identity)

func (*NullableIdentity) UnmarshalJSON

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

func (*NullableIdentity) Unset

func (v *NullableIdentity) Unset()

type NullableIdentityCredentials

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

func NewNullableIdentityCredentials

func NewNullableIdentityCredentials(val *IdentityCredentials) *NullableIdentityCredentials

func (NullableIdentityCredentials) Get

func (NullableIdentityCredentials) IsSet

func (NullableIdentityCredentials) MarshalJSON

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

func (*NullableIdentityCredentials) Set

func (*NullableIdentityCredentials) UnmarshalJSON

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

func (*NullableIdentityCredentials) Unset

func (v *NullableIdentityCredentials) Unset()

type NullableIdentityCredentialsOidc

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

func (NullableIdentityCredentialsOidc) Get

func (NullableIdentityCredentialsOidc) IsSet

func (NullableIdentityCredentialsOidc) MarshalJSON

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

func (*NullableIdentityCredentialsOidc) Set

func (*NullableIdentityCredentialsOidc) UnmarshalJSON

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

func (*NullableIdentityCredentialsOidc) Unset

type NullableIdentityCredentialsOidcProvider

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

func (NullableIdentityCredentialsOidcProvider) Get

func (NullableIdentityCredentialsOidcProvider) IsSet

func (NullableIdentityCredentialsOidcProvider) MarshalJSON

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

func (*NullableIdentityCredentialsOidcProvider) Set

func (*NullableIdentityCredentialsOidcProvider) UnmarshalJSON

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

func (*NullableIdentityCredentialsOidcProvider) Unset

type NullableIdentityCredentialsPassword

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

func (NullableIdentityCredentialsPassword) Get

func (NullableIdentityCredentialsPassword) IsSet

func (NullableIdentityCredentialsPassword) MarshalJSON

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

func (*NullableIdentityCredentialsPassword) Set

func (*NullableIdentityCredentialsPassword) UnmarshalJSON

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

func (*NullableIdentityCredentialsPassword) Unset

type NullableIdentityCredentialsType

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

func (NullableIdentityCredentialsType) Get

func (NullableIdentityCredentialsType) IsSet

func (NullableIdentityCredentialsType) MarshalJSON

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

func (*NullableIdentityCredentialsType) Set

func (*NullableIdentityCredentialsType) UnmarshalJSON

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

func (*NullableIdentityCredentialsType) Unset

type NullableIdentitySchema

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

func NewNullableIdentitySchema

func NewNullableIdentitySchema(val *IdentitySchema) *NullableIdentitySchema

func (NullableIdentitySchema) Get

func (NullableIdentitySchema) IsSet

func (v NullableIdentitySchema) IsSet() bool

func (NullableIdentitySchema) MarshalJSON

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

func (*NullableIdentitySchema) Set

func (*NullableIdentitySchema) UnmarshalJSON

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

func (*NullableIdentitySchema) Unset

func (v *NullableIdentitySchema) Unset()

type NullableIdentityState

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

func NewNullableIdentityState

func NewNullableIdentityState(val *IdentityState) *NullableIdentityState

func (NullableIdentityState) Get

func (NullableIdentityState) IsSet

func (v NullableIdentityState) IsSet() bool

func (NullableIdentityState) MarshalJSON

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

func (*NullableIdentityState) Set

func (v *NullableIdentityState) Set(val *IdentityState)

func (*NullableIdentityState) UnmarshalJSON

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

func (*NullableIdentityState) Unset

func (v *NullableIdentityState) Unset()

type NullableInlineResponse200

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

func NewNullableInlineResponse200

func NewNullableInlineResponse200(val *InlineResponse200) *NullableInlineResponse200

func (NullableInlineResponse200) Get

func (NullableInlineResponse200) IsSet

func (v NullableInlineResponse200) IsSet() bool

func (NullableInlineResponse200) MarshalJSON

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

func (*NullableInlineResponse200) Set

func (*NullableInlineResponse200) UnmarshalJSON

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

func (*NullableInlineResponse200) Unset

func (v *NullableInlineResponse200) Unset()

type NullableInlineResponse2001

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

func NewNullableInlineResponse2001

func NewNullableInlineResponse2001(val *InlineResponse2001) *NullableInlineResponse2001

func (NullableInlineResponse2001) Get

func (NullableInlineResponse2001) IsSet

func (v NullableInlineResponse2001) IsSet() bool

func (NullableInlineResponse2001) MarshalJSON

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

func (*NullableInlineResponse2001) Set

func (*NullableInlineResponse2001) UnmarshalJSON

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

func (*NullableInlineResponse2001) Unset

func (v *NullableInlineResponse2001) Unset()

type NullableInlineResponse503

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

func NewNullableInlineResponse503

func NewNullableInlineResponse503(val *InlineResponse503) *NullableInlineResponse503

func (NullableInlineResponse503) Get

func (NullableInlineResponse503) IsSet

func (v NullableInlineResponse503) IsSet() bool

func (NullableInlineResponse503) MarshalJSON

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

func (*NullableInlineResponse503) Set

func (*NullableInlineResponse503) UnmarshalJSON

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

func (*NullableInlineResponse503) Unset

func (v *NullableInlineResponse503) 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 NullableJsonError

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

func NewNullableJsonError

func NewNullableJsonError(val *JsonError) *NullableJsonError

func (NullableJsonError) Get

func (v NullableJsonError) Get() *JsonError

func (NullableJsonError) IsSet

func (v NullableJsonError) IsSet() bool

func (NullableJsonError) MarshalJSON

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

func (*NullableJsonError) Set

func (v *NullableJsonError) Set(val *JsonError)

func (*NullableJsonError) UnmarshalJSON

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

func (*NullableJsonError) Unset

func (v *NullableJsonError) Unset()

type NullableNeedsPrivilegedSessionError

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

func (NullableNeedsPrivilegedSessionError) Get

func (NullableNeedsPrivilegedSessionError) IsSet

func (NullableNeedsPrivilegedSessionError) MarshalJSON

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

func (*NullableNeedsPrivilegedSessionError) Set

func (*NullableNeedsPrivilegedSessionError) UnmarshalJSON

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

func (*NullableNeedsPrivilegedSessionError) Unset

type NullablePagination

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

func NewNullablePagination

func NewNullablePagination(val *Pagination) *NullablePagination

func (NullablePagination) Get

func (v NullablePagination) Get() *Pagination

func (NullablePagination) IsSet

func (v NullablePagination) IsSet() bool

func (NullablePagination) MarshalJSON

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

func (*NullablePagination) Set

func (v *NullablePagination) Set(val *Pagination)

func (*NullablePagination) UnmarshalJSON

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

func (*NullablePagination) Unset

func (v *NullablePagination) Unset()

type NullableRecoveryAddress

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

func NewNullableRecoveryAddress

func NewNullableRecoveryAddress(val *RecoveryAddress) *NullableRecoveryAddress

func (NullableRecoveryAddress) Get

func (NullableRecoveryAddress) IsSet

func (v NullableRecoveryAddress) IsSet() bool

func (NullableRecoveryAddress) MarshalJSON

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

func (*NullableRecoveryAddress) Set

func (*NullableRecoveryAddress) UnmarshalJSON

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

func (*NullableRecoveryAddress) Unset

func (v *NullableRecoveryAddress) Unset()

type NullableRevokedSessions

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

func NewNullableRevokedSessions

func NewNullableRevokedSessions(val *RevokedSessions) *NullableRevokedSessions

func (NullableRevokedSessions) Get

func (NullableRevokedSessions) IsSet

func (v NullableRevokedSessions) IsSet() bool

func (NullableRevokedSessions) MarshalJSON

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

func (*NullableRevokedSessions) Set

func (*NullableRevokedSessions) UnmarshalJSON

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

func (*NullableRevokedSessions) Unset

func (v *NullableRevokedSessions) Unset()

type NullableSelfServiceBrowserLocationChangeRequiredError

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

func (NullableSelfServiceBrowserLocationChangeRequiredError) Get

func (NullableSelfServiceBrowserLocationChangeRequiredError) IsSet

func (NullableSelfServiceBrowserLocationChangeRequiredError) MarshalJSON

func (*NullableSelfServiceBrowserLocationChangeRequiredError) Set

func (*NullableSelfServiceBrowserLocationChangeRequiredError) UnmarshalJSON

func (*NullableSelfServiceBrowserLocationChangeRequiredError) Unset

type NullableSelfServiceError

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

func NewNullableSelfServiceError

func NewNullableSelfServiceError(val *SelfServiceError) *NullableSelfServiceError

func (NullableSelfServiceError) Get

func (NullableSelfServiceError) IsSet

func (v NullableSelfServiceError) IsSet() bool

func (NullableSelfServiceError) MarshalJSON

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

func (*NullableSelfServiceError) Set

func (*NullableSelfServiceError) UnmarshalJSON

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

func (*NullableSelfServiceError) Unset

func (v *NullableSelfServiceError) Unset()

type NullableSelfServiceFlowExpiredError

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

func (NullableSelfServiceFlowExpiredError) Get

func (NullableSelfServiceFlowExpiredError) IsSet

func (NullableSelfServiceFlowExpiredError) MarshalJSON

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

func (*NullableSelfServiceFlowExpiredError) Set

func (*NullableSelfServiceFlowExpiredError) UnmarshalJSON

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

func (*NullableSelfServiceFlowExpiredError) Unset

type NullableSelfServiceLoginFlow

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

func NewNullableSelfServiceLoginFlow

func NewNullableSelfServiceLoginFlow(val *SelfServiceLoginFlow) *NullableSelfServiceLoginFlow

func (NullableSelfServiceLoginFlow) Get

func (NullableSelfServiceLoginFlow) IsSet

func (NullableSelfServiceLoginFlow) MarshalJSON

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

func (*NullableSelfServiceLoginFlow) Set

func (*NullableSelfServiceLoginFlow) UnmarshalJSON

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

func (*NullableSelfServiceLoginFlow) Unset

func (v *NullableSelfServiceLoginFlow) Unset()

type NullableSelfServiceLogoutUrl

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

func NewNullableSelfServiceLogoutUrl

func NewNullableSelfServiceLogoutUrl(val *SelfServiceLogoutUrl) *NullableSelfServiceLogoutUrl

func (NullableSelfServiceLogoutUrl) Get

func (NullableSelfServiceLogoutUrl) IsSet

func (NullableSelfServiceLogoutUrl) MarshalJSON

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

func (*NullableSelfServiceLogoutUrl) Set

func (*NullableSelfServiceLogoutUrl) UnmarshalJSON

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

func (*NullableSelfServiceLogoutUrl) Unset

func (v *NullableSelfServiceLogoutUrl) Unset()

type NullableSelfServiceRecoveryFlow

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

func (NullableSelfServiceRecoveryFlow) Get

func (NullableSelfServiceRecoveryFlow) IsSet

func (NullableSelfServiceRecoveryFlow) MarshalJSON

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

func (*NullableSelfServiceRecoveryFlow) Set

func (*NullableSelfServiceRecoveryFlow) UnmarshalJSON

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

func (*NullableSelfServiceRecoveryFlow) Unset

type NullableSelfServiceRecoveryFlowState

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

func (NullableSelfServiceRecoveryFlowState) Get

func (NullableSelfServiceRecoveryFlowState) IsSet

func (NullableSelfServiceRecoveryFlowState) MarshalJSON

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

func (*NullableSelfServiceRecoveryFlowState) Set

func (*NullableSelfServiceRecoveryFlowState) UnmarshalJSON

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

func (*NullableSelfServiceRecoveryFlowState) Unset

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

func (NullableSelfServiceRecoveryLink) Get

func (NullableSelfServiceRecoveryLink) IsSet

func (NullableSelfServiceRecoveryLink) MarshalJSON

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

func (*NullableSelfServiceRecoveryLink) Set

func (*NullableSelfServiceRecoveryLink) UnmarshalJSON

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

func (*NullableSelfServiceRecoveryLink) Unset

type NullableSelfServiceRegistrationFlow

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

func (NullableSelfServiceRegistrationFlow) Get

func (NullableSelfServiceRegistrationFlow) IsSet

func (NullableSelfServiceRegistrationFlow) MarshalJSON

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

func (*NullableSelfServiceRegistrationFlow) Set

func (*NullableSelfServiceRegistrationFlow) UnmarshalJSON

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

func (*NullableSelfServiceRegistrationFlow) Unset

type NullableSelfServiceSettingsFlow

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

func (NullableSelfServiceSettingsFlow) Get

func (NullableSelfServiceSettingsFlow) IsSet

func (NullableSelfServiceSettingsFlow) MarshalJSON

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

func (*NullableSelfServiceSettingsFlow) Set

func (*NullableSelfServiceSettingsFlow) UnmarshalJSON

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

func (*NullableSelfServiceSettingsFlow) Unset

type NullableSelfServiceSettingsFlowState

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

func (NullableSelfServiceSettingsFlowState) Get

func (NullableSelfServiceSettingsFlowState) IsSet

func (NullableSelfServiceSettingsFlowState) MarshalJSON

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

func (*NullableSelfServiceSettingsFlowState) Set

func (*NullableSelfServiceSettingsFlowState) UnmarshalJSON

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

func (*NullableSelfServiceSettingsFlowState) Unset

type NullableSelfServiceVerificationFlow

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

func (NullableSelfServiceVerificationFlow) Get

func (NullableSelfServiceVerificationFlow) IsSet

func (NullableSelfServiceVerificationFlow) MarshalJSON

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

func (*NullableSelfServiceVerificationFlow) Set

func (*NullableSelfServiceVerificationFlow) UnmarshalJSON

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

func (*NullableSelfServiceVerificationFlow) Unset

type NullableSelfServiceVerificationFlowState

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

func (NullableSelfServiceVerificationFlowState) Get

func (NullableSelfServiceVerificationFlowState) IsSet

func (NullableSelfServiceVerificationFlowState) MarshalJSON

func (*NullableSelfServiceVerificationFlowState) Set

func (*NullableSelfServiceVerificationFlowState) UnmarshalJSON

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

func (*NullableSelfServiceVerificationFlowState) 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 NullableSessionAuthenticationMethod

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

func (NullableSessionAuthenticationMethod) Get

func (NullableSessionAuthenticationMethod) IsSet

func (NullableSessionAuthenticationMethod) MarshalJSON

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

func (*NullableSessionAuthenticationMethod) Set

func (*NullableSessionAuthenticationMethod) UnmarshalJSON

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

func (*NullableSessionAuthenticationMethod) Unset

type NullableSessionDevice

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

func NewNullableSessionDevice

func NewNullableSessionDevice(val *SessionDevice) *NullableSessionDevice

func (NullableSessionDevice) Get

func (NullableSessionDevice) IsSet

func (v NullableSessionDevice) IsSet() bool

func (NullableSessionDevice) MarshalJSON

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

func (*NullableSessionDevice) Set

func (v *NullableSessionDevice) Set(val *SessionDevice)

func (*NullableSessionDevice) UnmarshalJSON

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

func (*NullableSessionDevice) Unset

func (v *NullableSessionDevice) Unset()

type NullableSettingsProfileFormConfig

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

func (NullableSettingsProfileFormConfig) Get

func (NullableSettingsProfileFormConfig) IsSet

func (NullableSettingsProfileFormConfig) MarshalJSON

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

func (*NullableSettingsProfileFormConfig) Set

func (*NullableSettingsProfileFormConfig) UnmarshalJSON

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

func (*NullableSettingsProfileFormConfig) 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 NullableSubmitSelfServiceFlowWithWebAuthnRegistrationMethod

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

func (NullableSubmitSelfServiceFlowWithWebAuthnRegistrationMethod) Get

func (NullableSubmitSelfServiceFlowWithWebAuthnRegistrationMethod) IsSet

func (NullableSubmitSelfServiceFlowWithWebAuthnRegistrationMethod) MarshalJSON

func (*NullableSubmitSelfServiceFlowWithWebAuthnRegistrationMethod) Set

func (*NullableSubmitSelfServiceFlowWithWebAuthnRegistrationMethod) UnmarshalJSON

func (*NullableSubmitSelfServiceFlowWithWebAuthnRegistrationMethod) Unset

type NullableSubmitSelfServiceLoginFlowBody

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

func (NullableSubmitSelfServiceLoginFlowBody) Get

func (NullableSubmitSelfServiceLoginFlowBody) IsSet

func (NullableSubmitSelfServiceLoginFlowBody) MarshalJSON

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

func (*NullableSubmitSelfServiceLoginFlowBody) Set

func (*NullableSubmitSelfServiceLoginFlowBody) UnmarshalJSON

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

func (*NullableSubmitSelfServiceLoginFlowBody) Unset

type NullableSubmitSelfServiceLoginFlowWithLookupSecretMethodBody

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

func (NullableSubmitSelfServiceLoginFlowWithLookupSecretMethodBody) Get

func (NullableSubmitSelfServiceLoginFlowWithLookupSecretMethodBody) IsSet

func (NullableSubmitSelfServiceLoginFlowWithLookupSecretMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithLookupSecretMethodBody) Set

func (*NullableSubmitSelfServiceLoginFlowWithLookupSecretMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithLookupSecretMethodBody) Unset

type NullableSubmitSelfServiceLoginFlowWithOidcMethodBody

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

func (NullableSubmitSelfServiceLoginFlowWithOidcMethodBody) Get

func (NullableSubmitSelfServiceLoginFlowWithOidcMethodBody) IsSet

func (NullableSubmitSelfServiceLoginFlowWithOidcMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithOidcMethodBody) Set

func (*NullableSubmitSelfServiceLoginFlowWithOidcMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithOidcMethodBody) Unset

type NullableSubmitSelfServiceLoginFlowWithPasswordMethodBody

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

func (NullableSubmitSelfServiceLoginFlowWithPasswordMethodBody) Get

func (NullableSubmitSelfServiceLoginFlowWithPasswordMethodBody) IsSet

func (NullableSubmitSelfServiceLoginFlowWithPasswordMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithPasswordMethodBody) Set

func (*NullableSubmitSelfServiceLoginFlowWithPasswordMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithPasswordMethodBody) Unset

type NullableSubmitSelfServiceLoginFlowWithTotpMethodBody

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

func (NullableSubmitSelfServiceLoginFlowWithTotpMethodBody) Get

func (NullableSubmitSelfServiceLoginFlowWithTotpMethodBody) IsSet

func (NullableSubmitSelfServiceLoginFlowWithTotpMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithTotpMethodBody) Set

func (*NullableSubmitSelfServiceLoginFlowWithTotpMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithTotpMethodBody) Unset

type NullableSubmitSelfServiceLoginFlowWithWebAuthnMethodBody

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

func (NullableSubmitSelfServiceLoginFlowWithWebAuthnMethodBody) Get

func (NullableSubmitSelfServiceLoginFlowWithWebAuthnMethodBody) IsSet

func (NullableSubmitSelfServiceLoginFlowWithWebAuthnMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithWebAuthnMethodBody) Set

func (*NullableSubmitSelfServiceLoginFlowWithWebAuthnMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithWebAuthnMethodBody) Unset

type NullableSubmitSelfServiceLogoutFlowWithoutBrowserBody

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

func (NullableSubmitSelfServiceLogoutFlowWithoutBrowserBody) Get

func (NullableSubmitSelfServiceLogoutFlowWithoutBrowserBody) IsSet

func (NullableSubmitSelfServiceLogoutFlowWithoutBrowserBody) MarshalJSON

func (*NullableSubmitSelfServiceLogoutFlowWithoutBrowserBody) Set

func (*NullableSubmitSelfServiceLogoutFlowWithoutBrowserBody) UnmarshalJSON

func (*NullableSubmitSelfServiceLogoutFlowWithoutBrowserBody) Unset

type NullableSubmitSelfServiceRecoveryFlowBody

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

func (NullableSubmitSelfServiceRecoveryFlowBody) Get

func (NullableSubmitSelfServiceRecoveryFlowBody) IsSet

func (NullableSubmitSelfServiceRecoveryFlowBody) MarshalJSON

func (*NullableSubmitSelfServiceRecoveryFlowBody) Set

func (*NullableSubmitSelfServiceRecoveryFlowBody) UnmarshalJSON

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

func (*NullableSubmitSelfServiceRecoveryFlowBody) Unset

type NullableSubmitSelfServiceRecoveryFlowWithLinkMethodBody

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

func (NullableSubmitSelfServiceRecoveryFlowWithLinkMethodBody) Get

func (NullableSubmitSelfServiceRecoveryFlowWithLinkMethodBody) IsSet

func (NullableSubmitSelfServiceRecoveryFlowWithLinkMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceRecoveryFlowWithLinkMethodBody) Set

func (*NullableSubmitSelfServiceRecoveryFlowWithLinkMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceRecoveryFlowWithLinkMethodBody) Unset

type NullableSubmitSelfServiceRegistrationFlowBody

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

func (NullableSubmitSelfServiceRegistrationFlowBody) Get

func (NullableSubmitSelfServiceRegistrationFlowBody) IsSet

func (NullableSubmitSelfServiceRegistrationFlowBody) MarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowBody) Set

func (*NullableSubmitSelfServiceRegistrationFlowBody) UnmarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowBody) Unset

type NullableSubmitSelfServiceRegistrationFlowWithOidcMethodBody

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

func (NullableSubmitSelfServiceRegistrationFlowWithOidcMethodBody) Get

func (NullableSubmitSelfServiceRegistrationFlowWithOidcMethodBody) IsSet

func (NullableSubmitSelfServiceRegistrationFlowWithOidcMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowWithOidcMethodBody) Set

func (*NullableSubmitSelfServiceRegistrationFlowWithOidcMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowWithOidcMethodBody) Unset

type NullableSubmitSelfServiceRegistrationFlowWithPasswordMethodBody

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

func (NullableSubmitSelfServiceRegistrationFlowWithPasswordMethodBody) Get

func (NullableSubmitSelfServiceRegistrationFlowWithPasswordMethodBody) IsSet

func (NullableSubmitSelfServiceRegistrationFlowWithPasswordMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowWithPasswordMethodBody) Set

func (*NullableSubmitSelfServiceRegistrationFlowWithPasswordMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowWithPasswordMethodBody) Unset

type NullableSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody

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

func (NullableSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) Get

func (NullableSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) IsSet

func (NullableSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) Set

func (*NullableSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) Unset

type NullableSubmitSelfServiceSettingsFlowBody

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

func (NullableSubmitSelfServiceSettingsFlowBody) Get

func (NullableSubmitSelfServiceSettingsFlowBody) IsSet

func (NullableSubmitSelfServiceSettingsFlowBody) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowBody) Set

func (*NullableSubmitSelfServiceSettingsFlowBody) UnmarshalJSON

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

func (*NullableSubmitSelfServiceSettingsFlowBody) Unset

type NullableSubmitSelfServiceSettingsFlowWithLookupMethodBody

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

func (NullableSubmitSelfServiceSettingsFlowWithLookupMethodBody) Get

func (NullableSubmitSelfServiceSettingsFlowWithLookupMethodBody) IsSet

func (NullableSubmitSelfServiceSettingsFlowWithLookupMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithLookupMethodBody) Set

func (*NullableSubmitSelfServiceSettingsFlowWithLookupMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithLookupMethodBody) Unset

type NullableSubmitSelfServiceSettingsFlowWithOidcMethodBody

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

func (NullableSubmitSelfServiceSettingsFlowWithOidcMethodBody) Get

func (NullableSubmitSelfServiceSettingsFlowWithOidcMethodBody) IsSet

func (NullableSubmitSelfServiceSettingsFlowWithOidcMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithOidcMethodBody) Set

func (*NullableSubmitSelfServiceSettingsFlowWithOidcMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithOidcMethodBody) Unset

type NullableSubmitSelfServiceSettingsFlowWithPasswordMethodBody

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

func (NullableSubmitSelfServiceSettingsFlowWithPasswordMethodBody) Get

func (NullableSubmitSelfServiceSettingsFlowWithPasswordMethodBody) IsSet

func (NullableSubmitSelfServiceSettingsFlowWithPasswordMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithPasswordMethodBody) Set

func (*NullableSubmitSelfServiceSettingsFlowWithPasswordMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithPasswordMethodBody) Unset

type NullableSubmitSelfServiceSettingsFlowWithProfileMethodBody

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

func (NullableSubmitSelfServiceSettingsFlowWithProfileMethodBody) Get

func (NullableSubmitSelfServiceSettingsFlowWithProfileMethodBody) IsSet

func (NullableSubmitSelfServiceSettingsFlowWithProfileMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithProfileMethodBody) Set

func (*NullableSubmitSelfServiceSettingsFlowWithProfileMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithProfileMethodBody) Unset

type NullableSubmitSelfServiceSettingsFlowWithTotpMethodBody

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

func (NullableSubmitSelfServiceSettingsFlowWithTotpMethodBody) Get

func (NullableSubmitSelfServiceSettingsFlowWithTotpMethodBody) IsSet

func (NullableSubmitSelfServiceSettingsFlowWithTotpMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithTotpMethodBody) Set

func (*NullableSubmitSelfServiceSettingsFlowWithTotpMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithTotpMethodBody) Unset

type NullableSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody

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

func (NullableSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) Get

func (NullableSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) IsSet

func (NullableSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) Set

func (*NullableSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) Unset

type NullableSubmitSelfServiceVerificationFlowBody

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

func (NullableSubmitSelfServiceVerificationFlowBody) Get

func (NullableSubmitSelfServiceVerificationFlowBody) IsSet

func (NullableSubmitSelfServiceVerificationFlowBody) MarshalJSON

func (*NullableSubmitSelfServiceVerificationFlowBody) Set

func (*NullableSubmitSelfServiceVerificationFlowBody) UnmarshalJSON

func (*NullableSubmitSelfServiceVerificationFlowBody) Unset

type NullableSubmitSelfServiceVerificationFlowWithLinkMethodBody

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

func (NullableSubmitSelfServiceVerificationFlowWithLinkMethodBody) Get

func (NullableSubmitSelfServiceVerificationFlowWithLinkMethodBody) IsSet

func (NullableSubmitSelfServiceVerificationFlowWithLinkMethodBody) MarshalJSON

func (*NullableSubmitSelfServiceVerificationFlowWithLinkMethodBody) Set

func (*NullableSubmitSelfServiceVerificationFlowWithLinkMethodBody) UnmarshalJSON

func (*NullableSubmitSelfServiceVerificationFlowWithLinkMethodBody) Unset

type NullableSuccessfulSelfServiceLoginWithoutBrowser

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

func (NullableSuccessfulSelfServiceLoginWithoutBrowser) Get

func (NullableSuccessfulSelfServiceLoginWithoutBrowser) IsSet

func (NullableSuccessfulSelfServiceLoginWithoutBrowser) MarshalJSON

func (*NullableSuccessfulSelfServiceLoginWithoutBrowser) Set

func (*NullableSuccessfulSelfServiceLoginWithoutBrowser) UnmarshalJSON

func (*NullableSuccessfulSelfServiceLoginWithoutBrowser) Unset

type NullableSuccessfulSelfServiceRegistrationWithoutBrowser

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

func (NullableSuccessfulSelfServiceRegistrationWithoutBrowser) Get

func (NullableSuccessfulSelfServiceRegistrationWithoutBrowser) IsSet

func (NullableSuccessfulSelfServiceRegistrationWithoutBrowser) MarshalJSON

func (*NullableSuccessfulSelfServiceRegistrationWithoutBrowser) Set

func (*NullableSuccessfulSelfServiceRegistrationWithoutBrowser) UnmarshalJSON

func (*NullableSuccessfulSelfServiceRegistrationWithoutBrowser) 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 NullableUiContainer

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

func NewNullableUiContainer

func NewNullableUiContainer(val *UiContainer) *NullableUiContainer

func (NullableUiContainer) Get

func (NullableUiContainer) IsSet

func (v NullableUiContainer) IsSet() bool

func (NullableUiContainer) MarshalJSON

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

func (*NullableUiContainer) Set

func (v *NullableUiContainer) Set(val *UiContainer)

func (*NullableUiContainer) UnmarshalJSON

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

func (*NullableUiContainer) Unset

func (v *NullableUiContainer) Unset()

type NullableUiNode

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

func NewNullableUiNode

func NewNullableUiNode(val *UiNode) *NullableUiNode

func (NullableUiNode) Get

func (v NullableUiNode) Get() *UiNode

func (NullableUiNode) IsSet

func (v NullableUiNode) IsSet() bool

func (NullableUiNode) MarshalJSON

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

func (*NullableUiNode) Set

func (v *NullableUiNode) Set(val *UiNode)

func (*NullableUiNode) UnmarshalJSON

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

func (*NullableUiNode) Unset

func (v *NullableUiNode) Unset()

type NullableUiNodeAnchorAttributes

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

func (NullableUiNodeAnchorAttributes) Get

func (NullableUiNodeAnchorAttributes) IsSet

func (NullableUiNodeAnchorAttributes) MarshalJSON

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

func (*NullableUiNodeAnchorAttributes) Set

func (*NullableUiNodeAnchorAttributes) UnmarshalJSON

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

func (*NullableUiNodeAnchorAttributes) Unset

func (v *NullableUiNodeAnchorAttributes) Unset()

type NullableUiNodeAttributes

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

func NewNullableUiNodeAttributes

func NewNullableUiNodeAttributes(val *UiNodeAttributes) *NullableUiNodeAttributes

func (NullableUiNodeAttributes) Get

func (NullableUiNodeAttributes) IsSet

func (v NullableUiNodeAttributes) IsSet() bool

func (NullableUiNodeAttributes) MarshalJSON

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

func (*NullableUiNodeAttributes) Set

func (*NullableUiNodeAttributes) UnmarshalJSON

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

func (*NullableUiNodeAttributes) Unset

func (v *NullableUiNodeAttributes) Unset()

type NullableUiNodeImageAttributes

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

func (NullableUiNodeImageAttributes) Get

func (NullableUiNodeImageAttributes) IsSet

func (NullableUiNodeImageAttributes) MarshalJSON

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

func (*NullableUiNodeImageAttributes) Set

func (*NullableUiNodeImageAttributes) UnmarshalJSON

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

func (*NullableUiNodeImageAttributes) Unset

func (v *NullableUiNodeImageAttributes) Unset()

type NullableUiNodeInputAttributes

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

func (NullableUiNodeInputAttributes) Get

func (NullableUiNodeInputAttributes) IsSet

func (NullableUiNodeInputAttributes) MarshalJSON

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

func (*NullableUiNodeInputAttributes) Set

func (*NullableUiNodeInputAttributes) UnmarshalJSON

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

func (*NullableUiNodeInputAttributes) Unset

func (v *NullableUiNodeInputAttributes) Unset()

type NullableUiNodeMeta

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

func NewNullableUiNodeMeta

func NewNullableUiNodeMeta(val *UiNodeMeta) *NullableUiNodeMeta

func (NullableUiNodeMeta) Get

func (v NullableUiNodeMeta) Get() *UiNodeMeta

func (NullableUiNodeMeta) IsSet

func (v NullableUiNodeMeta) IsSet() bool

func (NullableUiNodeMeta) MarshalJSON

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

func (*NullableUiNodeMeta) Set

func (v *NullableUiNodeMeta) Set(val *UiNodeMeta)

func (*NullableUiNodeMeta) UnmarshalJSON

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

func (*NullableUiNodeMeta) Unset

func (v *NullableUiNodeMeta) Unset()

type NullableUiNodeScriptAttributes

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

func (NullableUiNodeScriptAttributes) Get

func (NullableUiNodeScriptAttributes) IsSet

func (NullableUiNodeScriptAttributes) MarshalJSON

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

func (*NullableUiNodeScriptAttributes) Set

func (*NullableUiNodeScriptAttributes) UnmarshalJSON

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

func (*NullableUiNodeScriptAttributes) Unset

func (v *NullableUiNodeScriptAttributes) Unset()

type NullableUiNodeTextAttributes

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

func NewNullableUiNodeTextAttributes

func NewNullableUiNodeTextAttributes(val *UiNodeTextAttributes) *NullableUiNodeTextAttributes

func (NullableUiNodeTextAttributes) Get

func (NullableUiNodeTextAttributes) IsSet

func (NullableUiNodeTextAttributes) MarshalJSON

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

func (*NullableUiNodeTextAttributes) Set

func (*NullableUiNodeTextAttributes) UnmarshalJSON

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

func (*NullableUiNodeTextAttributes) Unset

func (v *NullableUiNodeTextAttributes) Unset()

type NullableUiText

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

func NewNullableUiText

func NewNullableUiText(val *UiText) *NullableUiText

func (NullableUiText) Get

func (v NullableUiText) Get() *UiText

func (NullableUiText) IsSet

func (v NullableUiText) IsSet() bool

func (NullableUiText) MarshalJSON

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

func (*NullableUiText) Set

func (v *NullableUiText) Set(val *UiText)

func (*NullableUiText) UnmarshalJSON

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

func (*NullableUiText) Unset

func (v *NullableUiText) Unset()

type NullableVerifiableIdentityAddress

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

func (NullableVerifiableIdentityAddress) Get

func (NullableVerifiableIdentityAddress) IsSet

func (NullableVerifiableIdentityAddress) MarshalJSON

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

func (*NullableVerifiableIdentityAddress) Set

func (*NullableVerifiableIdentityAddress) UnmarshalJSON

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

func (*NullableVerifiableIdentityAddress) Unset

type NullableVersion

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

func NewNullableVersion

func NewNullableVersion(val *Version) *NullableVersion

func (NullableVersion) Get

func (v NullableVersion) Get() *Version

func (NullableVersion) IsSet

func (v NullableVersion) IsSet() bool

func (NullableVersion) MarshalJSON

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

func (*NullableVersion) Set

func (v *NullableVersion) Set(val *Version)

func (*NullableVersion) UnmarshalJSON

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

func (*NullableVersion) Unset

func (v *NullableVersion) Unset()

type Pagination

type Pagination struct {
	// Pagination Page
	Page *int64 `json:"page,omitempty"`
	// Items per Page  This is the number of items per page.
	PerPage *int64 `json:"per_page,omitempty"`
}

Pagination struct for Pagination

func NewPagination

func NewPagination() *Pagination

NewPagination instantiates a new Pagination 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 NewPaginationWithDefaults

func NewPaginationWithDefaults() *Pagination

NewPaginationWithDefaults instantiates a new Pagination 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 (*Pagination) GetPage

func (o *Pagination) GetPage() int64

GetPage returns the Page field value if set, zero value otherwise.

func (*Pagination) GetPageOk

func (o *Pagination) GetPageOk() (*int64, bool)

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

func (*Pagination) GetPerPage

func (o *Pagination) GetPerPage() int64

GetPerPage returns the PerPage field value if set, zero value otherwise.

func (*Pagination) GetPerPageOk

func (o *Pagination) GetPerPageOk() (*int64, bool)

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

func (*Pagination) HasPage

func (o *Pagination) HasPage() bool

HasPage returns a boolean if a field has been set.

func (*Pagination) HasPerPage

func (o *Pagination) HasPerPage() bool

HasPerPage returns a boolean if a field has been set.

func (Pagination) MarshalJSON

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

func (*Pagination) SetPage

func (o *Pagination) SetPage(v int64)

SetPage gets a reference to the given int64 and assigns it to the Page field.

func (*Pagination) SetPerPage

func (o *Pagination) SetPerPage(v int64)

SetPerPage gets a reference to the given int64 and assigns it to the PerPage field.

type RecoveryAddress

type RecoveryAddress struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Id        string     `json:"id"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	Value     string     `json:"value"`
	Via       string     `json:"via"`
}

RecoveryAddress struct for RecoveryAddress

func NewRecoveryAddress

func NewRecoveryAddress(id string, value string, via string) *RecoveryAddress

NewRecoveryAddress instantiates a new RecoveryAddress 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 NewRecoveryAddressWithDefaults

func NewRecoveryAddressWithDefaults() *RecoveryAddress

NewRecoveryAddressWithDefaults instantiates a new RecoveryAddress 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 (*RecoveryAddress) GetCreatedAt

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

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

func (*RecoveryAddress) GetCreatedAtOk

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

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

func (*RecoveryAddress) GetId

func (o *RecoveryAddress) GetId() string

GetId returns the Id field value

func (*RecoveryAddress) GetIdOk

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

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

func (*RecoveryAddress) GetUpdatedAt

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

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

func (*RecoveryAddress) GetUpdatedAtOk

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

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

func (*RecoveryAddress) GetValue

func (o *RecoveryAddress) GetValue() string

GetValue returns the Value field value

func (*RecoveryAddress) GetValueOk

func (o *RecoveryAddress) GetValueOk() (*string, bool)

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

func (*RecoveryAddress) GetVia

func (o *RecoveryAddress) GetVia() string

GetVia returns the Via field value

func (*RecoveryAddress) GetViaOk

func (o *RecoveryAddress) GetViaOk() (*string, bool)

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

func (*RecoveryAddress) HasCreatedAt

func (o *RecoveryAddress) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*RecoveryAddress) HasUpdatedAt

func (o *RecoveryAddress) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (RecoveryAddress) MarshalJSON

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

func (*RecoveryAddress) SetCreatedAt

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

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

func (*RecoveryAddress) SetId

func (o *RecoveryAddress) SetId(v string)

SetId sets field value

func (*RecoveryAddress) SetUpdatedAt

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

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

func (*RecoveryAddress) SetValue

func (o *RecoveryAddress) SetValue(v string)

SetValue sets field value

func (*RecoveryAddress) SetVia

func (o *RecoveryAddress) SetVia(v string)

SetVia sets field value

type RevokedSessions

type RevokedSessions struct {
	// The number of sessions that were revoked.
	Count *int64 `json:"count,omitempty"`
}

RevokedSessions struct for RevokedSessions

func NewRevokedSessions

func NewRevokedSessions() *RevokedSessions

NewRevokedSessions instantiates a new RevokedSessions 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 NewRevokedSessionsWithDefaults

func NewRevokedSessionsWithDefaults() *RevokedSessions

NewRevokedSessionsWithDefaults instantiates a new RevokedSessions 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 (*RevokedSessions) GetCount

func (o *RevokedSessions) GetCount() int64

GetCount returns the Count field value if set, zero value otherwise.

func (*RevokedSessions) GetCountOk

func (o *RevokedSessions) GetCountOk() (*int64, bool)

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

func (*RevokedSessions) HasCount

func (o *RevokedSessions) HasCount() bool

HasCount returns a boolean if a field has been set.

func (RevokedSessions) MarshalJSON

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

func (*RevokedSessions) SetCount

func (o *RevokedSessions) SetCount(v int64)

SetCount gets a reference to the given int64 and assigns it to the Count field.

type SelfServiceBrowserLocationChangeRequiredError

type SelfServiceBrowserLocationChangeRequiredError struct {
	// The status code
	Code *int64 `json:"code,omitempty"`
	// Debug information  This field is often not exposed to protect against leaking sensitive information.
	Debug *string `json:"debug,omitempty"`
	// Further error details
	Details map[string]map[string]interface{} `json:"details,omitempty"`
	// The error ID  Useful when trying to identify various errors in application logic.
	Id *string `json:"id,omitempty"`
	// Error message  The error's message.
	Message string `json:"message"`
	// A human-readable reason for the error
	Reason *string `json:"reason,omitempty"`
	// Since when the flow has expired
	RedirectBrowserTo *string `json:"redirect_browser_to,omitempty"`
	// The request ID  The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
	Request *string `json:"request,omitempty"`
	// The status description
	Status *string `json:"status,omitempty"`
}

SelfServiceBrowserLocationChangeRequiredError struct for SelfServiceBrowserLocationChangeRequiredError

func NewSelfServiceBrowserLocationChangeRequiredError

func NewSelfServiceBrowserLocationChangeRequiredError(message string) *SelfServiceBrowserLocationChangeRequiredError

NewSelfServiceBrowserLocationChangeRequiredError instantiates a new SelfServiceBrowserLocationChangeRequiredError 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 NewSelfServiceBrowserLocationChangeRequiredErrorWithDefaults

func NewSelfServiceBrowserLocationChangeRequiredErrorWithDefaults() *SelfServiceBrowserLocationChangeRequiredError

NewSelfServiceBrowserLocationChangeRequiredErrorWithDefaults instantiates a new SelfServiceBrowserLocationChangeRequiredError 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 (*SelfServiceBrowserLocationChangeRequiredError) GetCode

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetCodeOk

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetDebug

GetDebug returns the Debug field value if set, zero value otherwise.

func (*SelfServiceBrowserLocationChangeRequiredError) GetDebugOk

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetDetails

func (o *SelfServiceBrowserLocationChangeRequiredError) GetDetails() map[string]map[string]interface{}

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetDetailsOk

func (o *SelfServiceBrowserLocationChangeRequiredError) GetDetailsOk() (map[string]map[string]interface{}, bool)

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetId

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetIdOk

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetMessage

GetMessage returns the Message field value

func (*SelfServiceBrowserLocationChangeRequiredError) GetMessageOk

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetReason

GetReason returns the Reason field value if set, zero value otherwise.

func (*SelfServiceBrowserLocationChangeRequiredError) GetReasonOk

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetRedirectBrowserTo

func (o *SelfServiceBrowserLocationChangeRequiredError) GetRedirectBrowserTo() string

GetRedirectBrowserTo returns the RedirectBrowserTo field value if set, zero value otherwise.

func (*SelfServiceBrowserLocationChangeRequiredError) GetRedirectBrowserToOk

func (o *SelfServiceBrowserLocationChangeRequiredError) GetRedirectBrowserToOk() (*string, bool)

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetRequest

GetRequest returns the Request field value if set, zero value otherwise.

func (*SelfServiceBrowserLocationChangeRequiredError) GetRequestOk

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

func (*SelfServiceBrowserLocationChangeRequiredError) GetStatus

GetStatus returns the Status field value if set, zero value otherwise.

func (*SelfServiceBrowserLocationChangeRequiredError) GetStatusOk

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

func (*SelfServiceBrowserLocationChangeRequiredError) HasCode

HasCode returns a boolean if a field has been set.

func (*SelfServiceBrowserLocationChangeRequiredError) HasDebug

HasDebug returns a boolean if a field has been set.

func (*SelfServiceBrowserLocationChangeRequiredError) HasDetails

HasDetails returns a boolean if a field has been set.

func (*SelfServiceBrowserLocationChangeRequiredError) HasId

HasId returns a boolean if a field has been set.

func (*SelfServiceBrowserLocationChangeRequiredError) HasReason

HasReason returns a boolean if a field has been set.

func (*SelfServiceBrowserLocationChangeRequiredError) HasRedirectBrowserTo

func (o *SelfServiceBrowserLocationChangeRequiredError) HasRedirectBrowserTo() bool

HasRedirectBrowserTo returns a boolean if a field has been set.

func (*SelfServiceBrowserLocationChangeRequiredError) HasRequest

HasRequest returns a boolean if a field has been set.

func (*SelfServiceBrowserLocationChangeRequiredError) HasStatus

HasStatus returns a boolean if a field has been set.

func (SelfServiceBrowserLocationChangeRequiredError) MarshalJSON

func (*SelfServiceBrowserLocationChangeRequiredError) SetCode

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

func (*SelfServiceBrowserLocationChangeRequiredError) SetDebug

SetDebug gets a reference to the given string and assigns it to the Debug field.

func (*SelfServiceBrowserLocationChangeRequiredError) SetDetails

func (o *SelfServiceBrowserLocationChangeRequiredError) SetDetails(v map[string]map[string]interface{})

SetDetails gets a reference to the given map[string]map[string]interface{} and assigns it to the Details field.

func (*SelfServiceBrowserLocationChangeRequiredError) SetId

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

func (*SelfServiceBrowserLocationChangeRequiredError) SetMessage

SetMessage sets field value

func (*SelfServiceBrowserLocationChangeRequiredError) SetReason

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*SelfServiceBrowserLocationChangeRequiredError) SetRedirectBrowserTo

func (o *SelfServiceBrowserLocationChangeRequiredError) SetRedirectBrowserTo(v string)

SetRedirectBrowserTo gets a reference to the given string and assigns it to the RedirectBrowserTo field.

func (*SelfServiceBrowserLocationChangeRequiredError) SetRequest

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*SelfServiceBrowserLocationChangeRequiredError) SetStatus

SetStatus gets a reference to the given string and assigns it to the Status field.

type SelfServiceError

type SelfServiceError struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time             `json:"created_at,omitempty"`
	Error     map[string]interface{} `json:"error,omitempty"`
	Id        string                 `json:"id"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SelfServiceError struct for SelfServiceError

func NewSelfServiceError

func NewSelfServiceError(id string) *SelfServiceError

NewSelfServiceError instantiates a new SelfServiceError 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 NewSelfServiceErrorWithDefaults

func NewSelfServiceErrorWithDefaults() *SelfServiceError

NewSelfServiceErrorWithDefaults instantiates a new SelfServiceError 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 (*SelfServiceError) GetCreatedAt

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

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

func (*SelfServiceError) GetCreatedAtOk

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

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

func (*SelfServiceError) GetError

func (o *SelfServiceError) GetError() map[string]interface{}

GetError returns the Error field value if set, zero value otherwise.

func (*SelfServiceError) GetErrorOk

func (o *SelfServiceError) GetErrorOk() (map[string]interface{}, bool)

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

func (*SelfServiceError) GetId

func (o *SelfServiceError) GetId() string

GetId returns the Id field value

func (*SelfServiceError) GetIdOk

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

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

func (*SelfServiceError) GetUpdatedAt

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

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

func (*SelfServiceError) GetUpdatedAtOk

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

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

func (*SelfServiceError) HasCreatedAt

func (o *SelfServiceError) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SelfServiceError) HasError

func (o *SelfServiceError) HasError() bool

HasError returns a boolean if a field has been set.

func (*SelfServiceError) HasUpdatedAt

func (o *SelfServiceError) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SelfServiceError) MarshalJSON

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

func (*SelfServiceError) SetCreatedAt

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

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

func (*SelfServiceError) SetError

func (o *SelfServiceError) SetError(v map[string]interface{})

SetError gets a reference to the given map[string]interface{} and assigns it to the Error field.

func (*SelfServiceError) SetId

func (o *SelfServiceError) SetId(v string)

SetId sets field value

func (*SelfServiceError) SetUpdatedAt

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

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

type SelfServiceFlowExpiredError

type SelfServiceFlowExpiredError struct {
	// The status code
	Code *int64 `json:"code,omitempty"`
	// Debug information  This field is often not exposed to protect against leaking sensitive information.
	Debug *string `json:"debug,omitempty"`
	// Further error details
	Details map[string]map[string]interface{} `json:"details,omitempty"`
	// The error ID  Useful when trying to identify various errors in application logic.
	Id *string `json:"id,omitempty"`
	// Error message  The error's message.
	Message string `json:"message"`
	// A human-readable reason for the error
	Reason *string `json:"reason,omitempty"`
	// The request ID  The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.
	Request *string `json:"request,omitempty"`
	// A Duration represents the elapsed time between two instants as an int64 nanosecond count. The representation limits the largest representable duration to approximately 290 years.
	Since *int64 `json:"since,omitempty"`
	// The status description
	Status    *string `json:"status,omitempty"`
	UseFlowId *string `json:"use_flow_id,omitempty"`
}

SelfServiceFlowExpiredError Is sent when a flow is expired

func NewSelfServiceFlowExpiredError

func NewSelfServiceFlowExpiredError(message string) *SelfServiceFlowExpiredError

NewSelfServiceFlowExpiredError instantiates a new SelfServiceFlowExpiredError 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 NewSelfServiceFlowExpiredErrorWithDefaults

func NewSelfServiceFlowExpiredErrorWithDefaults() *SelfServiceFlowExpiredError

NewSelfServiceFlowExpiredErrorWithDefaults instantiates a new SelfServiceFlowExpiredError 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 (*SelfServiceFlowExpiredError) GetCode

func (o *SelfServiceFlowExpiredError) GetCode() int64

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

func (*SelfServiceFlowExpiredError) GetCodeOk

func (o *SelfServiceFlowExpiredError) GetCodeOk() (*int64, bool)

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

func (*SelfServiceFlowExpiredError) GetDebug

func (o *SelfServiceFlowExpiredError) GetDebug() string

GetDebug returns the Debug field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetDebugOk

func (o *SelfServiceFlowExpiredError) GetDebugOk() (*string, bool)

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

func (*SelfServiceFlowExpiredError) GetDetails

func (o *SelfServiceFlowExpiredError) GetDetails() map[string]map[string]interface{}

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

func (*SelfServiceFlowExpiredError) GetDetailsOk

func (o *SelfServiceFlowExpiredError) GetDetailsOk() (map[string]map[string]interface{}, bool)

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

func (*SelfServiceFlowExpiredError) GetId

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

func (*SelfServiceFlowExpiredError) GetIdOk

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

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

func (*SelfServiceFlowExpiredError) GetMessage

func (o *SelfServiceFlowExpiredError) GetMessage() string

GetMessage returns the Message field value

func (*SelfServiceFlowExpiredError) GetMessageOk

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

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

func (*SelfServiceFlowExpiredError) GetReason

func (o *SelfServiceFlowExpiredError) GetReason() string

GetReason returns the Reason field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetReasonOk

func (o *SelfServiceFlowExpiredError) GetReasonOk() (*string, bool)

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

func (*SelfServiceFlowExpiredError) GetRequest

func (o *SelfServiceFlowExpiredError) GetRequest() string

GetRequest returns the Request field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetRequestOk

func (o *SelfServiceFlowExpiredError) GetRequestOk() (*string, bool)

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

func (*SelfServiceFlowExpiredError) GetSince

func (o *SelfServiceFlowExpiredError) GetSince() int64

GetSince returns the Since field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetSinceOk

func (o *SelfServiceFlowExpiredError) GetSinceOk() (*int64, bool)

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

func (*SelfServiceFlowExpiredError) GetStatus

func (o *SelfServiceFlowExpiredError) GetStatus() string

GetStatus returns the Status field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetStatusOk

func (o *SelfServiceFlowExpiredError) GetStatusOk() (*string, bool)

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

func (*SelfServiceFlowExpiredError) GetUseFlowId

func (o *SelfServiceFlowExpiredError) GetUseFlowId() string

GetUseFlowId returns the UseFlowId field value if set, zero value otherwise.

func (*SelfServiceFlowExpiredError) GetUseFlowIdOk

func (o *SelfServiceFlowExpiredError) GetUseFlowIdOk() (*string, bool)

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

func (*SelfServiceFlowExpiredError) HasCode

func (o *SelfServiceFlowExpiredError) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasDebug

func (o *SelfServiceFlowExpiredError) HasDebug() bool

HasDebug returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasDetails

func (o *SelfServiceFlowExpiredError) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasId

func (o *SelfServiceFlowExpiredError) HasId() bool

HasId returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasReason

func (o *SelfServiceFlowExpiredError) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasRequest

func (o *SelfServiceFlowExpiredError) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasSince

func (o *SelfServiceFlowExpiredError) HasSince() bool

HasSince returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasStatus

func (o *SelfServiceFlowExpiredError) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*SelfServiceFlowExpiredError) HasUseFlowId

func (o *SelfServiceFlowExpiredError) HasUseFlowId() bool

HasUseFlowId returns a boolean if a field has been set.

func (SelfServiceFlowExpiredError) MarshalJSON

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

func (*SelfServiceFlowExpiredError) SetCode

func (o *SelfServiceFlowExpiredError) SetCode(v int64)

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

func (*SelfServiceFlowExpiredError) SetDebug

func (o *SelfServiceFlowExpiredError) SetDebug(v string)

SetDebug gets a reference to the given string and assigns it to the Debug field.

func (*SelfServiceFlowExpiredError) SetDetails

func (o *SelfServiceFlowExpiredError) SetDetails(v map[string]map[string]interface{})

SetDetails gets a reference to the given map[string]map[string]interface{} and assigns it to the Details field.

func (*SelfServiceFlowExpiredError) SetId

func (o *SelfServiceFlowExpiredError) SetId(v string)

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

func (*SelfServiceFlowExpiredError) SetMessage

func (o *SelfServiceFlowExpiredError) SetMessage(v string)

SetMessage sets field value

func (*SelfServiceFlowExpiredError) SetReason

func (o *SelfServiceFlowExpiredError) SetReason(v string)

SetReason gets a reference to the given string and assigns it to the Reason field.

func (*SelfServiceFlowExpiredError) SetRequest

func (o *SelfServiceFlowExpiredError) SetRequest(v string)

SetRequest gets a reference to the given string and assigns it to the Request field.

func (*SelfServiceFlowExpiredError) SetSince

func (o *SelfServiceFlowExpiredError) SetSince(v int64)

SetSince gets a reference to the given int64 and assigns it to the Since field.

func (*SelfServiceFlowExpiredError) SetStatus

func (o *SelfServiceFlowExpiredError) SetStatus(v string)

SetStatus gets a reference to the given string and assigns it to the Status field.

func (*SelfServiceFlowExpiredError) SetUseFlowId

func (o *SelfServiceFlowExpiredError) SetUseFlowId(v string)

SetUseFlowId gets a reference to the given string and assigns it to the UseFlowId field.

type SelfServiceLoginFlow

type SelfServiceLoginFlow struct {
	Active *IdentityCredentialsType `json:"active,omitempty"`
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	Id        string    `json:"id"`
	// IssuedAt is the time (UTC) when the flow started.
	IssuedAt time.Time `json:"issued_at"`
	// Refresh stores whether this login flow should enforce re-authentication.
	Refresh *bool `json:"refresh,omitempty"`
	// RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl   string                       `json:"request_url"`
	RequestedAal *AuthenticatorAssuranceLevel `json:"requested_aal,omitempty"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string `json:"return_to,omitempty"`
	// The flow type can either be `api` or `browser`.
	Type string      `json:"type"`
	Ui   UiContainer `json:"ui"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SelfServiceLoginFlow This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\" endpoint by a client. Once a login flow is completed successfully, a session cookie or session token will be issued.

func NewSelfServiceLoginFlow

func NewSelfServiceLoginFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, type_ string, ui UiContainer) *SelfServiceLoginFlow

NewSelfServiceLoginFlow instantiates a new SelfServiceLoginFlow 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 NewSelfServiceLoginFlowWithDefaults

func NewSelfServiceLoginFlowWithDefaults() *SelfServiceLoginFlow

NewSelfServiceLoginFlowWithDefaults instantiates a new SelfServiceLoginFlow 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 (*SelfServiceLoginFlow) GetActive

GetActive returns the Active field value if set, zero value otherwise.

func (*SelfServiceLoginFlow) GetActiveOk

func (o *SelfServiceLoginFlow) GetActiveOk() (*IdentityCredentialsType, bool)

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

func (*SelfServiceLoginFlow) GetCreatedAt

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

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

func (*SelfServiceLoginFlow) GetCreatedAtOk

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

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

func (*SelfServiceLoginFlow) GetExpiresAt

func (o *SelfServiceLoginFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*SelfServiceLoginFlow) GetExpiresAtOk

func (o *SelfServiceLoginFlow) GetExpiresAtOk() (*time.Time, bool)

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

func (*SelfServiceLoginFlow) GetId

func (o *SelfServiceLoginFlow) GetId() string

GetId returns the Id field value

func (*SelfServiceLoginFlow) GetIdOk

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

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

func (*SelfServiceLoginFlow) GetIssuedAt

func (o *SelfServiceLoginFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*SelfServiceLoginFlow) GetIssuedAtOk

func (o *SelfServiceLoginFlow) GetIssuedAtOk() (*time.Time, bool)

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

func (*SelfServiceLoginFlow) GetRefresh

func (o *SelfServiceLoginFlow) GetRefresh() bool

GetRefresh returns the Refresh field value if set, zero value otherwise.

func (*SelfServiceLoginFlow) GetRefreshOk

func (o *SelfServiceLoginFlow) GetRefreshOk() (*bool, bool)

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

func (*SelfServiceLoginFlow) GetRequestUrl

func (o *SelfServiceLoginFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SelfServiceLoginFlow) GetRequestUrlOk

func (o *SelfServiceLoginFlow) GetRequestUrlOk() (*string, bool)

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

func (*SelfServiceLoginFlow) GetRequestedAal

GetRequestedAal returns the RequestedAal field value if set, zero value otherwise.

func (*SelfServiceLoginFlow) GetRequestedAalOk

func (o *SelfServiceLoginFlow) GetRequestedAalOk() (*AuthenticatorAssuranceLevel, bool)

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

func (*SelfServiceLoginFlow) GetReturnTo

func (o *SelfServiceLoginFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*SelfServiceLoginFlow) GetReturnToOk

func (o *SelfServiceLoginFlow) GetReturnToOk() (*string, bool)

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

func (*SelfServiceLoginFlow) GetType

func (o *SelfServiceLoginFlow) GetType() string

GetType returns the Type field value

func (*SelfServiceLoginFlow) GetTypeOk

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

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

func (*SelfServiceLoginFlow) GetUi

func (o *SelfServiceLoginFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*SelfServiceLoginFlow) GetUiOk

func (o *SelfServiceLoginFlow) GetUiOk() (*UiContainer, bool)

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

func (*SelfServiceLoginFlow) GetUpdatedAt

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

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

func (*SelfServiceLoginFlow) GetUpdatedAtOk

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

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

func (*SelfServiceLoginFlow) HasActive

func (o *SelfServiceLoginFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SelfServiceLoginFlow) HasCreatedAt

func (o *SelfServiceLoginFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SelfServiceLoginFlow) HasRefresh

func (o *SelfServiceLoginFlow) HasRefresh() bool

HasRefresh returns a boolean if a field has been set.

func (*SelfServiceLoginFlow) HasRequestedAal

func (o *SelfServiceLoginFlow) HasRequestedAal() bool

HasRequestedAal returns a boolean if a field has been set.

func (*SelfServiceLoginFlow) HasReturnTo

func (o *SelfServiceLoginFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (*SelfServiceLoginFlow) HasUpdatedAt

func (o *SelfServiceLoginFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SelfServiceLoginFlow) MarshalJSON

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

func (*SelfServiceLoginFlow) SetActive

SetActive gets a reference to the given IdentityCredentialsType and assigns it to the Active field.

func (*SelfServiceLoginFlow) SetCreatedAt

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

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

func (*SelfServiceLoginFlow) SetExpiresAt

func (o *SelfServiceLoginFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*SelfServiceLoginFlow) SetId

func (o *SelfServiceLoginFlow) SetId(v string)

SetId sets field value

func (*SelfServiceLoginFlow) SetIssuedAt

func (o *SelfServiceLoginFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*SelfServiceLoginFlow) SetRefresh

func (o *SelfServiceLoginFlow) SetRefresh(v bool)

SetRefresh gets a reference to the given bool and assigns it to the Refresh field.

func (*SelfServiceLoginFlow) SetRequestUrl

func (o *SelfServiceLoginFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SelfServiceLoginFlow) SetRequestedAal

func (o *SelfServiceLoginFlow) SetRequestedAal(v AuthenticatorAssuranceLevel)

SetRequestedAal gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the RequestedAal field.

func (*SelfServiceLoginFlow) SetReturnTo

func (o *SelfServiceLoginFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*SelfServiceLoginFlow) SetType

func (o *SelfServiceLoginFlow) SetType(v string)

SetType sets field value

func (*SelfServiceLoginFlow) SetUi

func (o *SelfServiceLoginFlow) SetUi(v UiContainer)

SetUi sets field value

func (*SelfServiceLoginFlow) SetUpdatedAt

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

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

type SelfServiceLogoutUrl

type SelfServiceLogoutUrl struct {
	// LogoutToken can be used to perform logout using AJAX.
	LogoutToken string `json:"logout_token"`
	// LogoutURL can be opened in a browser to sign the user out.  format: uri
	LogoutUrl string `json:"logout_url"`
}

SelfServiceLogoutUrl struct for SelfServiceLogoutUrl

func NewSelfServiceLogoutUrl

func NewSelfServiceLogoutUrl(logoutToken string, logoutUrl string) *SelfServiceLogoutUrl

NewSelfServiceLogoutUrl instantiates a new SelfServiceLogoutUrl 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 NewSelfServiceLogoutUrlWithDefaults

func NewSelfServiceLogoutUrlWithDefaults() *SelfServiceLogoutUrl

NewSelfServiceLogoutUrlWithDefaults instantiates a new SelfServiceLogoutUrl 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 (*SelfServiceLogoutUrl) GetLogoutToken

func (o *SelfServiceLogoutUrl) GetLogoutToken() string

GetLogoutToken returns the LogoutToken field value

func (*SelfServiceLogoutUrl) GetLogoutTokenOk

func (o *SelfServiceLogoutUrl) GetLogoutTokenOk() (*string, bool)

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

func (*SelfServiceLogoutUrl) GetLogoutUrl

func (o *SelfServiceLogoutUrl) GetLogoutUrl() string

GetLogoutUrl returns the LogoutUrl field value

func (*SelfServiceLogoutUrl) GetLogoutUrlOk

func (o *SelfServiceLogoutUrl) GetLogoutUrlOk() (*string, bool)

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

func (SelfServiceLogoutUrl) MarshalJSON

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

func (*SelfServiceLogoutUrl) SetLogoutToken

func (o *SelfServiceLogoutUrl) SetLogoutToken(v string)

SetLogoutToken sets field value

func (*SelfServiceLogoutUrl) SetLogoutUrl

func (o *SelfServiceLogoutUrl) SetLogoutUrl(v string)

SetLogoutUrl sets field value

type SelfServiceRecoveryFlow

type SelfServiceRecoveryFlow struct {
	// Active, if set, contains the registration method that is being used. It is initially not set.
	Active *string `json:"active,omitempty"`
	// ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	Id        string    `json:"id"`
	// IssuedAt is the time (UTC) when the request occurred.
	IssuedAt time.Time `json:"issued_at"`
	// RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl string `json:"request_url"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string                      `json:"return_to,omitempty"`
	State    SelfServiceRecoveryFlowState `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type string      `json:"type"`
	Ui   UiContainer `json:"ui"`
}

SelfServiceRecoveryFlow This request is used when an identity wants to recover their account. We recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)

func NewSelfServiceRecoveryFlow

func NewSelfServiceRecoveryFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, state SelfServiceRecoveryFlowState, type_ string, ui UiContainer) *SelfServiceRecoveryFlow

NewSelfServiceRecoveryFlow instantiates a new SelfServiceRecoveryFlow 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 NewSelfServiceRecoveryFlowWithDefaults

func NewSelfServiceRecoveryFlowWithDefaults() *SelfServiceRecoveryFlow

NewSelfServiceRecoveryFlowWithDefaults instantiates a new SelfServiceRecoveryFlow 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 (*SelfServiceRecoveryFlow) GetActive

func (o *SelfServiceRecoveryFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*SelfServiceRecoveryFlow) GetActiveOk

func (o *SelfServiceRecoveryFlow) GetActiveOk() (*string, bool)

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

func (*SelfServiceRecoveryFlow) GetExpiresAt

func (o *SelfServiceRecoveryFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*SelfServiceRecoveryFlow) GetExpiresAtOk

func (o *SelfServiceRecoveryFlow) GetExpiresAtOk() (*time.Time, bool)

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

func (*SelfServiceRecoveryFlow) GetId

func (o *SelfServiceRecoveryFlow) GetId() string

GetId returns the Id field value

func (*SelfServiceRecoveryFlow) GetIdOk

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

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

func (*SelfServiceRecoveryFlow) GetIssuedAt

func (o *SelfServiceRecoveryFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*SelfServiceRecoveryFlow) GetIssuedAtOk

func (o *SelfServiceRecoveryFlow) GetIssuedAtOk() (*time.Time, bool)

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

func (*SelfServiceRecoveryFlow) GetRequestUrl

func (o *SelfServiceRecoveryFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SelfServiceRecoveryFlow) GetRequestUrlOk

func (o *SelfServiceRecoveryFlow) GetRequestUrlOk() (*string, bool)

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

func (*SelfServiceRecoveryFlow) GetReturnTo

func (o *SelfServiceRecoveryFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*SelfServiceRecoveryFlow) GetReturnToOk

func (o *SelfServiceRecoveryFlow) GetReturnToOk() (*string, bool)

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

func (*SelfServiceRecoveryFlow) GetState

GetState returns the State field value

func (*SelfServiceRecoveryFlow) GetStateOk

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

func (*SelfServiceRecoveryFlow) GetType

func (o *SelfServiceRecoveryFlow) GetType() string

GetType returns the Type field value

func (*SelfServiceRecoveryFlow) GetTypeOk

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

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

func (*SelfServiceRecoveryFlow) GetUi

GetUi returns the Ui field value

func (*SelfServiceRecoveryFlow) GetUiOk

func (o *SelfServiceRecoveryFlow) GetUiOk() (*UiContainer, bool)

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

func (*SelfServiceRecoveryFlow) HasActive

func (o *SelfServiceRecoveryFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SelfServiceRecoveryFlow) HasReturnTo

func (o *SelfServiceRecoveryFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (SelfServiceRecoveryFlow) MarshalJSON

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

func (*SelfServiceRecoveryFlow) SetActive

func (o *SelfServiceRecoveryFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*SelfServiceRecoveryFlow) SetExpiresAt

func (o *SelfServiceRecoveryFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*SelfServiceRecoveryFlow) SetId

func (o *SelfServiceRecoveryFlow) SetId(v string)

SetId sets field value

func (*SelfServiceRecoveryFlow) SetIssuedAt

func (o *SelfServiceRecoveryFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*SelfServiceRecoveryFlow) SetRequestUrl

func (o *SelfServiceRecoveryFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SelfServiceRecoveryFlow) SetReturnTo

func (o *SelfServiceRecoveryFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*SelfServiceRecoveryFlow) SetState

SetState sets field value

func (*SelfServiceRecoveryFlow) SetType

func (o *SelfServiceRecoveryFlow) SetType(v string)

SetType sets field value

func (*SelfServiceRecoveryFlow) SetUi

SetUi sets field value

type SelfServiceRecoveryFlowState

type SelfServiceRecoveryFlowState string

SelfServiceRecoveryFlowState The state represents the state of the recovery flow. choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed.

const (
	SELFSERVICERECOVERYFLOWSTATE_CHOOSE_METHOD    SelfServiceRecoveryFlowState = "choose_method"
	SELFSERVICERECOVERYFLOWSTATE_SENT_EMAIL       SelfServiceRecoveryFlowState = "sent_email"
	SELFSERVICERECOVERYFLOWSTATE_PASSED_CHALLENGE SelfServiceRecoveryFlowState = "passed_challenge"
)

List of selfServiceRecoveryFlowState

func NewSelfServiceRecoveryFlowStateFromValue

func NewSelfServiceRecoveryFlowStateFromValue(v string) (*SelfServiceRecoveryFlowState, error)

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

func (SelfServiceRecoveryFlowState) IsValid

func (v SelfServiceRecoveryFlowState) IsValid() bool

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

func (SelfServiceRecoveryFlowState) Ptr

Ptr returns reference to selfServiceRecoveryFlowState value

func (*SelfServiceRecoveryFlowState) UnmarshalJSON

func (v *SelfServiceRecoveryFlowState) UnmarshalJSON(src []byte) error
type SelfServiceRecoveryLink struct {
	// Recovery Link Expires At  The timestamp when the recovery link expires.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	// Recovery Link  This link can be used to recover the account.
	RecoveryLink string `json:"recovery_link"`
}

SelfServiceRecoveryLink struct for SelfServiceRecoveryLink

func NewSelfServiceRecoveryLink(recoveryLink string) *SelfServiceRecoveryLink

NewSelfServiceRecoveryLink instantiates a new SelfServiceRecoveryLink 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 NewSelfServiceRecoveryLinkWithDefaults

func NewSelfServiceRecoveryLinkWithDefaults() *SelfServiceRecoveryLink

NewSelfServiceRecoveryLinkWithDefaults instantiates a new SelfServiceRecoveryLink 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 (*SelfServiceRecoveryLink) GetExpiresAt

func (o *SelfServiceRecoveryLink) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*SelfServiceRecoveryLink) GetExpiresAtOk

func (o *SelfServiceRecoveryLink) GetExpiresAtOk() (*time.Time, bool)

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

func (o *SelfServiceRecoveryLink) GetRecoveryLink() string

GetRecoveryLink returns the RecoveryLink field value

func (*SelfServiceRecoveryLink) GetRecoveryLinkOk

func (o *SelfServiceRecoveryLink) GetRecoveryLinkOk() (*string, bool)

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

func (*SelfServiceRecoveryLink) HasExpiresAt

func (o *SelfServiceRecoveryLink) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (SelfServiceRecoveryLink) MarshalJSON

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

func (*SelfServiceRecoveryLink) SetExpiresAt

func (o *SelfServiceRecoveryLink) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (o *SelfServiceRecoveryLink) SetRecoveryLink(v string)

SetRecoveryLink sets field value

type SelfServiceRegistrationFlow

type SelfServiceRegistrationFlow struct {
	Active *IdentityCredentialsType `json:"active,omitempty"`
	// ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	Id        string    `json:"id"`
	// IssuedAt is the time (UTC) when the flow occurred.
	IssuedAt time.Time `json:"issued_at"`
	// RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl string `json:"request_url"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string `json:"return_to,omitempty"`
	// The flow type can either be `api` or `browser`.
	Type string      `json:"type"`
	Ui   UiContainer `json:"ui"`
}

SelfServiceRegistrationFlow struct for SelfServiceRegistrationFlow

func NewSelfServiceRegistrationFlow

func NewSelfServiceRegistrationFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, type_ string, ui UiContainer) *SelfServiceRegistrationFlow

NewSelfServiceRegistrationFlow instantiates a new SelfServiceRegistrationFlow 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 NewSelfServiceRegistrationFlowWithDefaults

func NewSelfServiceRegistrationFlowWithDefaults() *SelfServiceRegistrationFlow

NewSelfServiceRegistrationFlowWithDefaults instantiates a new SelfServiceRegistrationFlow 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 (*SelfServiceRegistrationFlow) GetActive

GetActive returns the Active field value if set, zero value otherwise.

func (*SelfServiceRegistrationFlow) GetActiveOk

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

func (*SelfServiceRegistrationFlow) GetExpiresAt

func (o *SelfServiceRegistrationFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*SelfServiceRegistrationFlow) GetExpiresAtOk

func (o *SelfServiceRegistrationFlow) GetExpiresAtOk() (*time.Time, bool)

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

func (*SelfServiceRegistrationFlow) GetId

GetId returns the Id field value

func (*SelfServiceRegistrationFlow) GetIdOk

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

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

func (*SelfServiceRegistrationFlow) GetIssuedAt

func (o *SelfServiceRegistrationFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*SelfServiceRegistrationFlow) GetIssuedAtOk

func (o *SelfServiceRegistrationFlow) GetIssuedAtOk() (*time.Time, bool)

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

func (*SelfServiceRegistrationFlow) GetRequestUrl

func (o *SelfServiceRegistrationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SelfServiceRegistrationFlow) GetRequestUrlOk

func (o *SelfServiceRegistrationFlow) GetRequestUrlOk() (*string, bool)

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

func (*SelfServiceRegistrationFlow) GetReturnTo

func (o *SelfServiceRegistrationFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*SelfServiceRegistrationFlow) GetReturnToOk

func (o *SelfServiceRegistrationFlow) GetReturnToOk() (*string, bool)

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

func (*SelfServiceRegistrationFlow) GetType

func (o *SelfServiceRegistrationFlow) GetType() string

GetType returns the Type field value

func (*SelfServiceRegistrationFlow) GetTypeOk

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

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

func (*SelfServiceRegistrationFlow) GetUi

GetUi returns the Ui field value

func (*SelfServiceRegistrationFlow) GetUiOk

func (o *SelfServiceRegistrationFlow) GetUiOk() (*UiContainer, bool)

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

func (*SelfServiceRegistrationFlow) HasActive

func (o *SelfServiceRegistrationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SelfServiceRegistrationFlow) HasReturnTo

func (o *SelfServiceRegistrationFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (SelfServiceRegistrationFlow) MarshalJSON

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

func (*SelfServiceRegistrationFlow) SetActive

SetActive gets a reference to the given IdentityCredentialsType and assigns it to the Active field.

func (*SelfServiceRegistrationFlow) SetExpiresAt

func (o *SelfServiceRegistrationFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*SelfServiceRegistrationFlow) SetId

func (o *SelfServiceRegistrationFlow) SetId(v string)

SetId sets field value

func (*SelfServiceRegistrationFlow) SetIssuedAt

func (o *SelfServiceRegistrationFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*SelfServiceRegistrationFlow) SetRequestUrl

func (o *SelfServiceRegistrationFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SelfServiceRegistrationFlow) SetReturnTo

func (o *SelfServiceRegistrationFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*SelfServiceRegistrationFlow) SetType

func (o *SelfServiceRegistrationFlow) SetType(v string)

SetType sets field value

func (*SelfServiceRegistrationFlow) SetUi

SetUi sets field value

type SelfServiceSettingsFlow

type SelfServiceSettingsFlow struct {
	// Active, if set, contains the registration method that is being used. It is initially not set.
	Active *string `json:"active,omitempty"`
	// ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated.
	ExpiresAt time.Time `json:"expires_at"`
	Id        string    `json:"id"`
	Identity  Identity  `json:"identity"`
	// IssuedAt is the time (UTC) when the flow occurred.
	IssuedAt time.Time `json:"issued_at"`
	// RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl string `json:"request_url"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string                      `json:"return_to,omitempty"`
	State    SelfServiceSettingsFlowState `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type string      `json:"type"`
	Ui   UiContainer `json:"ui"`
}

SelfServiceSettingsFlow This flow is used when an identity wants to update settings (e.g. profile data, passwords, ...) in a selfservice manner. We recommend reading the [User Settings Documentation](../self-service/flows/user-settings)

func NewSelfServiceSettingsFlow

func NewSelfServiceSettingsFlow(expiresAt time.Time, id string, identity Identity, issuedAt time.Time, requestUrl string, state SelfServiceSettingsFlowState, type_ string, ui UiContainer) *SelfServiceSettingsFlow

NewSelfServiceSettingsFlow instantiates a new SelfServiceSettingsFlow 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 NewSelfServiceSettingsFlowWithDefaults

func NewSelfServiceSettingsFlowWithDefaults() *SelfServiceSettingsFlow

NewSelfServiceSettingsFlowWithDefaults instantiates a new SelfServiceSettingsFlow 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 (*SelfServiceSettingsFlow) GetActive

func (o *SelfServiceSettingsFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*SelfServiceSettingsFlow) GetActiveOk

func (o *SelfServiceSettingsFlow) GetActiveOk() (*string, bool)

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

func (*SelfServiceSettingsFlow) GetExpiresAt

func (o *SelfServiceSettingsFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*SelfServiceSettingsFlow) GetExpiresAtOk

func (o *SelfServiceSettingsFlow) GetExpiresAtOk() (*time.Time, bool)

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

func (*SelfServiceSettingsFlow) GetId

func (o *SelfServiceSettingsFlow) GetId() string

GetId returns the Id field value

func (*SelfServiceSettingsFlow) GetIdOk

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

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

func (*SelfServiceSettingsFlow) GetIdentity

func (o *SelfServiceSettingsFlow) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SelfServiceSettingsFlow) GetIdentityOk

func (o *SelfServiceSettingsFlow) GetIdentityOk() (*Identity, bool)

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

func (*SelfServiceSettingsFlow) GetIssuedAt

func (o *SelfServiceSettingsFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*SelfServiceSettingsFlow) GetIssuedAtOk

func (o *SelfServiceSettingsFlow) GetIssuedAtOk() (*time.Time, bool)

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

func (*SelfServiceSettingsFlow) GetRequestUrl

func (o *SelfServiceSettingsFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SelfServiceSettingsFlow) GetRequestUrlOk

func (o *SelfServiceSettingsFlow) GetRequestUrlOk() (*string, bool)

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

func (*SelfServiceSettingsFlow) GetReturnTo

func (o *SelfServiceSettingsFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*SelfServiceSettingsFlow) GetReturnToOk

func (o *SelfServiceSettingsFlow) GetReturnToOk() (*string, bool)

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

func (*SelfServiceSettingsFlow) GetState

GetState returns the State field value

func (*SelfServiceSettingsFlow) GetStateOk

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

func (*SelfServiceSettingsFlow) GetType

func (o *SelfServiceSettingsFlow) GetType() string

GetType returns the Type field value

func (*SelfServiceSettingsFlow) GetTypeOk

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

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

func (*SelfServiceSettingsFlow) GetUi

GetUi returns the Ui field value

func (*SelfServiceSettingsFlow) GetUiOk

func (o *SelfServiceSettingsFlow) GetUiOk() (*UiContainer, bool)

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

func (*SelfServiceSettingsFlow) HasActive

func (o *SelfServiceSettingsFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SelfServiceSettingsFlow) HasReturnTo

func (o *SelfServiceSettingsFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (SelfServiceSettingsFlow) MarshalJSON

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

func (*SelfServiceSettingsFlow) SetActive

func (o *SelfServiceSettingsFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*SelfServiceSettingsFlow) SetExpiresAt

func (o *SelfServiceSettingsFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*SelfServiceSettingsFlow) SetId

func (o *SelfServiceSettingsFlow) SetId(v string)

SetId sets field value

func (*SelfServiceSettingsFlow) SetIdentity

func (o *SelfServiceSettingsFlow) SetIdentity(v Identity)

SetIdentity sets field value

func (*SelfServiceSettingsFlow) SetIssuedAt

func (o *SelfServiceSettingsFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*SelfServiceSettingsFlow) SetRequestUrl

func (o *SelfServiceSettingsFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SelfServiceSettingsFlow) SetReturnTo

func (o *SelfServiceSettingsFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*SelfServiceSettingsFlow) SetState

SetState sets field value

func (*SelfServiceSettingsFlow) SetType

func (o *SelfServiceSettingsFlow) SetType(v string)

SetType sets field value

func (*SelfServiceSettingsFlow) SetUi

SetUi sets field value

type SelfServiceSettingsFlowState

type SelfServiceSettingsFlowState string

SelfServiceSettingsFlowState show_form: No user data has been collected, or it is invalid, and thus the form should be shown. success: Indicates that the settings flow has been updated successfully with the provided data. Done will stay true when repeatedly checking. If set to true, done will revert back to false only when a flow with invalid (e.g. \"please use a valid phone number\") data was sent.

const (
	SELFSERVICESETTINGSFLOWSTATE_SHOW_FORM SelfServiceSettingsFlowState = "show_form"
	SELFSERVICESETTINGSFLOWSTATE_SUCCESS   SelfServiceSettingsFlowState = "success"
)

List of selfServiceSettingsFlowState

func NewSelfServiceSettingsFlowStateFromValue

func NewSelfServiceSettingsFlowStateFromValue(v string) (*SelfServiceSettingsFlowState, error)

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

func (SelfServiceSettingsFlowState) IsValid

func (v SelfServiceSettingsFlowState) IsValid() bool

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

func (SelfServiceSettingsFlowState) Ptr

Ptr returns reference to selfServiceSettingsFlowState value

func (*SelfServiceSettingsFlowState) UnmarshalJSON

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

type SelfServiceVerificationFlow

type SelfServiceVerificationFlow struct {
	// Active, if set, contains the registration method that is being used. It is initially not set.
	Active *string `json:"active,omitempty"`
	// ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	Id        string     `json:"id"`
	// IssuedAt is the time (UTC) when the request occurred.
	IssuedAt *time.Time `json:"issued_at,omitempty"`
	// RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.
	RequestUrl *string `json:"request_url,omitempty"`
	// ReturnTo contains the requested return_to URL.
	ReturnTo *string                          `json:"return_to,omitempty"`
	State    SelfServiceVerificationFlowState `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type string      `json:"type"`
	Ui   UiContainer `json:"ui"`
}

SelfServiceVerificationFlow Used to verify an out-of-band communication channel such as an email address or a phone number. For more information head over to: https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation

func NewSelfServiceVerificationFlow

func NewSelfServiceVerificationFlow(id string, state SelfServiceVerificationFlowState, type_ string, ui UiContainer) *SelfServiceVerificationFlow

NewSelfServiceVerificationFlow instantiates a new SelfServiceVerificationFlow 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 NewSelfServiceVerificationFlowWithDefaults

func NewSelfServiceVerificationFlowWithDefaults() *SelfServiceVerificationFlow

NewSelfServiceVerificationFlowWithDefaults instantiates a new SelfServiceVerificationFlow 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 (*SelfServiceVerificationFlow) GetActive

func (o *SelfServiceVerificationFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*SelfServiceVerificationFlow) GetActiveOk

func (o *SelfServiceVerificationFlow) GetActiveOk() (*string, bool)

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

func (*SelfServiceVerificationFlow) GetExpiresAt

func (o *SelfServiceVerificationFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*SelfServiceVerificationFlow) GetExpiresAtOk

func (o *SelfServiceVerificationFlow) GetExpiresAtOk() (*time.Time, bool)

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

func (*SelfServiceVerificationFlow) GetId

GetId returns the Id field value

func (*SelfServiceVerificationFlow) GetIdOk

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

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

func (*SelfServiceVerificationFlow) GetIssuedAt

func (o *SelfServiceVerificationFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*SelfServiceVerificationFlow) GetIssuedAtOk

func (o *SelfServiceVerificationFlow) GetIssuedAtOk() (*time.Time, bool)

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

func (*SelfServiceVerificationFlow) GetRequestUrl

func (o *SelfServiceVerificationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*SelfServiceVerificationFlow) GetRequestUrlOk

func (o *SelfServiceVerificationFlow) GetRequestUrlOk() (*string, bool)

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

func (*SelfServiceVerificationFlow) GetReturnTo

func (o *SelfServiceVerificationFlow) GetReturnTo() string

GetReturnTo returns the ReturnTo field value if set, zero value otherwise.

func (*SelfServiceVerificationFlow) GetReturnToOk

func (o *SelfServiceVerificationFlow) GetReturnToOk() (*string, bool)

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

func (*SelfServiceVerificationFlow) GetState

GetState returns the State field value

func (*SelfServiceVerificationFlow) GetStateOk

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

func (*SelfServiceVerificationFlow) GetType

func (o *SelfServiceVerificationFlow) GetType() string

GetType returns the Type field value

func (*SelfServiceVerificationFlow) GetTypeOk

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

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

func (*SelfServiceVerificationFlow) GetUi

GetUi returns the Ui field value

func (*SelfServiceVerificationFlow) GetUiOk

func (o *SelfServiceVerificationFlow) GetUiOk() (*UiContainer, bool)

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

func (*SelfServiceVerificationFlow) HasActive

func (o *SelfServiceVerificationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SelfServiceVerificationFlow) HasExpiresAt

func (o *SelfServiceVerificationFlow) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*SelfServiceVerificationFlow) HasIssuedAt

func (o *SelfServiceVerificationFlow) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (*SelfServiceVerificationFlow) HasRequestUrl

func (o *SelfServiceVerificationFlow) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (*SelfServiceVerificationFlow) HasReturnTo

func (o *SelfServiceVerificationFlow) HasReturnTo() bool

HasReturnTo returns a boolean if a field has been set.

func (SelfServiceVerificationFlow) MarshalJSON

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

func (*SelfServiceVerificationFlow) SetActive

func (o *SelfServiceVerificationFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*SelfServiceVerificationFlow) SetExpiresAt

func (o *SelfServiceVerificationFlow) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*SelfServiceVerificationFlow) SetId

func (o *SelfServiceVerificationFlow) SetId(v string)

SetId sets field value

func (*SelfServiceVerificationFlow) SetIssuedAt

func (o *SelfServiceVerificationFlow) SetIssuedAt(v time.Time)

SetIssuedAt gets a reference to the given time.Time and assigns it to the IssuedAt field.

func (*SelfServiceVerificationFlow) SetRequestUrl

func (o *SelfServiceVerificationFlow) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*SelfServiceVerificationFlow) SetReturnTo

func (o *SelfServiceVerificationFlow) SetReturnTo(v string)

SetReturnTo gets a reference to the given string and assigns it to the ReturnTo field.

func (*SelfServiceVerificationFlow) SetState

SetState sets field value

func (*SelfServiceVerificationFlow) SetType

func (o *SelfServiceVerificationFlow) SetType(v string)

SetType sets field value

func (*SelfServiceVerificationFlow) SetUi

SetUi sets field value

type SelfServiceVerificationFlowState

type SelfServiceVerificationFlowState string

SelfServiceVerificationFlowState The state represents the state of the verification flow. choose_method: ask the user to choose a method (e.g. recover account via email) sent_email: the email has been sent to the user passed_challenge: the request was successful and the recovery challenge was passed.

const (
	SELFSERVICEVERIFICATIONFLOWSTATE_CHOOSE_METHOD    SelfServiceVerificationFlowState = "choose_method"
	SELFSERVICEVERIFICATIONFLOWSTATE_SENT_EMAIL       SelfServiceVerificationFlowState = "sent_email"
	SELFSERVICEVERIFICATIONFLOWSTATE_PASSED_CHALLENGE SelfServiceVerificationFlowState = "passed_challenge"
)

List of selfServiceVerificationFlowState

func NewSelfServiceVerificationFlowStateFromValue

func NewSelfServiceVerificationFlowStateFromValue(v string) (*SelfServiceVerificationFlowState, error)

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

func (SelfServiceVerificationFlowState) IsValid

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

func (SelfServiceVerificationFlowState) Ptr

Ptr returns reference to selfServiceVerificationFlowState value

func (*SelfServiceVerificationFlowState) UnmarshalJSON

func (v *SelfServiceVerificationFlowState) UnmarshalJSON(src []byte) 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 {
	// Active state. If false the session is no longer active.
	Active *bool `json:"active,omitempty"`
	// The Session Authentication Timestamp  When this session was authenticated at. If multi-factor authentication was used this is the time when the last factor was authenticated (e.g. the TOTP code challenge was completed).
	AuthenticatedAt *time.Time `json:"authenticated_at,omitempty"`
	// A list of authenticators which were used to authenticate the session.
	AuthenticationMethods       []SessionAuthenticationMethod `json:"authentication_methods,omitempty"`
	AuthenticatorAssuranceLevel *AuthenticatorAssuranceLevel  `json:"authenticator_assurance_level,omitempty"`
	// The Session Expiry  When this session expires at.
	ExpiresAt *time.Time `json:"expires_at,omitempty"`
	Id        string     `json:"id"`
	Identity  Identity   `json:"identity"`
	// The Session Issuance Timestamp  When this session was issued at. Usually equal or close to `authenticated_at`.
	IssuedAt *time.Time `json:"issued_at,omitempty"`
}

Session A Session

func NewSession

func NewSession(id string, identity Identity) *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) GetActive

func (o *Session) GetActive() bool

GetActive returns the Active field value if set, zero value otherwise.

func (*Session) GetActiveOk

func (o *Session) GetActiveOk() (*bool, bool)

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

func (*Session) GetAuthenticatedAt

func (o *Session) GetAuthenticatedAt() time.Time

GetAuthenticatedAt returns the AuthenticatedAt field value if set, zero value otherwise.

func (*Session) GetAuthenticatedAtOk

func (o *Session) GetAuthenticatedAtOk() (*time.Time, bool)

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

func (*Session) GetAuthenticationMethods

func (o *Session) GetAuthenticationMethods() []SessionAuthenticationMethod

GetAuthenticationMethods returns the AuthenticationMethods field value if set, zero value otherwise.

func (*Session) GetAuthenticationMethodsOk

func (o *Session) GetAuthenticationMethodsOk() ([]SessionAuthenticationMethod, bool)

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

func (*Session) GetAuthenticatorAssuranceLevel

func (o *Session) GetAuthenticatorAssuranceLevel() AuthenticatorAssuranceLevel

GetAuthenticatorAssuranceLevel returns the AuthenticatorAssuranceLevel field value if set, zero value otherwise.

func (*Session) GetAuthenticatorAssuranceLevelOk

func (o *Session) GetAuthenticatorAssuranceLevelOk() (*AuthenticatorAssuranceLevel, bool)

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

func (*Session) GetExpiresAt

func (o *Session) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*Session) GetExpiresAtOk

func (o *Session) GetExpiresAtOk() (*time.Time, bool)

GetExpiresAtOk returns a tuple with the ExpiresAt 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) GetIdentity

func (o *Session) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*Session) GetIdentityOk

func (o *Session) GetIdentityOk() (*Identity, bool)

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

func (*Session) GetIssuedAt

func (o *Session) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*Session) GetIssuedAtOk

func (o *Session) GetIssuedAtOk() (*time.Time, bool)

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

func (*Session) HasActive

func (o *Session) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*Session) HasAuthenticatedAt

func (o *Session) HasAuthenticatedAt() bool

HasAuthenticatedAt returns a boolean if a field has been set.

func (*Session) HasAuthenticationMethods

func (o *Session) HasAuthenticationMethods() bool

HasAuthenticationMethods returns a boolean if a field has been set.

func (*Session) HasAuthenticatorAssuranceLevel

func (o *Session) HasAuthenticatorAssuranceLevel() bool

HasAuthenticatorAssuranceLevel returns a boolean if a field has been set.

func (*Session) HasExpiresAt

func (o *Session) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*Session) HasIssuedAt

func (o *Session) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (Session) MarshalJSON

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

func (*Session) SetActive

func (o *Session) SetActive(v bool)

SetActive gets a reference to the given bool and assigns it to the Active field.

func (*Session) SetAuthenticatedAt

func (o *Session) SetAuthenticatedAt(v time.Time)

SetAuthenticatedAt gets a reference to the given time.Time and assigns it to the AuthenticatedAt field.

func (*Session) SetAuthenticationMethods

func (o *Session) SetAuthenticationMethods(v []SessionAuthenticationMethod)

SetAuthenticationMethods gets a reference to the given []SessionAuthenticationMethod and assigns it to the AuthenticationMethods field.

func (*Session) SetAuthenticatorAssuranceLevel

func (o *Session) SetAuthenticatorAssuranceLevel(v AuthenticatorAssuranceLevel)

SetAuthenticatorAssuranceLevel gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the AuthenticatorAssuranceLevel field.

func (*Session) SetExpiresAt

func (o *Session) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*Session) SetId

func (o *Session) SetId(v string)

SetId sets field value

func (*Session) SetIdentity

func (o *Session) SetIdentity(v Identity)

SetIdentity sets field value

func (*Session) SetIssuedAt

func (o *Session) SetIssuedAt(v time.Time)

SetIssuedAt gets a reference to the given time.Time and assigns it to the IssuedAt field.

type SessionAuthenticationMethod

type SessionAuthenticationMethod struct {
	Aal *AuthenticatorAssuranceLevel `json:"aal,omitempty"`
	// When the authentication challenge was completed.
	CompletedAt *time.Time `json:"completed_at,omitempty"`
	Method      *string    `json:"method,omitempty"`
}

SessionAuthenticationMethod A singular authenticator used during authentication / login.

func NewSessionAuthenticationMethod

func NewSessionAuthenticationMethod() *SessionAuthenticationMethod

NewSessionAuthenticationMethod instantiates a new SessionAuthenticationMethod 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 NewSessionAuthenticationMethodWithDefaults

func NewSessionAuthenticationMethodWithDefaults() *SessionAuthenticationMethod

NewSessionAuthenticationMethodWithDefaults instantiates a new SessionAuthenticationMethod 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 (*SessionAuthenticationMethod) GetAal

GetAal returns the Aal field value if set, zero value otherwise.

func (*SessionAuthenticationMethod) GetAalOk

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

func (*SessionAuthenticationMethod) GetCompletedAt

func (o *SessionAuthenticationMethod) GetCompletedAt() time.Time

GetCompletedAt returns the CompletedAt field value if set, zero value otherwise.

func (*SessionAuthenticationMethod) GetCompletedAtOk

func (o *SessionAuthenticationMethod) GetCompletedAtOk() (*time.Time, bool)

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

func (*SessionAuthenticationMethod) GetMethod

func (o *SessionAuthenticationMethod) GetMethod() string

GetMethod returns the Method field value if set, zero value otherwise.

func (*SessionAuthenticationMethod) GetMethodOk

func (o *SessionAuthenticationMethod) GetMethodOk() (*string, bool)

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

func (*SessionAuthenticationMethod) HasAal

func (o *SessionAuthenticationMethod) HasAal() bool

HasAal returns a boolean if a field has been set.

func (*SessionAuthenticationMethod) HasCompletedAt

func (o *SessionAuthenticationMethod) HasCompletedAt() bool

HasCompletedAt returns a boolean if a field has been set.

func (*SessionAuthenticationMethod) HasMethod

func (o *SessionAuthenticationMethod) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (SessionAuthenticationMethod) MarshalJSON

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

func (*SessionAuthenticationMethod) SetAal

SetAal gets a reference to the given AuthenticatorAssuranceLevel and assigns it to the Aal field.

func (*SessionAuthenticationMethod) SetCompletedAt

func (o *SessionAuthenticationMethod) SetCompletedAt(v time.Time)

SetCompletedAt gets a reference to the given time.Time and assigns it to the CompletedAt field.

func (*SessionAuthenticationMethod) SetMethod

func (o *SessionAuthenticationMethod) SetMethod(v string)

SetMethod gets a reference to the given string and assigns it to the Method field.

type SessionDevice

type SessionDevice struct {
	// UserAgent of this device
	UserAgent *string `json:"user_agent,omitempty"`
}

SessionDevice struct for SessionDevice

func NewSessionDevice

func NewSessionDevice() *SessionDevice

NewSessionDevice instantiates a new SessionDevice 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 NewSessionDeviceWithDefaults

func NewSessionDeviceWithDefaults() *SessionDevice

NewSessionDeviceWithDefaults instantiates a new SessionDevice 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 (*SessionDevice) GetUserAgent

func (o *SessionDevice) GetUserAgent() string

GetUserAgent returns the UserAgent field value if set, zero value otherwise.

func (*SessionDevice) GetUserAgentOk

func (o *SessionDevice) GetUserAgentOk() (*string, bool)

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

func (*SessionDevice) HasUserAgent

func (o *SessionDevice) HasUserAgent() bool

HasUserAgent returns a boolean if a field has been set.

func (SessionDevice) MarshalJSON

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

func (*SessionDevice) SetUserAgent

func (o *SessionDevice) SetUserAgent(v string)

SetUserAgent gets a reference to the given string and assigns it to the UserAgent field.

type SettingsProfileFormConfig

type SettingsProfileFormConfig struct {
	// Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`.
	Action   string   `json:"action"`
	Messages []UiText `json:"messages,omitempty"`
	// Method is the form method (e.g. POST)
	Method string   `json:"method"`
	Nodes  []UiNode `json:"nodes"`
}

SettingsProfileFormConfig struct for SettingsProfileFormConfig

func NewSettingsProfileFormConfig

func NewSettingsProfileFormConfig(action string, method string, nodes []UiNode) *SettingsProfileFormConfig

NewSettingsProfileFormConfig instantiates a new SettingsProfileFormConfig 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 NewSettingsProfileFormConfigWithDefaults

func NewSettingsProfileFormConfigWithDefaults() *SettingsProfileFormConfig

NewSettingsProfileFormConfigWithDefaults instantiates a new SettingsProfileFormConfig 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 (*SettingsProfileFormConfig) GetAction

func (o *SettingsProfileFormConfig) GetAction() string

GetAction returns the Action field value

func (*SettingsProfileFormConfig) GetActionOk

func (o *SettingsProfileFormConfig) GetActionOk() (*string, bool)

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

func (*SettingsProfileFormConfig) GetMessages

func (o *SettingsProfileFormConfig) GetMessages() []UiText

GetMessages returns the Messages field value if set, zero value otherwise.

func (*SettingsProfileFormConfig) GetMessagesOk

func (o *SettingsProfileFormConfig) GetMessagesOk() ([]UiText, bool)

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

func (*SettingsProfileFormConfig) GetMethod

func (o *SettingsProfileFormConfig) GetMethod() string

GetMethod returns the Method field value

func (*SettingsProfileFormConfig) GetMethodOk

func (o *SettingsProfileFormConfig) GetMethodOk() (*string, bool)

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

func (*SettingsProfileFormConfig) GetNodes

func (o *SettingsProfileFormConfig) GetNodes() []UiNode

GetNodes returns the Nodes field value

func (*SettingsProfileFormConfig) GetNodesOk

func (o *SettingsProfileFormConfig) GetNodesOk() ([]UiNode, bool)

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

func (*SettingsProfileFormConfig) HasMessages

func (o *SettingsProfileFormConfig) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (SettingsProfileFormConfig) MarshalJSON

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

func (*SettingsProfileFormConfig) SetAction

func (o *SettingsProfileFormConfig) SetAction(v string)

SetAction sets field value

func (*SettingsProfileFormConfig) SetMessages

func (o *SettingsProfileFormConfig) SetMessages(v []UiText)

SetMessages gets a reference to the given []UiText and assigns it to the Messages field.

func (*SettingsProfileFormConfig) SetMethod

func (o *SettingsProfileFormConfig) SetMethod(v string)

SetMethod sets field value

func (*SettingsProfileFormConfig) SetNodes

func (o *SettingsProfileFormConfig) SetNodes(v []UiNode)

SetNodes sets field value

type SubmitSelfServiceFlowWithWebAuthnRegistrationMethod

type SubmitSelfServiceFlowWithWebAuthnRegistrationMethod struct {
	// Register a WebAuthn Security Key  It is expected that the JSON returned by the WebAuthn registration process is included here.
	WebauthnRegister *string `json:"webauthn_register,omitempty"`
	// Name of the WebAuthn Security Key to be Added  A human-readable name for the security key which will be added.
	WebauthnRegisterDisplayname *string `json:"webauthn_register_displayname,omitempty"`
}

SubmitSelfServiceFlowWithWebAuthnRegistrationMethod struct for SubmitSelfServiceFlowWithWebAuthnRegistrationMethod

func NewSubmitSelfServiceFlowWithWebAuthnRegistrationMethod

func NewSubmitSelfServiceFlowWithWebAuthnRegistrationMethod() *SubmitSelfServiceFlowWithWebAuthnRegistrationMethod

NewSubmitSelfServiceFlowWithWebAuthnRegistrationMethod instantiates a new SubmitSelfServiceFlowWithWebAuthnRegistrationMethod 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 NewSubmitSelfServiceFlowWithWebAuthnRegistrationMethodWithDefaults

func NewSubmitSelfServiceFlowWithWebAuthnRegistrationMethodWithDefaults() *SubmitSelfServiceFlowWithWebAuthnRegistrationMethod

NewSubmitSelfServiceFlowWithWebAuthnRegistrationMethodWithDefaults instantiates a new SubmitSelfServiceFlowWithWebAuthnRegistrationMethod 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 (*SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) GetWebauthnRegister

GetWebauthnRegister returns the WebauthnRegister field value if set, zero value otherwise.

func (*SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) GetWebauthnRegisterDisplayname

func (o *SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) GetWebauthnRegisterDisplayname() string

GetWebauthnRegisterDisplayname returns the WebauthnRegisterDisplayname field value if set, zero value otherwise.

func (*SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) GetWebauthnRegisterDisplaynameOk

func (o *SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) GetWebauthnRegisterDisplaynameOk() (*string, bool)

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

func (*SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) GetWebauthnRegisterOk

func (o *SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) GetWebauthnRegisterOk() (*string, bool)

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

func (*SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) HasWebauthnRegister

HasWebauthnRegister returns a boolean if a field has been set.

func (*SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) HasWebauthnRegisterDisplayname

func (o *SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) HasWebauthnRegisterDisplayname() bool

HasWebauthnRegisterDisplayname returns a boolean if a field has been set.

func (SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) MarshalJSON

func (*SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) SetWebauthnRegister

SetWebauthnRegister gets a reference to the given string and assigns it to the WebauthnRegister field.

func (*SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) SetWebauthnRegisterDisplayname

func (o *SubmitSelfServiceFlowWithWebAuthnRegistrationMethod) SetWebauthnRegisterDisplayname(v string)

SetWebauthnRegisterDisplayname gets a reference to the given string and assigns it to the WebauthnRegisterDisplayname field.

type SubmitSelfServiceLoginFlowBody

type SubmitSelfServiceLoginFlowBody struct {
	SubmitSelfServiceLoginFlowWithLookupSecretMethodBody *SubmitSelfServiceLoginFlowWithLookupSecretMethodBody
	SubmitSelfServiceLoginFlowWithOidcMethodBody         *SubmitSelfServiceLoginFlowWithOidcMethodBody
	SubmitSelfServiceLoginFlowWithPasswordMethodBody     *SubmitSelfServiceLoginFlowWithPasswordMethodBody
	SubmitSelfServiceLoginFlowWithTotpMethodBody         *SubmitSelfServiceLoginFlowWithTotpMethodBody
	SubmitSelfServiceLoginFlowWithWebAuthnMethodBody     *SubmitSelfServiceLoginFlowWithWebAuthnMethodBody
}

SubmitSelfServiceLoginFlowBody - struct for SubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithLookupSecretMethodBodyAsSubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithLookupSecretMethodBodyAsSubmitSelfServiceLoginFlowBody(v *SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) SubmitSelfServiceLoginFlowBody

SubmitSelfServiceLoginFlowWithLookupSecretMethodBodyAsSubmitSelfServiceLoginFlowBody is a convenience function that returns SubmitSelfServiceLoginFlowWithLookupSecretMethodBody wrapped in SubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithOidcMethodBodyAsSubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithOidcMethodBodyAsSubmitSelfServiceLoginFlowBody(v *SubmitSelfServiceLoginFlowWithOidcMethodBody) SubmitSelfServiceLoginFlowBody

SubmitSelfServiceLoginFlowWithOidcMethodBodyAsSubmitSelfServiceLoginFlowBody is a convenience function that returns SubmitSelfServiceLoginFlowWithOidcMethodBody wrapped in SubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithPasswordMethodBodyAsSubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithPasswordMethodBodyAsSubmitSelfServiceLoginFlowBody(v *SubmitSelfServiceLoginFlowWithPasswordMethodBody) SubmitSelfServiceLoginFlowBody

SubmitSelfServiceLoginFlowWithPasswordMethodBodyAsSubmitSelfServiceLoginFlowBody is a convenience function that returns SubmitSelfServiceLoginFlowWithPasswordMethodBody wrapped in SubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithTotpMethodBodyAsSubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithTotpMethodBodyAsSubmitSelfServiceLoginFlowBody(v *SubmitSelfServiceLoginFlowWithTotpMethodBody) SubmitSelfServiceLoginFlowBody

SubmitSelfServiceLoginFlowWithTotpMethodBodyAsSubmitSelfServiceLoginFlowBody is a convenience function that returns SubmitSelfServiceLoginFlowWithTotpMethodBody wrapped in SubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithWebAuthnMethodBodyAsSubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithWebAuthnMethodBodyAsSubmitSelfServiceLoginFlowBody(v *SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) SubmitSelfServiceLoginFlowBody

SubmitSelfServiceLoginFlowWithWebAuthnMethodBodyAsSubmitSelfServiceLoginFlowBody is a convenience function that returns SubmitSelfServiceLoginFlowWithWebAuthnMethodBody wrapped in SubmitSelfServiceLoginFlowBody

func (*SubmitSelfServiceLoginFlowBody) GetActualInstance

func (obj *SubmitSelfServiceLoginFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitSelfServiceLoginFlowBody) MarshalJSON

func (src SubmitSelfServiceLoginFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSelfServiceLoginFlowBody) UnmarshalJSON

func (dst *SubmitSelfServiceLoginFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSelfServiceLoginFlowWithLookupSecretMethodBody

type SubmitSelfServiceLoginFlowWithLookupSecretMethodBody struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// The lookup secret.
	LookupSecret string `json:"lookup_secret"`
	// Method should be set to \"lookup_secret\" when logging in using the lookup_secret strategy.
	Method string `json:"method"`
}

SubmitSelfServiceLoginFlowWithLookupSecretMethodBody struct for SubmitSelfServiceLoginFlowWithLookupSecretMethodBody

func NewSubmitSelfServiceLoginFlowWithLookupSecretMethodBody

func NewSubmitSelfServiceLoginFlowWithLookupSecretMethodBody(lookupSecret string, method string) *SubmitSelfServiceLoginFlowWithLookupSecretMethodBody

NewSubmitSelfServiceLoginFlowWithLookupSecretMethodBody instantiates a new SubmitSelfServiceLoginFlowWithLookupSecretMethodBody 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 NewSubmitSelfServiceLoginFlowWithLookupSecretMethodBodyWithDefaults

func NewSubmitSelfServiceLoginFlowWithLookupSecretMethodBodyWithDefaults() *SubmitSelfServiceLoginFlowWithLookupSecretMethodBody

NewSubmitSelfServiceLoginFlowWithLookupSecretMethodBodyWithDefaults instantiates a new SubmitSelfServiceLoginFlowWithLookupSecretMethodBody 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 (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) GetLookupSecret

GetLookupSecret returns the LookupSecret field value

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) GetLookupSecretOk

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

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) GetMethodOk

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

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) MarshalJSON

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) SetLookupSecret

SetLookupSecret sets field value

func (*SubmitSelfServiceLoginFlowWithLookupSecretMethodBody) SetMethod

SetMethod sets field value

type SubmitSelfServiceLoginFlowWithOidcMethodBody

type SubmitSelfServiceLoginFlowWithOidcMethodBody struct {
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method to use  This field must be set to `oidc` when using the oidc method.
	Method string `json:"method"`
	// The provider to register with
	Provider string `json:"provider"`
	// The identity traits. This is a placeholder for the registration flow.
	Traits map[string]interface{} `json:"traits,omitempty"`
}

SubmitSelfServiceLoginFlowWithOidcMethodBody SubmitSelfServiceLoginFlowWithOidcMethodBody is used to decode the login form payload when using the oidc method.

func NewSubmitSelfServiceLoginFlowWithOidcMethodBody

func NewSubmitSelfServiceLoginFlowWithOidcMethodBody(method string, provider string) *SubmitSelfServiceLoginFlowWithOidcMethodBody

NewSubmitSelfServiceLoginFlowWithOidcMethodBody instantiates a new SubmitSelfServiceLoginFlowWithOidcMethodBody 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 NewSubmitSelfServiceLoginFlowWithOidcMethodBodyWithDefaults

func NewSubmitSelfServiceLoginFlowWithOidcMethodBodyWithDefaults() *SubmitSelfServiceLoginFlowWithOidcMethodBody

NewSubmitSelfServiceLoginFlowWithOidcMethodBodyWithDefaults instantiates a new SubmitSelfServiceLoginFlowWithOidcMethodBody 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 (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetMethodOk

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

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetProvider

GetProvider returns the Provider field value

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetProviderOk

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

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetTraits

func (o *SubmitSelfServiceLoginFlowWithOidcMethodBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetTraitsOk

func (o *SubmitSelfServiceLoginFlowWithOidcMethodBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) HasTraits

HasTraits returns a boolean if a field has been set.

func (SubmitSelfServiceLoginFlowWithOidcMethodBody) MarshalJSON

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) SetProvider

SetProvider sets field value

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) SetTraits

func (o *SubmitSelfServiceLoginFlowWithOidcMethodBody) SetTraits(v map[string]interface{})

SetTraits gets a reference to the given map[string]interface{} and assigns it to the Traits field.

type SubmitSelfServiceLoginFlowWithPasswordMethodBody

type SubmitSelfServiceLoginFlowWithPasswordMethodBody struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Identifier is the email or username of the user trying to log in.
	Identifier string `json:"identifier"`
	// Method should be set to \"password\" when logging in using the identifier and password strategy.
	Method string `json:"method"`
	// The user's password.
	Password string `json:"password"`
	// Identifier is the email or username of the user trying to log in. This field is deprecated!
	PasswordIdentifier *string `json:"password_identifier,omitempty"`
}

SubmitSelfServiceLoginFlowWithPasswordMethodBody struct for SubmitSelfServiceLoginFlowWithPasswordMethodBody

func NewSubmitSelfServiceLoginFlowWithPasswordMethodBody

func NewSubmitSelfServiceLoginFlowWithPasswordMethodBody(identifier string, method string, password string) *SubmitSelfServiceLoginFlowWithPasswordMethodBody

NewSubmitSelfServiceLoginFlowWithPasswordMethodBody instantiates a new SubmitSelfServiceLoginFlowWithPasswordMethodBody 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 NewSubmitSelfServiceLoginFlowWithPasswordMethodBodyWithDefaults

func NewSubmitSelfServiceLoginFlowWithPasswordMethodBodyWithDefaults() *SubmitSelfServiceLoginFlowWithPasswordMethodBody

NewSubmitSelfServiceLoginFlowWithPasswordMethodBodyWithDefaults instantiates a new SubmitSelfServiceLoginFlowWithPasswordMethodBody 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 (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetIdentifier

GetIdentifier returns the Identifier field value

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetIdentifierOk

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

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetMethodOk

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

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetPassword

GetPassword returns the Password field value

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetPasswordIdentifier

func (o *SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetPasswordIdentifier() string

GetPasswordIdentifier returns the PasswordIdentifier field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetPasswordIdentifierOk

func (o *SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetPasswordIdentifierOk() (*string, bool)

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

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetPasswordOk

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

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) HasPasswordIdentifier

func (o *SubmitSelfServiceLoginFlowWithPasswordMethodBody) HasPasswordIdentifier() bool

HasPasswordIdentifier returns a boolean if a field has been set.

func (SubmitSelfServiceLoginFlowWithPasswordMethodBody) MarshalJSON

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetIdentifier

SetIdentifier sets field value

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetPassword

SetPassword sets field value

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetPasswordIdentifier

func (o *SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetPasswordIdentifier(v string)

SetPasswordIdentifier gets a reference to the given string and assigns it to the PasswordIdentifier field.

type SubmitSelfServiceLoginFlowWithTotpMethodBody

type SubmitSelfServiceLoginFlowWithTotpMethodBody struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method should be set to \"totp\" when logging in using the TOTP strategy.
	Method string `json:"method"`
	// The TOTP code.
	TotpCode string `json:"totp_code"`
}

SubmitSelfServiceLoginFlowWithTotpMethodBody struct for SubmitSelfServiceLoginFlowWithTotpMethodBody

func NewSubmitSelfServiceLoginFlowWithTotpMethodBody

func NewSubmitSelfServiceLoginFlowWithTotpMethodBody(method string, totpCode string) *SubmitSelfServiceLoginFlowWithTotpMethodBody

NewSubmitSelfServiceLoginFlowWithTotpMethodBody instantiates a new SubmitSelfServiceLoginFlowWithTotpMethodBody 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 NewSubmitSelfServiceLoginFlowWithTotpMethodBodyWithDefaults

func NewSubmitSelfServiceLoginFlowWithTotpMethodBodyWithDefaults() *SubmitSelfServiceLoginFlowWithTotpMethodBody

NewSubmitSelfServiceLoginFlowWithTotpMethodBodyWithDefaults instantiates a new SubmitSelfServiceLoginFlowWithTotpMethodBody 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 (*SubmitSelfServiceLoginFlowWithTotpMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) GetMethodOk

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

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) GetTotpCode

GetTotpCode returns the TotpCode field value

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) GetTotpCodeOk

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

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSelfServiceLoginFlowWithTotpMethodBody) MarshalJSON

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceLoginFlowWithTotpMethodBody) SetTotpCode

SetTotpCode sets field value

type SubmitSelfServiceLoginFlowWithWebAuthnMethodBody

type SubmitSelfServiceLoginFlowWithWebAuthnMethodBody struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Identifier is the email or username of the user trying to log in. This field is only required when using WebAuthn for passwordless login. When using WebAuthn for multi-factor authentication, it is not needed.
	Identifier *string `json:"identifier,omitempty"`
	// Method should be set to \"webAuthn\" when logging in using the WebAuthn strategy.
	Method string `json:"method"`
	// Login a WebAuthn Security Key  This must contain the ID of the WebAuthN connection.
	WebauthnLogin *string `json:"webauthn_login,omitempty"`
}

SubmitSelfServiceLoginFlowWithWebAuthnMethodBody struct for SubmitSelfServiceLoginFlowWithWebAuthnMethodBody

func NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBody

func NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBody(method string) *SubmitSelfServiceLoginFlowWithWebAuthnMethodBody

NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBody instantiates a new SubmitSelfServiceLoginFlowWithWebAuthnMethodBody 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 NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBodyWithDefaults

func NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBodyWithDefaults() *SubmitSelfServiceLoginFlowWithWebAuthnMethodBody

NewSubmitSelfServiceLoginFlowWithWebAuthnMethodBodyWithDefaults instantiates a new SubmitSelfServiceLoginFlowWithWebAuthnMethodBody 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 (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetIdentifier

GetIdentifier returns the Identifier field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetIdentifierOk

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

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetMethodOk

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

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetWebauthnLogin

GetWebauthnLogin returns the WebauthnLogin field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetWebauthnLoginOk

func (o *SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) GetWebauthnLoginOk() (*string, bool)

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

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) HasIdentifier

HasIdentifier returns a boolean if a field has been set.

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) HasWebauthnLogin

HasWebauthnLogin returns a boolean if a field has been set.

func (SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) MarshalJSON

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) SetIdentifier

SetIdentifier gets a reference to the given string and assigns it to the Identifier field.

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceLoginFlowWithWebAuthnMethodBody) SetWebauthnLogin

SetWebauthnLogin gets a reference to the given string and assigns it to the WebauthnLogin field.

type SubmitSelfServiceLogoutFlowWithoutBrowserBody

type SubmitSelfServiceLogoutFlowWithoutBrowserBody struct {
	// The Session Token  Invalidate this session token.
	SessionToken string `json:"session_token"`
}

SubmitSelfServiceLogoutFlowWithoutBrowserBody nolint:deadcode,unused

func NewSubmitSelfServiceLogoutFlowWithoutBrowserBody

func NewSubmitSelfServiceLogoutFlowWithoutBrowserBody(sessionToken string) *SubmitSelfServiceLogoutFlowWithoutBrowserBody

NewSubmitSelfServiceLogoutFlowWithoutBrowserBody instantiates a new SubmitSelfServiceLogoutFlowWithoutBrowserBody 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 NewSubmitSelfServiceLogoutFlowWithoutBrowserBodyWithDefaults

func NewSubmitSelfServiceLogoutFlowWithoutBrowserBodyWithDefaults() *SubmitSelfServiceLogoutFlowWithoutBrowserBody

NewSubmitSelfServiceLogoutFlowWithoutBrowserBodyWithDefaults instantiates a new SubmitSelfServiceLogoutFlowWithoutBrowserBody 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 (*SubmitSelfServiceLogoutFlowWithoutBrowserBody) GetSessionToken

GetSessionToken returns the SessionToken field value

func (*SubmitSelfServiceLogoutFlowWithoutBrowserBody) GetSessionTokenOk

func (o *SubmitSelfServiceLogoutFlowWithoutBrowserBody) GetSessionTokenOk() (*string, bool)

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

func (SubmitSelfServiceLogoutFlowWithoutBrowserBody) MarshalJSON

func (*SubmitSelfServiceLogoutFlowWithoutBrowserBody) SetSessionToken

SetSessionToken sets field value

type SubmitSelfServiceRecoveryFlowBody

type SubmitSelfServiceRecoveryFlowBody struct {
	SubmitSelfServiceRecoveryFlowWithLinkMethodBody *SubmitSelfServiceRecoveryFlowWithLinkMethodBody
}

SubmitSelfServiceRecoveryFlowBody - struct for SubmitSelfServiceRecoveryFlowBody

func SubmitSelfServiceRecoveryFlowWithLinkMethodBodyAsSubmitSelfServiceRecoveryFlowBody

func SubmitSelfServiceRecoveryFlowWithLinkMethodBodyAsSubmitSelfServiceRecoveryFlowBody(v *SubmitSelfServiceRecoveryFlowWithLinkMethodBody) SubmitSelfServiceRecoveryFlowBody

SubmitSelfServiceRecoveryFlowWithLinkMethodBodyAsSubmitSelfServiceRecoveryFlowBody is a convenience function that returns SubmitSelfServiceRecoveryFlowWithLinkMethodBody wrapped in SubmitSelfServiceRecoveryFlowBody

func (*SubmitSelfServiceRecoveryFlowBody) GetActualInstance

func (obj *SubmitSelfServiceRecoveryFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitSelfServiceRecoveryFlowBody) MarshalJSON

func (src SubmitSelfServiceRecoveryFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSelfServiceRecoveryFlowBody) UnmarshalJSON

func (dst *SubmitSelfServiceRecoveryFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSelfServiceRecoveryFlowWithLinkMethodBody

type SubmitSelfServiceRecoveryFlowWithLinkMethodBody struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Email to Recover  Needs to be set when initiating the flow. If the email is a registered recovery email, a recovery link will be sent. If the email is not known, a email with details on what happened will be sent instead.  format: email
	Email string `json:"email"`
	// Method supports `link` only right now.
	Method string `json:"method"`
}

SubmitSelfServiceRecoveryFlowWithLinkMethodBody struct for SubmitSelfServiceRecoveryFlowWithLinkMethodBody

func NewSubmitSelfServiceRecoveryFlowWithLinkMethodBody

func NewSubmitSelfServiceRecoveryFlowWithLinkMethodBody(email string, method string) *SubmitSelfServiceRecoveryFlowWithLinkMethodBody

NewSubmitSelfServiceRecoveryFlowWithLinkMethodBody instantiates a new SubmitSelfServiceRecoveryFlowWithLinkMethodBody 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 NewSubmitSelfServiceRecoveryFlowWithLinkMethodBodyWithDefaults

func NewSubmitSelfServiceRecoveryFlowWithLinkMethodBodyWithDefaults() *SubmitSelfServiceRecoveryFlowWithLinkMethodBody

NewSubmitSelfServiceRecoveryFlowWithLinkMethodBodyWithDefaults instantiates a new SubmitSelfServiceRecoveryFlowWithLinkMethodBody 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 (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) GetEmail

GetEmail returns the Email field value

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) GetEmailOk

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

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) GetMethodOk

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

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSelfServiceRecoveryFlowWithLinkMethodBody) MarshalJSON

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) SetEmail

SetEmail sets field value

func (*SubmitSelfServiceRecoveryFlowWithLinkMethodBody) SetMethod

SetMethod sets field value

type SubmitSelfServiceRegistrationFlowBody

type SubmitSelfServiceRegistrationFlowBody struct {
	SubmitSelfServiceRegistrationFlowWithOidcMethodBody     *SubmitSelfServiceRegistrationFlowWithOidcMethodBody
	SubmitSelfServiceRegistrationFlowWithPasswordMethodBody *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody
	SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody
}

SubmitSelfServiceRegistrationFlowBody - struct for SubmitSelfServiceRegistrationFlowBody

func SubmitSelfServiceRegistrationFlowWithOidcMethodBodyAsSubmitSelfServiceRegistrationFlowBody

func SubmitSelfServiceRegistrationFlowWithOidcMethodBodyAsSubmitSelfServiceRegistrationFlowBody(v *SubmitSelfServiceRegistrationFlowWithOidcMethodBody) SubmitSelfServiceRegistrationFlowBody

SubmitSelfServiceRegistrationFlowWithOidcMethodBodyAsSubmitSelfServiceRegistrationFlowBody is a convenience function that returns SubmitSelfServiceRegistrationFlowWithOidcMethodBody wrapped in SubmitSelfServiceRegistrationFlowBody

func SubmitSelfServiceRegistrationFlowWithPasswordMethodBodyAsSubmitSelfServiceRegistrationFlowBody

func SubmitSelfServiceRegistrationFlowWithPasswordMethodBodyAsSubmitSelfServiceRegistrationFlowBody(v *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) SubmitSelfServiceRegistrationFlowBody

SubmitSelfServiceRegistrationFlowWithPasswordMethodBodyAsSubmitSelfServiceRegistrationFlowBody is a convenience function that returns SubmitSelfServiceRegistrationFlowWithPasswordMethodBody wrapped in SubmitSelfServiceRegistrationFlowBody

func SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBodyAsSubmitSelfServiceRegistrationFlowBody

func SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBodyAsSubmitSelfServiceRegistrationFlowBody(v *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) SubmitSelfServiceRegistrationFlowBody

SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBodyAsSubmitSelfServiceRegistrationFlowBody is a convenience function that returns SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody wrapped in SubmitSelfServiceRegistrationFlowBody

func (*SubmitSelfServiceRegistrationFlowBody) GetActualInstance

func (obj *SubmitSelfServiceRegistrationFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitSelfServiceRegistrationFlowBody) MarshalJSON

func (src SubmitSelfServiceRegistrationFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSelfServiceRegistrationFlowBody) UnmarshalJSON

func (dst *SubmitSelfServiceRegistrationFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSelfServiceRegistrationFlowWithOidcMethodBody

type SubmitSelfServiceRegistrationFlowWithOidcMethodBody struct {
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method to use  This field must be set to `oidc` when using the oidc method.
	Method string `json:"method"`
	// The provider to register with
	Provider string `json:"provider"`
	// The identity traits
	Traits map[string]interface{} `json:"traits,omitempty"`
}

SubmitSelfServiceRegistrationFlowWithOidcMethodBody SubmitSelfServiceRegistrationFlowWithOidcMethodBody is used to decode the registration form payload when using the oidc method.

func NewSubmitSelfServiceRegistrationFlowWithOidcMethodBody

func NewSubmitSelfServiceRegistrationFlowWithOidcMethodBody(method string, provider string) *SubmitSelfServiceRegistrationFlowWithOidcMethodBody

NewSubmitSelfServiceRegistrationFlowWithOidcMethodBody instantiates a new SubmitSelfServiceRegistrationFlowWithOidcMethodBody 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 NewSubmitSelfServiceRegistrationFlowWithOidcMethodBodyWithDefaults

func NewSubmitSelfServiceRegistrationFlowWithOidcMethodBodyWithDefaults() *SubmitSelfServiceRegistrationFlowWithOidcMethodBody

NewSubmitSelfServiceRegistrationFlowWithOidcMethodBodyWithDefaults instantiates a new SubmitSelfServiceRegistrationFlowWithOidcMethodBody 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 (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetMethodOk

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

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetProvider

GetProvider returns the Provider field value

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetProviderOk

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

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetTraits

func (o *SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value if set, zero value otherwise.

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetTraitsOk

func (o *SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) HasTraits

HasTraits returns a boolean if a field has been set.

func (SubmitSelfServiceRegistrationFlowWithOidcMethodBody) MarshalJSON

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) SetProvider

SetProvider sets field value

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) SetTraits

func (o *SubmitSelfServiceRegistrationFlowWithOidcMethodBody) SetTraits(v map[string]interface{})

SetTraits gets a reference to the given map[string]interface{} and assigns it to the Traits field.

type SubmitSelfServiceRegistrationFlowWithPasswordMethodBody

type SubmitSelfServiceRegistrationFlowWithPasswordMethodBody struct {
	// The CSRF Token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method to use  This field must be set to `password` when using the password method.
	Method string `json:"method"`
	// Password to sign the user up with
	Password string `json:"password"`
	// The identity's traits
	Traits map[string]interface{} `json:"traits"`
}

SubmitSelfServiceRegistrationFlowWithPasswordMethodBody SubmitSelfServiceRegistrationFlowWithPasswordMethodBody is used to decode the registration form payload when using the password method.

func NewSubmitSelfServiceRegistrationFlowWithPasswordMethodBody

func NewSubmitSelfServiceRegistrationFlowWithPasswordMethodBody(method string, password string, traits map[string]interface{}) *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody

NewSubmitSelfServiceRegistrationFlowWithPasswordMethodBody instantiates a new SubmitSelfServiceRegistrationFlowWithPasswordMethodBody 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 NewSubmitSelfServiceRegistrationFlowWithPasswordMethodBodyWithDefaults

func NewSubmitSelfServiceRegistrationFlowWithPasswordMethodBodyWithDefaults() *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody

NewSubmitSelfServiceRegistrationFlowWithPasswordMethodBodyWithDefaults instantiates a new SubmitSelfServiceRegistrationFlowWithPasswordMethodBody 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 (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetMethodOk

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

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetPassword

GetPassword returns the Password field value

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetPasswordOk

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

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetTraits

func (o *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetTraitsOk

func (o *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) MarshalJSON

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) SetPassword

SetPassword sets field value

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) SetTraits

func (o *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) SetTraits(v map[string]interface{})

SetTraits sets field value

type SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody

type SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.
	Method string `json:"method"`
	// The identity's traits
	Traits map[string]interface{} `json:"traits"`
	// Register a WebAuthn Security Key  It is expected that the JSON returned by the WebAuthn registration process is included here.
	WebauthnRegister *string `json:"webauthn_register,omitempty"`
	// Name of the WebAuthn Security Key to be Added  A human-readable name for the security key which will be added.
	WebauthnRegisterDisplayname *string `json:"webauthn_register_displayname,omitempty"`
}

SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody struct for SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody

func NewSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody

func NewSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody(method string, traits map[string]interface{}) *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody

NewSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody instantiates a new SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody 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 NewSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBodyWithDefaults

func NewSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBodyWithDefaults() *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody

NewSubmitSelfServiceRegistrationFlowWithWebAuthnMethodBodyWithDefaults instantiates a new SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody 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 (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetMethodOk

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

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetTraits

func (o *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetTraitsOk

func (o *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetWebauthnRegister

GetWebauthnRegister returns the WebauthnRegister field value if set, zero value otherwise.

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetWebauthnRegisterDisplayname

func (o *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetWebauthnRegisterDisplayname() string

GetWebauthnRegisterDisplayname returns the WebauthnRegisterDisplayname field value if set, zero value otherwise.

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetWebauthnRegisterDisplaynameOk

func (o *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetWebauthnRegisterDisplaynameOk() (*string, bool)

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

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) GetWebauthnRegisterOk

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

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) HasWebauthnRegister

HasWebauthnRegister returns a boolean if a field has been set.

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) HasWebauthnRegisterDisplayname

func (o *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) HasWebauthnRegisterDisplayname() bool

HasWebauthnRegisterDisplayname returns a boolean if a field has been set.

func (SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) MarshalJSON

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) SetTraits

func (o *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) SetTraits(v map[string]interface{})

SetTraits sets field value

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) SetWebauthnRegister

SetWebauthnRegister gets a reference to the given string and assigns it to the WebauthnRegister field.

func (*SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) SetWebauthnRegisterDisplayname

func (o *SubmitSelfServiceRegistrationFlowWithWebAuthnMethodBody) SetWebauthnRegisterDisplayname(v string)

SetWebauthnRegisterDisplayname gets a reference to the given string and assigns it to the WebauthnRegisterDisplayname field.

type SubmitSelfServiceSettingsFlowBody

type SubmitSelfServiceSettingsFlowBody struct {
	SubmitSelfServiceSettingsFlowWithLookupMethodBody   *SubmitSelfServiceSettingsFlowWithLookupMethodBody
	SubmitSelfServiceSettingsFlowWithOidcMethodBody     *SubmitSelfServiceSettingsFlowWithOidcMethodBody
	SubmitSelfServiceSettingsFlowWithPasswordMethodBody *SubmitSelfServiceSettingsFlowWithPasswordMethodBody
	SubmitSelfServiceSettingsFlowWithProfileMethodBody  *SubmitSelfServiceSettingsFlowWithProfileMethodBody
	SubmitSelfServiceSettingsFlowWithTotpMethodBody     *SubmitSelfServiceSettingsFlowWithTotpMethodBody
	SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody
}

SubmitSelfServiceSettingsFlowBody - struct for SubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithLookupMethodBodyAsSubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithLookupMethodBodyAsSubmitSelfServiceSettingsFlowBody(v *SubmitSelfServiceSettingsFlowWithLookupMethodBody) SubmitSelfServiceSettingsFlowBody

SubmitSelfServiceSettingsFlowWithLookupMethodBodyAsSubmitSelfServiceSettingsFlowBody is a convenience function that returns SubmitSelfServiceSettingsFlowWithLookupMethodBody wrapped in SubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithOidcMethodBodyAsSubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithOidcMethodBodyAsSubmitSelfServiceSettingsFlowBody(v *SubmitSelfServiceSettingsFlowWithOidcMethodBody) SubmitSelfServiceSettingsFlowBody

SubmitSelfServiceSettingsFlowWithOidcMethodBodyAsSubmitSelfServiceSettingsFlowBody is a convenience function that returns SubmitSelfServiceSettingsFlowWithOidcMethodBody wrapped in SubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithPasswordMethodBodyAsSubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithPasswordMethodBodyAsSubmitSelfServiceSettingsFlowBody(v *SubmitSelfServiceSettingsFlowWithPasswordMethodBody) SubmitSelfServiceSettingsFlowBody

SubmitSelfServiceSettingsFlowWithPasswordMethodBodyAsSubmitSelfServiceSettingsFlowBody is a convenience function that returns SubmitSelfServiceSettingsFlowWithPasswordMethodBody wrapped in SubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithProfileMethodBodyAsSubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithProfileMethodBodyAsSubmitSelfServiceSettingsFlowBody(v *SubmitSelfServiceSettingsFlowWithProfileMethodBody) SubmitSelfServiceSettingsFlowBody

SubmitSelfServiceSettingsFlowWithProfileMethodBodyAsSubmitSelfServiceSettingsFlowBody is a convenience function that returns SubmitSelfServiceSettingsFlowWithProfileMethodBody wrapped in SubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithTotpMethodBodyAsSubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithTotpMethodBodyAsSubmitSelfServiceSettingsFlowBody(v *SubmitSelfServiceSettingsFlowWithTotpMethodBody) SubmitSelfServiceSettingsFlowBody

SubmitSelfServiceSettingsFlowWithTotpMethodBodyAsSubmitSelfServiceSettingsFlowBody is a convenience function that returns SubmitSelfServiceSettingsFlowWithTotpMethodBody wrapped in SubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithWebAuthnMethodBodyAsSubmitSelfServiceSettingsFlowBody

func SubmitSelfServiceSettingsFlowWithWebAuthnMethodBodyAsSubmitSelfServiceSettingsFlowBody(v *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) SubmitSelfServiceSettingsFlowBody

SubmitSelfServiceSettingsFlowWithWebAuthnMethodBodyAsSubmitSelfServiceSettingsFlowBody is a convenience function that returns SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody wrapped in SubmitSelfServiceSettingsFlowBody

func (*SubmitSelfServiceSettingsFlowBody) GetActualInstance

func (obj *SubmitSelfServiceSettingsFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitSelfServiceSettingsFlowBody) MarshalJSON

func (src SubmitSelfServiceSettingsFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSelfServiceSettingsFlowBody) UnmarshalJSON

func (dst *SubmitSelfServiceSettingsFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSelfServiceSettingsFlowWithLookupMethodBody

type SubmitSelfServiceSettingsFlowWithLookupMethodBody struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// If set to true will save the regenerated lookup secrets
	LookupSecretConfirm *bool `json:"lookup_secret_confirm,omitempty"`
	// Disables this method if true.
	LookupSecretDisable *bool `json:"lookup_secret_disable,omitempty"`
	// If set to true will regenerate the lookup secrets
	LookupSecretRegenerate *bool `json:"lookup_secret_regenerate,omitempty"`
	// If set to true will reveal the lookup secrets
	LookupSecretReveal *bool `json:"lookup_secret_reveal,omitempty"`
	// Method  Should be set to \"lookup\" when trying to add, update, or remove a lookup pairing.
	Method string `json:"method"`
}

SubmitSelfServiceSettingsFlowWithLookupMethodBody struct for SubmitSelfServiceSettingsFlowWithLookupMethodBody

func NewSubmitSelfServiceSettingsFlowWithLookupMethodBody

func NewSubmitSelfServiceSettingsFlowWithLookupMethodBody(method string) *SubmitSelfServiceSettingsFlowWithLookupMethodBody

NewSubmitSelfServiceSettingsFlowWithLookupMethodBody instantiates a new SubmitSelfServiceSettingsFlowWithLookupMethodBody 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 NewSubmitSelfServiceSettingsFlowWithLookupMethodBodyWithDefaults

func NewSubmitSelfServiceSettingsFlowWithLookupMethodBodyWithDefaults() *SubmitSelfServiceSettingsFlowWithLookupMethodBody

NewSubmitSelfServiceSettingsFlowWithLookupMethodBodyWithDefaults instantiates a new SubmitSelfServiceSettingsFlowWithLookupMethodBody 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 (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretConfirm

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretConfirm() bool

GetLookupSecretConfirm returns the LookupSecretConfirm field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretConfirmOk

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretConfirmOk() (*bool, bool)

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

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretDisable

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretDisable() bool

GetLookupSecretDisable returns the LookupSecretDisable field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretDisableOk

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretDisableOk() (*bool, bool)

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

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretRegenerate

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretRegenerate() bool

GetLookupSecretRegenerate returns the LookupSecretRegenerate field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretRegenerateOk

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretRegenerateOk() (*bool, bool)

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

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretReveal

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretReveal() bool

GetLookupSecretReveal returns the LookupSecretReveal field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretRevealOk

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetLookupSecretRevealOk() (*bool, bool)

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

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) GetMethodOk

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

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasLookupSecretConfirm

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasLookupSecretConfirm() bool

HasLookupSecretConfirm returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasLookupSecretDisable

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasLookupSecretDisable() bool

HasLookupSecretDisable returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasLookupSecretRegenerate

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasLookupSecretRegenerate() bool

HasLookupSecretRegenerate returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasLookupSecretReveal

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) HasLookupSecretReveal() bool

HasLookupSecretReveal returns a boolean if a field has been set.

func (SubmitSelfServiceSettingsFlowWithLookupMethodBody) MarshalJSON

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetLookupSecretConfirm

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetLookupSecretConfirm(v bool)

SetLookupSecretConfirm gets a reference to the given bool and assigns it to the LookupSecretConfirm field.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetLookupSecretDisable

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetLookupSecretDisable(v bool)

SetLookupSecretDisable gets a reference to the given bool and assigns it to the LookupSecretDisable field.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetLookupSecretRegenerate

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetLookupSecretRegenerate(v bool)

SetLookupSecretRegenerate gets a reference to the given bool and assigns it to the LookupSecretRegenerate field.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetLookupSecretReveal

func (o *SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetLookupSecretReveal(v bool)

SetLookupSecretReveal gets a reference to the given bool and assigns it to the LookupSecretReveal field.

func (*SubmitSelfServiceSettingsFlowWithLookupMethodBody) SetMethod

SetMethod sets field value

type SubmitSelfServiceSettingsFlowWithOidcMethodBody

type SubmitSelfServiceSettingsFlowWithOidcMethodBody struct {
	// Flow ID is the flow's ID.  in: query
	Flow *string `json:"flow,omitempty"`
	// Link this provider  Either this or `unlink` must be set.  type: string in: body
	Link *string `json:"link,omitempty"`
	// Method  Should be set to profile when trying to update a profile.
	Method string `json:"method"`
	// The identity's traits  in: body
	Traits map[string]interface{} `json:"traits,omitempty"`
	// Unlink this provider  Either this or `link` must be set.  type: string in: body
	Unlink *string `json:"unlink,omitempty"`
}

SubmitSelfServiceSettingsFlowWithOidcMethodBody nolint:deadcode,unused

func NewSubmitSelfServiceSettingsFlowWithOidcMethodBody

func NewSubmitSelfServiceSettingsFlowWithOidcMethodBody(method string) *SubmitSelfServiceSettingsFlowWithOidcMethodBody

NewSubmitSelfServiceSettingsFlowWithOidcMethodBody instantiates a new SubmitSelfServiceSettingsFlowWithOidcMethodBody 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 NewSubmitSelfServiceSettingsFlowWithOidcMethodBodyWithDefaults

func NewSubmitSelfServiceSettingsFlowWithOidcMethodBodyWithDefaults() *SubmitSelfServiceSettingsFlowWithOidcMethodBody

NewSubmitSelfServiceSettingsFlowWithOidcMethodBodyWithDefaults instantiates a new SubmitSelfServiceSettingsFlowWithOidcMethodBody 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 (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetFlow

GetFlow returns the Flow field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetFlowOk

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

GetLink returns the Link field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetLinkOk

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

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetMethodOk

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

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetTraits

func (o *SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetTraitsOk

func (o *SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetTraitsOk() (map[string]interface{}, bool)

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

GetUnlink returns the Unlink field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) GetUnlinkOk

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

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) HasFlow

HasFlow returns a boolean if a field has been set.

HasLink returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) HasTraits

HasTraits returns a boolean if a field has been set.

HasUnlink returns a boolean if a field has been set.

func (SubmitSelfServiceSettingsFlowWithOidcMethodBody) MarshalJSON

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) SetFlow

SetFlow gets a reference to the given string and assigns it to the Flow field.

SetLink gets a reference to the given string and assigns it to the Link field.

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceSettingsFlowWithOidcMethodBody) SetTraits

func (o *SubmitSelfServiceSettingsFlowWithOidcMethodBody) SetTraits(v map[string]interface{})

SetTraits gets a reference to the given map[string]interface{} and assigns it to the Traits field.

SetUnlink gets a reference to the given string and assigns it to the Unlink field.

type SubmitSelfServiceSettingsFlowWithPasswordMethodBody

type SubmitSelfServiceSettingsFlowWithPasswordMethodBody struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to password when trying to update a password.
	Method string `json:"method"`
	// Password is the updated password
	Password string `json:"password"`
}

SubmitSelfServiceSettingsFlowWithPasswordMethodBody struct for SubmitSelfServiceSettingsFlowWithPasswordMethodBody

func NewSubmitSelfServiceSettingsFlowWithPasswordMethodBody

func NewSubmitSelfServiceSettingsFlowWithPasswordMethodBody(method string, password string) *SubmitSelfServiceSettingsFlowWithPasswordMethodBody

NewSubmitSelfServiceSettingsFlowWithPasswordMethodBody instantiates a new SubmitSelfServiceSettingsFlowWithPasswordMethodBody 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 NewSubmitSelfServiceSettingsFlowWithPasswordMethodBodyWithDefaults

func NewSubmitSelfServiceSettingsFlowWithPasswordMethodBodyWithDefaults() *SubmitSelfServiceSettingsFlowWithPasswordMethodBody

NewSubmitSelfServiceSettingsFlowWithPasswordMethodBodyWithDefaults instantiates a new SubmitSelfServiceSettingsFlowWithPasswordMethodBody 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 (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) GetMethodOk

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

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) GetPassword

GetPassword returns the Password field value

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) GetPasswordOk

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

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSelfServiceSettingsFlowWithPasswordMethodBody) MarshalJSON

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceSettingsFlowWithPasswordMethodBody) SetPassword

SetPassword sets field value

type SubmitSelfServiceSettingsFlowWithProfileMethodBody

type SubmitSelfServiceSettingsFlowWithProfileMethodBody struct {
	// The Anti-CSRF Token  This token is only required when performing browser flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to profile when trying to update a profile.
	Method string `json:"method"`
	// Traits contains all of the identity's traits.
	Traits map[string]interface{} `json:"traits"`
}

SubmitSelfServiceSettingsFlowWithProfileMethodBody nolint:deadcode,unused

func NewSubmitSelfServiceSettingsFlowWithProfileMethodBody

func NewSubmitSelfServiceSettingsFlowWithProfileMethodBody(method string, traits map[string]interface{}) *SubmitSelfServiceSettingsFlowWithProfileMethodBody

NewSubmitSelfServiceSettingsFlowWithProfileMethodBody instantiates a new SubmitSelfServiceSettingsFlowWithProfileMethodBody 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 NewSubmitSelfServiceSettingsFlowWithProfileMethodBodyWithDefaults

func NewSubmitSelfServiceSettingsFlowWithProfileMethodBodyWithDefaults() *SubmitSelfServiceSettingsFlowWithProfileMethodBody

NewSubmitSelfServiceSettingsFlowWithProfileMethodBodyWithDefaults instantiates a new SubmitSelfServiceSettingsFlowWithProfileMethodBody 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 (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) GetMethodOk

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

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) GetTraits

func (o *SubmitSelfServiceSettingsFlowWithProfileMethodBody) GetTraits() map[string]interface{}

GetTraits returns the Traits field value

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) GetTraitsOk

func (o *SubmitSelfServiceSettingsFlowWithProfileMethodBody) GetTraitsOk() (map[string]interface{}, bool)

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

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSelfServiceSettingsFlowWithProfileMethodBody) MarshalJSON

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceSettingsFlowWithProfileMethodBody) SetTraits

func (o *SubmitSelfServiceSettingsFlowWithProfileMethodBody) SetTraits(v map[string]interface{})

SetTraits sets field value

type SubmitSelfServiceSettingsFlowWithTotpMethodBody

type SubmitSelfServiceSettingsFlowWithTotpMethodBody struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to \"totp\" when trying to add, update, or remove a totp pairing.
	Method string `json:"method"`
	// ValidationTOTP must contain a valid TOTP based on the
	TotpCode *string `json:"totp_code,omitempty"`
	// UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device.
	TotpUnlink *bool `json:"totp_unlink,omitempty"`
}

SubmitSelfServiceSettingsFlowWithTotpMethodBody struct for SubmitSelfServiceSettingsFlowWithTotpMethodBody

func NewSubmitSelfServiceSettingsFlowWithTotpMethodBody

func NewSubmitSelfServiceSettingsFlowWithTotpMethodBody(method string) *SubmitSelfServiceSettingsFlowWithTotpMethodBody

NewSubmitSelfServiceSettingsFlowWithTotpMethodBody instantiates a new SubmitSelfServiceSettingsFlowWithTotpMethodBody 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 NewSubmitSelfServiceSettingsFlowWithTotpMethodBodyWithDefaults

func NewSubmitSelfServiceSettingsFlowWithTotpMethodBodyWithDefaults() *SubmitSelfServiceSettingsFlowWithTotpMethodBody

NewSubmitSelfServiceSettingsFlowWithTotpMethodBodyWithDefaults instantiates a new SubmitSelfServiceSettingsFlowWithTotpMethodBody 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 (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) GetMethodOk

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

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) GetTotpCode

GetTotpCode returns the TotpCode field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) GetTotpCodeOk

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

GetTotpUnlink returns the TotpUnlink field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) GetTotpUnlinkOk

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

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) HasTotpCode

HasTotpCode returns a boolean if a field has been set.

HasTotpUnlink returns a boolean if a field has been set.

func (SubmitSelfServiceSettingsFlowWithTotpMethodBody) MarshalJSON

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceSettingsFlowWithTotpMethodBody) SetTotpCode

SetTotpCode gets a reference to the given string and assigns it to the TotpCode field.

SetTotpUnlink gets a reference to the given bool and assigns it to the TotpUnlink field.

type SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody

type SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody struct {
	// CSRFToken is the anti-CSRF token
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to \"webauthn\" when trying to add, update, or remove a webAuthn pairing.
	Method string `json:"method"`
	// Register a WebAuthn Security Key  It is expected that the JSON returned by the WebAuthn registration process is included here.
	WebauthnRegister *string `json:"webauthn_register,omitempty"`
	// Name of the WebAuthn Security Key to be Added  A human-readable name for the security key which will be added.
	WebauthnRegisterDisplayname *string `json:"webauthn_register_displayname,omitempty"`
	// Remove a WebAuthn Security Key  This must contain the ID of the WebAuthN connection.
	WebauthnRemove *string `json:"webauthn_remove,omitempty"`
}

SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody struct for SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody

func NewSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody

func NewSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody(method string) *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody

NewSubmitSelfServiceSettingsFlowWithWebAuthnMethodBody instantiates a new SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody 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 NewSubmitSelfServiceSettingsFlowWithWebAuthnMethodBodyWithDefaults

func NewSubmitSelfServiceSettingsFlowWithWebAuthnMethodBodyWithDefaults() *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody

NewSubmitSelfServiceSettingsFlowWithWebAuthnMethodBodyWithDefaults instantiates a new SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody 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 (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetMethodOk

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

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRegister

GetWebauthnRegister returns the WebauthnRegister field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRegisterDisplayname

func (o *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRegisterDisplayname() string

GetWebauthnRegisterDisplayname returns the WebauthnRegisterDisplayname field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRegisterDisplaynameOk

func (o *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRegisterDisplaynameOk() (*string, bool)

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

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRegisterOk

func (o *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRegisterOk() (*string, bool)

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

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRemove

GetWebauthnRemove returns the WebauthnRemove field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) GetWebauthnRemoveOk

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

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) HasWebauthnRegister

HasWebauthnRegister returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) HasWebauthnRegisterDisplayname

func (o *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) HasWebauthnRegisterDisplayname() bool

HasWebauthnRegisterDisplayname returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) HasWebauthnRemove

HasWebauthnRemove returns a boolean if a field has been set.

func (SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) MarshalJSON

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) SetWebauthnRegister

SetWebauthnRegister gets a reference to the given string and assigns it to the WebauthnRegister field.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) SetWebauthnRegisterDisplayname

func (o *SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) SetWebauthnRegisterDisplayname(v string)

SetWebauthnRegisterDisplayname gets a reference to the given string and assigns it to the WebauthnRegisterDisplayname field.

func (*SubmitSelfServiceSettingsFlowWithWebAuthnMethodBody) SetWebauthnRemove

SetWebauthnRemove gets a reference to the given string and assigns it to the WebauthnRemove field.

type SubmitSelfServiceVerificationFlowBody

type SubmitSelfServiceVerificationFlowBody struct {
	SubmitSelfServiceVerificationFlowWithLinkMethodBody *SubmitSelfServiceVerificationFlowWithLinkMethodBody
}

SubmitSelfServiceVerificationFlowBody - nolint:deadcode,unused

func SubmitSelfServiceVerificationFlowWithLinkMethodBodyAsSubmitSelfServiceVerificationFlowBody

func SubmitSelfServiceVerificationFlowWithLinkMethodBodyAsSubmitSelfServiceVerificationFlowBody(v *SubmitSelfServiceVerificationFlowWithLinkMethodBody) SubmitSelfServiceVerificationFlowBody

SubmitSelfServiceVerificationFlowWithLinkMethodBodyAsSubmitSelfServiceVerificationFlowBody is a convenience function that returns SubmitSelfServiceVerificationFlowWithLinkMethodBody wrapped in SubmitSelfServiceVerificationFlowBody

func (*SubmitSelfServiceVerificationFlowBody) GetActualInstance

func (obj *SubmitSelfServiceVerificationFlowBody) GetActualInstance() interface{}

Get the actual instance

func (SubmitSelfServiceVerificationFlowBody) MarshalJSON

func (src SubmitSelfServiceVerificationFlowBody) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSelfServiceVerificationFlowBody) UnmarshalJSON

func (dst *SubmitSelfServiceVerificationFlowBody) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSelfServiceVerificationFlowWithLinkMethodBody

type SubmitSelfServiceVerificationFlowWithLinkMethodBody struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Email to Verify  Needs to be set when initiating the flow. If the email is a registered verification email, a verification link will be sent. If the email is not known, a email with details on what happened will be sent instead.  format: email
	Email string `json:"email"`
	// Method supports `link` only right now.
	Method string `json:"method"`
}

SubmitSelfServiceVerificationFlowWithLinkMethodBody struct for SubmitSelfServiceVerificationFlowWithLinkMethodBody

func NewSubmitSelfServiceVerificationFlowWithLinkMethodBody

func NewSubmitSelfServiceVerificationFlowWithLinkMethodBody(email string, method string) *SubmitSelfServiceVerificationFlowWithLinkMethodBody

NewSubmitSelfServiceVerificationFlowWithLinkMethodBody instantiates a new SubmitSelfServiceVerificationFlowWithLinkMethodBody 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 NewSubmitSelfServiceVerificationFlowWithLinkMethodBodyWithDefaults

func NewSubmitSelfServiceVerificationFlowWithLinkMethodBodyWithDefaults() *SubmitSelfServiceVerificationFlowWithLinkMethodBody

NewSubmitSelfServiceVerificationFlowWithLinkMethodBodyWithDefaults instantiates a new SubmitSelfServiceVerificationFlowWithLinkMethodBody 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 (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) GetCsrfTokenOk

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

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) GetEmail

GetEmail returns the Email field value

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) GetEmailOk

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

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) GetMethodOk

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

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (SubmitSelfServiceVerificationFlowWithLinkMethodBody) MarshalJSON

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) SetEmail

SetEmail sets field value

func (*SubmitSelfServiceVerificationFlowWithLinkMethodBody) SetMethod

SetMethod sets field value

type SuccessfulSelfServiceLoginWithoutBrowser

type SuccessfulSelfServiceLoginWithoutBrowser struct {
	Session Session `json:"session"`
	// The Session Token  A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header:  Authorization: bearer ${session-token}  The session token is only issued for API flows, not for Browser flows!
	SessionToken *string `json:"session_token,omitempty"`
}

SuccessfulSelfServiceLoginWithoutBrowser The Response for Login Flows via API

func NewSuccessfulSelfServiceLoginWithoutBrowser

func NewSuccessfulSelfServiceLoginWithoutBrowser(session Session) *SuccessfulSelfServiceLoginWithoutBrowser

NewSuccessfulSelfServiceLoginWithoutBrowser instantiates a new SuccessfulSelfServiceLoginWithoutBrowser 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 NewSuccessfulSelfServiceLoginWithoutBrowserWithDefaults

func NewSuccessfulSelfServiceLoginWithoutBrowserWithDefaults() *SuccessfulSelfServiceLoginWithoutBrowser

NewSuccessfulSelfServiceLoginWithoutBrowserWithDefaults instantiates a new SuccessfulSelfServiceLoginWithoutBrowser 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 (*SuccessfulSelfServiceLoginWithoutBrowser) GetSession

GetSession returns the Session field value

func (*SuccessfulSelfServiceLoginWithoutBrowser) GetSessionOk

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

func (*SuccessfulSelfServiceLoginWithoutBrowser) GetSessionToken

func (o *SuccessfulSelfServiceLoginWithoutBrowser) GetSessionToken() string

GetSessionToken returns the SessionToken field value if set, zero value otherwise.

func (*SuccessfulSelfServiceLoginWithoutBrowser) GetSessionTokenOk

func (o *SuccessfulSelfServiceLoginWithoutBrowser) GetSessionTokenOk() (*string, bool)

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

func (*SuccessfulSelfServiceLoginWithoutBrowser) HasSessionToken

func (o *SuccessfulSelfServiceLoginWithoutBrowser) HasSessionToken() bool

HasSessionToken returns a boolean if a field has been set.

func (SuccessfulSelfServiceLoginWithoutBrowser) MarshalJSON

func (*SuccessfulSelfServiceLoginWithoutBrowser) SetSession

SetSession sets field value

func (*SuccessfulSelfServiceLoginWithoutBrowser) SetSessionToken

func (o *SuccessfulSelfServiceLoginWithoutBrowser) SetSessionToken(v string)

SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.

type SuccessfulSelfServiceRegistrationWithoutBrowser

type SuccessfulSelfServiceRegistrationWithoutBrowser struct {
	Identity Identity `json:"identity"`
	Session  *Session `json:"session,omitempty"`
	// The Session Token  This field is only set when the session hook is configured as a post-registration hook.  A session token is equivalent to a session cookie, but it can be sent in the HTTP Authorization Header:  Authorization: bearer ${session-token}  The session token is only issued for API flows, not for Browser flows!
	SessionToken *string `json:"session_token,omitempty"`
}

SuccessfulSelfServiceRegistrationWithoutBrowser The Response for Registration Flows via API

func NewSuccessfulSelfServiceRegistrationWithoutBrowser

func NewSuccessfulSelfServiceRegistrationWithoutBrowser(identity Identity) *SuccessfulSelfServiceRegistrationWithoutBrowser

NewSuccessfulSelfServiceRegistrationWithoutBrowser instantiates a new SuccessfulSelfServiceRegistrationWithoutBrowser 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 NewSuccessfulSelfServiceRegistrationWithoutBrowserWithDefaults

func NewSuccessfulSelfServiceRegistrationWithoutBrowserWithDefaults() *SuccessfulSelfServiceRegistrationWithoutBrowser

NewSuccessfulSelfServiceRegistrationWithoutBrowserWithDefaults instantiates a new SuccessfulSelfServiceRegistrationWithoutBrowser 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 (*SuccessfulSelfServiceRegistrationWithoutBrowser) GetIdentity

GetIdentity returns the Identity field value

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) GetIdentityOk

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

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) GetSession

GetSession returns the Session field value if set, zero value otherwise.

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) GetSessionOk

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

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) GetSessionToken

GetSessionToken returns the SessionToken field value if set, zero value otherwise.

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) GetSessionTokenOk

func (o *SuccessfulSelfServiceRegistrationWithoutBrowser) GetSessionTokenOk() (*string, bool)

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

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) HasSession

HasSession returns a boolean if a field has been set.

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) HasSessionToken

HasSessionToken returns a boolean if a field has been set.

func (SuccessfulSelfServiceRegistrationWithoutBrowser) MarshalJSON

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) SetIdentity

SetIdentity sets field value

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) SetSession

SetSession gets a reference to the given Session and assigns it to the Session field.

func (*SuccessfulSelfServiceRegistrationWithoutBrowser) SetSessionToken

SetSessionToken gets a reference to the given string and assigns it to the SessionToken field.

type UiContainer

type UiContainer struct {
	// Action should be used as the form action URL `<form action=\"{{ .Action }}\" method=\"post\">`.
	Action   string   `json:"action"`
	Messages []UiText `json:"messages,omitempty"`
	// Method is the form method (e.g. POST)
	Method string   `json:"method"`
	Nodes  []UiNode `json:"nodes"`
}

UiContainer Container represents a HTML Form. The container can work with both HTTP Form and JSON requests

func NewUiContainer

func NewUiContainer(action string, method string, nodes []UiNode) *UiContainer

NewUiContainer instantiates a new UiContainer 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 NewUiContainerWithDefaults

func NewUiContainerWithDefaults() *UiContainer

NewUiContainerWithDefaults instantiates a new UiContainer 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 (*UiContainer) GetAction

func (o *UiContainer) GetAction() string

GetAction returns the Action field value

func (*UiContainer) GetActionOk

func (o *UiContainer) GetActionOk() (*string, bool)

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

func (*UiContainer) GetMessages

func (o *UiContainer) GetMessages() []UiText

GetMessages returns the Messages field value if set, zero value otherwise.

func (*UiContainer) GetMessagesOk

func (o *UiContainer) GetMessagesOk() ([]UiText, bool)

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

func (*UiContainer) GetMethod

func (o *UiContainer) GetMethod() string

GetMethod returns the Method field value

func (*UiContainer) GetMethodOk

func (o *UiContainer) GetMethodOk() (*string, bool)

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

func (*UiContainer) GetNodes

func (o *UiContainer) GetNodes() []UiNode

GetNodes returns the Nodes field value

func (*UiContainer) GetNodesOk

func (o *UiContainer) GetNodesOk() ([]UiNode, bool)

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

func (*UiContainer) HasMessages

func (o *UiContainer) HasMessages() bool

HasMessages returns a boolean if a field has been set.

func (UiContainer) MarshalJSON

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

func (*UiContainer) SetAction

func (o *UiContainer) SetAction(v string)

SetAction sets field value

func (*UiContainer) SetMessages

func (o *UiContainer) SetMessages(v []UiText)

SetMessages gets a reference to the given []UiText and assigns it to the Messages field.

func (*UiContainer) SetMethod

func (o *UiContainer) SetMethod(v string)

SetMethod sets field value

func (*UiContainer) SetNodes

func (o *UiContainer) SetNodes(v []UiNode)

SetNodes sets field value

type UiNode

type UiNode struct {
	Attributes UiNodeAttributes `json:"attributes"`
	// Group specifies which group (e.g. password authenticator) this node belongs to.
	Group    string     `json:"group"`
	Messages []UiText   `json:"messages"`
	Meta     UiNodeMeta `json:"meta"`
	// The node's type
	Type string `json:"type"`
}

UiNode Nodes are represented as HTML elements or their native UI equivalents. For example, a node can be an `<img>` tag, or an `<input element>` but also `some plain text`.

func NewUiNode

func NewUiNode(attributes UiNodeAttributes, group string, messages []UiText, meta UiNodeMeta, type_ string) *UiNode

NewUiNode instantiates a new UiNode 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 NewUiNodeWithDefaults

func NewUiNodeWithDefaults() *UiNode

NewUiNodeWithDefaults instantiates a new UiNode 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 (*UiNode) GetAttributes

func (o *UiNode) GetAttributes() UiNodeAttributes

GetAttributes returns the Attributes field value

func (*UiNode) GetAttributesOk

func (o *UiNode) GetAttributesOk() (*UiNodeAttributes, bool)

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

func (*UiNode) GetGroup

func (o *UiNode) GetGroup() string

GetGroup returns the Group field value

func (*UiNode) GetGroupOk

func (o *UiNode) GetGroupOk() (*string, bool)

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

func (*UiNode) GetMessages

func (o *UiNode) GetMessages() []UiText

GetMessages returns the Messages field value

func (*UiNode) GetMessagesOk

func (o *UiNode) GetMessagesOk() ([]UiText, bool)

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

func (*UiNode) GetMeta

func (o *UiNode) GetMeta() UiNodeMeta

GetMeta returns the Meta field value

func (*UiNode) GetMetaOk

func (o *UiNode) GetMetaOk() (*UiNodeMeta, bool)

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

func (*UiNode) GetType

func (o *UiNode) GetType() string

GetType returns the Type field value

func (*UiNode) GetTypeOk

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

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

func (UiNode) MarshalJSON

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

func (*UiNode) SetAttributes

func (o *UiNode) SetAttributes(v UiNodeAttributes)

SetAttributes sets field value

func (*UiNode) SetGroup

func (o *UiNode) SetGroup(v string)

SetGroup sets field value

func (*UiNode) SetMessages

func (o *UiNode) SetMessages(v []UiText)

SetMessages sets field value

func (*UiNode) SetMeta

func (o *UiNode) SetMeta(v UiNodeMeta)

SetMeta sets field value

func (*UiNode) SetType

func (o *UiNode) SetType(v string)

SetType sets field value

type UiNodeAnchorAttributes

type UiNodeAnchorAttributes struct {
	// The link's href (destination) URL.  format: uri
	Href string `json:"href"`
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"a\".
	NodeType string `json:"node_type"`
	Title    UiText `json:"title"`
}

UiNodeAnchorAttributes struct for UiNodeAnchorAttributes

func NewUiNodeAnchorAttributes

func NewUiNodeAnchorAttributes(href string, id string, nodeType string, title UiText) *UiNodeAnchorAttributes

NewUiNodeAnchorAttributes instantiates a new UiNodeAnchorAttributes 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 NewUiNodeAnchorAttributesWithDefaults

func NewUiNodeAnchorAttributesWithDefaults() *UiNodeAnchorAttributes

NewUiNodeAnchorAttributesWithDefaults instantiates a new UiNodeAnchorAttributes 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 (*UiNodeAnchorAttributes) GetHref

func (o *UiNodeAnchorAttributes) GetHref() string

GetHref returns the Href field value

func (*UiNodeAnchorAttributes) GetHrefOk

func (o *UiNodeAnchorAttributes) GetHrefOk() (*string, bool)

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

func (*UiNodeAnchorAttributes) GetId

func (o *UiNodeAnchorAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeAnchorAttributes) GetIdOk

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

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

func (*UiNodeAnchorAttributes) GetNodeType

func (o *UiNodeAnchorAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeAnchorAttributes) GetNodeTypeOk

func (o *UiNodeAnchorAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeAnchorAttributes) GetTitle

func (o *UiNodeAnchorAttributes) GetTitle() UiText

GetTitle returns the Title field value

func (*UiNodeAnchorAttributes) GetTitleOk

func (o *UiNodeAnchorAttributes) GetTitleOk() (*UiText, bool)

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

func (UiNodeAnchorAttributes) MarshalJSON

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

func (*UiNodeAnchorAttributes) SetHref

func (o *UiNodeAnchorAttributes) SetHref(v string)

SetHref sets field value

func (*UiNodeAnchorAttributes) SetId

func (o *UiNodeAnchorAttributes) SetId(v string)

SetId sets field value

func (*UiNodeAnchorAttributes) SetNodeType

func (o *UiNodeAnchorAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeAnchorAttributes) SetTitle

func (o *UiNodeAnchorAttributes) SetTitle(v UiText)

SetTitle sets field value

type UiNodeAttributes

type UiNodeAttributes struct {
	UiNodeAnchorAttributes *UiNodeAnchorAttributes
	UiNodeImageAttributes  *UiNodeImageAttributes
	UiNodeInputAttributes  *UiNodeInputAttributes
	UiNodeScriptAttributes *UiNodeScriptAttributes
	UiNodeTextAttributes   *UiNodeTextAttributes
}

UiNodeAttributes - struct for UiNodeAttributes

func UiNodeAnchorAttributesAsUiNodeAttributes

func UiNodeAnchorAttributesAsUiNodeAttributes(v *UiNodeAnchorAttributes) UiNodeAttributes

UiNodeAnchorAttributesAsUiNodeAttributes is a convenience function that returns UiNodeAnchorAttributes wrapped in UiNodeAttributes

func UiNodeImageAttributesAsUiNodeAttributes

func UiNodeImageAttributesAsUiNodeAttributes(v *UiNodeImageAttributes) UiNodeAttributes

UiNodeImageAttributesAsUiNodeAttributes is a convenience function that returns UiNodeImageAttributes wrapped in UiNodeAttributes

func UiNodeInputAttributesAsUiNodeAttributes

func UiNodeInputAttributesAsUiNodeAttributes(v *UiNodeInputAttributes) UiNodeAttributes

UiNodeInputAttributesAsUiNodeAttributes is a convenience function that returns UiNodeInputAttributes wrapped in UiNodeAttributes

func UiNodeScriptAttributesAsUiNodeAttributes

func UiNodeScriptAttributesAsUiNodeAttributes(v *UiNodeScriptAttributes) UiNodeAttributes

UiNodeScriptAttributesAsUiNodeAttributes is a convenience function that returns UiNodeScriptAttributes wrapped in UiNodeAttributes

func UiNodeTextAttributesAsUiNodeAttributes

func UiNodeTextAttributesAsUiNodeAttributes(v *UiNodeTextAttributes) UiNodeAttributes

UiNodeTextAttributesAsUiNodeAttributes is a convenience function that returns UiNodeTextAttributes wrapped in UiNodeAttributes

func (*UiNodeAttributes) GetActualInstance

func (obj *UiNodeAttributes) GetActualInstance() interface{}

Get the actual instance

func (UiNodeAttributes) MarshalJSON

func (src UiNodeAttributes) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UiNodeAttributes) UnmarshalJSON

func (dst *UiNodeAttributes) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UiNodeImageAttributes

type UiNodeImageAttributes struct {
	// Height of the image
	Height int64 `json:"height"`
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"img\".
	NodeType string `json:"node_type"`
	// The image's source URL.  format: uri
	Src string `json:"src"`
	// Width of the image
	Width int64 `json:"width"`
}

UiNodeImageAttributes struct for UiNodeImageAttributes

func NewUiNodeImageAttributes

func NewUiNodeImageAttributes(height int64, id string, nodeType string, src string, width int64) *UiNodeImageAttributes

NewUiNodeImageAttributes instantiates a new UiNodeImageAttributes 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 NewUiNodeImageAttributesWithDefaults

func NewUiNodeImageAttributesWithDefaults() *UiNodeImageAttributes

NewUiNodeImageAttributesWithDefaults instantiates a new UiNodeImageAttributes 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 (*UiNodeImageAttributes) GetHeight

func (o *UiNodeImageAttributes) GetHeight() int64

GetHeight returns the Height field value

func (*UiNodeImageAttributes) GetHeightOk

func (o *UiNodeImageAttributes) GetHeightOk() (*int64, bool)

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

func (*UiNodeImageAttributes) GetId

func (o *UiNodeImageAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeImageAttributes) GetIdOk

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

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

func (*UiNodeImageAttributes) GetNodeType

func (o *UiNodeImageAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeImageAttributes) GetNodeTypeOk

func (o *UiNodeImageAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeImageAttributes) GetSrc

func (o *UiNodeImageAttributes) GetSrc() string

GetSrc returns the Src field value

func (*UiNodeImageAttributes) GetSrcOk

func (o *UiNodeImageAttributes) GetSrcOk() (*string, bool)

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

func (*UiNodeImageAttributes) GetWidth

func (o *UiNodeImageAttributes) GetWidth() int64

GetWidth returns the Width field value

func (*UiNodeImageAttributes) GetWidthOk

func (o *UiNodeImageAttributes) GetWidthOk() (*int64, bool)

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

func (UiNodeImageAttributes) MarshalJSON

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

func (*UiNodeImageAttributes) SetHeight

func (o *UiNodeImageAttributes) SetHeight(v int64)

SetHeight sets field value

func (*UiNodeImageAttributes) SetId

func (o *UiNodeImageAttributes) SetId(v string)

SetId sets field value

func (*UiNodeImageAttributes) SetNodeType

func (o *UiNodeImageAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeImageAttributes) SetSrc

func (o *UiNodeImageAttributes) SetSrc(v string)

SetSrc sets field value

func (*UiNodeImageAttributes) SetWidth

func (o *UiNodeImageAttributes) SetWidth(v int64)

SetWidth sets field value

type UiNodeInputAttributes

type UiNodeInputAttributes struct {
	// Sets the input's disabled field to true or false.
	Disabled bool    `json:"disabled"`
	Label    *UiText `json:"label,omitempty"`
	// The input's element name.
	Name string `json:"name"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"input\".
	NodeType string `json:"node_type"`
	// OnClick may contain javascript which should be executed on click. This is primarily used for WebAuthn.
	Onclick *string `json:"onclick,omitempty"`
	// The input's pattern.
	Pattern *string `json:"pattern,omitempty"`
	// Mark this input field as required.
	Required *bool  `json:"required,omitempty"`
	Type     string `json:"type"`
	// The input's value.
	Value interface{} `json:"value,omitempty"`
}

UiNodeInputAttributes InputAttributes represents the attributes of an input node

func NewUiNodeInputAttributes

func NewUiNodeInputAttributes(disabled bool, name string, nodeType string, type_ string) *UiNodeInputAttributes

NewUiNodeInputAttributes instantiates a new UiNodeInputAttributes 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 NewUiNodeInputAttributesWithDefaults

func NewUiNodeInputAttributesWithDefaults() *UiNodeInputAttributes

NewUiNodeInputAttributesWithDefaults instantiates a new UiNodeInputAttributes 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 (*UiNodeInputAttributes) GetDisabled

func (o *UiNodeInputAttributes) GetDisabled() bool

GetDisabled returns the Disabled field value

func (*UiNodeInputAttributes) GetDisabledOk

func (o *UiNodeInputAttributes) GetDisabledOk() (*bool, bool)

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

func (*UiNodeInputAttributes) GetLabel

func (o *UiNodeInputAttributes) GetLabel() UiText

GetLabel returns the Label field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetLabelOk

func (o *UiNodeInputAttributes) GetLabelOk() (*UiText, bool)

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

func (*UiNodeInputAttributes) GetName

func (o *UiNodeInputAttributes) GetName() string

GetName returns the Name field value

func (*UiNodeInputAttributes) GetNameOk

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

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

func (*UiNodeInputAttributes) GetNodeType

func (o *UiNodeInputAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeInputAttributes) GetNodeTypeOk

func (o *UiNodeInputAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeInputAttributes) GetOnclick

func (o *UiNodeInputAttributes) GetOnclick() string

GetOnclick returns the Onclick field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetOnclickOk

func (o *UiNodeInputAttributes) GetOnclickOk() (*string, bool)

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

func (*UiNodeInputAttributes) GetPattern

func (o *UiNodeInputAttributes) GetPattern() string

GetPattern returns the Pattern field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetPatternOk

func (o *UiNodeInputAttributes) GetPatternOk() (*string, bool)

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

func (*UiNodeInputAttributes) GetRequired

func (o *UiNodeInputAttributes) GetRequired() bool

GetRequired returns the Required field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetRequiredOk

func (o *UiNodeInputAttributes) GetRequiredOk() (*bool, bool)

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

func (*UiNodeInputAttributes) GetType

func (o *UiNodeInputAttributes) GetType() string

GetType returns the Type field value

func (*UiNodeInputAttributes) GetTypeOk

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

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

func (*UiNodeInputAttributes) GetValue

func (o *UiNodeInputAttributes) GetValue() interface{}

GetValue returns the Value field value if set, zero value otherwise (both if not set or set to explicit null).

func (*UiNodeInputAttributes) GetValueOk

func (o *UiNodeInputAttributes) GetValueOk() (*interface{}, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*UiNodeInputAttributes) HasLabel

func (o *UiNodeInputAttributes) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (*UiNodeInputAttributes) HasOnclick

func (o *UiNodeInputAttributes) HasOnclick() bool

HasOnclick returns a boolean if a field has been set.

func (*UiNodeInputAttributes) HasPattern

func (o *UiNodeInputAttributes) HasPattern() bool

HasPattern returns a boolean if a field has been set.

func (*UiNodeInputAttributes) HasRequired

func (o *UiNodeInputAttributes) HasRequired() bool

HasRequired returns a boolean if a field has been set.

func (*UiNodeInputAttributes) HasValue

func (o *UiNodeInputAttributes) HasValue() bool

HasValue returns a boolean if a field has been set.

func (UiNodeInputAttributes) MarshalJSON

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

func (*UiNodeInputAttributes) SetDisabled

func (o *UiNodeInputAttributes) SetDisabled(v bool)

SetDisabled sets field value

func (*UiNodeInputAttributes) SetLabel

func (o *UiNodeInputAttributes) SetLabel(v UiText)

SetLabel gets a reference to the given UiText and assigns it to the Label field.

func (*UiNodeInputAttributes) SetName

func (o *UiNodeInputAttributes) SetName(v string)

SetName sets field value

func (*UiNodeInputAttributes) SetNodeType

func (o *UiNodeInputAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeInputAttributes) SetOnclick

func (o *UiNodeInputAttributes) SetOnclick(v string)

SetOnclick gets a reference to the given string and assigns it to the Onclick field.

func (*UiNodeInputAttributes) SetPattern

func (o *UiNodeInputAttributes) SetPattern(v string)

SetPattern gets a reference to the given string and assigns it to the Pattern field.

func (*UiNodeInputAttributes) SetRequired

func (o *UiNodeInputAttributes) SetRequired(v bool)

SetRequired gets a reference to the given bool and assigns it to the Required field.

func (*UiNodeInputAttributes) SetType

func (o *UiNodeInputAttributes) SetType(v string)

SetType sets field value

func (*UiNodeInputAttributes) SetValue

func (o *UiNodeInputAttributes) SetValue(v interface{})

SetValue gets a reference to the given interface{} and assigns it to the Value field.

type UiNodeMeta

type UiNodeMeta struct {
	Label *UiText `json:"label,omitempty"`
}

UiNodeMeta This might include a label and other information that can optionally be used to render UIs.

func NewUiNodeMeta

func NewUiNodeMeta() *UiNodeMeta

NewUiNodeMeta instantiates a new UiNodeMeta 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 NewUiNodeMetaWithDefaults

func NewUiNodeMetaWithDefaults() *UiNodeMeta

NewUiNodeMetaWithDefaults instantiates a new UiNodeMeta 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 (*UiNodeMeta) GetLabel

func (o *UiNodeMeta) GetLabel() UiText

GetLabel returns the Label field value if set, zero value otherwise.

func (*UiNodeMeta) GetLabelOk

func (o *UiNodeMeta) GetLabelOk() (*UiText, bool)

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

func (*UiNodeMeta) HasLabel

func (o *UiNodeMeta) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (UiNodeMeta) MarshalJSON

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

func (*UiNodeMeta) SetLabel

func (o *UiNodeMeta) SetLabel(v UiText)

SetLabel gets a reference to the given UiText and assigns it to the Label field.

type UiNodeScriptAttributes

type UiNodeScriptAttributes struct {
	// The script async type
	Async bool `json:"async"`
	// The script cross origin policy
	Crossorigin string `json:"crossorigin"`
	// A unique identifier
	Id string `json:"id"`
	// The script's integrity hash
	Integrity string `json:"integrity"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is \"script\".
	NodeType string `json:"node_type"`
	// Nonce for CSP  A nonce you may want to use to improve your Content Security Policy. You do not have to use this value but if you want to improve your CSP policies you may use it. You can also choose to use your own nonce value!
	Nonce string `json:"nonce"`
	// The script referrer policy
	Referrerpolicy string `json:"referrerpolicy"`
	// The script source
	Src string `json:"src"`
	// The script MIME type
	Type string `json:"type"`
}

UiNodeScriptAttributes struct for UiNodeScriptAttributes

func NewUiNodeScriptAttributes

func NewUiNodeScriptAttributes(async bool, crossorigin string, id string, integrity string, nodeType string, nonce string, referrerpolicy string, src string, type_ string) *UiNodeScriptAttributes

NewUiNodeScriptAttributes instantiates a new UiNodeScriptAttributes 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 NewUiNodeScriptAttributesWithDefaults

func NewUiNodeScriptAttributesWithDefaults() *UiNodeScriptAttributes

NewUiNodeScriptAttributesWithDefaults instantiates a new UiNodeScriptAttributes 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 (*UiNodeScriptAttributes) GetAsync

func (o *UiNodeScriptAttributes) GetAsync() bool

GetAsync returns the Async field value

func (*UiNodeScriptAttributes) GetAsyncOk

func (o *UiNodeScriptAttributes) GetAsyncOk() (*bool, bool)

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

func (*UiNodeScriptAttributes) GetCrossorigin

func (o *UiNodeScriptAttributes) GetCrossorigin() string

GetCrossorigin returns the Crossorigin field value

func (*UiNodeScriptAttributes) GetCrossoriginOk

func (o *UiNodeScriptAttributes) GetCrossoriginOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetId

func (o *UiNodeScriptAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeScriptAttributes) GetIdOk

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

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

func (*UiNodeScriptAttributes) GetIntegrity

func (o *UiNodeScriptAttributes) GetIntegrity() string

GetIntegrity returns the Integrity field value

func (*UiNodeScriptAttributes) GetIntegrityOk

func (o *UiNodeScriptAttributes) GetIntegrityOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetNodeType

func (o *UiNodeScriptAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeScriptAttributes) GetNodeTypeOk

func (o *UiNodeScriptAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetNonce

func (o *UiNodeScriptAttributes) GetNonce() string

GetNonce returns the Nonce field value

func (*UiNodeScriptAttributes) GetNonceOk

func (o *UiNodeScriptAttributes) GetNonceOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetReferrerpolicy

func (o *UiNodeScriptAttributes) GetReferrerpolicy() string

GetReferrerpolicy returns the Referrerpolicy field value

func (*UiNodeScriptAttributes) GetReferrerpolicyOk

func (o *UiNodeScriptAttributes) GetReferrerpolicyOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetSrc

func (o *UiNodeScriptAttributes) GetSrc() string

GetSrc returns the Src field value

func (*UiNodeScriptAttributes) GetSrcOk

func (o *UiNodeScriptAttributes) GetSrcOk() (*string, bool)

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

func (*UiNodeScriptAttributes) GetType

func (o *UiNodeScriptAttributes) GetType() string

GetType returns the Type field value

func (*UiNodeScriptAttributes) GetTypeOk

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

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

func (UiNodeScriptAttributes) MarshalJSON

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

func (*UiNodeScriptAttributes) SetAsync

func (o *UiNodeScriptAttributes) SetAsync(v bool)

SetAsync sets field value

func (*UiNodeScriptAttributes) SetCrossorigin

func (o *UiNodeScriptAttributes) SetCrossorigin(v string)

SetCrossorigin sets field value

func (*UiNodeScriptAttributes) SetId

func (o *UiNodeScriptAttributes) SetId(v string)

SetId sets field value

func (*UiNodeScriptAttributes) SetIntegrity

func (o *UiNodeScriptAttributes) SetIntegrity(v string)

SetIntegrity sets field value

func (*UiNodeScriptAttributes) SetNodeType

func (o *UiNodeScriptAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeScriptAttributes) SetNonce

func (o *UiNodeScriptAttributes) SetNonce(v string)

SetNonce sets field value

func (*UiNodeScriptAttributes) SetReferrerpolicy

func (o *UiNodeScriptAttributes) SetReferrerpolicy(v string)

SetReferrerpolicy sets field value

func (*UiNodeScriptAttributes) SetSrc

func (o *UiNodeScriptAttributes) SetSrc(v string)

SetSrc sets field value

func (*UiNodeScriptAttributes) SetType

func (o *UiNodeScriptAttributes) SetType(v string)

SetType sets field value

type UiNodeTextAttributes

type UiNodeTextAttributes struct {
	// A unique identifier
	Id string `json:"id"`
	// NodeType represents this node's types. It is a mirror of `node.type` and is primarily used to allow compatibility with OpenAPI 3.0.  In this struct it technically always is \"text\".
	NodeType string `json:"node_type"`
	Text     UiText `json:"text"`
}

UiNodeTextAttributes struct for UiNodeTextAttributes

func NewUiNodeTextAttributes

func NewUiNodeTextAttributes(id string, nodeType string, text UiText) *UiNodeTextAttributes

NewUiNodeTextAttributes instantiates a new UiNodeTextAttributes 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 NewUiNodeTextAttributesWithDefaults

func NewUiNodeTextAttributesWithDefaults() *UiNodeTextAttributes

NewUiNodeTextAttributesWithDefaults instantiates a new UiNodeTextAttributes 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 (*UiNodeTextAttributes) GetId

func (o *UiNodeTextAttributes) GetId() string

GetId returns the Id field value

func (*UiNodeTextAttributes) GetIdOk

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

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

func (*UiNodeTextAttributes) GetNodeType

func (o *UiNodeTextAttributes) GetNodeType() string

GetNodeType returns the NodeType field value

func (*UiNodeTextAttributes) GetNodeTypeOk

func (o *UiNodeTextAttributes) GetNodeTypeOk() (*string, bool)

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

func (*UiNodeTextAttributes) GetText

func (o *UiNodeTextAttributes) GetText() UiText

GetText returns the Text field value

func (*UiNodeTextAttributes) GetTextOk

func (o *UiNodeTextAttributes) GetTextOk() (*UiText, bool)

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

func (UiNodeTextAttributes) MarshalJSON

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

func (*UiNodeTextAttributes) SetId

func (o *UiNodeTextAttributes) SetId(v string)

SetId sets field value

func (*UiNodeTextAttributes) SetNodeType

func (o *UiNodeTextAttributes) SetNodeType(v string)

SetNodeType sets field value

func (*UiNodeTextAttributes) SetText

func (o *UiNodeTextAttributes) SetText(v UiText)

SetText sets field value

type UiText

type UiText struct {
	// The message's context. Useful when customizing messages.
	Context map[string]interface{} `json:"context,omitempty"`
	Id      int64                  `json:"id"`
	// The message text. Written in american english.
	Text string `json:"text"`
	Type string `json:"type"`
}

UiText struct for UiText

func NewUiText

func NewUiText(id int64, text string, type_ string) *UiText

NewUiText instantiates a new UiText 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 NewUiTextWithDefaults

func NewUiTextWithDefaults() *UiText

NewUiTextWithDefaults instantiates a new UiText 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 (*UiText) GetContext

func (o *UiText) GetContext() map[string]interface{}

GetContext returns the Context field value if set, zero value otherwise.

func (*UiText) GetContextOk

func (o *UiText) GetContextOk() (map[string]interface{}, bool)

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

func (*UiText) GetId

func (o *UiText) GetId() int64

GetId returns the Id field value

func (*UiText) GetIdOk

func (o *UiText) GetIdOk() (*int64, bool)

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

func (*UiText) GetText

func (o *UiText) GetText() string

GetText returns the Text field value

func (*UiText) GetTextOk

func (o *UiText) GetTextOk() (*string, bool)

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

func (*UiText) GetType

func (o *UiText) GetType() string

GetType returns the Type field value

func (*UiText) GetTypeOk

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

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

func (*UiText) HasContext

func (o *UiText) HasContext() bool

HasContext returns a boolean if a field has been set.

func (UiText) MarshalJSON

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

func (*UiText) SetContext

func (o *UiText) SetContext(v map[string]interface{})

SetContext gets a reference to the given map[string]interface{} and assigns it to the Context field.

func (*UiText) SetId

func (o *UiText) SetId(v int64)

SetId sets field value

func (*UiText) SetText

func (o *UiText) SetText(v string)

SetText sets field value

func (*UiText) SetType

func (o *UiText) SetType(v string)

SetType sets field value

type V0alpha2Api

type V0alpha2Api interface {

	/*
	 * AdminCreateIdentity Create an Identity
	 * This endpoint creates an identity. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @return V0alpha2ApiApiAdminCreateIdentityRequest
	 */
	AdminCreateIdentity(ctx context.Context) V0alpha2ApiApiAdminCreateIdentityRequest

	/*
	 * AdminCreateIdentityExecute executes the request
	 * @return Identity
	 */
	AdminCreateIdentityExecute(r V0alpha2ApiApiAdminCreateIdentityRequest) (*Identity, *http.Response, error)

	/*
		 * AdminCreateSelfServiceRecoveryLink Create a Recovery Link
		 * This endpoint creates a recovery link which should be given to the user in order for them to recover
	(or activate) their account.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiAdminCreateSelfServiceRecoveryLinkRequest
	*/
	AdminCreateSelfServiceRecoveryLink(ctx context.Context) V0alpha2ApiApiAdminCreateSelfServiceRecoveryLinkRequest

	/*
	 * AdminCreateSelfServiceRecoveryLinkExecute executes the request
	 * @return SelfServiceRecoveryLink
	 */
	AdminCreateSelfServiceRecoveryLinkExecute(r V0alpha2ApiApiAdminCreateSelfServiceRecoveryLinkRequest) (*SelfServiceRecoveryLink, *http.Response, error)

	/*
		 * AdminDeleteIdentity Delete an Identity
		 * Calling this endpoint irrecoverably and permanently deletes the identity given its ID. This action can not be undone.
	This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is
	assumed that is has been deleted already.

	Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @param id ID is the identity's ID.
		 * @return V0alpha2ApiApiAdminDeleteIdentityRequest
	*/
	AdminDeleteIdentity(ctx context.Context, id string) V0alpha2ApiApiAdminDeleteIdentityRequest

	/*
	 * AdminDeleteIdentityExecute executes the request
	 */
	AdminDeleteIdentityExecute(r V0alpha2ApiApiAdminDeleteIdentityRequest) (*http.Response, error)

	/*
		 * AdminDeleteIdentitySessions Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
		 * This endpoint is useful for:

	To forcefully logout Identity from all devices and sessions
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @param id ID is the identity's ID.
		 * @return V0alpha2ApiApiAdminDeleteIdentitySessionsRequest
	*/
	AdminDeleteIdentitySessions(ctx context.Context, id string) V0alpha2ApiApiAdminDeleteIdentitySessionsRequest

	/*
	 * AdminDeleteIdentitySessionsExecute executes the request
	 */
	AdminDeleteIdentitySessionsExecute(r V0alpha2ApiApiAdminDeleteIdentitySessionsRequest) (*http.Response, error)

	/*
	 * AdminExtendSession Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed.
	 * Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method.
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id ID is the session's ID.
	 * @return V0alpha2ApiApiAdminExtendSessionRequest
	 */
	AdminExtendSession(ctx context.Context, id string) V0alpha2ApiApiAdminExtendSessionRequest

	/*
	 * AdminExtendSessionExecute executes the request
	 * @return Session
	 */
	AdminExtendSessionExecute(r V0alpha2ApiApiAdminExtendSessionRequest) (*Session, *http.Response, error)

	/*
	 * AdminGetIdentity Get an Identity
	 * Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id ID must be set to the ID of identity you want to get
	 * @return V0alpha2ApiApiAdminGetIdentityRequest
	 */
	AdminGetIdentity(ctx context.Context, id string) V0alpha2ApiApiAdminGetIdentityRequest

	/*
	 * AdminGetIdentityExecute executes the request
	 * @return Identity
	 */
	AdminGetIdentityExecute(r V0alpha2ApiApiAdminGetIdentityRequest) (*Identity, *http.Response, error)

	/*
		 * AdminListIdentities List Identities
		 * Lists all identities. Does not support search at the moment.

	Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiAdminListIdentitiesRequest
	*/
	AdminListIdentities(ctx context.Context) V0alpha2ApiApiAdminListIdentitiesRequest

	/*
	 * AdminListIdentitiesExecute executes the request
	 * @return []Identity
	 */
	AdminListIdentitiesExecute(r V0alpha2ApiApiAdminListIdentitiesRequest) ([]Identity, *http.Response, error)

	/*
		 * AdminListIdentitySessions This endpoint returns all sessions that belong to the given Identity.
		 * This endpoint is useful for:

	Listing all sessions that belong to an Identity in an administrative context.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @param id ID is the identity's ID.
		 * @return V0alpha2ApiApiAdminListIdentitySessionsRequest
	*/
	AdminListIdentitySessions(ctx context.Context, id string) V0alpha2ApiApiAdminListIdentitySessionsRequest

	/*
	 * AdminListIdentitySessionsExecute executes the request
	 * @return []Session
	 */
	AdminListIdentitySessionsExecute(r V0alpha2ApiApiAdminListIdentitySessionsRequest) ([]Session, *http.Response, error)

	/*
		 * AdminUpdateIdentity Update an Identity
		 * This endpoint updates an identity. The full identity payload (except credentials) is expected. This endpoint does not support patching.

	Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @param id ID must be set to the ID of identity you want to update
		 * @return V0alpha2ApiApiAdminUpdateIdentityRequest
	*/
	AdminUpdateIdentity(ctx context.Context, id string) V0alpha2ApiApiAdminUpdateIdentityRequest

	/*
	 * AdminUpdateIdentityExecute executes the request
	 * @return Identity
	 */
	AdminUpdateIdentityExecute(r V0alpha2ApiApiAdminUpdateIdentityRequest) (*Identity, *http.Response, error)

	/*
		 * CreateSelfServiceLogoutFlowUrlForBrowsers Create a Logout URL for Browsers
		 * This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user.

	This endpoint is NOT INTENDED for API clients and only works
	with browsers (Chrome, Firefox, ...). For API clients you can
	call the `/self-service/logout/api` URL directly with the Ory Session Token.

	The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns
	a 401 error.

	When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest
	*/
	CreateSelfServiceLogoutFlowUrlForBrowsers(ctx context.Context) V0alpha2ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest

	/*
	 * CreateSelfServiceLogoutFlowUrlForBrowsersExecute executes the request
	 * @return SelfServiceLogoutUrl
	 */
	CreateSelfServiceLogoutFlowUrlForBrowsersExecute(r V0alpha2ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest) (*SelfServiceLogoutUrl, *http.Response, error)

	/*
	 * GetJsonSchema Method for GetJsonSchema
	 * Get a JSON Schema
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @param id ID must be set to the ID of schema you want to get
	 * @return V0alpha2ApiApiGetJsonSchemaRequest
	 */
	GetJsonSchema(ctx context.Context, id string) V0alpha2ApiApiGetJsonSchemaRequest

	/*
	 * GetJsonSchemaExecute executes the request
	 * @return map[string]interface{}
	 */
	GetJsonSchemaExecute(r V0alpha2ApiApiGetJsonSchemaRequest) (map[string]interface{}, *http.Response, error)

	/*
		 * GetSelfServiceError Get Self-Service Errors
		 * This endpoint returns the error associated with a user-facing self service errors.

	This endpoint supports stub values to help you implement the error UI:

	`?id=stub:500` - returns a stub 500 (Internal Server Error) error.

	More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiGetSelfServiceErrorRequest
	*/
	GetSelfServiceError(ctx context.Context) V0alpha2ApiApiGetSelfServiceErrorRequest

	/*
	 * GetSelfServiceErrorExecute executes the request
	 * @return SelfServiceError
	 */
	GetSelfServiceErrorExecute(r V0alpha2ApiApiGetSelfServiceErrorRequest) (*SelfServiceError, *http.Response, error)

	/*
		 * GetSelfServiceLoginFlow Get Login Flow
		 * This endpoint returns a login flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/login', async function (req, res) {
	const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow'])

	res.render('login', flow)
	})
	“`

	This request may fail due to several reasons. The `error.id` can be one of:

	`session_already_available`: The user is already signed in.
	`self_service_flow_expired`: The flow is expired and you should request a new one.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiGetSelfServiceLoginFlowRequest
	*/
	GetSelfServiceLoginFlow(ctx context.Context) V0alpha2ApiApiGetSelfServiceLoginFlowRequest

	/*
	 * GetSelfServiceLoginFlowExecute executes the request
	 * @return SelfServiceLoginFlow
	 */
	GetSelfServiceLoginFlowExecute(r V0alpha2ApiApiGetSelfServiceLoginFlowRequest) (*SelfServiceLoginFlow, *http.Response, error)

	/*
		 * GetSelfServiceRecoveryFlow Get Recovery Flow
		 * This endpoint returns a recovery flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/recovery', async function (req, res) {
	const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow'])

	res.render('recovery', flow)
	})
	“`

	More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiGetSelfServiceRecoveryFlowRequest
	*/
	GetSelfServiceRecoveryFlow(ctx context.Context) V0alpha2ApiApiGetSelfServiceRecoveryFlowRequest

	/*
	 * GetSelfServiceRecoveryFlowExecute executes the request
	 * @return SelfServiceRecoveryFlow
	 */
	GetSelfServiceRecoveryFlowExecute(r V0alpha2ApiApiGetSelfServiceRecoveryFlowRequest) (*SelfServiceRecoveryFlow, *http.Response, error)

	/*
		 * GetSelfServiceRegistrationFlow Get Registration Flow
		 * This endpoint returns a registration flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/registration', async function (req, res) {
	const flow = await client.getSelfServiceRegistrationFlow(req.header('cookie'), req.query['flow'])

	res.render('registration', flow)
	})
	“`

	This request may fail due to several reasons. The `error.id` can be one of:

	`session_already_available`: The user is already signed in.
	`self_service_flow_expired`: The flow is expired and you should request a new one.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiGetSelfServiceRegistrationFlowRequest
	*/
	GetSelfServiceRegistrationFlow(ctx context.Context) V0alpha2ApiApiGetSelfServiceRegistrationFlowRequest

	/*
	 * GetSelfServiceRegistrationFlowExecute executes the request
	 * @return SelfServiceRegistrationFlow
	 */
	GetSelfServiceRegistrationFlowExecute(r V0alpha2ApiApiGetSelfServiceRegistrationFlowRequest) (*SelfServiceRegistrationFlow, *http.Response, error)

	/*
		 * GetSelfServiceSettingsFlow Get Settings Flow
		 * When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie
	or the Ory Kratos Session Token are set.

	Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor or change the configuration.

	You can access this endpoint without credentials when using Ory Kratos' Admin API.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`session_inactive`: No Ory Session was found - sign in a user first.
	`security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other
	identity logged in instead.

	More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiGetSelfServiceSettingsFlowRequest
	*/
	GetSelfServiceSettingsFlow(ctx context.Context) V0alpha2ApiApiGetSelfServiceSettingsFlowRequest

	/*
	 * GetSelfServiceSettingsFlowExecute executes the request
	 * @return SelfServiceSettingsFlow
	 */
	GetSelfServiceSettingsFlowExecute(r V0alpha2ApiApiGetSelfServiceSettingsFlowRequest) (*SelfServiceSettingsFlow, *http.Response, error)

	/*
		 * GetSelfServiceVerificationFlow Get Verification Flow
		 * This endpoint returns a verification flow's context with, for example, error details and other information.

	Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header.
	For AJAX requests you must ensure that cookies are included in the request or requests will fail.

	If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain
	and you need to forward the incoming HTTP Cookie header to this endpoint:

	“`js
	pseudo-code example
	router.get('/recovery', async function (req, res) {
	const flow = await client.getSelfServiceVerificationFlow(req.header('cookie'), req.query['flow'])

	res.render('verification', flow)
	})

	More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiGetSelfServiceVerificationFlowRequest
	*/
	GetSelfServiceVerificationFlow(ctx context.Context) V0alpha2ApiApiGetSelfServiceVerificationFlowRequest

	/*
	 * GetSelfServiceVerificationFlowExecute executes the request
	 * @return SelfServiceVerificationFlow
	 */
	GetSelfServiceVerificationFlowExecute(r V0alpha2ApiApiGetSelfServiceVerificationFlowRequest) (*SelfServiceVerificationFlow, *http.Response, error)

	/*
		 * GetWebAuthnJavaScript Get WebAuthn JavaScript
		 * This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration.

	If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:

	“`html
	<script src="https://public-kratos.example.org/.well-known/ory/webauthn.js" type="script" async />
	“`

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiGetWebAuthnJavaScriptRequest
	*/
	GetWebAuthnJavaScript(ctx context.Context) V0alpha2ApiApiGetWebAuthnJavaScriptRequest

	/*
	 * GetWebAuthnJavaScriptExecute executes the request
	 * @return string
	 */
	GetWebAuthnJavaScriptExecute(r V0alpha2ApiApiGetWebAuthnJavaScriptRequest) (string, *http.Response, error)

	/*
		 * InitializeSelfServiceLoginFlowForBrowsers Initialize Login Flow for Browsers
		 * This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate
	cookies and anti-CSRF measures required for browser-based flows.

	If this endpoint is opened as a link in the browser, it will be redirected to
	`selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
	exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter
	`?refresh=true` was set.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest
	*/
	InitializeSelfServiceLoginFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceLoginFlowForBrowsersExecute executes the request
	 * @return SelfServiceLoginFlow
	 */
	InitializeSelfServiceLoginFlowForBrowsersExecute(r V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest) (*SelfServiceLoginFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceLoginFlowWithoutBrowser Initialize Login Flow for APIs, Services, Apps, ...
		 * This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on.

	If a valid provided session cookie or session token is provided, a 400 Bad Request error
	will be returned unless the URL query parameter `?refresh=true` is set.

	To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks, including CSRF login attacks.

	In the case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceLoginFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceLoginFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceLoginFlow
	 */
	InitializeSelfServiceLoginFlowWithoutBrowserExecute(r V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest) (*SelfServiceLoginFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceRecoveryFlowForBrowsers Initialize Recovery Flow for Browsers
		 * This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to
	`selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
	exists, the browser is returned to the configured return URL.

	If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects
	or a 400 bad request error if the user is already authenticated.

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

	More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest
	*/
	InitializeSelfServiceRecoveryFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceRecoveryFlowForBrowsersExecute executes the request
	 * @return SelfServiceRecoveryFlow
	 */
	InitializeSelfServiceRecoveryFlowForBrowsersExecute(r V0alpha2ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest) (*SelfServiceRecoveryFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceRecoveryFlowWithoutBrowser Initialize Recovery Flow for APIs, Services, Apps, ...
		 * This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on.

	If a valid provided session cookie or session token is provided, a 400 Bad Request error.

	To fetch an existing recovery flow call `/self-service/recovery/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).


	More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceRecoveryFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceRecoveryFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceRecoveryFlow
	 */
	InitializeSelfServiceRecoveryFlowWithoutBrowserExecute(r V0alpha2ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest) (*SelfServiceRecoveryFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceRegistrationFlowForBrowsers Initialize Registration Flow for Browsers
		 * This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate
	cookies and anti-CSRF measures required for browser-based flows.

	:::info

	This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future.

	:::

	If this endpoint is opened as a link in the browser, it will be redirected to
	`selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session
	exists already, the browser will be redirected to `urls.default_redirect_url`.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

	If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect.

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest
	*/
	InitializeSelfServiceRegistrationFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceRegistrationFlowForBrowsersExecute executes the request
	 * @return SelfServiceRegistrationFlow
	 */
	InitializeSelfServiceRegistrationFlowForBrowsersExecute(r V0alpha2ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest) (*SelfServiceRegistrationFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceRegistrationFlowWithoutBrowser Initialize Registration Flow for APIs, Services, Apps, ...
		 * This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on.

	If a valid provided session cookie or session token is provided, a 400 Bad Request error
	will be returned unless the URL query parameter `?refresh=true` is set.

	To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks.

	In the case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceRegistrationFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceRegistrationFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceRegistrationFlow
	 */
	InitializeSelfServiceRegistrationFlowWithoutBrowserExecute(r V0alpha2ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest) (*SelfServiceRegistrationFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceSettingsFlowForBrowsers Initialize Settings Flow for Browsers
		 * This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to
	`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid
	Ory Kratos Session Cookie is included in the request, a login flow will be initialized.

	If this endpoint is opened as a link in the browser, it will be redirected to
	`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session
	was set, the browser will be redirected to the login endpoint.

	If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects
	or a 401 forbidden error if no valid session was set.

	Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.

	If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`session_inactive`: No Ory Session was found - sign in a user first.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

	This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

	More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest
	*/
	InitializeSelfServiceSettingsFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceSettingsFlowForBrowsersExecute executes the request
	 * @return SelfServiceSettingsFlow
	 */
	InitializeSelfServiceSettingsFlowForBrowsersExecute(r V0alpha2ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest) (*SelfServiceSettingsFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceSettingsFlowWithoutBrowser Initialize Settings Flow for APIs, Services, Apps, ...
		 * This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on.
	You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK.

	To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks.

	Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor or change the configuration.

	In the case of an error, the `error.id` of the JSON response body can be one of:

	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`session_inactive`: No Ory Session was found - sign in a user first.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceSettingsFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceSettingsFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceSettingsFlow
	 */
	InitializeSelfServiceSettingsFlowWithoutBrowserExecute(r V0alpha2ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest) (*SelfServiceSettingsFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceVerificationFlowForBrowsers Initialize Verification Flow for Browser Clients
		 * This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to
	`selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`.

	If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects.

	This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

	More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest
	*/
	InitializeSelfServiceVerificationFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceVerificationFlowForBrowsersExecute executes the request
	 * @return SelfServiceVerificationFlow
	 */
	InitializeSelfServiceVerificationFlowForBrowsersExecute(r V0alpha2ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest) (*SelfServiceVerificationFlow, *http.Response, error)

	/*
		 * InitializeSelfServiceVerificationFlowWithoutBrowser Initialize Verification Flow for APIs, Services, Apps, ...
		 * This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on.

	To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`.

	You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server
	Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make
	you vulnerable to a variety of CSRF attacks.

	This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

	More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceVerificationFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceVerificationFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceVerificationFlow
	 */
	InitializeSelfServiceVerificationFlowWithoutBrowserExecute(r V0alpha2ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest) (*SelfServiceVerificationFlow, *http.Response, error)

	/*
	 * ListIdentitySchemas Method for ListIdentitySchemas
	 * Get all Identity Schemas
	 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
	 * @return V0alpha2ApiApiListIdentitySchemasRequest
	 */
	ListIdentitySchemas(ctx context.Context) V0alpha2ApiApiListIdentitySchemasRequest

	/*
	 * ListIdentitySchemasExecute executes the request
	 * @return []IdentitySchema
	 */
	ListIdentitySchemasExecute(r V0alpha2ApiApiListIdentitySchemasRequest) ([]IdentitySchema, *http.Response, error)

	/*
		 * ListSessions This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
		 * This endpoint is useful for:

	Displaying all other sessions that belong to the logged-in user
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiListSessionsRequest
	*/
	ListSessions(ctx context.Context) V0alpha2ApiApiListSessionsRequest

	/*
	 * ListSessionsExecute executes the request
	 * @return []Session
	 */
	ListSessionsExecute(r V0alpha2ApiApiListSessionsRequest) ([]Session, *http.Response, error)

	/*
		 * RevokeSession Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
		 * This endpoint is useful for:

	To forcefully logout the current user from another device or session
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @param id ID is the session's ID.
		 * @return V0alpha2ApiApiRevokeSessionRequest
	*/
	RevokeSession(ctx context.Context, id string) V0alpha2ApiApiRevokeSessionRequest

	/*
	 * RevokeSessionExecute executes the request
	 */
	RevokeSessionExecute(r V0alpha2ApiApiRevokeSessionRequest) (*http.Response, error)

	/*
		 * RevokeSessions Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
		 * This endpoint is useful for:

	To forcefully logout the current user from all other devices and sessions
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiRevokeSessionsRequest
	*/
	RevokeSessions(ctx context.Context) V0alpha2ApiApiRevokeSessionsRequest

	/*
	 * RevokeSessionsExecute executes the request
	 * @return RevokedSessions
	 */
	RevokeSessionsExecute(r V0alpha2ApiApiRevokeSessionsRequest) (*RevokedSessions, *http.Response, error)

	/*
		 * SubmitSelfServiceLoginFlow Submit a Login Flow
		 * :::info

	This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future.

	:::

	Use this endpoint to complete a login flow. This endpoint
	behaves differently for API and browser flows.

	API flows expect `application/json` to be sent in the body and responds with
	HTTP 200 and a application/json body with the session token on success;
	HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
	HTTP 400 on form validation errors.

	Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
	a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded;
	a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise.

	Browser flows with an accept header of `application/json` will not redirect but instead respond with
	HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
	HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 400 on form validation errors.

	If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
	`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
	Most likely used in Social Sign In flows.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest
	*/
	SubmitSelfServiceLoginFlow(ctx context.Context) V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest

	/*
	 * SubmitSelfServiceLoginFlowExecute executes the request
	 * @return SuccessfulSelfServiceLoginWithoutBrowser
	 */
	SubmitSelfServiceLoginFlowExecute(r V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest) (*SuccessfulSelfServiceLoginWithoutBrowser, *http.Response, error)

	/*
		 * SubmitSelfServiceLogoutFlow Complete Self-Service Logout
		 * This endpoint logs out an identity in a self-service manner.

	If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other)
	to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`.

	If the `Accept` HTTP header is set to `application/json`, a 204 No Content response
	will be sent on successful logout instead.

	This endpoint is NOT INTENDED for API clients and only works
	with browsers (Chrome, Firefox, ...). For API clients you can
	call the `/self-service/logout/api` URL directly with the Ory Session Token.

	More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest
	*/
	SubmitSelfServiceLogoutFlow(ctx context.Context) V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest

	/*
	 * SubmitSelfServiceLogoutFlowExecute executes the request
	 */
	SubmitSelfServiceLogoutFlowExecute(r V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest) (*http.Response, error)

	/*
		 * SubmitSelfServiceLogoutFlowWithoutBrowser Perform Logout for APIs, Services, Apps, ...
		 * Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully
	revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when
	the Ory Session Token has been revoked already before.

	If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned.

	This endpoint does not remove any HTTP
	Cookies - use the Browser-Based Self-Service Logout Flow instead.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest
	*/
	SubmitSelfServiceLogoutFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest

	/*
	 * SubmitSelfServiceLogoutFlowWithoutBrowserExecute executes the request
	 */
	SubmitSelfServiceLogoutFlowWithoutBrowserExecute(r V0alpha2ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest) (*http.Response, error)

	/*
		 * SubmitSelfServiceRecoveryFlow Complete Recovery Flow
		 * Use this endpoint to complete a recovery flow. This endpoint
	behaves differently for API and browser flows and has several states:

	`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent
	and works with API- and Browser-initiated flows.
	For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid.
	and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired).
	For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended.
	`sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It
	works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state.
	`passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a recovery link")
	does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL
	(if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with
	a new Recovery Flow ID which contains an error message that the recovery link was invalid.

	More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest
	*/
	SubmitSelfServiceRecoveryFlow(ctx context.Context) V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest

	/*
	 * SubmitSelfServiceRecoveryFlowExecute executes the request
	 * @return SelfServiceRecoveryFlow
	 */
	SubmitSelfServiceRecoveryFlowExecute(r V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest) (*SelfServiceRecoveryFlow, *http.Response, error)

	/*
		 * SubmitSelfServiceRegistrationFlow Submit a Registration Flow
		 * Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint
	behaves differently for API and browser flows.

	API flows expect `application/json` to be sent in the body and respond with
	HTTP 200 and a application/json body with the created identity success - if the session hook is configured the
	`session` and `session_token` will also be included;
	HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body;
	HTTP 400 on form validation errors.

	Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with
	a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded;
	a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise.

	Browser flows with an accept header of `application/json` will not redirect but instead respond with
	HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
	HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 400 on form validation errors.

	If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_already_available`: The user is already signed in.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
	`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
	Most likely used in Social Sign In flows.

	More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest
	*/
	SubmitSelfServiceRegistrationFlow(ctx context.Context) V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest

	/*
	 * SubmitSelfServiceRegistrationFlowExecute executes the request
	 * @return SuccessfulSelfServiceRegistrationWithoutBrowser
	 */
	SubmitSelfServiceRegistrationFlowExecute(r V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest) (*SuccessfulSelfServiceRegistrationWithoutBrowser, *http.Response, error)

	/*
		 * SubmitSelfServiceSettingsFlow Complete Settings Flow
		 * Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint
	behaves differently for API and browser flows.

	API-initiated flows expect `application/json` to be sent in the body and respond with
	HTTP 200 and an application/json body with the session token on success;
	HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set;
	HTTP 400 on form validation errors.
	HTTP 401 when the endpoint is called without a valid session token.
	HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.
	Implies that the user needs to re-authenticate.

	Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with
	a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded;
	a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise.
	a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.

	Browser flows with HTTP Header `Accept: application/json` respond with
	HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success;
	HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 401 when the endpoint is called without a valid session cookie.
	HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low.
	HTTP 400 on form validation errors.

	Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.

	If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the
	case of an error, the `error.id` of the JSON response body can be one of:

	`session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect
	the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`,
	or initiate a refresh login flow otherwise.
	`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.
	`session_inactive`: No Ory Session was found - sign in a user first.
	`security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other
	identity logged in instead.
	`security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!
	`browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL.
	Most likely used in Social Sign In flows.

	More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest
	*/
	SubmitSelfServiceSettingsFlow(ctx context.Context) V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest

	/*
	 * SubmitSelfServiceSettingsFlowExecute executes the request
	 * @return SelfServiceSettingsFlow
	 */
	SubmitSelfServiceSettingsFlowExecute(r V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest) (*SelfServiceSettingsFlow, *http.Response, error)

	/*
		 * SubmitSelfServiceVerificationFlow Complete Verification Flow
		 * Use this endpoint to complete a verification flow. This endpoint
	behaves differently for API and browser flows and has several states:

	`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent
	and works with API- and Browser-initiated flows.
	For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid
	and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired).
	For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended.
	`sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It
	works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state.
	`passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a verification link")
	does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL
	(if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with
	a new Verification Flow ID which contains an error message that the verification link was invalid.

	More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest
	*/
	SubmitSelfServiceVerificationFlow(ctx context.Context) V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest

	/*
	 * SubmitSelfServiceVerificationFlowExecute executes the request
	 * @return SelfServiceVerificationFlow
	 */
	SubmitSelfServiceVerificationFlowExecute(r V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest) (*SelfServiceVerificationFlow, *http.Response, error)

	/*
		 * ToSession Check Who the Current HTTP Session Belongs To
		 * Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated.
	Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent.
	Additionally when the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header
	in the response.

	If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint:

	“`js
	pseudo-code example
	router.get('/protected-endpoint', async function (req, res) {
	const session = await client.toSession(undefined, req.header('cookie'))

	console.log(session)
	})
	“`

	When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token:

	“`js
	pseudo-code example
	...
	const session = await client.toSession("the-session-token")

	console.log(session)
	“`

	Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator
	Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn
	credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user
	to sign in with the second factor or change the configuration.

	This endpoint is useful for:

	AJAX calls. Remember to send credentials and set up CORS correctly!
	Reverse proxies and API Gateways
	Server-side calls - use the `X-Session-Token` header!

	This endpoint authenticates users by checking

	if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie;
	if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token;
	if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token.

	If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code.

	As explained above, this request may fail due to several reasons. The `error.id` can be one of:

	`session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token).
	`session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha2ApiApiToSessionRequest
	*/
	ToSession(ctx context.Context) V0alpha2ApiApiToSessionRequest

	/*
	 * ToSessionExecute executes the request
	 * @return Session
	 */
	ToSessionExecute(r V0alpha2ApiApiToSessionRequest) (*Session, *http.Response, error)
}

type V0alpha2ApiApiAdminCreateIdentityRequest

type V0alpha2ApiApiAdminCreateIdentityRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminCreateIdentityRequest) AdminCreateIdentityBody

func (V0alpha2ApiApiAdminCreateIdentityRequest) Execute

type V0alpha2ApiApiAdminCreateSelfServiceRecoveryLinkRequest

type V0alpha2ApiApiAdminCreateSelfServiceRecoveryLinkRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminCreateSelfServiceRecoveryLinkRequest) AdminCreateSelfServiceRecoveryLinkBody

func (V0alpha2ApiApiAdminCreateSelfServiceRecoveryLinkRequest) Execute

type V0alpha2ApiApiAdminDeleteIdentityRequest

type V0alpha2ApiApiAdminDeleteIdentityRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminDeleteIdentityRequest) Execute

type V0alpha2ApiApiAdminDeleteIdentitySessionsRequest

type V0alpha2ApiApiAdminDeleteIdentitySessionsRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminDeleteIdentitySessionsRequest) Execute

type V0alpha2ApiApiAdminExtendSessionRequest

type V0alpha2ApiApiAdminExtendSessionRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminExtendSessionRequest) Execute

type V0alpha2ApiApiAdminGetIdentityRequest

type V0alpha2ApiApiAdminGetIdentityRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminGetIdentityRequest) Execute

func (V0alpha2ApiApiAdminGetIdentityRequest) IncludeCredential

type V0alpha2ApiApiAdminListIdentitiesRequest

type V0alpha2ApiApiAdminListIdentitiesRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminListIdentitiesRequest) Execute

func (V0alpha2ApiApiAdminListIdentitiesRequest) Page

func (V0alpha2ApiApiAdminListIdentitiesRequest) PerPage

type V0alpha2ApiApiAdminListIdentitySessionsRequest

type V0alpha2ApiApiAdminListIdentitySessionsRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminListIdentitySessionsRequest) Active

func (V0alpha2ApiApiAdminListIdentitySessionsRequest) Execute

func (V0alpha2ApiApiAdminListIdentitySessionsRequest) Page

func (V0alpha2ApiApiAdminListIdentitySessionsRequest) PerPage

type V0alpha2ApiApiAdminUpdateIdentityRequest

type V0alpha2ApiApiAdminUpdateIdentityRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiAdminUpdateIdentityRequest) AdminUpdateIdentityBody

func (V0alpha2ApiApiAdminUpdateIdentityRequest) Execute

type V0alpha2ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest

type V0alpha2ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest) Cookie

func (V0alpha2ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest) Execute

type V0alpha2ApiApiGetJsonSchemaRequest

type V0alpha2ApiApiGetJsonSchemaRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiGetJsonSchemaRequest) Execute

func (r V0alpha2ApiApiGetJsonSchemaRequest) Execute() (map[string]interface{}, *http.Response, error)

type V0alpha2ApiApiGetSelfServiceErrorRequest

type V0alpha2ApiApiGetSelfServiceErrorRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiGetSelfServiceErrorRequest) Execute

func (V0alpha2ApiApiGetSelfServiceErrorRequest) Id

type V0alpha2ApiApiGetSelfServiceLoginFlowRequest

type V0alpha2ApiApiGetSelfServiceLoginFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiGetSelfServiceLoginFlowRequest) Cookie

func (V0alpha2ApiApiGetSelfServiceLoginFlowRequest) Execute

func (V0alpha2ApiApiGetSelfServiceLoginFlowRequest) Id

type V0alpha2ApiApiGetSelfServiceRecoveryFlowRequest

type V0alpha2ApiApiGetSelfServiceRecoveryFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiGetSelfServiceRecoveryFlowRequest) Cookie

func (V0alpha2ApiApiGetSelfServiceRecoveryFlowRequest) Execute

func (V0alpha2ApiApiGetSelfServiceRecoveryFlowRequest) Id

type V0alpha2ApiApiGetSelfServiceRegistrationFlowRequest

type V0alpha2ApiApiGetSelfServiceRegistrationFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiGetSelfServiceRegistrationFlowRequest) Cookie

func (V0alpha2ApiApiGetSelfServiceRegistrationFlowRequest) Execute

func (V0alpha2ApiApiGetSelfServiceRegistrationFlowRequest) Id

type V0alpha2ApiApiGetSelfServiceSettingsFlowRequest

type V0alpha2ApiApiGetSelfServiceSettingsFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiGetSelfServiceSettingsFlowRequest) Cookie

func (V0alpha2ApiApiGetSelfServiceSettingsFlowRequest) Execute

func (V0alpha2ApiApiGetSelfServiceSettingsFlowRequest) Id

func (V0alpha2ApiApiGetSelfServiceSettingsFlowRequest) XSessionToken

type V0alpha2ApiApiGetSelfServiceVerificationFlowRequest

type V0alpha2ApiApiGetSelfServiceVerificationFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiGetSelfServiceVerificationFlowRequest) Cookie

func (V0alpha2ApiApiGetSelfServiceVerificationFlowRequest) Execute

func (V0alpha2ApiApiGetSelfServiceVerificationFlowRequest) Id

type V0alpha2ApiApiGetWebAuthnJavaScriptRequest

type V0alpha2ApiApiGetWebAuthnJavaScriptRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiGetWebAuthnJavaScriptRequest) Execute

type V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest

type V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest) Aal

func (V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest) Execute

func (V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest) Refresh

func (V0alpha2ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest) ReturnTo

type V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest

type V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest) Aal

func (V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest) Execute

func (V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest) Refresh

func (V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest) XSessionToken

type V0alpha2ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest

type V0alpha2ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest) Execute

func (V0alpha2ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest) ReturnTo

type V0alpha2ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest

type V0alpha2ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest) Execute

type V0alpha2ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest

type V0alpha2ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest) Execute

func (V0alpha2ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest) ReturnTo

type V0alpha2ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest

type V0alpha2ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest) Execute

type V0alpha2ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest

type V0alpha2ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest) Execute

func (V0alpha2ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest) ReturnTo

type V0alpha2ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest

type V0alpha2ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest) Execute

func (V0alpha2ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest) XSessionToken

type V0alpha2ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest

type V0alpha2ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest) Execute

func (V0alpha2ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest) ReturnTo

type V0alpha2ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest

type V0alpha2ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest) Execute

type V0alpha2ApiApiListIdentitySchemasRequest

type V0alpha2ApiApiListIdentitySchemasRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiListIdentitySchemasRequest) Execute

func (V0alpha2ApiApiListIdentitySchemasRequest) Page

func (V0alpha2ApiApiListIdentitySchemasRequest) PerPage

type V0alpha2ApiApiListSessionsRequest

type V0alpha2ApiApiListSessionsRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiListSessionsRequest) Cookie

func (V0alpha2ApiApiListSessionsRequest) Execute

func (V0alpha2ApiApiListSessionsRequest) Page

func (V0alpha2ApiApiListSessionsRequest) PerPage

func (V0alpha2ApiApiListSessionsRequest) XSessionToken

type V0alpha2ApiApiRevokeSessionRequest

type V0alpha2ApiApiRevokeSessionRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiRevokeSessionRequest) Execute

type V0alpha2ApiApiRevokeSessionsRequest

type V0alpha2ApiApiRevokeSessionsRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiRevokeSessionsRequest) Cookie

func (V0alpha2ApiApiRevokeSessionsRequest) Execute

func (V0alpha2ApiApiRevokeSessionsRequest) XSessionToken

type V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest

type V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest) Cookie

func (V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest) Execute

func (V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest) Flow

func (V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest) SubmitSelfServiceLoginFlowBody

func (V0alpha2ApiApiSubmitSelfServiceLoginFlowRequest) XSessionToken

type V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest

type V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest) Execute

func (V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest) ReturnTo

func (V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest) Token

type V0alpha2ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest

type V0alpha2ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest) Execute

func (V0alpha2ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest) SubmitSelfServiceLogoutFlowWithoutBrowserBody

type V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest

type V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest) Cookie

func (V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest) Execute

func (V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest) Flow

func (V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest) SubmitSelfServiceRecoveryFlowBody

func (V0alpha2ApiApiSubmitSelfServiceRecoveryFlowRequest) Token

type V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest

type V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest) Cookie

func (V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest) Execute

func (V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest) Flow

func (V0alpha2ApiApiSubmitSelfServiceRegistrationFlowRequest) SubmitSelfServiceRegistrationFlowBody

type V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest

type V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest) Cookie

func (V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest) Execute

func (V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest) Flow

func (V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest) SubmitSelfServiceSettingsFlowBody

func (V0alpha2ApiApiSubmitSelfServiceSettingsFlowRequest) XSessionToken

type V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest

type V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest) Cookie

func (V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest) Execute

func (V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest) Flow

func (V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest) SubmitSelfServiceVerificationFlowBody

func (V0alpha2ApiApiSubmitSelfServiceVerificationFlowRequest) Token

type V0alpha2ApiApiToSessionRequest

type V0alpha2ApiApiToSessionRequest struct {
	ApiService V0alpha2Api
	// contains filtered or unexported fields
}

func (V0alpha2ApiApiToSessionRequest) Cookie

func (V0alpha2ApiApiToSessionRequest) Execute

func (V0alpha2ApiApiToSessionRequest) XSessionToken

type V0alpha2ApiService

type V0alpha2ApiService service

V0alpha2ApiService V0alpha2Api service

func (*V0alpha2ApiService) AdminCreateIdentity

* AdminCreateIdentity Create an Identity * This endpoint creates an identity. Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return V0alpha2ApiApiAdminCreateIdentityRequest

func (*V0alpha2ApiService) AdminCreateIdentityExecute

* Execute executes the request * @return Identity

  • AdminCreateSelfServiceRecoveryLink Create a Recovery Link
  • This endpoint creates a recovery link which should be given to the user in order for them to recover

(or activate) their account.

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

func (*V0alpha2ApiService) AdminCreateSelfServiceRecoveryLinkExecute

* Execute executes the request * @return SelfServiceRecoveryLink

func (*V0alpha2ApiService) AdminDeleteIdentity

  • AdminDeleteIdentity Delete an Identity
  • Calling this endpoint irrecoverably and permanently deletes the identity given its ID. This action can not be undone.

This endpoint returns 204 when the identity was deleted or when the identity was not found, in which case it is assumed that is has been deleted already.

Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID is the identity's ID.
  • @return V0alpha2ApiApiAdminDeleteIdentityRequest

func (*V0alpha2ApiService) AdminDeleteIdentityExecute

func (a *V0alpha2ApiService) AdminDeleteIdentityExecute(r V0alpha2ApiApiAdminDeleteIdentityRequest) (*http.Response, error)

* Execute executes the request

func (*V0alpha2ApiService) AdminDeleteIdentitySessions

  • AdminDeleteIdentitySessions Calling this endpoint irrecoverably and permanently deletes and invalidates all sessions that belong to the given Identity.
  • This endpoint is useful for:

To forcefully logout Identity from all devices and sessions

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID is the identity's ID.
  • @return V0alpha2ApiApiAdminDeleteIdentitySessionsRequest

func (*V0alpha2ApiService) AdminDeleteIdentitySessionsExecute

func (a *V0alpha2ApiService) AdminDeleteIdentitySessionsExecute(r V0alpha2ApiApiAdminDeleteIdentitySessionsRequest) (*http.Response, error)

* Execute executes the request

func (*V0alpha2ApiService) AdminExtendSession

* AdminExtendSession Calling this endpoint extends the given session ID. If `session.earliest_possible_extend` is set it will only extend the session after the specified time has passed. * Retrieve the session ID from the `/sessions/whoami` endpoint / `toSession` SDK method. * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id ID is the session's ID. * @return V0alpha2ApiApiAdminExtendSessionRequest

func (*V0alpha2ApiService) AdminExtendSessionExecute

* Execute executes the request * @return Session

func (*V0alpha2ApiService) AdminGetIdentity

* AdminGetIdentity Get an Identity * Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model). * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id ID must be set to the ID of identity you want to get * @return V0alpha2ApiApiAdminGetIdentityRequest

func (*V0alpha2ApiService) AdminGetIdentityExecute

* Execute executes the request * @return Identity

func (*V0alpha2ApiService) AdminListIdentities

  • AdminListIdentities List Identities
  • Lists all identities. Does not support search at the moment.

Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).

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

func (*V0alpha2ApiService) AdminListIdentitiesExecute

* Execute executes the request * @return []Identity

func (*V0alpha2ApiService) AdminListIdentitySessions

  • AdminListIdentitySessions This endpoint returns all sessions that belong to the given Identity.
  • This endpoint is useful for:

Listing all sessions that belong to an Identity in an administrative context.

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID is the identity's ID.
  • @return V0alpha2ApiApiAdminListIdentitySessionsRequest

func (*V0alpha2ApiService) AdminListIdentitySessionsExecute

func (a *V0alpha2ApiService) AdminListIdentitySessionsExecute(r V0alpha2ApiApiAdminListIdentitySessionsRequest) ([]Session, *http.Response, error)

* Execute executes the request * @return []Session

func (*V0alpha2ApiService) AdminUpdateIdentity

  • AdminUpdateIdentity Update an Identity
  • This endpoint updates an identity. The full identity payload (except credentials) is expected. This endpoint does not support patching.

Learn how identities work in [Ory Kratos' User And Identity Model Documentation](https://www.ory.sh/docs/next/kratos/concepts/identity-user-model).

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID must be set to the ID of identity you want to update
  • @return V0alpha2ApiApiAdminUpdateIdentityRequest

func (*V0alpha2ApiService) AdminUpdateIdentityExecute

* Execute executes the request * @return Identity

func (*V0alpha2ApiService) CreateSelfServiceLogoutFlowUrlForBrowsers

  • CreateSelfServiceLogoutFlowUrlForBrowsers Create a Logout URL for Browsers
  • This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token.

The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error.

When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.

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

func (*V0alpha2ApiService) CreateSelfServiceLogoutFlowUrlForBrowsersExecute

* Execute executes the request * @return SelfServiceLogoutUrl

func (*V0alpha2ApiService) GetJsonSchema

* GetJsonSchema Method for GetJsonSchema * Get a JSON Schema * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param id ID must be set to the ID of schema you want to get * @return V0alpha2ApiApiGetJsonSchemaRequest

func (*V0alpha2ApiService) GetJsonSchemaExecute

func (a *V0alpha2ApiService) GetJsonSchemaExecute(r V0alpha2ApiApiGetJsonSchemaRequest) (map[string]interface{}, *http.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*V0alpha2ApiService) GetSelfServiceError

  • GetSelfServiceError Get Self-Service Errors
  • This endpoint returns the error associated with a user-facing self service errors.

This endpoint supports stub values to help you implement the error UI:

`?id=stub:500` - returns a stub 500 (Internal Server Error) error.

More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).

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

func (*V0alpha2ApiService) GetSelfServiceErrorExecute

* Execute executes the request * @return SelfServiceError

func (*V0alpha2ApiService) GetSelfServiceLoginFlow

  • GetSelfServiceLoginFlow Get Login Flow
  • This endpoint returns a login flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/login', async function (req, res) { const flow = await client.getSelfServiceLoginFlow(req.header('cookie'), req.query['flow'])

res.render('login', flow) }) ```

This request may fail due to several reasons. The `error.id` can be one of:

`session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) GetSelfServiceLoginFlowExecute

* Execute executes the request * @return SelfServiceLoginFlow

func (*V0alpha2ApiService) GetSelfServiceRecoveryFlow

  • GetSelfServiceRecoveryFlow Get Recovery Flow
  • This endpoint returns a recovery flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceRecoveryFlow(req.header('Cookie'), req.query['flow'])

res.render('recovery', flow) }) ```

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

func (*V0alpha2ApiService) GetSelfServiceRecoveryFlowExecute

* Execute executes the request * @return SelfServiceRecoveryFlow

func (*V0alpha2ApiService) GetSelfServiceRegistrationFlow

  • GetSelfServiceRegistrationFlow Get Registration Flow
  • This endpoint returns a registration flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/registration', async function (req, res) { const flow = await client.getSelfServiceRegistrationFlow(req.header('cookie'), req.query['flow'])

res.render('registration', flow) }) ```

This request may fail due to several reasons. The `error.id` can be one of:

`session_already_available`: The user is already signed in. `self_service_flow_expired`: The flow is expired and you should request a new one.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) GetSelfServiceRegistrationFlowExecute

* Execute executes the request * @return SelfServiceRegistrationFlow

func (*V0alpha2ApiService) GetSelfServiceSettingsFlow

  • GetSelfServiceSettingsFlow Get Settings Flow
  • When accessing this endpoint through Ory Kratos' Public API you must ensure that either the Ory Kratos Session Cookie

or the Ory Kratos Session Token are set.

Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration.

You can access this endpoint without credentials when using Ory Kratos' Admin API.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead.

More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).

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

func (*V0alpha2ApiService) GetSelfServiceSettingsFlowExecute

* Execute executes the request * @return SelfServiceSettingsFlow

func (*V0alpha2ApiService) GetSelfServiceVerificationFlow

  • GetSelfServiceVerificationFlow Get Verification Flow
  • This endpoint returns a verification flow's context with, for example, error details and other information.

Browser flows expect the anti-CSRF cookie to be included in the request's HTTP Cookie Header. For AJAX requests you must ensure that cookies are included in the request or requests will fail.

If you use the browser-flow for server-side apps, the services need to run on a common top-level-domain and you need to forward the incoming HTTP Cookie header to this endpoint:

```js pseudo-code example router.get('/recovery', async function (req, res) { const flow = await client.getSelfServiceVerificationFlow(req.header('cookie'), req.query['flow'])

res.render('verification', flow) })

More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).

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

func (*V0alpha2ApiService) GetSelfServiceVerificationFlowExecute

* Execute executes the request * @return SelfServiceVerificationFlow

func (*V0alpha2ApiService) GetWebAuthnJavaScript

  • GetWebAuthnJavaScript Get WebAuthn JavaScript
  • This endpoint provides JavaScript which is needed in order to perform WebAuthn login and registration.

If you are building a JavaScript Browser App (e.g. in ReactJS or AngularJS) you will need to load this file:

```html <script src="https://public-kratos.example.org/.well-known/ory/webauthn.js" type="script" async /> ```

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) GetWebAuthnJavaScriptExecute

* Execute executes the request * @return string

func (*V0alpha2ApiService) InitializeSelfServiceLoginFlowForBrowsers

  • InitializeSelfServiceLoginFlowForBrowsers Initialize Login Flow for Browsers
  • This endpoint initializes a browser-based user login flow. This endpoint will set the appropriate

cookies and anti-CSRF measures required for browser-based flows.

If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.login.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url` unless the query parameter `?refresh=true` was set.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) InitializeSelfServiceLoginFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceLoginFlow

func (*V0alpha2ApiService) InitializeSelfServiceLoginFlowWithoutBrowser

func (a *V0alpha2ApiService) InitializeSelfServiceLoginFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest
  • InitializeSelfServiceLoginFlowWithoutBrowser Initialize Login Flow for APIs, Services, Apps, ...
  • This endpoint initiates a login flow for API clients that do not use a browser, such as mobile devices, smart TVs, and so on.

If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set.

To fetch an existing login flow call `/self-service/login/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks, including CSRF login attacks.

In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `session_aal1_required`: Multi-factor auth (e.g. 2fa) was requested but the user has no session yet. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) InitializeSelfServiceLoginFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceLoginFlow

func (*V0alpha2ApiService) InitializeSelfServiceRecoveryFlowForBrowsers

func (a *V0alpha2ApiService) InitializeSelfServiceRecoveryFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest
  • InitializeSelfServiceRecoveryFlowForBrowsers Initialize Recovery Flow for Browsers
  • This endpoint initializes a browser-based account recovery flow. Once initialized, the browser will be redirected to

`selfservice.flows.recovery.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists, the browser is returned to the configured return URL.

If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects or a 400 bad request error if the user is already authenticated.

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

func (*V0alpha2ApiService) InitializeSelfServiceRecoveryFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceRecoveryFlow

func (*V0alpha2ApiService) InitializeSelfServiceRecoveryFlowWithoutBrowser

func (a *V0alpha2ApiService) InitializeSelfServiceRecoveryFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest
  • InitializeSelfServiceRecoveryFlowWithoutBrowser Initialize Recovery Flow for APIs, Services, Apps, ...
  • This endpoint initiates a recovery flow for API clients such as mobile devices, smart TVs, and so on.

If a valid provided session cookie or session token is provided, a 400 Bad Request error.

To fetch an existing recovery flow call `/self-service/recovery/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

func (*V0alpha2ApiService) InitializeSelfServiceRecoveryFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceRecoveryFlow

func (*V0alpha2ApiService) InitializeSelfServiceRegistrationFlowForBrowsers

func (a *V0alpha2ApiService) InitializeSelfServiceRegistrationFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest
  • InitializeSelfServiceRegistrationFlowForBrowsers Initialize Registration Flow for Browsers
  • This endpoint initializes a browser-based user registration flow. This endpoint will set the appropriate

cookies and anti-CSRF measures required for browser-based flows.

:::info

This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future.

:::

If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.registration.ui_url` with the flow ID set as the query parameter `?flow=`. If a valid user session exists already, the browser will be redirected to `urls.default_redirect_url`.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

If this endpoint is called via an AJAX request, the response contains the registration flow without a redirect.

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) InitializeSelfServiceRegistrationFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceRegistrationFlow

func (*V0alpha2ApiService) InitializeSelfServiceRegistrationFlowWithoutBrowser

func (a *V0alpha2ApiService) InitializeSelfServiceRegistrationFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest
  • InitializeSelfServiceRegistrationFlowWithoutBrowser Initialize Registration Flow for APIs, Services, Apps, ...
  • This endpoint initiates a registration flow for API clients such as mobile devices, smart TVs, and so on.

If a valid provided session cookie or session token is provided, a 400 Bad Request error will be returned unless the URL query parameter `?refresh=true` is set.

To fetch an existing registration flow call `/self-service/registration/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks.

In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) InitializeSelfServiceRegistrationFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceRegistrationFlow

func (*V0alpha2ApiService) InitializeSelfServiceSettingsFlowForBrowsers

func (a *V0alpha2ApiService) InitializeSelfServiceSettingsFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest
  • InitializeSelfServiceSettingsFlowForBrowsers Initialize Settings Flow for Browsers
  • This endpoint initializes a browser-based user settings flow. Once initialized, the browser will be redirected to

`selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid Ory Kratos Session Cookie is included in the request, a login flow will be initialized.

If this endpoint is opened as a link in the browser, it will be redirected to `selfservice.flows.settings.ui_url` with the flow ID set as the query parameter `?flow=`. If no valid user session was set, the browser will be redirected to the login endpoint.

If this endpoint is called via an AJAX request, the response contains the settings flow without any redirects or a 401 forbidden error if no valid session was set.

Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.

If this endpoint is called via an AJAX request, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration!

This endpoint is NOT INTENDED for clients that do not have a browser (Chrome, Firefox, ...) as cookies are needed.

More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).

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

func (*V0alpha2ApiService) InitializeSelfServiceSettingsFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceSettingsFlow

func (*V0alpha2ApiService) InitializeSelfServiceSettingsFlowWithoutBrowser

func (a *V0alpha2ApiService) InitializeSelfServiceSettingsFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest
  • InitializeSelfServiceSettingsFlowWithoutBrowser Initialize Settings Flow for APIs, Services, Apps, ...
  • This endpoint initiates a settings flow for API clients such as mobile devices, smart TVs, and so on.

You must provide a valid Ory Kratos Session Token for this endpoint to respond with HTTP 200 OK.

To fetch an existing settings flow call `/self-service/settings/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks.

Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration.

In the case of an error, the `error.id` of the JSON response body can be one of:

`security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).

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

func (*V0alpha2ApiService) InitializeSelfServiceSettingsFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceSettingsFlow

func (*V0alpha2ApiService) InitializeSelfServiceVerificationFlowForBrowsers

func (a *V0alpha2ApiService) InitializeSelfServiceVerificationFlowForBrowsers(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest
  • InitializeSelfServiceVerificationFlowForBrowsers Initialize Verification Flow for Browser Clients
  • This endpoint initializes a browser-based account verification flow. Once initialized, the browser will be redirected to

`selfservice.flows.verification.ui_url` with the flow ID set as the query parameter `?flow=`.

If this endpoint is called via an AJAX request, the response contains the recovery flow without any redirects.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).

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

func (*V0alpha2ApiService) InitializeSelfServiceVerificationFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceVerificationFlow

func (*V0alpha2ApiService) InitializeSelfServiceVerificationFlowWithoutBrowser

func (a *V0alpha2ApiService) InitializeSelfServiceVerificationFlowWithoutBrowser(ctx context.Context) V0alpha2ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest
  • InitializeSelfServiceVerificationFlowWithoutBrowser Initialize Verification Flow for APIs, Services, Apps, ...
  • This endpoint initiates a verification flow for API clients such as mobile devices, smart TVs, and so on.

To fetch an existing verification flow call `/self-service/verification/flows?flow=<flow_id>`.

You MUST NOT use this endpoint in client-side (Single Page Apps, ReactJS, AngularJS) nor server-side (Java Server Pages, NodeJS, PHP, Golang, ...) browser applications. Using this endpoint in these applications will make you vulnerable to a variety of CSRF attacks.

This endpoint MUST ONLY be used in scenarios such as native mobile apps (React Native, Objective C, Swift, Java, ...).

More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).

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

func (*V0alpha2ApiService) InitializeSelfServiceVerificationFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceVerificationFlow

func (*V0alpha2ApiService) ListIdentitySchemas

* ListIdentitySchemas Method for ListIdentitySchemas * Get all Identity Schemas * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return V0alpha2ApiApiListIdentitySchemasRequest

func (*V0alpha2ApiService) ListIdentitySchemasExecute

* Execute executes the request * @return []IdentitySchema

func (*V0alpha2ApiService) ListSessions

  • ListSessions This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
  • This endpoint is useful for:

Displaying all other sessions that belong to the logged-in user

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

func (*V0alpha2ApiService) ListSessionsExecute

* Execute executes the request * @return []Session

func (*V0alpha2ApiService) RevokeSession

  • RevokeSession Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
  • This endpoint is useful for:

To forcefully logout the current user from another device or session

  • @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id ID is the session's ID.
  • @return V0alpha2ApiApiRevokeSessionRequest

func (*V0alpha2ApiService) RevokeSessionExecute

* Execute executes the request

func (*V0alpha2ApiService) RevokeSessions

  • RevokeSessions Calling this endpoint invalidates all except the current session that belong to the logged-in user. Session data are not deleted.
  • This endpoint is useful for:

To forcefully logout the current user from all other devices and sessions

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

func (*V0alpha2ApiService) RevokeSessionsExecute

* Execute executes the request * @return RevokedSessions

func (*V0alpha2ApiService) SubmitSelfServiceLoginFlow

  • SubmitSelfServiceLoginFlow Submit a Login Flow
  • :::info

This endpoint is EXPERIMENTAL and subject to potential breaking changes in the future.

:::

Use this endpoint to complete a login flow. This endpoint behaves differently for API and browser flows.

API flows expect `application/json` to be sent in the body and responds with HTTP 200 and a application/json body with the session token on success; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors.

Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 303 redirect to the login UI URL with the flow ID containing the validation errors otherwise.

Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.

If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) SubmitSelfServiceLoginFlowExecute

* Execute executes the request * @return SuccessfulSelfServiceLoginWithoutBrowser

func (*V0alpha2ApiService) SubmitSelfServiceLogoutFlow

  • SubmitSelfServiceLogoutFlow Complete Self-Service Logout
  • This endpoint logs out an identity in a self-service manner.

If the `Accept` HTTP header is not set to `application/json`, the browser will be redirected (HTTP 303 See Other) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`.

If the `Accept` HTTP header is set to `application/json`, a 204 No Content response will be sent on successful logout instead.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token.

More information can be found at [Ory Kratos User Logout Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-logout).

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

func (*V0alpha2ApiService) SubmitSelfServiceLogoutFlowExecute

func (a *V0alpha2ApiService) SubmitSelfServiceLogoutFlowExecute(r V0alpha2ApiApiSubmitSelfServiceLogoutFlowRequest) (*http.Response, error)

* Execute executes the request

func (*V0alpha2ApiService) SubmitSelfServiceLogoutFlowWithoutBrowser

  • SubmitSelfServiceLogoutFlowWithoutBrowser Perform Logout for APIs, Services, Apps, ...
  • Use this endpoint to log out an identity using an Ory Session Token. If the Ory Session Token was successfully

revoked, the server returns a 204 No Content response. A 204 No Content response is also sent when the Ory Session Token has been revoked already before.

If the Ory Session Token is malformed or does not exist a 403 Forbidden response will be returned.

This endpoint does not remove any HTTP Cookies - use the Browser-Based Self-Service Logout Flow instead.

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

func (*V0alpha2ApiService) SubmitSelfServiceLogoutFlowWithoutBrowserExecute

func (a *V0alpha2ApiService) SubmitSelfServiceLogoutFlowWithoutBrowserExecute(r V0alpha2ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest) (*http.Response, error)

* Execute executes the request

func (*V0alpha2ApiService) SubmitSelfServiceRecoveryFlow

  • SubmitSelfServiceRecoveryFlow Complete Recovery Flow
  • Use this endpoint to complete a recovery flow. This endpoint

behaves differently for API and browser flows and has several states:

`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid. and a HTTP 303 See Other redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_method` for the `link` method and allows the user to request another recovery email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a recovery link") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Recover UI URL with a new Recovery Flow ID which contains an error message that the recovery link was invalid.

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery).

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

func (*V0alpha2ApiService) SubmitSelfServiceRecoveryFlowExecute

* Execute executes the request * @return SelfServiceRecoveryFlow

func (*V0alpha2ApiService) SubmitSelfServiceRegistrationFlow

  • SubmitSelfServiceRegistrationFlow Submit a Registration Flow
  • Use this endpoint to complete a registration flow by sending an identity's traits and password. This endpoint

behaves differently for API and browser flows.

API flows expect `application/json` to be sent in the body and respond with HTTP 200 and a application/json body with the created identity success - if the session hook is configured the `session` and `session_token` will also be included; HTTP 410 if the original flow expired with the appropriate error messages set and optionally a `use_flow_id` parameter in the body; HTTP 400 on form validation errors.

Browser flows expect a Content-Type of `application/x-www-form-urlencoded` or `application/json` to be sent in the body and respond with a HTTP 303 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 303 redirect to the registration UI URL with the flow ID containing the validation errors otherwise.

Browser flows with an accept header of `application/json` will not redirect but instead respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.

If this endpoint is called with `Accept: application/json` in the header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_already_available`: The user is already signed in. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.

More information can be found at [Ory Kratos User Login](https://www.ory.sh/docs/kratos/self-service/flows/user-login) and [User Registration Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-registration).

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

func (*V0alpha2ApiService) SubmitSelfServiceRegistrationFlowExecute

* Execute executes the request * @return SuccessfulSelfServiceRegistrationWithoutBrowser

func (*V0alpha2ApiService) SubmitSelfServiceSettingsFlow

  • SubmitSelfServiceSettingsFlow Complete Settings Flow
  • Use this endpoint to complete a settings flow by sending an identity's updated password. This endpoint

behaves differently for API and browser flows.

API-initiated flows expect `application/json` to be sent in the body and respond with HTTP 200 and an application/json body with the session token on success; HTTP 303 redirect to a fresh settings flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors. HTTP 401 when the endpoint is called without a valid session token. HTTP 403 when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low. Implies that the user needs to re-authenticate.

Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with a HTTP 303 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 303 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 303 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached or the session's AAL is too low.

Browser flows with HTTP Header `Accept: application/json` respond with HTTP 200 and a application/json body with the signed in identity and a `Set-Cookie` header on success; HTTP 303 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 401 when the endpoint is called without a valid session cookie. HTTP 403 when the page is accessed without a session cookie or the session's AAL is too low. HTTP 400 on form validation errors.

Depending on your configuration this endpoint might return a 403 error if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor (happens automatically for server-side browser flows) or change the configuration.

If this endpoint is called with a `Accept: application/json` HTTP header, the response contains the flow without a redirect. In the case of an error, the `error.id` of the JSON response body can be one of:

`session_refresh_required`: The identity requested to change something that needs a privileged session. Redirect the identity to the login init endpoint with query parameters `?refresh=true&return_to=<the-current-browser-url>`, or initiate a refresh login flow otherwise. `security_csrf_violation`: Unable to fetch the flow because a CSRF violation occurred. `session_inactive`: No Ory Session was found - sign in a user first. `security_identity_mismatch`: The flow was interrupted with `session_refresh_required` but apparently some other identity logged in instead. `security_identity_mismatch`: The requested `?return_to` address is not allowed to be used. Adjust this in the configuration! `browser_location_change_required`: Usually sent when an AJAX request indicates that the browser needs to open a specific URL. Most likely used in Social Sign In flows.

More information can be found at [Ory Kratos User Settings & Profile Management Documentation](../self-service/flows/user-settings).

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

func (*V0alpha2ApiService) SubmitSelfServiceSettingsFlowExecute

* Execute executes the request * @return SelfServiceSettingsFlow

func (*V0alpha2ApiService) SubmitSelfServiceVerificationFlow

  • SubmitSelfServiceVerificationFlow Complete Verification Flow
  • Use this endpoint to complete a verification flow. This endpoint

behaves differently for API and browser flows and has several states:

`choose_method` expects `flow` (in the URL query) and `email` (in the body) to be sent and works with API- and Browser-initiated flows. For API clients and Browser clients with HTTP Header `Accept: application/json` it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 303 See Other redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients without HTTP Header `Accept` or with `Accept: text/*` it returns a HTTP 303 See Other redirect to the Verification UI URL with the Verification Flow ID appended. `sent_email` is the success state after `choose_method` when using the `link` method and allows the user to request another verification email. It works for both API and Browser-initiated flows and returns the same responses as the flow in `choose_method` state. `passed_challenge` expects a `token` to be sent in the URL query and given the nature of the flow ("sending a verification link") does not have any API capabilities. The server responds with a HTTP 303 See Other redirect either to the Settings UI URL (if the link was valid) and instructs the user to update their password, or a redirect to the Verification UI URL with a new Verification Flow ID which contains an error message that the verification link was invalid.

More information can be found at [Ory Kratos Email and Phone Verification Documentation](https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation).

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

func (*V0alpha2ApiService) SubmitSelfServiceVerificationFlowExecute

* Execute executes the request * @return SelfServiceVerificationFlow

func (*V0alpha2ApiService) ToSession

  • ToSession Check Who the Current HTTP Session Belongs To
  • Uses the HTTP Headers in the GET request to determine (e.g. by using checking the cookies) who is authenticated.

Returns a session object in the body or 401 if the credentials are invalid or no credentials were sent. Additionally when the request it successful it adds the user ID to the 'X-Kratos-Authenticated-Identity-Id' header in the response.

If you call this endpoint from a server-side application, you must forward the HTTP Cookie Header to this endpoint:

```js pseudo-code example router.get('/protected-endpoint', async function (req, res) { const session = await client.toSession(undefined, req.header('cookie'))

console.log(session) }) ```

When calling this endpoint from a non-browser application (e.g. mobile app) you must include the session token:

```js pseudo-code example ... const session = await client.toSession("the-session-token")

console.log(session) ```

Depending on your configuration this endpoint might return a 403 status code if the session has a lower Authenticator Assurance Level (AAL) than is possible for the identity. This can happen if the identity has password + webauthn credentials (which would result in AAL2) but the session has only AAL1. If this error occurs, ask the user to sign in with the second factor or change the configuration.

This endpoint is useful for:

AJAX calls. Remember to send credentials and set up CORS correctly! Reverse proxies and API Gateways Server-side calls - use the `X-Session-Token` header!

This endpoint authenticates users by checking

if the `Cookie` HTTP header was set containing an Ory Kratos Session Cookie; if the `Authorization: bearer <ory-session-token>` HTTP header was set with a valid Ory Kratos Session Token; if the `X-Session-Token` HTTP header was set with a valid Ory Kratos Session Token.

If none of these headers are set or the cooke or token are invalid, the endpoint returns a HTTP 401 status code.

As explained above, this request may fail due to several reasons. The `error.id` can be one of:

`session_inactive`: No active session was found in the request (e.g. no Ory Session Cookie / Ory Session Token). `session_aal2_required`: An active session was found but it does not fulfil the Authenticator Assurance Level, implying that the session must (e.g.) authenticate the second factor.

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

func (*V0alpha2ApiService) ToSessionExecute

* Execute executes the request * @return Session

type VerifiableIdentityAddress

type VerifiableIdentityAddress struct {
	// When this entry was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Id        *string    `json:"id,omitempty"`
	// VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema
	Status string `json:"status"`
	// When this entry was last updated
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
	// The address value  example foo@user.com
	Value string `json:"value"`
	// Indicates if the address has already been verified
	Verified   bool       `json:"verified"`
	VerifiedAt *time.Time `json:"verified_at,omitempty"`
	// VerifiableAddressType must not exceed 16 characters as that is the limitation in the SQL Schema
	Via string `json:"via"`
}

VerifiableIdentityAddress VerifiableAddress is an identity's verifiable address

func NewVerifiableIdentityAddress

func NewVerifiableIdentityAddress(id *string, status string, value string, verified bool, via string) *VerifiableIdentityAddress

NewVerifiableIdentityAddress instantiates a new VerifiableIdentityAddress 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 NewVerifiableIdentityAddressWithDefaults

func NewVerifiableIdentityAddressWithDefaults() *VerifiableIdentityAddress

NewVerifiableIdentityAddressWithDefaults instantiates a new VerifiableIdentityAddress 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 (*VerifiableIdentityAddress) GetCreatedAt

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

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

func (*VerifiableIdentityAddress) GetCreatedAtOk

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

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

func (*VerifiableIdentityAddress) GetId

func (o *VerifiableIdentityAddress) GetId() *string

GetId returns the Id field value

func (*VerifiableIdentityAddress) GetIdOk

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

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

func (*VerifiableIdentityAddress) GetStatus

func (o *VerifiableIdentityAddress) GetStatus() string

GetStatus returns the Status field value

func (*VerifiableIdentityAddress) GetStatusOk

func (o *VerifiableIdentityAddress) GetStatusOk() (*string, bool)

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

func (*VerifiableIdentityAddress) GetUpdatedAt

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

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

func (*VerifiableIdentityAddress) GetUpdatedAtOk

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

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

func (*VerifiableIdentityAddress) GetValue

func (o *VerifiableIdentityAddress) GetValue() string

GetValue returns the Value field value

func (*VerifiableIdentityAddress) GetValueOk

func (o *VerifiableIdentityAddress) GetValueOk() (*string, bool)

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

func (*VerifiableIdentityAddress) GetVerified

func (o *VerifiableIdentityAddress) GetVerified() bool

GetVerified returns the Verified field value

func (*VerifiableIdentityAddress) GetVerifiedAt

func (o *VerifiableIdentityAddress) GetVerifiedAt() time.Time

GetVerifiedAt returns the VerifiedAt field value if set, zero value otherwise.

func (*VerifiableIdentityAddress) GetVerifiedAtOk

func (o *VerifiableIdentityAddress) GetVerifiedAtOk() (*time.Time, bool)

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

func (*VerifiableIdentityAddress) GetVerifiedOk

func (o *VerifiableIdentityAddress) GetVerifiedOk() (*bool, bool)

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

func (*VerifiableIdentityAddress) GetVia

func (o *VerifiableIdentityAddress) GetVia() string

GetVia returns the Via field value

func (*VerifiableIdentityAddress) GetViaOk

func (o *VerifiableIdentityAddress) GetViaOk() (*string, bool)

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

func (*VerifiableIdentityAddress) HasCreatedAt

func (o *VerifiableIdentityAddress) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*VerifiableIdentityAddress) HasUpdatedAt

func (o *VerifiableIdentityAddress) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (*VerifiableIdentityAddress) HasVerifiedAt

func (o *VerifiableIdentityAddress) HasVerifiedAt() bool

HasVerifiedAt returns a boolean if a field has been set.

func (VerifiableIdentityAddress) MarshalJSON

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

func (*VerifiableIdentityAddress) SetCreatedAt

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

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

func (*VerifiableIdentityAddress) SetId

func (o *VerifiableIdentityAddress) SetId(v *string)

SetId sets field value

func (*VerifiableIdentityAddress) SetStatus

func (o *VerifiableIdentityAddress) SetStatus(v string)

SetStatus sets field value

func (*VerifiableIdentityAddress) SetUpdatedAt

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

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

func (*VerifiableIdentityAddress) SetValue

func (o *VerifiableIdentityAddress) SetValue(v string)

SetValue sets field value

func (*VerifiableIdentityAddress) SetVerified

func (o *VerifiableIdentityAddress) SetVerified(v bool)

SetVerified sets field value

func (*VerifiableIdentityAddress) SetVerifiedAt

func (o *VerifiableIdentityAddress) SetVerifiedAt(v time.Time)

SetVerifiedAt gets a reference to the given time.Time and assigns it to the VerifiedAt field.

func (*VerifiableIdentityAddress) SetVia

func (o *VerifiableIdentityAddress) SetVia(v string)

SetVia sets field value

type Version

type Version struct {
	// Version is the service's version.
	Version *string `json:"version,omitempty"`
}

Version struct for Version

func NewVersion

func NewVersion() *Version

NewVersion instantiates a new Version 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 NewVersionWithDefaults

func NewVersionWithDefaults() *Version

NewVersionWithDefaults instantiates a new Version 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 (*Version) GetVersion

func (o *Version) GetVersion() string

GetVersion returns the Version field value if set, zero value otherwise.

func (*Version) GetVersionOk

func (o *Version) GetVersionOk() (*string, bool)

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

func (*Version) HasVersion

func (o *Version) HasVersion() bool

HasVersion returns a boolean if a field has been set.

func (Version) MarshalJSON

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

func (*Version) SetVersion

func (o *Version) SetVersion(v string)

SetVersion gets a reference to the given string and assigns it to the Version field.

Source Files

Jump to

Keyboard shortcuts

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