client

package module
v0.7.3-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2021 License: Apache-2.0 Imports: 22 Imported by: 92

README

ory/kratos-client-go-go

This is the official Ory Kratos SDK for go.

Installation

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

Generation

This code base 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

	V0alpha1Api V0alpha1Api
	// contains filtered or unexported fields
}

APIClient manages communication with the Ory Kratos API API vv0.7.3-alpha.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 AdminApiApiCreateIdentityRequest

type AdminApiApiCreateIdentityRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiCreateIdentityRequest) CreateIdentity

func (AdminApiApiCreateIdentityRequest) Execute

type AdminApiApiCreateRecoveryLinkRequest

type AdminApiApiCreateRecoveryLinkRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiCreateRecoveryLinkRequest) Execute

type AdminApiApiDeleteIdentityRequest

type AdminApiApiDeleteIdentityRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiDeleteIdentityRequest) Execute

type AdminApiApiGetIdentityRequest

type AdminApiApiGetIdentityRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetIdentityRequest) Execute

type AdminApiApiGetSchemaRequest

type AdminApiApiGetSchemaRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetSchemaRequest) Execute

func (r AdminApiApiGetSchemaRequest) Execute() (map[string]interface{}, *http.Response, error)

type AdminApiApiGetSelfServiceErrorRequest

type AdminApiApiGetSelfServiceErrorRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetSelfServiceErrorRequest) Error_

func (AdminApiApiGetSelfServiceErrorRequest) Execute

type AdminApiApiGetSelfServiceLoginFlowRequest

type AdminApiApiGetSelfServiceLoginFlowRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetSelfServiceLoginFlowRequest) Execute

func (AdminApiApiGetSelfServiceLoginFlowRequest) Id

type AdminApiApiGetSelfServiceRecoveryFlowRequest

type AdminApiApiGetSelfServiceRecoveryFlowRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetSelfServiceRecoveryFlowRequest) Execute

func (AdminApiApiGetSelfServiceRecoveryFlowRequest) Id

type AdminApiApiGetSelfServiceRegistrationFlowRequest

type AdminApiApiGetSelfServiceRegistrationFlowRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetSelfServiceRegistrationFlowRequest) Execute

func (AdminApiApiGetSelfServiceRegistrationFlowRequest) Id

type AdminApiApiGetSelfServiceSettingsFlowRequest

type AdminApiApiGetSelfServiceSettingsFlowRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetSelfServiceSettingsFlowRequest) Execute

func (AdminApiApiGetSelfServiceSettingsFlowRequest) Id

func (AdminApiApiGetSelfServiceSettingsFlowRequest) XSessionToken

type AdminApiApiGetSelfServiceVerificationFlowRequest

type AdminApiApiGetSelfServiceVerificationFlowRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetSelfServiceVerificationFlowRequest) Execute

func (AdminApiApiGetSelfServiceVerificationFlowRequest) Id

type AdminApiApiGetVersionRequest

type AdminApiApiGetVersionRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiGetVersionRequest) Execute

type AdminApiApiIsAliveRequest

type AdminApiApiIsAliveRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiIsAliveRequest) Execute

type AdminApiApiIsReadyRequest

type AdminApiApiIsReadyRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiIsReadyRequest) Execute

type AdminApiApiListIdentitiesRequest

type AdminApiApiListIdentitiesRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiListIdentitiesRequest) Execute

func (AdminApiApiListIdentitiesRequest) Page

func (AdminApiApiListIdentitiesRequest) PerPage

type AdminApiApiPrometheusRequest

type AdminApiApiPrometheusRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiPrometheusRequest) Execute

type AdminApiApiUpdateIdentityRequest

type AdminApiApiUpdateIdentityRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}

func (AdminApiApiUpdateIdentityRequest) Execute

func (AdminApiApiUpdateIdentityRequest) UpdateIdentity

type AdminApiService

type AdminApiService service

AdminApiService AdminApi service

func (*AdminApiService) CreateIdentity

  • CreateIdentity Create an Identity
  • This endpoint creates an identity. It is NOT possible to set an identity's credentials (password, ...)

using this method! A way to achieve that will be introduced in the future.

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 AdminApiApiCreateIdentityRequest

func (*AdminApiService) CreateIdentityExecute

func (a *AdminApiService) CreateIdentityExecute(r AdminApiApiCreateIdentityRequest) (*Identity, *http.Response, error)

* Execute executes the request * @return Identity

  • CreateRecoveryLink 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 AdminApiApiCreateRecoveryLinkRequest

func (*AdminApiService) CreateRecoveryLinkExecute

* Execute executes the request * @return RecoveryLink

func (*AdminApiService) DeleteIdentity

  • DeleteIdentity 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 AdminApiApiDeleteIdentityRequest

func (*AdminApiService) DeleteIdentityExecute

func (a *AdminApiService) DeleteIdentityExecute(r AdminApiApiDeleteIdentityRequest) (*http.Response, error)

* Execute executes the request

func (*AdminApiService) GetIdentity

* GetIdentity 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 AdminApiApiGetIdentityRequest

func (*AdminApiService) GetIdentityExecute

* Execute executes the request * @return Identity

func (*AdminApiService) GetSchema

* GetSchema Method for GetSchema * Get a Traits Schema Definition * @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 AdminApiApiGetSchemaRequest

func (*AdminApiService) GetSchemaExecute

func (a *AdminApiService) GetSchemaExecute(r AdminApiApiGetSchemaRequest) (map[string]interface{}, *http.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*AdminApiService) GetSelfServiceError

  • GetSelfServiceError Get User-Facing 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:

`?error=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 AdminApiApiGetSelfServiceErrorRequest

func (*AdminApiService) GetSelfServiceErrorExecute

* Execute executes the request * @return SelfServiceErrorContainer

func (*AdminApiService) GetSelfServiceLoginFlow

  • GetSelfServiceLoginFlow Get Login Flow
  • This endpoint returns a login flow's context with, for example, error details and other information.

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*AdminApiService) GetSelfServiceLoginFlowExecute

func (a *AdminApiService) GetSelfServiceLoginFlowExecute(r AdminApiApiGetSelfServiceLoginFlowRequest) (*LoginFlow, *http.Response, error)

* Execute executes the request * @return LoginFlow

func (*AdminApiService) GetSelfServiceRecoveryFlow

  • GetSelfServiceRecoveryFlow Get information about a recovery flow
  • This endpoint returns a recovery flow's context with, for example, error details and other information.

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery.mdx).

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

func (*AdminApiService) GetSelfServiceRecoveryFlowExecute

func (a *AdminApiService) GetSelfServiceRecoveryFlowExecute(r AdminApiApiGetSelfServiceRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)

* Execute executes the request * @return RecoveryFlow

func (*AdminApiService) GetSelfServiceRegistrationFlow

  • GetSelfServiceRegistrationFlow Get Registration Flow
  • This endpoint returns a registration flow's context with, for example, error details and other information.

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*AdminApiService) GetSelfServiceRegistrationFlowExecute

func (a *AdminApiService) GetSelfServiceRegistrationFlowExecute(r AdminApiApiGetSelfServiceRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)

* Execute executes the request * @return RegistrationFlow

func (*AdminApiService) 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. The public endpoint does not return 404 status codes but instead 403 or 500 to improve data privacy.

You can access this endpoint without credentials when using Ory Kratos' Admin API.

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 AdminApiApiGetSelfServiceSettingsFlowRequest

func (*AdminApiService) GetSelfServiceSettingsFlowExecute

func (a *AdminApiService) GetSelfServiceSettingsFlowExecute(r AdminApiApiGetSelfServiceSettingsFlowRequest) (*SettingsFlow, *http.Response, error)

* Execute executes the request * @return SettingsFlow

func (*AdminApiService) GetSelfServiceVerificationFlow

  • GetSelfServiceVerificationFlow Get Verification Flow
  • This endpoint returns a verification flow's context with, for example, error details and other information.

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 AdminApiApiGetSelfServiceVerificationFlowRequest

func (*AdminApiService) GetSelfServiceVerificationFlowExecute

func (a *AdminApiService) GetSelfServiceVerificationFlowExecute(r AdminApiApiGetSelfServiceVerificationFlowRequest) (*VerificationFlow, *http.Response, error)

* Execute executes the request * @return VerificationFlow

func (*AdminApiService) 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 AdminApiApiGetVersionRequest

func (*AdminApiService) GetVersionExecute

* Execute executes the request * @return InlineResponse2001

func (*AdminApiService) 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 AdminApiApiIsAliveRequest

func (*AdminApiService) IsAliveExecute

* Execute executes the request * @return InlineResponse200

func (*AdminApiService) 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 AdminApiApiIsReadyRequest

func (*AdminApiService) IsReadyExecute

* Execute executes the request * @return InlineResponse200

func (*AdminApiService) ListIdentities

  • ListIdentities 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 AdminApiApiListIdentitiesRequest

func (*AdminApiService) ListIdentitiesExecute

func (a *AdminApiService) ListIdentitiesExecute(r AdminApiApiListIdentitiesRequest) ([]Identity, *http.Response, error)

* Execute executes the request * @return []Identity

func (*AdminApiService) Prometheus

  • Prometheus Get snapshot metrics from the Hydra service. If you're using k8s, you can then add annotations to your deployment like so:
  • ```

metadata: annotations: prometheus.io/port: "4434" prometheus.io/path: "/metrics/prometheus" ```

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

func (*AdminApiService) PrometheusExecute

func (a *AdminApiService) PrometheusExecute(r AdminApiApiPrometheusRequest) (*http.Response, error)

* Execute executes the request

func (*AdminApiService) UpdateIdentity

  • UpdateIdentity Update an Identity
  • This endpoint updates an identity. It is NOT possible to set an identity's credentials (password, ...)

using this method! A way to achieve that will be introduced in the future.

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 AdminApiApiUpdateIdentityRequest

func (*AdminApiService) UpdateIdentityExecute

func (a *AdminApiService) UpdateIdentityExecute(r AdminApiApiUpdateIdentityRequest) (*Identity, *http.Response, error)

* Execute executes the request * @return Identity

type AdminCreateIdentityBody

type AdminCreateIdentityBody struct {
	// SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
	SchemaId string `json:"schema_id"`
	// 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"`
}

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

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

func (*AdminCreateIdentityBody) SetSchemaId

func (o *AdminCreateIdentityBody) SetSchemaId(v string)

SetSchemaId sets field value

func (*AdminCreateIdentityBody) SetTraits

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

SetTraits sets field value

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 AdminUpdateIdentityBody

type AdminUpdateIdentityBody struct {
	// 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,omitempty"`
	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(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) GetSchemaId

func (o *AdminUpdateIdentityBody) GetSchemaId() string

GetSchemaId returns the SchemaId field value if set, zero value otherwise.

func (*AdminUpdateIdentityBody) GetSchemaIdOk

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

GetSchemaIdOk returns a tuple with the SchemaId field value if set, nil otherwise 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) HasSchemaId

func (o *AdminUpdateIdentityBody) HasSchemaId() bool

HasSchemaId returns a boolean if a field has been set.

func (AdminUpdateIdentityBody) MarshalJSON

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

func (*AdminUpdateIdentityBody) SetSchemaId

func (o *AdminUpdateIdentityBody) SetSchemaId(v string)

SetSchemaId gets a reference to the given string and assigns it to the SchemaId field.

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 AuthenticateOKBody

type AuthenticateOKBody struct {
	// An opaque token used to authenticate a user after a successful login
	IdentityToken string `json:"IdentityToken"`
	// The status of the authentication
	Status string `json:"Status"`
}

AuthenticateOKBody AuthenticateOKBody authenticate o k body

func NewAuthenticateOKBody

func NewAuthenticateOKBody(identityToken string, status string) *AuthenticateOKBody

NewAuthenticateOKBody instantiates a new AuthenticateOKBody 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 NewAuthenticateOKBodyWithDefaults

func NewAuthenticateOKBodyWithDefaults() *AuthenticateOKBody

NewAuthenticateOKBodyWithDefaults instantiates a new AuthenticateOKBody 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 (*AuthenticateOKBody) GetIdentityToken

func (o *AuthenticateOKBody) GetIdentityToken() string

GetIdentityToken returns the IdentityToken field value

func (*AuthenticateOKBody) GetIdentityTokenOk

func (o *AuthenticateOKBody) GetIdentityTokenOk() (*string, bool)

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

func (*AuthenticateOKBody) GetStatus

func (o *AuthenticateOKBody) GetStatus() string

GetStatus returns the Status field value

func (*AuthenticateOKBody) GetStatusOk

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

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

func (AuthenticateOKBody) MarshalJSON

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

func (*AuthenticateOKBody) SetIdentityToken

func (o *AuthenticateOKBody) SetIdentityToken(v string)

SetIdentityToken sets field value

func (*AuthenticateOKBody) SetStatus

func (o *AuthenticateOKBody) SetStatus(v string)

SetStatus sets field value

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 ContainerChangeResponseItem

type ContainerChangeResponseItem struct {
	// Kind of change
	Kind int32 `json:"Kind"`
	// Path to file that has changed
	Path string `json:"Path"`
}

ContainerChangeResponseItem ContainerChangeResponseItem change item in response to ContainerChanges operation

func NewContainerChangeResponseItem

func NewContainerChangeResponseItem(kind int32, path string) *ContainerChangeResponseItem

NewContainerChangeResponseItem instantiates a new ContainerChangeResponseItem 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 NewContainerChangeResponseItemWithDefaults

func NewContainerChangeResponseItemWithDefaults() *ContainerChangeResponseItem

NewContainerChangeResponseItemWithDefaults instantiates a new ContainerChangeResponseItem 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 (*ContainerChangeResponseItem) GetKind

func (o *ContainerChangeResponseItem) GetKind() int32

GetKind returns the Kind field value

func (*ContainerChangeResponseItem) GetKindOk

func (o *ContainerChangeResponseItem) GetKindOk() (*int32, bool)

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

func (*ContainerChangeResponseItem) GetPath

func (o *ContainerChangeResponseItem) GetPath() string

GetPath returns the Path field value

func (*ContainerChangeResponseItem) GetPathOk

func (o *ContainerChangeResponseItem) GetPathOk() (*string, bool)

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

func (ContainerChangeResponseItem) MarshalJSON

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

func (*ContainerChangeResponseItem) SetKind

func (o *ContainerChangeResponseItem) SetKind(v int32)

SetKind sets field value

func (*ContainerChangeResponseItem) SetPath

func (o *ContainerChangeResponseItem) SetPath(v string)

SetPath sets field value

type ContainerCreateCreatedBody

type ContainerCreateCreatedBody struct {
	// The ID of the created container
	Id string `json:"Id"`
	// Warnings encountered when creating the container
	Warnings []string `json:"Warnings"`
}

ContainerCreateCreatedBody ContainerCreateCreatedBody OK response to ContainerCreate operation

func NewContainerCreateCreatedBody

func NewContainerCreateCreatedBody(id string, warnings []string) *ContainerCreateCreatedBody

NewContainerCreateCreatedBody instantiates a new ContainerCreateCreatedBody 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 NewContainerCreateCreatedBodyWithDefaults

func NewContainerCreateCreatedBodyWithDefaults() *ContainerCreateCreatedBody

NewContainerCreateCreatedBodyWithDefaults instantiates a new ContainerCreateCreatedBody 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 (*ContainerCreateCreatedBody) GetId

GetId returns the Id field value

func (*ContainerCreateCreatedBody) GetIdOk

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

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

func (*ContainerCreateCreatedBody) GetWarnings

func (o *ContainerCreateCreatedBody) GetWarnings() []string

GetWarnings returns the Warnings field value

func (*ContainerCreateCreatedBody) GetWarningsOk

func (o *ContainerCreateCreatedBody) GetWarningsOk() ([]string, bool)

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

func (ContainerCreateCreatedBody) MarshalJSON

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

func (*ContainerCreateCreatedBody) SetId

func (o *ContainerCreateCreatedBody) SetId(v string)

SetId sets field value

func (*ContainerCreateCreatedBody) SetWarnings

func (o *ContainerCreateCreatedBody) SetWarnings(v []string)

SetWarnings sets field value

type ContainerTopOKBody

type ContainerTopOKBody struct {
	// Each process running in the container, where each is process is an array of values corresponding to the titles
	Processes [][]string `json:"Processes"`
	// The ps column titles
	Titles []string `json:"Titles"`
}

ContainerTopOKBody ContainerTopOKBody OK response to ContainerTop operation

func NewContainerTopOKBody

func NewContainerTopOKBody(processes [][]string, titles []string) *ContainerTopOKBody

NewContainerTopOKBody instantiates a new ContainerTopOKBody 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 NewContainerTopOKBodyWithDefaults

func NewContainerTopOKBodyWithDefaults() *ContainerTopOKBody

NewContainerTopOKBodyWithDefaults instantiates a new ContainerTopOKBody 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 (*ContainerTopOKBody) GetProcesses

func (o *ContainerTopOKBody) GetProcesses() [][]string

GetProcesses returns the Processes field value

func (*ContainerTopOKBody) GetProcessesOk

func (o *ContainerTopOKBody) GetProcessesOk() ([][]string, bool)

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

func (*ContainerTopOKBody) GetTitles

func (o *ContainerTopOKBody) GetTitles() []string

GetTitles returns the Titles field value

func (*ContainerTopOKBody) GetTitlesOk

func (o *ContainerTopOKBody) GetTitlesOk() ([]string, bool)

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

func (ContainerTopOKBody) MarshalJSON

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

func (*ContainerTopOKBody) SetProcesses

func (o *ContainerTopOKBody) SetProcesses(v [][]string)

SetProcesses sets field value

func (*ContainerTopOKBody) SetTitles

func (o *ContainerTopOKBody) SetTitles(v []string)

SetTitles sets field value

type ContainerUpdateOKBody

type ContainerUpdateOKBody struct {
	// warnings
	Warnings []string `json:"Warnings"`
}

ContainerUpdateOKBody ContainerUpdateOKBody OK response to ContainerUpdate operation

func NewContainerUpdateOKBody

func NewContainerUpdateOKBody(warnings []string) *ContainerUpdateOKBody

NewContainerUpdateOKBody instantiates a new ContainerUpdateOKBody 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 NewContainerUpdateOKBodyWithDefaults

func NewContainerUpdateOKBodyWithDefaults() *ContainerUpdateOKBody

NewContainerUpdateOKBodyWithDefaults instantiates a new ContainerUpdateOKBody 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 (*ContainerUpdateOKBody) GetWarnings

func (o *ContainerUpdateOKBody) GetWarnings() []string

GetWarnings returns the Warnings field value

func (*ContainerUpdateOKBody) GetWarningsOk

func (o *ContainerUpdateOKBody) GetWarningsOk() ([]string, bool)

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

func (ContainerUpdateOKBody) MarshalJSON

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

func (*ContainerUpdateOKBody) SetWarnings

func (o *ContainerUpdateOKBody) SetWarnings(v []string)

SetWarnings sets field value

type ContainerWaitOKBody

type ContainerWaitOKBody struct {
	Error ContainerWaitOKBodyError `json:"Error"`
	// Exit code of the container
	StatusCode int64 `json:"StatusCode"`
}

ContainerWaitOKBody ContainerWaitOKBody OK response to ContainerWait operation

func NewContainerWaitOKBody

func NewContainerWaitOKBody(error_ ContainerWaitOKBodyError, statusCode int64) *ContainerWaitOKBody

NewContainerWaitOKBody instantiates a new ContainerWaitOKBody 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 NewContainerWaitOKBodyWithDefaults

func NewContainerWaitOKBodyWithDefaults() *ContainerWaitOKBody

NewContainerWaitOKBodyWithDefaults instantiates a new ContainerWaitOKBody 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 (*ContainerWaitOKBody) GetError

GetError returns the Error field value

func (*ContainerWaitOKBody) GetErrorOk

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

func (*ContainerWaitOKBody) GetStatusCode

func (o *ContainerWaitOKBody) GetStatusCode() int64

GetStatusCode returns the StatusCode field value

func (*ContainerWaitOKBody) GetStatusCodeOk

func (o *ContainerWaitOKBody) GetStatusCodeOk() (*int64, bool)

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

func (ContainerWaitOKBody) MarshalJSON

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

func (*ContainerWaitOKBody) SetError

SetError sets field value

func (*ContainerWaitOKBody) SetStatusCode

func (o *ContainerWaitOKBody) SetStatusCode(v int64)

SetStatusCode sets field value

type ContainerWaitOKBodyError

type ContainerWaitOKBodyError struct {
	// Details of an error
	Message *string `json:"Message,omitempty"`
}

ContainerWaitOKBodyError ContainerWaitOKBodyError container waiting error, if any

func NewContainerWaitOKBodyError

func NewContainerWaitOKBodyError() *ContainerWaitOKBodyError

NewContainerWaitOKBodyError instantiates a new ContainerWaitOKBodyError 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 NewContainerWaitOKBodyErrorWithDefaults

func NewContainerWaitOKBodyErrorWithDefaults() *ContainerWaitOKBodyError

NewContainerWaitOKBodyErrorWithDefaults instantiates a new ContainerWaitOKBodyError 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 (*ContainerWaitOKBodyError) GetMessage

func (o *ContainerWaitOKBodyError) GetMessage() string

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

func (*ContainerWaitOKBodyError) GetMessageOk

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

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

func (*ContainerWaitOKBodyError) HasMessage

func (o *ContainerWaitOKBodyError) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (ContainerWaitOKBodyError) MarshalJSON

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

func (*ContainerWaitOKBodyError) SetMessage

func (o *ContainerWaitOKBodyError) SetMessage(v string)

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

type CreateIdentity

type CreateIdentity struct {
	// SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.
	SchemaId string `json:"schema_id"`
	// 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"`
}

CreateIdentity struct for CreateIdentity

func NewCreateIdentity

func NewCreateIdentity(schemaId string, traits map[string]interface{}) *CreateIdentity

NewCreateIdentity instantiates a new CreateIdentity 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 NewCreateIdentityWithDefaults

func NewCreateIdentityWithDefaults() *CreateIdentity

NewCreateIdentityWithDefaults instantiates a new CreateIdentity 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 (*CreateIdentity) GetSchemaId

func (o *CreateIdentity) GetSchemaId() string

GetSchemaId returns the SchemaId field value

func (*CreateIdentity) GetSchemaIdOk

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

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

func (*CreateIdentity) GetTraits

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

GetTraits returns the Traits field value

func (*CreateIdentity) GetTraitsOk

func (o *CreateIdentity) 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 (CreateIdentity) MarshalJSON

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

func (*CreateIdentity) SetSchemaId

func (o *CreateIdentity) SetSchemaId(v string)

SetSchemaId sets field value

func (*CreateIdentity) SetTraits

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

SetTraits sets field value

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

CreateRecoveryLink struct for CreateRecoveryLink

func NewCreateRecoveryLink(identityId string) *CreateRecoveryLink

NewCreateRecoveryLink instantiates a new CreateRecoveryLink 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 NewCreateRecoveryLinkWithDefaults

func NewCreateRecoveryLinkWithDefaults() *CreateRecoveryLink

NewCreateRecoveryLinkWithDefaults instantiates a new CreateRecoveryLink 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 (*CreateRecoveryLink) GetExpiresIn

func (o *CreateRecoveryLink) GetExpiresIn() string

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

func (*CreateRecoveryLink) GetExpiresInOk

func (o *CreateRecoveryLink) 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 (*CreateRecoveryLink) GetIdentityId

func (o *CreateRecoveryLink) GetIdentityId() string

GetIdentityId returns the IdentityId field value

func (*CreateRecoveryLink) GetIdentityIdOk

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

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

func (*CreateRecoveryLink) HasExpiresIn

func (o *CreateRecoveryLink) HasExpiresIn() bool

HasExpiresIn returns a boolean if a field has been set.

func (CreateRecoveryLink) MarshalJSON

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

func (*CreateRecoveryLink) SetExpiresIn

func (o *CreateRecoveryLink) SetExpiresIn(v string)

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

func (*CreateRecoveryLink) SetIdentityId

func (o *CreateRecoveryLink) SetIdentityId(v string)

SetIdentityId sets field value

type ErrorContainer

type ErrorContainer struct {
	// Errors in the container
	Errors []map[string]interface{} `json:"errors"`
	Id     string                   `json:"id"`
}

ErrorContainer struct for ErrorContainer

func NewErrorContainer

func NewErrorContainer(errors []map[string]interface{}, id string) *ErrorContainer

NewErrorContainer instantiates a new ErrorContainer 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 NewErrorContainerWithDefaults

func NewErrorContainerWithDefaults() *ErrorContainer

NewErrorContainerWithDefaults instantiates a new ErrorContainer 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 (*ErrorContainer) GetErrors

func (o *ErrorContainer) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value

func (*ErrorContainer) GetErrorsOk

func (o *ErrorContainer) GetErrorsOk() ([]map[string]interface{}, bool)

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

func (*ErrorContainer) GetId

func (o *ErrorContainer) GetId() string

GetId returns the Id field value

func (*ErrorContainer) GetIdOk

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

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

func (ErrorContainer) MarshalJSON

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

func (*ErrorContainer) SetErrors

func (o *ErrorContainer) SetErrors(v []map[string]interface{})

SetErrors sets field value

func (*ErrorContainer) SetId

func (o *ErrorContainer) SetId(v string)

SetId sets field value

type ErrorResponse

type ErrorResponse struct {
	// The error message.
	Message string `json:"message"`
}

ErrorResponse struct for ErrorResponse

func NewErrorResponse

func NewErrorResponse(message string) *ErrorResponse

NewErrorResponse instantiates a new ErrorResponse 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 NewErrorResponseWithDefaults

func NewErrorResponseWithDefaults() *ErrorResponse

NewErrorResponseWithDefaults instantiates a new ErrorResponse 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 (*ErrorResponse) GetMessage

func (o *ErrorResponse) GetMessage() string

GetMessage returns the Message field value

func (*ErrorResponse) GetMessageOk

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

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

func (ErrorResponse) MarshalJSON

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

func (*ErrorResponse) SetMessage

func (o *ErrorResponse) SetMessage(v string)

SetMessage sets field value

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

type GenericErrorPayload struct {
	// Code represents the error status code (404, 403, 401, ...).
	Code *int64 `json:"code,omitempty"`
	// Debug contains debug information. This is usually not available and has to be enabled.
	Debug   *string                           `json:"debug,omitempty"`
	Details map[string]map[string]interface{} `json:"details,omitempty"`
	Message *string                           `json:"message,omitempty"`
	Reason  *string                           `json:"reason,omitempty"`
	Request *string                           `json:"request,omitempty"`
	Status  *string                           `json:"status,omitempty"`
}

GenericErrorPayload struct for GenericErrorPayload

func NewGenericErrorPayload

func NewGenericErrorPayload() *GenericErrorPayload

NewGenericErrorPayload instantiates a new GenericErrorPayload 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 NewGenericErrorPayloadWithDefaults

func NewGenericErrorPayloadWithDefaults() *GenericErrorPayload

NewGenericErrorPayloadWithDefaults instantiates a new GenericErrorPayload 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 (*GenericErrorPayload) GetCode

func (o *GenericErrorPayload) GetCode() int64

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

func (*GenericErrorPayload) GetCodeOk

func (o *GenericErrorPayload) 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 (*GenericErrorPayload) GetDebug

func (o *GenericErrorPayload) GetDebug() string

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

func (*GenericErrorPayload) GetDebugOk

func (o *GenericErrorPayload) 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 (*GenericErrorPayload) GetDetails

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

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

func (*GenericErrorPayload) GetDetailsOk

func (o *GenericErrorPayload) 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 (*GenericErrorPayload) GetMessage

func (o *GenericErrorPayload) GetMessage() string

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

func (*GenericErrorPayload) GetMessageOk

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

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

func (*GenericErrorPayload) GetReason

func (o *GenericErrorPayload) GetReason() string

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

func (*GenericErrorPayload) GetReasonOk

func (o *GenericErrorPayload) 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 (*GenericErrorPayload) GetRequest

func (o *GenericErrorPayload) GetRequest() string

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

func (*GenericErrorPayload) GetRequestOk

func (o *GenericErrorPayload) 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 (*GenericErrorPayload) GetStatus

func (o *GenericErrorPayload) GetStatus() string

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

func (*GenericErrorPayload) GetStatusOk

func (o *GenericErrorPayload) 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 (*GenericErrorPayload) HasCode

func (o *GenericErrorPayload) HasCode() bool

HasCode returns a boolean if a field has been set.

func (*GenericErrorPayload) HasDebug

func (o *GenericErrorPayload) HasDebug() bool

HasDebug returns a boolean if a field has been set.

func (*GenericErrorPayload) HasDetails

func (o *GenericErrorPayload) HasDetails() bool

HasDetails returns a boolean if a field has been set.

func (*GenericErrorPayload) HasMessage

func (o *GenericErrorPayload) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*GenericErrorPayload) HasReason

func (o *GenericErrorPayload) HasReason() bool

HasReason returns a boolean if a field has been set.

func (*GenericErrorPayload) HasRequest

func (o *GenericErrorPayload) HasRequest() bool

HasRequest returns a boolean if a field has been set.

func (*GenericErrorPayload) HasStatus

func (o *GenericErrorPayload) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (GenericErrorPayload) MarshalJSON

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

func (*GenericErrorPayload) SetCode

func (o *GenericErrorPayload) SetCode(v int64)

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

func (*GenericErrorPayload) SetDebug

func (o *GenericErrorPayload) SetDebug(v string)

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

func (*GenericErrorPayload) SetDetails

func (o *GenericErrorPayload) 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 (*GenericErrorPayload) SetMessage

func (o *GenericErrorPayload) SetMessage(v string)

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

func (*GenericErrorPayload) SetReason

func (o *GenericErrorPayload) SetReason(v string)

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

func (*GenericErrorPayload) SetRequest

func (o *GenericErrorPayload) SetRequest(v string)

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

func (*GenericErrorPayload) SetStatus

func (o *GenericErrorPayload) 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 GraphDriverData

type GraphDriverData struct {
	// data
	Data map[string]string `json:"Data"`
	// name
	Name string `json:"Name"`
}

GraphDriverData struct for GraphDriverData

func NewGraphDriverData

func NewGraphDriverData(data map[string]string, name string) *GraphDriverData

NewGraphDriverData instantiates a new GraphDriverData 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 NewGraphDriverDataWithDefaults

func NewGraphDriverDataWithDefaults() *GraphDriverData

NewGraphDriverDataWithDefaults instantiates a new GraphDriverData 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 (*GraphDriverData) GetData

func (o *GraphDriverData) GetData() map[string]string

GetData returns the Data field value

func (*GraphDriverData) GetDataOk

func (o *GraphDriverData) GetDataOk() (*map[string]string, bool)

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

func (*GraphDriverData) GetName

func (o *GraphDriverData) GetName() string

GetName returns the Name field value

func (*GraphDriverData) GetNameOk

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

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

func (GraphDriverData) MarshalJSON

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

func (*GraphDriverData) SetData

func (o *GraphDriverData) SetData(v map[string]string)

SetData sets field value

func (*GraphDriverData) SetName

func (o *GraphDriverData) SetName(v string)

SetName sets field value

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 IdResponse

type IdResponse struct {
	// The id of the newly created object.
	Id string `json:"Id"`
}

IdResponse IDResponse Response to an API call that returns just an Id

func NewIdResponse

func NewIdResponse(id string) *IdResponse

NewIdResponse instantiates a new IdResponse 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 NewIdResponseWithDefaults

func NewIdResponseWithDefaults() *IdResponse

NewIdResponseWithDefaults instantiates a new IdResponse 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 (*IdResponse) GetId

func (o *IdResponse) GetId() string

GetId returns the Id field value

func (*IdResponse) GetIdOk

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

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

func (IdResponse) MarshalJSON

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

func (*IdResponse) SetId

func (o *IdResponse) SetId(v string)

SetId sets field value

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"`
	// 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) 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) 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) 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"`
	// and so on.
	Type *string `json:"type,omitempty"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,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

func (o *IdentityCredentials) GetType() string

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

func (*IdentityCredentials) GetTypeOk

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

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

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

func (o *IdentityCredentials) SetType(v string)

SetType gets a reference to the given string 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.

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 ImageDeleteResponseItem

type ImageDeleteResponseItem struct {
	// The image ID of an image that was deleted
	Deleted *string `json:"Deleted,omitempty"`
	// The image ID of an image that was untagged
	Untagged *string `json:"Untagged,omitempty"`
}

ImageDeleteResponseItem ImageDeleteResponseItem image delete response item

func NewImageDeleteResponseItem

func NewImageDeleteResponseItem() *ImageDeleteResponseItem

NewImageDeleteResponseItem instantiates a new ImageDeleteResponseItem 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 NewImageDeleteResponseItemWithDefaults

func NewImageDeleteResponseItemWithDefaults() *ImageDeleteResponseItem

NewImageDeleteResponseItemWithDefaults instantiates a new ImageDeleteResponseItem 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 (*ImageDeleteResponseItem) GetDeleted

func (o *ImageDeleteResponseItem) GetDeleted() string

GetDeleted returns the Deleted field value if set, zero value otherwise.

func (*ImageDeleteResponseItem) GetDeletedOk

func (o *ImageDeleteResponseItem) GetDeletedOk() (*string, bool)

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

func (*ImageDeleteResponseItem) GetUntagged

func (o *ImageDeleteResponseItem) GetUntagged() string

GetUntagged returns the Untagged field value if set, zero value otherwise.

func (*ImageDeleteResponseItem) GetUntaggedOk

func (o *ImageDeleteResponseItem) GetUntaggedOk() (*string, bool)

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

func (*ImageDeleteResponseItem) HasDeleted

func (o *ImageDeleteResponseItem) HasDeleted() bool

HasDeleted returns a boolean if a field has been set.

func (*ImageDeleteResponseItem) HasUntagged

func (o *ImageDeleteResponseItem) HasUntagged() bool

HasUntagged returns a boolean if a field has been set.

func (ImageDeleteResponseItem) MarshalJSON

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

func (*ImageDeleteResponseItem) SetDeleted

func (o *ImageDeleteResponseItem) SetDeleted(v string)

SetDeleted gets a reference to the given string and assigns it to the Deleted field.

func (*ImageDeleteResponseItem) SetUntagged

func (o *ImageDeleteResponseItem) SetUntagged(v string)

SetUntagged gets a reference to the given string and assigns it to the Untagged field.

type ImageSummary

type ImageSummary struct {
	// containers
	Containers int64 `json:"Containers"`
	// created
	Created int64 `json:"Created"`
	// Id
	Id string `json:"Id"`
	// labels
	Labels map[string]string `json:"Labels"`
	// parent Id
	ParentId string `json:"ParentId"`
	// repo digests
	RepoDigests []string `json:"RepoDigests"`
	// repo tags
	RepoTags []string `json:"RepoTags"`
	// shared size
	SharedSize int64 `json:"SharedSize"`
	// size
	Size int64 `json:"Size"`
	// virtual size
	VirtualSize int64 `json:"VirtualSize"`
}

ImageSummary ImageSummary image summary

func NewImageSummary

func NewImageSummary(containers int64, created int64, id string, labels map[string]string, parentId string, repoDigests []string, repoTags []string, sharedSize int64, size int64, virtualSize int64) *ImageSummary

NewImageSummary instantiates a new ImageSummary 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 NewImageSummaryWithDefaults

func NewImageSummaryWithDefaults() *ImageSummary

NewImageSummaryWithDefaults instantiates a new ImageSummary 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 (*ImageSummary) GetContainers

func (o *ImageSummary) GetContainers() int64

GetContainers returns the Containers field value

func (*ImageSummary) GetContainersOk

func (o *ImageSummary) GetContainersOk() (*int64, bool)

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

func (*ImageSummary) GetCreated

func (o *ImageSummary) GetCreated() int64

GetCreated returns the Created field value

func (*ImageSummary) GetCreatedOk

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

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

func (*ImageSummary) GetId

func (o *ImageSummary) GetId() string

GetId returns the Id field value

func (*ImageSummary) GetIdOk

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

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

func (*ImageSummary) GetLabels

func (o *ImageSummary) GetLabels() map[string]string

GetLabels returns the Labels field value

func (*ImageSummary) GetLabelsOk

func (o *ImageSummary) GetLabelsOk() (*map[string]string, bool)

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

func (*ImageSummary) GetParentId

func (o *ImageSummary) GetParentId() string

GetParentId returns the ParentId field value

func (*ImageSummary) GetParentIdOk

func (o *ImageSummary) GetParentIdOk() (*string, bool)

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

func (*ImageSummary) GetRepoDigests

func (o *ImageSummary) GetRepoDigests() []string

GetRepoDigests returns the RepoDigests field value

func (*ImageSummary) GetRepoDigestsOk

func (o *ImageSummary) GetRepoDigestsOk() ([]string, bool)

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

func (*ImageSummary) GetRepoTags

func (o *ImageSummary) GetRepoTags() []string

GetRepoTags returns the RepoTags field value

func (*ImageSummary) GetRepoTagsOk

func (o *ImageSummary) GetRepoTagsOk() ([]string, bool)

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

func (*ImageSummary) GetSharedSize

func (o *ImageSummary) GetSharedSize() int64

GetSharedSize returns the SharedSize field value

func (*ImageSummary) GetSharedSizeOk

func (o *ImageSummary) GetSharedSizeOk() (*int64, bool)

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

func (*ImageSummary) GetSize

func (o *ImageSummary) GetSize() int64

GetSize returns the Size field value

func (*ImageSummary) GetSizeOk

func (o *ImageSummary) GetSizeOk() (*int64, bool)

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

func (*ImageSummary) GetVirtualSize

func (o *ImageSummary) GetVirtualSize() int64

GetVirtualSize returns the VirtualSize field value

func (*ImageSummary) GetVirtualSizeOk

func (o *ImageSummary) GetVirtualSizeOk() (*int64, bool)

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

func (ImageSummary) MarshalJSON

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

func (*ImageSummary) SetContainers

func (o *ImageSummary) SetContainers(v int64)

SetContainers sets field value

func (*ImageSummary) SetCreated

func (o *ImageSummary) SetCreated(v int64)

SetCreated sets field value

func (*ImageSummary) SetId

func (o *ImageSummary) SetId(v string)

SetId sets field value

func (*ImageSummary) SetLabels

func (o *ImageSummary) SetLabels(v map[string]string)

SetLabels sets field value

func (*ImageSummary) SetParentId

func (o *ImageSummary) SetParentId(v string)

SetParentId sets field value

func (*ImageSummary) SetRepoDigests

func (o *ImageSummary) SetRepoDigests(v []string)

SetRepoDigests sets field value

func (*ImageSummary) SetRepoTags

func (o *ImageSummary) SetRepoTags(v []string)

SetRepoTags sets field value

func (*ImageSummary) SetSharedSize

func (o *ImageSummary) SetSharedSize(v int64)

SetSharedSize sets field value

func (*ImageSummary) SetSize

func (o *ImageSummary) SetSize(v int64)

SetSize sets field value

func (*ImageSummary) SetVirtualSize

func (o *ImageSummary) SetVirtualSize(v int64)

SetVirtualSize sets field value

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

type LoginFlow struct {
	// and so on.
	Active *string `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"`
	// Forced stores whether this login flow should enforce re-authentication.
	Forced *bool  `json:"forced,omitempty"`
	Id     string `json:"id"`
	// IssuedAt is the time (UTC) when the flow started.
	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"`
	// 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"`
}

LoginFlow 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 NewLoginFlow added in v0.11.0

func NewLoginFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, type_ string, ui UiContainer) *LoginFlow

NewLoginFlow instantiates a new LoginFlow 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 NewLoginFlowWithDefaults added in v0.11.0

func NewLoginFlowWithDefaults() *LoginFlow

NewLoginFlowWithDefaults instantiates a new LoginFlow 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 (*LoginFlow) GetActive added in v0.11.0

func (o *LoginFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*LoginFlow) GetActiveOk added in v0.11.0

func (o *LoginFlow) 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 (*LoginFlow) GetCreatedAt added in v0.11.0

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

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

func (*LoginFlow) GetCreatedAtOk added in v0.11.0

func (o *LoginFlow) 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 (*LoginFlow) GetExpiresAt added in v0.11.0

func (o *LoginFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*LoginFlow) GetExpiresAtOk added in v0.11.0

func (o *LoginFlow) 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 (*LoginFlow) GetForced

func (o *LoginFlow) GetForced() bool

GetForced returns the Forced field value if set, zero value otherwise.

func (*LoginFlow) GetForcedOk

func (o *LoginFlow) GetForcedOk() (*bool, bool)

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

func (*LoginFlow) GetId added in v0.11.0

func (o *LoginFlow) GetId() string

GetId returns the Id field value

func (*LoginFlow) GetIdOk added in v0.11.0

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

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

func (*LoginFlow) GetIssuedAt added in v0.11.0

func (o *LoginFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*LoginFlow) GetIssuedAtOk added in v0.11.0

func (o *LoginFlow) 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 (*LoginFlow) GetRequestUrl added in v0.11.0

func (o *LoginFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*LoginFlow) GetRequestUrlOk added in v0.11.0

func (o *LoginFlow) GetRequestUrlOk() (*string, bool)

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

func (*LoginFlow) GetType added in v0.11.0

func (o *LoginFlow) GetType() string

GetType returns the Type field value

func (*LoginFlow) GetTypeOk added in v0.11.0

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

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

func (*LoginFlow) GetUi added in v0.11.0

func (o *LoginFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*LoginFlow) GetUiOk added in v0.11.0

func (o *LoginFlow) GetUiOk() (*UiContainer, bool)

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

func (*LoginFlow) GetUpdatedAt added in v0.11.0

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

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

func (*LoginFlow) GetUpdatedAtOk added in v0.11.0

func (o *LoginFlow) 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 (*LoginFlow) HasActive added in v0.11.0

func (o *LoginFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*LoginFlow) HasCreatedAt added in v0.11.0

func (o *LoginFlow) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*LoginFlow) HasForced

func (o *LoginFlow) HasForced() bool

HasForced returns a boolean if a field has been set.

func (*LoginFlow) HasUpdatedAt added in v0.11.0

func (o *LoginFlow) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (LoginFlow) MarshalJSON added in v0.11.0

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

func (*LoginFlow) SetActive added in v0.11.0

func (o *LoginFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*LoginFlow) SetCreatedAt added in v0.11.0

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

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

func (*LoginFlow) SetExpiresAt added in v0.11.0

func (o *LoginFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*LoginFlow) SetForced

func (o *LoginFlow) SetForced(v bool)

SetForced gets a reference to the given bool and assigns it to the Forced field.

func (*LoginFlow) SetId added in v0.11.0

func (o *LoginFlow) SetId(v string)

SetId sets field value

func (*LoginFlow) SetIssuedAt added in v0.11.0

func (o *LoginFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*LoginFlow) SetRequestUrl added in v0.11.0

func (o *LoginFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*LoginFlow) SetType added in v0.11.0

func (o *LoginFlow) SetType(v string)

SetType sets field value

func (*LoginFlow) SetUi added in v0.11.0

func (o *LoginFlow) SetUi(v UiContainer)

SetUi sets field value

func (*LoginFlow) SetUpdatedAt added in v0.11.0

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

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

type LoginViaApiResponse

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

LoginViaApiResponse The Response for Login Flows via API

func NewLoginViaApiResponse

func NewLoginViaApiResponse(session Session, sessionToken string) *LoginViaApiResponse

NewLoginViaApiResponse instantiates a new LoginViaApiResponse 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 NewLoginViaApiResponseWithDefaults

func NewLoginViaApiResponseWithDefaults() *LoginViaApiResponse

NewLoginViaApiResponseWithDefaults instantiates a new LoginViaApiResponse 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 (*LoginViaApiResponse) GetSession

func (o *LoginViaApiResponse) GetSession() Session

GetSession returns the Session field value

func (*LoginViaApiResponse) GetSessionOk

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

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

func (*LoginViaApiResponse) GetSessionToken

func (o *LoginViaApiResponse) GetSessionToken() string

GetSessionToken returns the SessionToken field value

func (*LoginViaApiResponse) GetSessionTokenOk

func (o *LoginViaApiResponse) GetSessionTokenOk() (*string, bool)

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

func (LoginViaApiResponse) MarshalJSON

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

func (*LoginViaApiResponse) SetSession

func (o *LoginViaApiResponse) SetSession(v Session)

SetSession sets field value

func (*LoginViaApiResponse) SetSessionToken

func (o *LoginViaApiResponse) SetSessionToken(v string)

SetSessionToken sets field value

type Meta

type Meta struct {
	Label *UiText `json:"label,omitempty"`
}

Meta This might include a label and other information that can optionally be used to render UIs.

func NewMeta

func NewMeta() *Meta

NewMeta instantiates a new Meta 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 NewMetaWithDefaults

func NewMetaWithDefaults() *Meta

NewMetaWithDefaults instantiates a new Meta 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 (*Meta) GetLabel

func (o *Meta) GetLabel() UiText

GetLabel returns the Label field value if set, zero value otherwise.

func (*Meta) GetLabelOk

func (o *Meta) 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 (*Meta) HasLabel

func (o *Meta) HasLabel() bool

HasLabel returns a boolean if a field has been set.

func (Meta) MarshalJSON

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

func (*Meta) SetLabel

func (o *Meta) SetLabel(v UiText)

SetLabel gets a reference to the given UiText and assigns it to the Label field.

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)

	/*
		 * Prometheus Get snapshot metrics from the service. If you're using k8s, you can then add annotations to your deployment like so:
		 * “`
	metadata:
	annotations:
	prometheus.io/port: "4434"
	prometheus.io/path: "/metrics/prometheus"
	“`
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return MetadataApiApiPrometheusRequest
	*/
	Prometheus(ctx context.Context) MetadataApiApiPrometheusRequest

	/*
	 * PrometheusExecute executes the request
	 */
	PrometheusExecute(r MetadataApiApiPrometheusRequest) (*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 MetadataApiApiPrometheusRequest

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

func (MetadataApiApiPrometheusRequest) 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

func (*MetadataApiService) Prometheus

  • Prometheus Get snapshot metrics from the service. If you're using k8s, you can then add annotations to your deployment like so:
  • ```

metadata: annotations: prometheus.io/port: "4434" prometheus.io/path: "/metrics/prometheus" ```

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

func (*MetadataApiService) PrometheusExecute

* Execute executes the request

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

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

func NewNullableAuthenticateOKBody

func NewNullableAuthenticateOKBody(val *AuthenticateOKBody) *NullableAuthenticateOKBody

func (NullableAuthenticateOKBody) Get

func (NullableAuthenticateOKBody) IsSet

func (v NullableAuthenticateOKBody) IsSet() bool

func (NullableAuthenticateOKBody) MarshalJSON

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

func (*NullableAuthenticateOKBody) Set

func (*NullableAuthenticateOKBody) UnmarshalJSON

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

func (*NullableAuthenticateOKBody) Unset

func (v *NullableAuthenticateOKBody) 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 NullableContainerChangeResponseItem

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

func (NullableContainerChangeResponseItem) Get

func (NullableContainerChangeResponseItem) IsSet

func (NullableContainerChangeResponseItem) MarshalJSON

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

func (*NullableContainerChangeResponseItem) Set

func (*NullableContainerChangeResponseItem) UnmarshalJSON

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

func (*NullableContainerChangeResponseItem) Unset

type NullableContainerCreateCreatedBody

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

func (NullableContainerCreateCreatedBody) Get

func (NullableContainerCreateCreatedBody) IsSet

func (NullableContainerCreateCreatedBody) MarshalJSON

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

func (*NullableContainerCreateCreatedBody) Set

func (*NullableContainerCreateCreatedBody) UnmarshalJSON

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

func (*NullableContainerCreateCreatedBody) Unset

type NullableContainerTopOKBody

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

func NewNullableContainerTopOKBody

func NewNullableContainerTopOKBody(val *ContainerTopOKBody) *NullableContainerTopOKBody

func (NullableContainerTopOKBody) Get

func (NullableContainerTopOKBody) IsSet

func (v NullableContainerTopOKBody) IsSet() bool

func (NullableContainerTopOKBody) MarshalJSON

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

func (*NullableContainerTopOKBody) Set

func (*NullableContainerTopOKBody) UnmarshalJSON

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

func (*NullableContainerTopOKBody) Unset

func (v *NullableContainerTopOKBody) Unset()

type NullableContainerUpdateOKBody

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

func (NullableContainerUpdateOKBody) Get

func (NullableContainerUpdateOKBody) IsSet

func (NullableContainerUpdateOKBody) MarshalJSON

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

func (*NullableContainerUpdateOKBody) Set

func (*NullableContainerUpdateOKBody) UnmarshalJSON

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

func (*NullableContainerUpdateOKBody) Unset

func (v *NullableContainerUpdateOKBody) Unset()

type NullableContainerWaitOKBody

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

func NewNullableContainerWaitOKBody

func NewNullableContainerWaitOKBody(val *ContainerWaitOKBody) *NullableContainerWaitOKBody

func (NullableContainerWaitOKBody) Get

func (NullableContainerWaitOKBody) IsSet

func (NullableContainerWaitOKBody) MarshalJSON

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

func (*NullableContainerWaitOKBody) Set

func (*NullableContainerWaitOKBody) UnmarshalJSON

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

func (*NullableContainerWaitOKBody) Unset

func (v *NullableContainerWaitOKBody) Unset()

type NullableContainerWaitOKBodyError

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

func (NullableContainerWaitOKBodyError) Get

func (NullableContainerWaitOKBodyError) IsSet

func (NullableContainerWaitOKBodyError) MarshalJSON

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

func (*NullableContainerWaitOKBodyError) Set

func (*NullableContainerWaitOKBodyError) UnmarshalJSON

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

func (*NullableContainerWaitOKBodyError) Unset

type NullableCreateIdentity

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

func NewNullableCreateIdentity

func NewNullableCreateIdentity(val *CreateIdentity) *NullableCreateIdentity

func (NullableCreateIdentity) Get

func (NullableCreateIdentity) IsSet

func (v NullableCreateIdentity) IsSet() bool

func (NullableCreateIdentity) MarshalJSON

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

func (*NullableCreateIdentity) Set

func (*NullableCreateIdentity) UnmarshalJSON

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

func (*NullableCreateIdentity) Unset

func (v *NullableCreateIdentity) Unset()
type NullableCreateRecoveryLink struct {
	// contains filtered or unexported fields
}
func NewNullableCreateRecoveryLink(val *CreateRecoveryLink) *NullableCreateRecoveryLink

func (NullableCreateRecoveryLink) Get

func (NullableCreateRecoveryLink) IsSet

func (v NullableCreateRecoveryLink) IsSet() bool

func (NullableCreateRecoveryLink) MarshalJSON

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

func (*NullableCreateRecoveryLink) Set

func (*NullableCreateRecoveryLink) UnmarshalJSON

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

func (*NullableCreateRecoveryLink) Unset

func (v *NullableCreateRecoveryLink) Unset()

type NullableErrorContainer

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

func NewNullableErrorContainer

func NewNullableErrorContainer(val *ErrorContainer) *NullableErrorContainer

func (NullableErrorContainer) Get

func (NullableErrorContainer) IsSet

func (v NullableErrorContainer) IsSet() bool

func (NullableErrorContainer) MarshalJSON

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

func (*NullableErrorContainer) Set

func (*NullableErrorContainer) UnmarshalJSON

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

func (*NullableErrorContainer) Unset

func (v *NullableErrorContainer) Unset()

type NullableErrorResponse

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

func NewNullableErrorResponse

func NewNullableErrorResponse(val *ErrorResponse) *NullableErrorResponse

func (NullableErrorResponse) Get

func (NullableErrorResponse) IsSet

func (v NullableErrorResponse) IsSet() bool

func (NullableErrorResponse) MarshalJSON

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

func (*NullableErrorResponse) Set

func (v *NullableErrorResponse) Set(val *ErrorResponse)

func (*NullableErrorResponse) UnmarshalJSON

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

func (*NullableErrorResponse) Unset

func (v *NullableErrorResponse) 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 NullableGenericErrorPayload

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

func NewNullableGenericErrorPayload

func NewNullableGenericErrorPayload(val *GenericErrorPayload) *NullableGenericErrorPayload

func (NullableGenericErrorPayload) Get

func (NullableGenericErrorPayload) IsSet

func (NullableGenericErrorPayload) MarshalJSON

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

func (*NullableGenericErrorPayload) Set

func (*NullableGenericErrorPayload) UnmarshalJSON

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

func (*NullableGenericErrorPayload) Unset

func (v *NullableGenericErrorPayload) Unset()

type NullableGraphDriverData

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

func NewNullableGraphDriverData

func NewNullableGraphDriverData(val *GraphDriverData) *NullableGraphDriverData

func (NullableGraphDriverData) Get

func (NullableGraphDriverData) IsSet

func (v NullableGraphDriverData) IsSet() bool

func (NullableGraphDriverData) MarshalJSON

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

func (*NullableGraphDriverData) Set

func (*NullableGraphDriverData) UnmarshalJSON

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

func (*NullableGraphDriverData) Unset

func (v *NullableGraphDriverData) 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 NullableIdResponse

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

func NewNullableIdResponse

func NewNullableIdResponse(val *IdResponse) *NullableIdResponse

func (NullableIdResponse) Get

func (v NullableIdResponse) Get() *IdResponse

func (NullableIdResponse) IsSet

func (v NullableIdResponse) IsSet() bool

func (NullableIdResponse) MarshalJSON

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

func (*NullableIdResponse) Set

func (v *NullableIdResponse) Set(val *IdResponse)

func (*NullableIdResponse) UnmarshalJSON

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

func (*NullableIdResponse) Unset

func (v *NullableIdResponse) 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 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 NullableImageDeleteResponseItem

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

func (NullableImageDeleteResponseItem) Get

func (NullableImageDeleteResponseItem) IsSet

func (NullableImageDeleteResponseItem) MarshalJSON

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

func (*NullableImageDeleteResponseItem) Set

func (*NullableImageDeleteResponseItem) UnmarshalJSON

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

func (*NullableImageDeleteResponseItem) Unset

type NullableImageSummary

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

func NewNullableImageSummary

func NewNullableImageSummary(val *ImageSummary) *NullableImageSummary

func (NullableImageSummary) Get

func (NullableImageSummary) IsSet

func (v NullableImageSummary) IsSet() bool

func (NullableImageSummary) MarshalJSON

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

func (*NullableImageSummary) Set

func (v *NullableImageSummary) Set(val *ImageSummary)

func (*NullableImageSummary) UnmarshalJSON

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

func (*NullableImageSummary) Unset

func (v *NullableImageSummary) 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 NullableLoginFlow added in v0.11.0

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

func NewNullableLoginFlow added in v0.11.0

func NewNullableLoginFlow(val *LoginFlow) *NullableLoginFlow

func (NullableLoginFlow) Get added in v0.11.0

func (v NullableLoginFlow) Get() *LoginFlow

func (NullableLoginFlow) IsSet added in v0.11.0

func (v NullableLoginFlow) IsSet() bool

func (NullableLoginFlow) MarshalJSON added in v0.11.0

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

func (*NullableLoginFlow) Set added in v0.11.0

func (v *NullableLoginFlow) Set(val *LoginFlow)

func (*NullableLoginFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableLoginFlow) Unset added in v0.11.0

func (v *NullableLoginFlow) Unset()

type NullableLoginViaApiResponse

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

func NewNullableLoginViaApiResponse

func NewNullableLoginViaApiResponse(val *LoginViaApiResponse) *NullableLoginViaApiResponse

func (NullableLoginViaApiResponse) Get

func (NullableLoginViaApiResponse) IsSet

func (NullableLoginViaApiResponse) MarshalJSON

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

func (*NullableLoginViaApiResponse) Set

func (*NullableLoginViaApiResponse) UnmarshalJSON

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

func (*NullableLoginViaApiResponse) Unset

func (v *NullableLoginViaApiResponse) Unset()

type NullableMeta

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

func NewNullableMeta

func NewNullableMeta(val *Meta) *NullableMeta

func (NullableMeta) Get

func (v NullableMeta) Get() *Meta

func (NullableMeta) IsSet

func (v NullableMeta) IsSet() bool

func (NullableMeta) MarshalJSON

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

func (*NullableMeta) Set

func (v *NullableMeta) Set(val *Meta)

func (*NullableMeta) UnmarshalJSON

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

func (*NullableMeta) Unset

func (v *NullableMeta) Unset()

type NullablePlugin

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

func NewNullablePlugin

func NewNullablePlugin(val *Plugin) *NullablePlugin

func (NullablePlugin) Get

func (v NullablePlugin) Get() *Plugin

func (NullablePlugin) IsSet

func (v NullablePlugin) IsSet() bool

func (NullablePlugin) MarshalJSON

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

func (*NullablePlugin) Set

func (v *NullablePlugin) Set(val *Plugin)

func (*NullablePlugin) UnmarshalJSON

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

func (*NullablePlugin) Unset

func (v *NullablePlugin) Unset()

type NullablePluginConfig

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

func NewNullablePluginConfig

func NewNullablePluginConfig(val *PluginConfig) *NullablePluginConfig

func (NullablePluginConfig) Get

func (NullablePluginConfig) IsSet

func (v NullablePluginConfig) IsSet() bool

func (NullablePluginConfig) MarshalJSON

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

func (*NullablePluginConfig) Set

func (v *NullablePluginConfig) Set(val *PluginConfig)

func (*NullablePluginConfig) UnmarshalJSON

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

func (*NullablePluginConfig) Unset

func (v *NullablePluginConfig) Unset()

type NullablePluginConfigArgs

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

func NewNullablePluginConfigArgs

func NewNullablePluginConfigArgs(val *PluginConfigArgs) *NullablePluginConfigArgs

func (NullablePluginConfigArgs) Get

func (NullablePluginConfigArgs) IsSet

func (v NullablePluginConfigArgs) IsSet() bool

func (NullablePluginConfigArgs) MarshalJSON

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

func (*NullablePluginConfigArgs) Set

func (*NullablePluginConfigArgs) UnmarshalJSON

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

func (*NullablePluginConfigArgs) Unset

func (v *NullablePluginConfigArgs) Unset()

type NullablePluginConfigInterface

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

func (NullablePluginConfigInterface) Get

func (NullablePluginConfigInterface) IsSet

func (NullablePluginConfigInterface) MarshalJSON

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

func (*NullablePluginConfigInterface) Set

func (*NullablePluginConfigInterface) UnmarshalJSON

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

func (*NullablePluginConfigInterface) Unset

func (v *NullablePluginConfigInterface) Unset()

type NullablePluginConfigLinux

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

func NewNullablePluginConfigLinux

func NewNullablePluginConfigLinux(val *PluginConfigLinux) *NullablePluginConfigLinux

func (NullablePluginConfigLinux) Get

func (NullablePluginConfigLinux) IsSet

func (v NullablePluginConfigLinux) IsSet() bool

func (NullablePluginConfigLinux) MarshalJSON

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

func (*NullablePluginConfigLinux) Set

func (*NullablePluginConfigLinux) UnmarshalJSON

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

func (*NullablePluginConfigLinux) Unset

func (v *NullablePluginConfigLinux) Unset()

type NullablePluginConfigNetwork

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

func NewNullablePluginConfigNetwork

func NewNullablePluginConfigNetwork(val *PluginConfigNetwork) *NullablePluginConfigNetwork

func (NullablePluginConfigNetwork) Get

func (NullablePluginConfigNetwork) IsSet

func (NullablePluginConfigNetwork) MarshalJSON

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

func (*NullablePluginConfigNetwork) Set

func (*NullablePluginConfigNetwork) UnmarshalJSON

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

func (*NullablePluginConfigNetwork) Unset

func (v *NullablePluginConfigNetwork) Unset()

type NullablePluginConfigRootfs

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

func NewNullablePluginConfigRootfs

func NewNullablePluginConfigRootfs(val *PluginConfigRootfs) *NullablePluginConfigRootfs

func (NullablePluginConfigRootfs) Get

func (NullablePluginConfigRootfs) IsSet

func (v NullablePluginConfigRootfs) IsSet() bool

func (NullablePluginConfigRootfs) MarshalJSON

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

func (*NullablePluginConfigRootfs) Set

func (*NullablePluginConfigRootfs) UnmarshalJSON

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

func (*NullablePluginConfigRootfs) Unset

func (v *NullablePluginConfigRootfs) Unset()

type NullablePluginConfigUser

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

func NewNullablePluginConfigUser

func NewNullablePluginConfigUser(val *PluginConfigUser) *NullablePluginConfigUser

func (NullablePluginConfigUser) Get

func (NullablePluginConfigUser) IsSet

func (v NullablePluginConfigUser) IsSet() bool

func (NullablePluginConfigUser) MarshalJSON

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

func (*NullablePluginConfigUser) Set

func (*NullablePluginConfigUser) UnmarshalJSON

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

func (*NullablePluginConfigUser) Unset

func (v *NullablePluginConfigUser) Unset()

type NullablePluginDevice

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

func NewNullablePluginDevice

func NewNullablePluginDevice(val *PluginDevice) *NullablePluginDevice

func (NullablePluginDevice) Get

func (NullablePluginDevice) IsSet

func (v NullablePluginDevice) IsSet() bool

func (NullablePluginDevice) MarshalJSON

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

func (*NullablePluginDevice) Set

func (v *NullablePluginDevice) Set(val *PluginDevice)

func (*NullablePluginDevice) UnmarshalJSON

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

func (*NullablePluginDevice) Unset

func (v *NullablePluginDevice) Unset()

type NullablePluginEnv

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

func NewNullablePluginEnv

func NewNullablePluginEnv(val *PluginEnv) *NullablePluginEnv

func (NullablePluginEnv) Get

func (v NullablePluginEnv) Get() *PluginEnv

func (NullablePluginEnv) IsSet

func (v NullablePluginEnv) IsSet() bool

func (NullablePluginEnv) MarshalJSON

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

func (*NullablePluginEnv) Set

func (v *NullablePluginEnv) Set(val *PluginEnv)

func (*NullablePluginEnv) UnmarshalJSON

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

func (*NullablePluginEnv) Unset

func (v *NullablePluginEnv) Unset()

type NullablePluginInterfaceType

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

func NewNullablePluginInterfaceType

func NewNullablePluginInterfaceType(val *PluginInterfaceType) *NullablePluginInterfaceType

func (NullablePluginInterfaceType) Get

func (NullablePluginInterfaceType) IsSet

func (NullablePluginInterfaceType) MarshalJSON

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

func (*NullablePluginInterfaceType) Set

func (*NullablePluginInterfaceType) UnmarshalJSON

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

func (*NullablePluginInterfaceType) Unset

func (v *NullablePluginInterfaceType) Unset()

type NullablePluginMount

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

func NewNullablePluginMount

func NewNullablePluginMount(val *PluginMount) *NullablePluginMount

func (NullablePluginMount) Get

func (NullablePluginMount) IsSet

func (v NullablePluginMount) IsSet() bool

func (NullablePluginMount) MarshalJSON

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

func (*NullablePluginMount) Set

func (v *NullablePluginMount) Set(val *PluginMount)

func (*NullablePluginMount) UnmarshalJSON

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

func (*NullablePluginMount) Unset

func (v *NullablePluginMount) Unset()

type NullablePluginSettings

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

func NewNullablePluginSettings

func NewNullablePluginSettings(val *PluginSettings) *NullablePluginSettings

func (NullablePluginSettings) Get

func (NullablePluginSettings) IsSet

func (v NullablePluginSettings) IsSet() bool

func (NullablePluginSettings) MarshalJSON

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

func (*NullablePluginSettings) Set

func (*NullablePluginSettings) UnmarshalJSON

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

func (*NullablePluginSettings) Unset

func (v *NullablePluginSettings) Unset()

type NullablePort

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

func NewNullablePort

func NewNullablePort(val *Port) *NullablePort

func (NullablePort) Get

func (v NullablePort) Get() *Port

func (NullablePort) IsSet

func (v NullablePort) IsSet() bool

func (NullablePort) MarshalJSON

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

func (*NullablePort) Set

func (v *NullablePort) Set(val *Port)

func (*NullablePort) UnmarshalJSON

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

func (*NullablePort) Unset

func (v *NullablePort) 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 NullableRecoveryFlow added in v0.11.0

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

func NewNullableRecoveryFlow added in v0.11.0

func NewNullableRecoveryFlow(val *RecoveryFlow) *NullableRecoveryFlow

func (NullableRecoveryFlow) Get added in v0.11.0

func (NullableRecoveryFlow) IsSet added in v0.11.0

func (v NullableRecoveryFlow) IsSet() bool

func (NullableRecoveryFlow) MarshalJSON added in v0.11.0

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

func (*NullableRecoveryFlow) Set added in v0.11.0

func (v *NullableRecoveryFlow) Set(val *RecoveryFlow)

func (*NullableRecoveryFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableRecoveryFlow) Unset added in v0.11.0

func (v *NullableRecoveryFlow) Unset()
type NullableRecoveryLink struct {
	// contains filtered or unexported fields
}
func NewNullableRecoveryLink(val *RecoveryLink) *NullableRecoveryLink

func (NullableRecoveryLink) Get

func (NullableRecoveryLink) IsSet

func (v NullableRecoveryLink) IsSet() bool

func (NullableRecoveryLink) MarshalJSON

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

func (*NullableRecoveryLink) Set

func (v *NullableRecoveryLink) Set(val *RecoveryLink)

func (*NullableRecoveryLink) UnmarshalJSON

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

func (*NullableRecoveryLink) Unset

func (v *NullableRecoveryLink) Unset()

type NullableRegistrationFlow added in v0.11.0

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

func NewNullableRegistrationFlow added in v0.11.0

func NewNullableRegistrationFlow(val *RegistrationFlow) *NullableRegistrationFlow

func (NullableRegistrationFlow) Get added in v0.11.0

func (NullableRegistrationFlow) IsSet added in v0.11.0

func (v NullableRegistrationFlow) IsSet() bool

func (NullableRegistrationFlow) MarshalJSON added in v0.11.0

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

func (*NullableRegistrationFlow) Set added in v0.11.0

func (*NullableRegistrationFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableRegistrationFlow) Unset added in v0.11.0

func (v *NullableRegistrationFlow) Unset()

type NullableRegistrationViaApiResponse

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

func (NullableRegistrationViaApiResponse) Get

func (NullableRegistrationViaApiResponse) IsSet

func (NullableRegistrationViaApiResponse) MarshalJSON

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

func (*NullableRegistrationViaApiResponse) Set

func (*NullableRegistrationViaApiResponse) UnmarshalJSON

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

func (*NullableRegistrationViaApiResponse) Unset

type NullableRevokeSession

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

func NewNullableRevokeSession

func NewNullableRevokeSession(val *RevokeSession) *NullableRevokeSession

func (NullableRevokeSession) Get

func (NullableRevokeSession) IsSet

func (v NullableRevokeSession) IsSet() bool

func (NullableRevokeSession) MarshalJSON

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

func (*NullableRevokeSession) Set

func (v *NullableRevokeSession) Set(val *RevokeSession)

func (*NullableRevokeSession) UnmarshalJSON

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

func (*NullableRevokeSession) Unset

func (v *NullableRevokeSession) 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 NullableSelfServiceErrorContainer

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

func (NullableSelfServiceErrorContainer) Get

func (NullableSelfServiceErrorContainer) IsSet

func (NullableSelfServiceErrorContainer) MarshalJSON

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

func (*NullableSelfServiceErrorContainer) Set

func (*NullableSelfServiceErrorContainer) UnmarshalJSON

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

func (*NullableSelfServiceErrorContainer) 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 NullableServiceUpdateResponse

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

func (NullableServiceUpdateResponse) Get

func (NullableServiceUpdateResponse) IsSet

func (NullableServiceUpdateResponse) MarshalJSON

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

func (*NullableServiceUpdateResponse) Set

func (*NullableServiceUpdateResponse) UnmarshalJSON

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

func (*NullableServiceUpdateResponse) Unset

func (v *NullableServiceUpdateResponse) 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 NullableSettingsFlow added in v0.11.0

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

func NewNullableSettingsFlow added in v0.11.0

func NewNullableSettingsFlow(val *SettingsFlow) *NullableSettingsFlow

func (NullableSettingsFlow) Get added in v0.11.0

func (NullableSettingsFlow) IsSet added in v0.11.0

func (v NullableSettingsFlow) IsSet() bool

func (NullableSettingsFlow) MarshalJSON added in v0.11.0

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

func (*NullableSettingsFlow) Set added in v0.11.0

func (v *NullableSettingsFlow) Set(val *SettingsFlow)

func (*NullableSettingsFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableSettingsFlow) Unset added in v0.11.0

func (v *NullableSettingsFlow) 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 NullableSettingsViaApiResponse

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

func (NullableSettingsViaApiResponse) Get

func (NullableSettingsViaApiResponse) IsSet

func (NullableSettingsViaApiResponse) MarshalJSON

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

func (*NullableSettingsViaApiResponse) Set

func (*NullableSettingsViaApiResponse) UnmarshalJSON

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

func (*NullableSettingsViaApiResponse) Unset

func (v *NullableSettingsViaApiResponse) 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 NullableSubmitSelfServiceBrowserSettingsOIDCFlowPayload

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

func (NullableSubmitSelfServiceBrowserSettingsOIDCFlowPayload) Get

func (NullableSubmitSelfServiceBrowserSettingsOIDCFlowPayload) IsSet

func (NullableSubmitSelfServiceBrowserSettingsOIDCFlowPayload) MarshalJSON

func (*NullableSubmitSelfServiceBrowserSettingsOIDCFlowPayload) Set

func (*NullableSubmitSelfServiceBrowserSettingsOIDCFlowPayload) UnmarshalJSON

func (*NullableSubmitSelfServiceBrowserSettingsOIDCFlowPayload) Unset

type NullableSubmitSelfServiceLoginFlow

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

func (NullableSubmitSelfServiceLoginFlow) Get

func (NullableSubmitSelfServiceLoginFlow) IsSet

func (NullableSubmitSelfServiceLoginFlow) MarshalJSON

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

func (*NullableSubmitSelfServiceLoginFlow) Set

func (*NullableSubmitSelfServiceLoginFlow) UnmarshalJSON

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

func (*NullableSubmitSelfServiceLoginFlow) 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 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 NullableSubmitSelfServiceLoginFlowWithPasswordMethod

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

func (NullableSubmitSelfServiceLoginFlowWithPasswordMethod) Get

func (NullableSubmitSelfServiceLoginFlowWithPasswordMethod) IsSet

func (NullableSubmitSelfServiceLoginFlowWithPasswordMethod) MarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithPasswordMethod) Set

func (*NullableSubmitSelfServiceLoginFlowWithPasswordMethod) UnmarshalJSON

func (*NullableSubmitSelfServiceLoginFlowWithPasswordMethod) 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 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 NullableSubmitSelfServiceRecoveryFlowWithLinkMethod

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

func (NullableSubmitSelfServiceRecoveryFlowWithLinkMethod) Get

func (NullableSubmitSelfServiceRecoveryFlowWithLinkMethod) IsSet

func (NullableSubmitSelfServiceRecoveryFlowWithLinkMethod) MarshalJSON

func (*NullableSubmitSelfServiceRecoveryFlowWithLinkMethod) Set

func (*NullableSubmitSelfServiceRecoveryFlowWithLinkMethod) UnmarshalJSON

func (*NullableSubmitSelfServiceRecoveryFlowWithLinkMethod) 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 NullableSubmitSelfServiceRegistrationFlow

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

func (NullableSubmitSelfServiceRegistrationFlow) Get

func (NullableSubmitSelfServiceRegistrationFlow) IsSet

func (NullableSubmitSelfServiceRegistrationFlow) MarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlow) Set

func (*NullableSubmitSelfServiceRegistrationFlow) UnmarshalJSON

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

func (*NullableSubmitSelfServiceRegistrationFlow) 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 NullableSubmitSelfServiceRegistrationFlowWithPasswordMethod

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

func (NullableSubmitSelfServiceRegistrationFlowWithPasswordMethod) Get

func (NullableSubmitSelfServiceRegistrationFlowWithPasswordMethod) IsSet

func (NullableSubmitSelfServiceRegistrationFlowWithPasswordMethod) MarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowWithPasswordMethod) Set

func (*NullableSubmitSelfServiceRegistrationFlowWithPasswordMethod) UnmarshalJSON

func (*NullableSubmitSelfServiceRegistrationFlowWithPasswordMethod) 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 NullableSubmitSelfServiceSettingsFlow

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

func (NullableSubmitSelfServiceSettingsFlow) Get

func (NullableSubmitSelfServiceSettingsFlow) IsSet

func (NullableSubmitSelfServiceSettingsFlow) MarshalJSON

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

func (*NullableSubmitSelfServiceSettingsFlow) Set

func (*NullableSubmitSelfServiceSettingsFlow) UnmarshalJSON

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

func (*NullableSubmitSelfServiceSettingsFlow) 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 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 NullableSubmitSelfServiceSettingsFlowWithPasswordMethod

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

func (NullableSubmitSelfServiceSettingsFlowWithPasswordMethod) Get

func (NullableSubmitSelfServiceSettingsFlowWithPasswordMethod) IsSet

func (NullableSubmitSelfServiceSettingsFlowWithPasswordMethod) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithPasswordMethod) Set

func (*NullableSubmitSelfServiceSettingsFlowWithPasswordMethod) UnmarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithPasswordMethod) 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 NullableSubmitSelfServiceSettingsFlowWithProfileMethod

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

func (NullableSubmitSelfServiceSettingsFlowWithProfileMethod) Get

func (NullableSubmitSelfServiceSettingsFlowWithProfileMethod) IsSet

func (NullableSubmitSelfServiceSettingsFlowWithProfileMethod) MarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithProfileMethod) Set

func (*NullableSubmitSelfServiceSettingsFlowWithProfileMethod) UnmarshalJSON

func (*NullableSubmitSelfServiceSettingsFlowWithProfileMethod) 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 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 NullableSubmitSelfServiceVerificationFlowWithLinkMethod

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

func (NullableSubmitSelfServiceVerificationFlowWithLinkMethod) Get

func (NullableSubmitSelfServiceVerificationFlowWithLinkMethod) IsSet

func (NullableSubmitSelfServiceVerificationFlowWithLinkMethod) MarshalJSON

func (*NullableSubmitSelfServiceVerificationFlowWithLinkMethod) Set

func (*NullableSubmitSelfServiceVerificationFlowWithLinkMethod) UnmarshalJSON

func (*NullableSubmitSelfServiceVerificationFlowWithLinkMethod) 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 NullableSuccessfulSelfServiceSettingsWithoutBrowser

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

func (NullableSuccessfulSelfServiceSettingsWithoutBrowser) Get

func (NullableSuccessfulSelfServiceSettingsWithoutBrowser) IsSet

func (NullableSuccessfulSelfServiceSettingsWithoutBrowser) MarshalJSON

func (*NullableSuccessfulSelfServiceSettingsWithoutBrowser) Set

func (*NullableSuccessfulSelfServiceSettingsWithoutBrowser) UnmarshalJSON

func (*NullableSuccessfulSelfServiceSettingsWithoutBrowser) 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 NullableUiNodeInputAttributesValue

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

func (NullableUiNodeInputAttributesValue) Get

func (NullableUiNodeInputAttributesValue) IsSet

func (NullableUiNodeInputAttributesValue) MarshalJSON

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

func (*NullableUiNodeInputAttributesValue) Set

func (*NullableUiNodeInputAttributesValue) UnmarshalJSON

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

func (*NullableUiNodeInputAttributesValue) 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 NullableUpdateIdentity

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

func NewNullableUpdateIdentity

func NewNullableUpdateIdentity(val *UpdateIdentity) *NullableUpdateIdentity

func (NullableUpdateIdentity) Get

func (NullableUpdateIdentity) IsSet

func (v NullableUpdateIdentity) IsSet() bool

func (NullableUpdateIdentity) MarshalJSON

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

func (*NullableUpdateIdentity) Set

func (*NullableUpdateIdentity) UnmarshalJSON

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

func (*NullableUpdateIdentity) Unset

func (v *NullableUpdateIdentity) Unset()

type NullableVerifiableAddress

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

func NewNullableVerifiableAddress

func NewNullableVerifiableAddress(val *VerifiableAddress) *NullableVerifiableAddress

func (NullableVerifiableAddress) Get

func (NullableVerifiableAddress) IsSet

func (v NullableVerifiableAddress) IsSet() bool

func (NullableVerifiableAddress) MarshalJSON

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

func (*NullableVerifiableAddress) Set

func (*NullableVerifiableAddress) UnmarshalJSON

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

func (*NullableVerifiableAddress) Unset

func (v *NullableVerifiableAddress) 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 NullableVerificationFlow added in v0.11.0

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

func NewNullableVerificationFlow added in v0.11.0

func NewNullableVerificationFlow(val *VerificationFlow) *NullableVerificationFlow

func (NullableVerificationFlow) Get added in v0.11.0

func (NullableVerificationFlow) IsSet added in v0.11.0

func (v NullableVerificationFlow) IsSet() bool

func (NullableVerificationFlow) MarshalJSON added in v0.11.0

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

func (*NullableVerificationFlow) Set added in v0.11.0

func (*NullableVerificationFlow) UnmarshalJSON added in v0.11.0

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

func (*NullableVerificationFlow) Unset added in v0.11.0

func (v *NullableVerificationFlow) 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 NullableVolume

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

func NewNullableVolume

func NewNullableVolume(val *Volume) *NullableVolume

func (NullableVolume) Get

func (v NullableVolume) Get() *Volume

func (NullableVolume) IsSet

func (v NullableVolume) IsSet() bool

func (NullableVolume) MarshalJSON

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

func (*NullableVolume) Set

func (v *NullableVolume) Set(val *Volume)

func (*NullableVolume) UnmarshalJSON

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

func (*NullableVolume) Unset

func (v *NullableVolume) Unset()

type NullableVolumeUsageData

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

func NewNullableVolumeUsageData

func NewNullableVolumeUsageData(val *VolumeUsageData) *NullableVolumeUsageData

func (NullableVolumeUsageData) Get

func (NullableVolumeUsageData) IsSet

func (v NullableVolumeUsageData) IsSet() bool

func (NullableVolumeUsageData) MarshalJSON

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

func (*NullableVolumeUsageData) Set

func (*NullableVolumeUsageData) UnmarshalJSON

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

func (*NullableVolumeUsageData) Unset

func (v *NullableVolumeUsageData) Unset()

type Plugin

type Plugin struct {
	Config PluginConfig `json:"Config"`
	// True if the plugin is running. False if the plugin is not running, only installed.
	Enabled bool `json:"Enabled"`
	// Id
	Id *string `json:"Id,omitempty"`
	// name
	Name string `json:"Name"`
	// plugin remote reference used to push/pull the plugin
	PluginReference *string        `json:"PluginReference,omitempty"`
	Settings        PluginSettings `json:"Settings"`
}

Plugin Plugin A plugin for the Engine API

func NewPlugin

func NewPlugin(config PluginConfig, enabled bool, name string, settings PluginSettings) *Plugin

NewPlugin instantiates a new Plugin 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 NewPluginWithDefaults

func NewPluginWithDefaults() *Plugin

NewPluginWithDefaults instantiates a new Plugin 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 (*Plugin) GetConfig

func (o *Plugin) GetConfig() PluginConfig

GetConfig returns the Config field value

func (*Plugin) GetConfigOk

func (o *Plugin) GetConfigOk() (*PluginConfig, bool)

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

func (*Plugin) GetEnabled

func (o *Plugin) GetEnabled() bool

GetEnabled returns the Enabled field value

func (*Plugin) GetEnabledOk

func (o *Plugin) GetEnabledOk() (*bool, bool)

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

func (*Plugin) GetId

func (o *Plugin) GetId() string

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

func (*Plugin) GetIdOk

func (o *Plugin) 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 (*Plugin) GetName

func (o *Plugin) GetName() string

GetName returns the Name field value

func (*Plugin) GetNameOk

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

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

func (*Plugin) GetPluginReference

func (o *Plugin) GetPluginReference() string

GetPluginReference returns the PluginReference field value if set, zero value otherwise.

func (*Plugin) GetPluginReferenceOk

func (o *Plugin) GetPluginReferenceOk() (*string, bool)

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

func (*Plugin) GetSettings

func (o *Plugin) GetSettings() PluginSettings

GetSettings returns the Settings field value

func (*Plugin) GetSettingsOk

func (o *Plugin) GetSettingsOk() (*PluginSettings, bool)

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

func (*Plugin) HasId

func (o *Plugin) HasId() bool

HasId returns a boolean if a field has been set.

func (*Plugin) HasPluginReference

func (o *Plugin) HasPluginReference() bool

HasPluginReference returns a boolean if a field has been set.

func (Plugin) MarshalJSON

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

func (*Plugin) SetConfig

func (o *Plugin) SetConfig(v PluginConfig)

SetConfig sets field value

func (*Plugin) SetEnabled

func (o *Plugin) SetEnabled(v bool)

SetEnabled sets field value

func (*Plugin) SetId

func (o *Plugin) SetId(v string)

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

func (*Plugin) SetName

func (o *Plugin) SetName(v string)

SetName sets field value

func (*Plugin) SetPluginReference

func (o *Plugin) SetPluginReference(v string)

SetPluginReference gets a reference to the given string and assigns it to the PluginReference field.

func (*Plugin) SetSettings

func (o *Plugin) SetSettings(v PluginSettings)

SetSettings sets field value

type PluginConfig

type PluginConfig struct {
	Args PluginConfigArgs `json:"Args"`
	// description
	Description string `json:"Description"`
	// Docker Version used to create the plugin
	DockerVersion *string `json:"DockerVersion,omitempty"`
	// documentation
	Documentation string `json:"Documentation"`
	// entrypoint
	Entrypoint []string `json:"Entrypoint"`
	// env
	Env       []PluginEnv           `json:"Env"`
	Interface PluginConfigInterface `json:"Interface"`
	// ipc host
	IpcHost bool              `json:"IpcHost"`
	Linux   PluginConfigLinux `json:"Linux"`
	// mounts
	Mounts  []PluginMount       `json:"Mounts"`
	Network PluginConfigNetwork `json:"Network"`
	// pid host
	PidHost bool `json:"PidHost"`
	// propagated mount
	PropagatedMount string            `json:"PropagatedMount"`
	User            *PluginConfigUser `json:"User,omitempty"`
	// work dir
	WorkDir string              `json:"WorkDir"`
	Rootfs  *PluginConfigRootfs `json:"rootfs,omitempty"`
}

PluginConfig struct for PluginConfig

func NewPluginConfig

func NewPluginConfig(args PluginConfigArgs, description string, documentation string, entrypoint []string, env []PluginEnv, interface_ PluginConfigInterface, ipcHost bool, linux PluginConfigLinux, mounts []PluginMount, network PluginConfigNetwork, pidHost bool, propagatedMount string, workDir string) *PluginConfig

NewPluginConfig instantiates a new PluginConfig 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 NewPluginConfigWithDefaults

func NewPluginConfigWithDefaults() *PluginConfig

NewPluginConfigWithDefaults instantiates a new PluginConfig 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 (*PluginConfig) GetArgs

func (o *PluginConfig) GetArgs() PluginConfigArgs

GetArgs returns the Args field value

func (*PluginConfig) GetArgsOk

func (o *PluginConfig) GetArgsOk() (*PluginConfigArgs, bool)

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

func (*PluginConfig) GetDescription

func (o *PluginConfig) GetDescription() string

GetDescription returns the Description field value

func (*PluginConfig) GetDescriptionOk

func (o *PluginConfig) GetDescriptionOk() (*string, bool)

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

func (*PluginConfig) GetDockerVersion

func (o *PluginConfig) GetDockerVersion() string

GetDockerVersion returns the DockerVersion field value if set, zero value otherwise.

func (*PluginConfig) GetDockerVersionOk

func (o *PluginConfig) GetDockerVersionOk() (*string, bool)

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

func (*PluginConfig) GetDocumentation

func (o *PluginConfig) GetDocumentation() string

GetDocumentation returns the Documentation field value

func (*PluginConfig) GetDocumentationOk

func (o *PluginConfig) GetDocumentationOk() (*string, bool)

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

func (*PluginConfig) GetEntrypoint

func (o *PluginConfig) GetEntrypoint() []string

GetEntrypoint returns the Entrypoint field value

func (*PluginConfig) GetEntrypointOk

func (o *PluginConfig) GetEntrypointOk() ([]string, bool)

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

func (*PluginConfig) GetEnv

func (o *PluginConfig) GetEnv() []PluginEnv

GetEnv returns the Env field value

func (*PluginConfig) GetEnvOk

func (o *PluginConfig) GetEnvOk() ([]PluginEnv, bool)

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

func (*PluginConfig) GetInterface

func (o *PluginConfig) GetInterface() PluginConfigInterface

GetInterface returns the Interface field value

func (*PluginConfig) GetInterfaceOk

func (o *PluginConfig) GetInterfaceOk() (*PluginConfigInterface, bool)

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

func (*PluginConfig) GetIpcHost

func (o *PluginConfig) GetIpcHost() bool

GetIpcHost returns the IpcHost field value

func (*PluginConfig) GetIpcHostOk

func (o *PluginConfig) GetIpcHostOk() (*bool, bool)

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

func (*PluginConfig) GetLinux

func (o *PluginConfig) GetLinux() PluginConfigLinux

GetLinux returns the Linux field value

func (*PluginConfig) GetLinuxOk

func (o *PluginConfig) GetLinuxOk() (*PluginConfigLinux, bool)

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

func (*PluginConfig) GetMounts

func (o *PluginConfig) GetMounts() []PluginMount

GetMounts returns the Mounts field value

func (*PluginConfig) GetMountsOk

func (o *PluginConfig) GetMountsOk() ([]PluginMount, bool)

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

func (*PluginConfig) GetNetwork

func (o *PluginConfig) GetNetwork() PluginConfigNetwork

GetNetwork returns the Network field value

func (*PluginConfig) GetNetworkOk

func (o *PluginConfig) GetNetworkOk() (*PluginConfigNetwork, bool)

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

func (*PluginConfig) GetPidHost

func (o *PluginConfig) GetPidHost() bool

GetPidHost returns the PidHost field value

func (*PluginConfig) GetPidHostOk

func (o *PluginConfig) GetPidHostOk() (*bool, bool)

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

func (*PluginConfig) GetPropagatedMount

func (o *PluginConfig) GetPropagatedMount() string

GetPropagatedMount returns the PropagatedMount field value

func (*PluginConfig) GetPropagatedMountOk

func (o *PluginConfig) GetPropagatedMountOk() (*string, bool)

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

func (*PluginConfig) GetRootfs

func (o *PluginConfig) GetRootfs() PluginConfigRootfs

GetRootfs returns the Rootfs field value if set, zero value otherwise.

func (*PluginConfig) GetRootfsOk

func (o *PluginConfig) GetRootfsOk() (*PluginConfigRootfs, bool)

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

func (*PluginConfig) GetUser

func (o *PluginConfig) GetUser() PluginConfigUser

GetUser returns the User field value if set, zero value otherwise.

func (*PluginConfig) GetUserOk

func (o *PluginConfig) GetUserOk() (*PluginConfigUser, bool)

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

func (*PluginConfig) GetWorkDir

func (o *PluginConfig) GetWorkDir() string

GetWorkDir returns the WorkDir field value

func (*PluginConfig) GetWorkDirOk

func (o *PluginConfig) GetWorkDirOk() (*string, bool)

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

func (*PluginConfig) HasDockerVersion

func (o *PluginConfig) HasDockerVersion() bool

HasDockerVersion returns a boolean if a field has been set.

func (*PluginConfig) HasRootfs

func (o *PluginConfig) HasRootfs() bool

HasRootfs returns a boolean if a field has been set.

func (*PluginConfig) HasUser

func (o *PluginConfig) HasUser() bool

HasUser returns a boolean if a field has been set.

func (PluginConfig) MarshalJSON

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

func (*PluginConfig) SetArgs

func (o *PluginConfig) SetArgs(v PluginConfigArgs)

SetArgs sets field value

func (*PluginConfig) SetDescription

func (o *PluginConfig) SetDescription(v string)

SetDescription sets field value

func (*PluginConfig) SetDockerVersion

func (o *PluginConfig) SetDockerVersion(v string)

SetDockerVersion gets a reference to the given string and assigns it to the DockerVersion field.

func (*PluginConfig) SetDocumentation

func (o *PluginConfig) SetDocumentation(v string)

SetDocumentation sets field value

func (*PluginConfig) SetEntrypoint

func (o *PluginConfig) SetEntrypoint(v []string)

SetEntrypoint sets field value

func (*PluginConfig) SetEnv

func (o *PluginConfig) SetEnv(v []PluginEnv)

SetEnv sets field value

func (*PluginConfig) SetInterface

func (o *PluginConfig) SetInterface(v PluginConfigInterface)

SetInterface sets field value

func (*PluginConfig) SetIpcHost

func (o *PluginConfig) SetIpcHost(v bool)

SetIpcHost sets field value

func (*PluginConfig) SetLinux

func (o *PluginConfig) SetLinux(v PluginConfigLinux)

SetLinux sets field value

func (*PluginConfig) SetMounts

func (o *PluginConfig) SetMounts(v []PluginMount)

SetMounts sets field value

func (*PluginConfig) SetNetwork

func (o *PluginConfig) SetNetwork(v PluginConfigNetwork)

SetNetwork sets field value

func (*PluginConfig) SetPidHost

func (o *PluginConfig) SetPidHost(v bool)

SetPidHost sets field value

func (*PluginConfig) SetPropagatedMount

func (o *PluginConfig) SetPropagatedMount(v string)

SetPropagatedMount sets field value

func (*PluginConfig) SetRootfs

func (o *PluginConfig) SetRootfs(v PluginConfigRootfs)

SetRootfs gets a reference to the given PluginConfigRootfs and assigns it to the Rootfs field.

func (*PluginConfig) SetUser

func (o *PluginConfig) SetUser(v PluginConfigUser)

SetUser gets a reference to the given PluginConfigUser and assigns it to the User field.

func (*PluginConfig) SetWorkDir

func (o *PluginConfig) SetWorkDir(v string)

SetWorkDir sets field value

type PluginConfigArgs

type PluginConfigArgs struct {
	// description
	Description string `json:"Description"`
	// name
	Name string `json:"Name"`
	// settable
	Settable []string `json:"Settable"`
	// value
	Value []string `json:"Value"`
}

PluginConfigArgs PluginConfigArgs plugin config args

func NewPluginConfigArgs

func NewPluginConfigArgs(description string, name string, settable []string, value []string) *PluginConfigArgs

NewPluginConfigArgs instantiates a new PluginConfigArgs 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 NewPluginConfigArgsWithDefaults

func NewPluginConfigArgsWithDefaults() *PluginConfigArgs

NewPluginConfigArgsWithDefaults instantiates a new PluginConfigArgs 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 (*PluginConfigArgs) GetDescription

func (o *PluginConfigArgs) GetDescription() string

GetDescription returns the Description field value

func (*PluginConfigArgs) GetDescriptionOk

func (o *PluginConfigArgs) GetDescriptionOk() (*string, bool)

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

func (*PluginConfigArgs) GetName

func (o *PluginConfigArgs) GetName() string

GetName returns the Name field value

func (*PluginConfigArgs) GetNameOk

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

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

func (*PluginConfigArgs) GetSettable

func (o *PluginConfigArgs) GetSettable() []string

GetSettable returns the Settable field value

func (*PluginConfigArgs) GetSettableOk

func (o *PluginConfigArgs) GetSettableOk() ([]string, bool)

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

func (*PluginConfigArgs) GetValue

func (o *PluginConfigArgs) GetValue() []string

GetValue returns the Value field value

func (*PluginConfigArgs) GetValueOk

func (o *PluginConfigArgs) GetValueOk() ([]string, bool)

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

func (PluginConfigArgs) MarshalJSON

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

func (*PluginConfigArgs) SetDescription

func (o *PluginConfigArgs) SetDescription(v string)

SetDescription sets field value

func (*PluginConfigArgs) SetName

func (o *PluginConfigArgs) SetName(v string)

SetName sets field value

func (*PluginConfigArgs) SetSettable

func (o *PluginConfigArgs) SetSettable(v []string)

SetSettable sets field value

func (*PluginConfigArgs) SetValue

func (o *PluginConfigArgs) SetValue(v []string)

SetValue sets field value

type PluginConfigInterface

type PluginConfigInterface struct {
	// socket
	Socket string `json:"Socket"`
	// types
	Types []PluginInterfaceType `json:"Types"`
}

PluginConfigInterface PluginConfigInterface The interface between Docker and the plugin

func NewPluginConfigInterface

func NewPluginConfigInterface(socket string, types []PluginInterfaceType) *PluginConfigInterface

NewPluginConfigInterface instantiates a new PluginConfigInterface 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 NewPluginConfigInterfaceWithDefaults

func NewPluginConfigInterfaceWithDefaults() *PluginConfigInterface

NewPluginConfigInterfaceWithDefaults instantiates a new PluginConfigInterface 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 (*PluginConfigInterface) GetSocket

func (o *PluginConfigInterface) GetSocket() string

GetSocket returns the Socket field value

func (*PluginConfigInterface) GetSocketOk

func (o *PluginConfigInterface) GetSocketOk() (*string, bool)

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

func (*PluginConfigInterface) GetTypes

GetTypes returns the Types field value

func (*PluginConfigInterface) GetTypesOk

func (o *PluginConfigInterface) GetTypesOk() ([]PluginInterfaceType, bool)

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

func (PluginConfigInterface) MarshalJSON

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

func (*PluginConfigInterface) SetSocket

func (o *PluginConfigInterface) SetSocket(v string)

SetSocket sets field value

func (*PluginConfigInterface) SetTypes

func (o *PluginConfigInterface) SetTypes(v []PluginInterfaceType)

SetTypes sets field value

type PluginConfigLinux

type PluginConfigLinux struct {
	// allow all devices
	AllowAllDevices bool `json:"AllowAllDevices"`
	// capabilities
	Capabilities []string `json:"Capabilities"`
	// devices
	Devices []PluginDevice `json:"Devices"`
}

PluginConfigLinux PluginConfigLinux plugin config linux

func NewPluginConfigLinux

func NewPluginConfigLinux(allowAllDevices bool, capabilities []string, devices []PluginDevice) *PluginConfigLinux

NewPluginConfigLinux instantiates a new PluginConfigLinux 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 NewPluginConfigLinuxWithDefaults

func NewPluginConfigLinuxWithDefaults() *PluginConfigLinux

NewPluginConfigLinuxWithDefaults instantiates a new PluginConfigLinux 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 (*PluginConfigLinux) GetAllowAllDevices

func (o *PluginConfigLinux) GetAllowAllDevices() bool

GetAllowAllDevices returns the AllowAllDevices field value

func (*PluginConfigLinux) GetAllowAllDevicesOk

func (o *PluginConfigLinux) GetAllowAllDevicesOk() (*bool, bool)

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

func (*PluginConfigLinux) GetCapabilities

func (o *PluginConfigLinux) GetCapabilities() []string

GetCapabilities returns the Capabilities field value

func (*PluginConfigLinux) GetCapabilitiesOk

func (o *PluginConfigLinux) GetCapabilitiesOk() ([]string, bool)

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

func (*PluginConfigLinux) GetDevices

func (o *PluginConfigLinux) GetDevices() []PluginDevice

GetDevices returns the Devices field value

func (*PluginConfigLinux) GetDevicesOk

func (o *PluginConfigLinux) GetDevicesOk() ([]PluginDevice, bool)

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

func (PluginConfigLinux) MarshalJSON

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

func (*PluginConfigLinux) SetAllowAllDevices

func (o *PluginConfigLinux) SetAllowAllDevices(v bool)

SetAllowAllDevices sets field value

func (*PluginConfigLinux) SetCapabilities

func (o *PluginConfigLinux) SetCapabilities(v []string)

SetCapabilities sets field value

func (*PluginConfigLinux) SetDevices

func (o *PluginConfigLinux) SetDevices(v []PluginDevice)

SetDevices sets field value

type PluginConfigNetwork

type PluginConfigNetwork struct {
	// type
	Type string `json:"Type"`
}

PluginConfigNetwork PluginConfigNetwork plugin config network

func NewPluginConfigNetwork

func NewPluginConfigNetwork(type_ string) *PluginConfigNetwork

NewPluginConfigNetwork instantiates a new PluginConfigNetwork 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 NewPluginConfigNetworkWithDefaults

func NewPluginConfigNetworkWithDefaults() *PluginConfigNetwork

NewPluginConfigNetworkWithDefaults instantiates a new PluginConfigNetwork 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 (*PluginConfigNetwork) GetType

func (o *PluginConfigNetwork) GetType() string

GetType returns the Type field value

func (*PluginConfigNetwork) GetTypeOk

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

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

func (PluginConfigNetwork) MarshalJSON

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

func (*PluginConfigNetwork) SetType

func (o *PluginConfigNetwork) SetType(v string)

SetType sets field value

type PluginConfigRootfs

type PluginConfigRootfs struct {
	// diff ids
	DiffIds []string `json:"diff_ids,omitempty"`
	// type
	Type *string `json:"type,omitempty"`
}

PluginConfigRootfs PluginConfigRootfs plugin config rootfs

func NewPluginConfigRootfs

func NewPluginConfigRootfs() *PluginConfigRootfs

NewPluginConfigRootfs instantiates a new PluginConfigRootfs 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 NewPluginConfigRootfsWithDefaults

func NewPluginConfigRootfsWithDefaults() *PluginConfigRootfs

NewPluginConfigRootfsWithDefaults instantiates a new PluginConfigRootfs 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 (*PluginConfigRootfs) GetDiffIds

func (o *PluginConfigRootfs) GetDiffIds() []string

GetDiffIds returns the DiffIds field value if set, zero value otherwise.

func (*PluginConfigRootfs) GetDiffIdsOk

func (o *PluginConfigRootfs) GetDiffIdsOk() ([]string, bool)

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

func (*PluginConfigRootfs) GetType

func (o *PluginConfigRootfs) GetType() string

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

func (*PluginConfigRootfs) GetTypeOk

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

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

func (*PluginConfigRootfs) HasDiffIds

func (o *PluginConfigRootfs) HasDiffIds() bool

HasDiffIds returns a boolean if a field has been set.

func (*PluginConfigRootfs) HasType

func (o *PluginConfigRootfs) HasType() bool

HasType returns a boolean if a field has been set.

func (PluginConfigRootfs) MarshalJSON

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

func (*PluginConfigRootfs) SetDiffIds

func (o *PluginConfigRootfs) SetDiffIds(v []string)

SetDiffIds gets a reference to the given []string and assigns it to the DiffIds field.

func (*PluginConfigRootfs) SetType

func (o *PluginConfigRootfs) SetType(v string)

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

type PluginConfigUser

type PluginConfigUser struct {
	// g ID
	GID *int32 `json:"GID,omitempty"`
	// UID
	UID *int32 `json:"UID,omitempty"`
}

PluginConfigUser PluginConfigUser plugin config user

func NewPluginConfigUser

func NewPluginConfigUser() *PluginConfigUser

NewPluginConfigUser instantiates a new PluginConfigUser 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 NewPluginConfigUserWithDefaults

func NewPluginConfigUserWithDefaults() *PluginConfigUser

NewPluginConfigUserWithDefaults instantiates a new PluginConfigUser 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 (*PluginConfigUser) GetGID

func (o *PluginConfigUser) GetGID() int32

GetGID returns the GID field value if set, zero value otherwise.

func (*PluginConfigUser) GetGIDOk

func (o *PluginConfigUser) GetGIDOk() (*int32, bool)

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

func (*PluginConfigUser) GetUID

func (o *PluginConfigUser) GetUID() int32

GetUID returns the UID field value if set, zero value otherwise.

func (*PluginConfigUser) GetUIDOk

func (o *PluginConfigUser) GetUIDOk() (*int32, bool)

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

func (*PluginConfigUser) HasGID

func (o *PluginConfigUser) HasGID() bool

HasGID returns a boolean if a field has been set.

func (*PluginConfigUser) HasUID

func (o *PluginConfigUser) HasUID() bool

HasUID returns a boolean if a field has been set.

func (PluginConfigUser) MarshalJSON

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

func (*PluginConfigUser) SetGID

func (o *PluginConfigUser) SetGID(v int32)

SetGID gets a reference to the given int32 and assigns it to the GID field.

func (*PluginConfigUser) SetUID

func (o *PluginConfigUser) SetUID(v int32)

SetUID gets a reference to the given int32 and assigns it to the UID field.

type PluginDevice

type PluginDevice struct {
	// description
	Description string `json:"Description"`
	// name
	Name string `json:"Name"`
	// path
	Path string `json:"Path"`
	// settable
	Settable []string `json:"Settable"`
}

PluginDevice PluginDevice plugin device

func NewPluginDevice

func NewPluginDevice(description string, name string, path string, settable []string) *PluginDevice

NewPluginDevice instantiates a new PluginDevice 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 NewPluginDeviceWithDefaults

func NewPluginDeviceWithDefaults() *PluginDevice

NewPluginDeviceWithDefaults instantiates a new PluginDevice 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 (*PluginDevice) GetDescription

func (o *PluginDevice) GetDescription() string

GetDescription returns the Description field value

func (*PluginDevice) GetDescriptionOk

func (o *PluginDevice) GetDescriptionOk() (*string, bool)

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

func (*PluginDevice) GetName

func (o *PluginDevice) GetName() string

GetName returns the Name field value

func (*PluginDevice) GetNameOk

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

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

func (*PluginDevice) GetPath

func (o *PluginDevice) GetPath() string

GetPath returns the Path field value

func (*PluginDevice) GetPathOk

func (o *PluginDevice) GetPathOk() (*string, bool)

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

func (*PluginDevice) GetSettable

func (o *PluginDevice) GetSettable() []string

GetSettable returns the Settable field value

func (*PluginDevice) GetSettableOk

func (o *PluginDevice) GetSettableOk() ([]string, bool)

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

func (PluginDevice) MarshalJSON

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

func (*PluginDevice) SetDescription

func (o *PluginDevice) SetDescription(v string)

SetDescription sets field value

func (*PluginDevice) SetName

func (o *PluginDevice) SetName(v string)

SetName sets field value

func (*PluginDevice) SetPath

func (o *PluginDevice) SetPath(v string)

SetPath sets field value

func (*PluginDevice) SetSettable

func (o *PluginDevice) SetSettable(v []string)

SetSettable sets field value

type PluginEnv

type PluginEnv struct {
	// description
	Description string `json:"Description"`
	// name
	Name string `json:"Name"`
	// settable
	Settable []string `json:"Settable"`
	// value
	Value string `json:"Value"`
}

PluginEnv PluginEnv plugin env

func NewPluginEnv

func NewPluginEnv(description string, name string, settable []string, value string) *PluginEnv

NewPluginEnv instantiates a new PluginEnv 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 NewPluginEnvWithDefaults

func NewPluginEnvWithDefaults() *PluginEnv

NewPluginEnvWithDefaults instantiates a new PluginEnv 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 (*PluginEnv) GetDescription

func (o *PluginEnv) GetDescription() string

GetDescription returns the Description field value

func (*PluginEnv) GetDescriptionOk

func (o *PluginEnv) GetDescriptionOk() (*string, bool)

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

func (*PluginEnv) GetName

func (o *PluginEnv) GetName() string

GetName returns the Name field value

func (*PluginEnv) GetNameOk

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

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

func (*PluginEnv) GetSettable

func (o *PluginEnv) GetSettable() []string

GetSettable returns the Settable field value

func (*PluginEnv) GetSettableOk

func (o *PluginEnv) GetSettableOk() ([]string, bool)

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

func (*PluginEnv) GetValue

func (o *PluginEnv) GetValue() string

GetValue returns the Value field value

func (*PluginEnv) GetValueOk

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

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

func (PluginEnv) MarshalJSON

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

func (*PluginEnv) SetDescription

func (o *PluginEnv) SetDescription(v string)

SetDescription sets field value

func (*PluginEnv) SetName

func (o *PluginEnv) SetName(v string)

SetName sets field value

func (*PluginEnv) SetSettable

func (o *PluginEnv) SetSettable(v []string)

SetSettable sets field value

func (*PluginEnv) SetValue

func (o *PluginEnv) SetValue(v string)

SetValue sets field value

type PluginInterfaceType

type PluginInterfaceType struct {
	// capability
	Capability string `json:"Capability"`
	// prefix
	Prefix string `json:"Prefix"`
	// version
	Version string `json:"Version"`
}

PluginInterfaceType PluginInterfaceType plugin interface type

func NewPluginInterfaceType

func NewPluginInterfaceType(capability string, prefix string, version string) *PluginInterfaceType

NewPluginInterfaceType instantiates a new PluginInterfaceType 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 NewPluginInterfaceTypeWithDefaults

func NewPluginInterfaceTypeWithDefaults() *PluginInterfaceType

NewPluginInterfaceTypeWithDefaults instantiates a new PluginInterfaceType 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 (*PluginInterfaceType) GetCapability

func (o *PluginInterfaceType) GetCapability() string

GetCapability returns the Capability field value

func (*PluginInterfaceType) GetCapabilityOk

func (o *PluginInterfaceType) GetCapabilityOk() (*string, bool)

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

func (*PluginInterfaceType) GetPrefix

func (o *PluginInterfaceType) GetPrefix() string

GetPrefix returns the Prefix field value

func (*PluginInterfaceType) GetPrefixOk

func (o *PluginInterfaceType) GetPrefixOk() (*string, bool)

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

func (*PluginInterfaceType) GetVersion

func (o *PluginInterfaceType) GetVersion() string

GetVersion returns the Version field value

func (*PluginInterfaceType) GetVersionOk

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

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

func (PluginInterfaceType) MarshalJSON

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

func (*PluginInterfaceType) SetCapability

func (o *PluginInterfaceType) SetCapability(v string)

SetCapability sets field value

func (*PluginInterfaceType) SetPrefix

func (o *PluginInterfaceType) SetPrefix(v string)

SetPrefix sets field value

func (*PluginInterfaceType) SetVersion

func (o *PluginInterfaceType) SetVersion(v string)

SetVersion sets field value

type PluginMount

type PluginMount struct {
	// description
	Description string `json:"Description"`
	// destination
	Destination string `json:"Destination"`
	// name
	Name string `json:"Name"`
	// options
	Options []string `json:"Options"`
	// settable
	Settable []string `json:"Settable"`
	// source
	Source string `json:"Source"`
	// type
	Type string `json:"Type"`
}

PluginMount PluginMount plugin mount

func NewPluginMount

func NewPluginMount(description string, destination string, name string, options []string, settable []string, source string, type_ string) *PluginMount

NewPluginMount instantiates a new PluginMount 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 NewPluginMountWithDefaults

func NewPluginMountWithDefaults() *PluginMount

NewPluginMountWithDefaults instantiates a new PluginMount 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 (*PluginMount) GetDescription

func (o *PluginMount) GetDescription() string

GetDescription returns the Description field value

func (*PluginMount) GetDescriptionOk

func (o *PluginMount) GetDescriptionOk() (*string, bool)

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

func (*PluginMount) GetDestination

func (o *PluginMount) GetDestination() string

GetDestination returns the Destination field value

func (*PluginMount) GetDestinationOk

func (o *PluginMount) GetDestinationOk() (*string, bool)

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

func (*PluginMount) GetName

func (o *PluginMount) GetName() string

GetName returns the Name field value

func (*PluginMount) GetNameOk

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

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

func (*PluginMount) GetOptions

func (o *PluginMount) GetOptions() []string

GetOptions returns the Options field value

func (*PluginMount) GetOptionsOk

func (o *PluginMount) GetOptionsOk() ([]string, bool)

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

func (*PluginMount) GetSettable

func (o *PluginMount) GetSettable() []string

GetSettable returns the Settable field value

func (*PluginMount) GetSettableOk

func (o *PluginMount) GetSettableOk() ([]string, bool)

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

func (*PluginMount) GetSource

func (o *PluginMount) GetSource() string

GetSource returns the Source field value

func (*PluginMount) GetSourceOk

func (o *PluginMount) GetSourceOk() (*string, bool)

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

func (*PluginMount) GetType

func (o *PluginMount) GetType() string

GetType returns the Type field value

func (*PluginMount) GetTypeOk

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

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

func (PluginMount) MarshalJSON

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

func (*PluginMount) SetDescription

func (o *PluginMount) SetDescription(v string)

SetDescription sets field value

func (*PluginMount) SetDestination

func (o *PluginMount) SetDestination(v string)

SetDestination sets field value

func (*PluginMount) SetName

func (o *PluginMount) SetName(v string)

SetName sets field value

func (*PluginMount) SetOptions

func (o *PluginMount) SetOptions(v []string)

SetOptions sets field value

func (*PluginMount) SetSettable

func (o *PluginMount) SetSettable(v []string)

SetSettable sets field value

func (*PluginMount) SetSource

func (o *PluginMount) SetSource(v string)

SetSource sets field value

func (*PluginMount) SetType

func (o *PluginMount) SetType(v string)

SetType sets field value

type PluginSettings

type PluginSettings struct {
	// args
	Args []string `json:"Args"`
	// devices
	Devices []PluginDevice `json:"Devices"`
	// env
	Env []string `json:"Env"`
	// mounts
	Mounts []PluginMount `json:"Mounts"`
}

PluginSettings struct for PluginSettings

func NewPluginSettings

func NewPluginSettings(args []string, devices []PluginDevice, env []string, mounts []PluginMount) *PluginSettings

NewPluginSettings instantiates a new PluginSettings 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 NewPluginSettingsWithDefaults

func NewPluginSettingsWithDefaults() *PluginSettings

NewPluginSettingsWithDefaults instantiates a new PluginSettings 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 (*PluginSettings) GetArgs

func (o *PluginSettings) GetArgs() []string

GetArgs returns the Args field value

func (*PluginSettings) GetArgsOk

func (o *PluginSettings) GetArgsOk() ([]string, bool)

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

func (*PluginSettings) GetDevices

func (o *PluginSettings) GetDevices() []PluginDevice

GetDevices returns the Devices field value

func (*PluginSettings) GetDevicesOk

func (o *PluginSettings) GetDevicesOk() ([]PluginDevice, bool)

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

func (*PluginSettings) GetEnv

func (o *PluginSettings) GetEnv() []string

GetEnv returns the Env field value

func (*PluginSettings) GetEnvOk

func (o *PluginSettings) GetEnvOk() ([]string, bool)

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

func (*PluginSettings) GetMounts

func (o *PluginSettings) GetMounts() []PluginMount

GetMounts returns the Mounts field value

func (*PluginSettings) GetMountsOk

func (o *PluginSettings) GetMountsOk() ([]PluginMount, bool)

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

func (PluginSettings) MarshalJSON

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

func (*PluginSettings) SetArgs

func (o *PluginSettings) SetArgs(v []string)

SetArgs sets field value

func (*PluginSettings) SetDevices

func (o *PluginSettings) SetDevices(v []PluginDevice)

SetDevices sets field value

func (*PluginSettings) SetEnv

func (o *PluginSettings) SetEnv(v []string)

SetEnv sets field value

func (*PluginSettings) SetMounts

func (o *PluginSettings) SetMounts(v []PluginMount)

SetMounts sets field value

type Port

type Port struct {
	// IP
	IP *string `json:"IP,omitempty"`
	// Port on the container
	PrivatePort int32 `json:"PrivatePort"`
	// Port exposed on the host
	PublicPort *int32 `json:"PublicPort,omitempty"`
	// type
	Type string `json:"Type"`
}

Port Port An open port on a container

func NewPort

func NewPort(privatePort int32, type_ string) *Port

NewPort instantiates a new Port 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 NewPortWithDefaults

func NewPortWithDefaults() *Port

NewPortWithDefaults instantiates a new Port 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 (*Port) GetIP

func (o *Port) GetIP() string

GetIP returns the IP field value if set, zero value otherwise.

func (*Port) GetIPOk

func (o *Port) GetIPOk() (*string, bool)

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

func (*Port) GetPrivatePort

func (o *Port) GetPrivatePort() int32

GetPrivatePort returns the PrivatePort field value

func (*Port) GetPrivatePortOk

func (o *Port) GetPrivatePortOk() (*int32, bool)

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

func (*Port) GetPublicPort

func (o *Port) GetPublicPort() int32

GetPublicPort returns the PublicPort field value if set, zero value otherwise.

func (*Port) GetPublicPortOk

func (o *Port) GetPublicPortOk() (*int32, bool)

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

func (*Port) GetType

func (o *Port) GetType() string

GetType returns the Type field value

func (*Port) GetTypeOk

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

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

func (*Port) HasIP

func (o *Port) HasIP() bool

HasIP returns a boolean if a field has been set.

func (*Port) HasPublicPort

func (o *Port) HasPublicPort() bool

HasPublicPort returns a boolean if a field has been set.

func (Port) MarshalJSON

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

func (*Port) SetIP

func (o *Port) SetIP(v string)

SetIP gets a reference to the given string and assigns it to the IP field.

func (*Port) SetPrivatePort

func (o *Port) SetPrivatePort(v int32)

SetPrivatePort sets field value

func (*Port) SetPublicPort

func (o *Port) SetPublicPort(v int32)

SetPublicPort gets a reference to the given int32 and assigns it to the PublicPort field.

func (*Port) SetType

func (o *Port) SetType(v string)

SetType sets field value

type PublicApiApiGetSchemaRequest

type PublicApiApiGetSchemaRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiGetSchemaRequest) Execute

func (r PublicApiApiGetSchemaRequest) Execute() (map[string]interface{}, *http.Response, error)

type PublicApiApiGetSelfServiceErrorRequest

type PublicApiApiGetSelfServiceErrorRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiGetSelfServiceErrorRequest) Error_

func (PublicApiApiGetSelfServiceErrorRequest) Execute

type PublicApiApiGetSelfServiceLoginFlowRequest

type PublicApiApiGetSelfServiceLoginFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiGetSelfServiceLoginFlowRequest) Execute

func (PublicApiApiGetSelfServiceLoginFlowRequest) Id

type PublicApiApiGetSelfServiceRecoveryFlowRequest

type PublicApiApiGetSelfServiceRecoveryFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiGetSelfServiceRecoveryFlowRequest) Execute

func (PublicApiApiGetSelfServiceRecoveryFlowRequest) Id

type PublicApiApiGetSelfServiceRegistrationFlowRequest

type PublicApiApiGetSelfServiceRegistrationFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiGetSelfServiceRegistrationFlowRequest) Execute

func (PublicApiApiGetSelfServiceRegistrationFlowRequest) Id

type PublicApiApiGetSelfServiceSettingsFlowRequest

type PublicApiApiGetSelfServiceSettingsFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiGetSelfServiceSettingsFlowRequest) Execute

func (PublicApiApiGetSelfServiceSettingsFlowRequest) Id

func (PublicApiApiGetSelfServiceSettingsFlowRequest) XSessionToken

type PublicApiApiGetSelfServiceVerificationFlowRequest

type PublicApiApiGetSelfServiceVerificationFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiGetSelfServiceVerificationFlowRequest) Execute

func (PublicApiApiGetSelfServiceVerificationFlowRequest) Id

type PublicApiApiInitializeSelfServiceBrowserLogoutFlowRequest

type PublicApiApiInitializeSelfServiceBrowserLogoutFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceBrowserLogoutFlowRequest) Execute

type PublicApiApiInitializeSelfServiceLoginForBrowsersRequest

type PublicApiApiInitializeSelfServiceLoginForBrowsersRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceLoginForBrowsersRequest) Execute

func (PublicApiApiInitializeSelfServiceLoginForBrowsersRequest) Refresh

type PublicApiApiInitializeSelfServiceLoginForNativeAppsRequest

type PublicApiApiInitializeSelfServiceLoginForNativeAppsRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceLoginForNativeAppsRequest) Execute

func (PublicApiApiInitializeSelfServiceLoginForNativeAppsRequest) Refresh

type PublicApiApiInitializeSelfServiceRecoveryForBrowsersRequest

type PublicApiApiInitializeSelfServiceRecoveryForBrowsersRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceRecoveryForBrowsersRequest) Execute

type PublicApiApiInitializeSelfServiceRecoveryForNativeAppsRequest

type PublicApiApiInitializeSelfServiceRecoveryForNativeAppsRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceRecoveryForNativeAppsRequest) Execute

type PublicApiApiInitializeSelfServiceRegistrationForBrowsersRequest

type PublicApiApiInitializeSelfServiceRegistrationForBrowsersRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceRegistrationForBrowsersRequest) Execute

type PublicApiApiInitializeSelfServiceRegistrationForNativeAppsRequest

type PublicApiApiInitializeSelfServiceRegistrationForNativeAppsRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceRegistrationForNativeAppsRequest) Execute

type PublicApiApiInitializeSelfServiceSettingsForBrowsersRequest

type PublicApiApiInitializeSelfServiceSettingsForBrowsersRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceSettingsForBrowsersRequest) Execute

type PublicApiApiInitializeSelfServiceSettingsForNativeAppsRequest

type PublicApiApiInitializeSelfServiceSettingsForNativeAppsRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceSettingsForNativeAppsRequest) Execute

func (PublicApiApiInitializeSelfServiceSettingsForNativeAppsRequest) XSessionToken

type PublicApiApiInitializeSelfServiceVerificationForBrowsersRequest

type PublicApiApiInitializeSelfServiceVerificationForBrowsersRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceVerificationForBrowsersRequest) Execute

type PublicApiApiInitializeSelfServiceVerificationForNativeAppsRequest

type PublicApiApiInitializeSelfServiceVerificationForNativeAppsRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiInitializeSelfServiceVerificationForNativeAppsRequest) Execute

type PublicApiApiRevokeSessionRequest

type PublicApiApiRevokeSessionRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiRevokeSessionRequest) Execute

func (PublicApiApiRevokeSessionRequest) RevokeSession

type PublicApiApiSubmitSelfServiceLoginFlowRequest

type PublicApiApiSubmitSelfServiceLoginFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiSubmitSelfServiceLoginFlowRequest) Execute

func (PublicApiApiSubmitSelfServiceLoginFlowRequest) Flow

func (PublicApiApiSubmitSelfServiceLoginFlowRequest) SubmitSelfServiceLoginFlow

type PublicApiApiSubmitSelfServiceRecoveryFlowRequest

type PublicApiApiSubmitSelfServiceRecoveryFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiSubmitSelfServiceRecoveryFlowRequest) Body

func (PublicApiApiSubmitSelfServiceRecoveryFlowRequest) Execute

func (PublicApiApiSubmitSelfServiceRecoveryFlowRequest) Flow

type PublicApiApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest

type PublicApiApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) Execute

func (PublicApiApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) Flow

func (PublicApiApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) SubmitSelfServiceRecoveryFlowWithLinkMethod

func (PublicApiApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) Token

type PublicApiApiSubmitSelfServiceRegistrationFlowRequest

type PublicApiApiSubmitSelfServiceRegistrationFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiSubmitSelfServiceRegistrationFlowRequest) Execute

func (PublicApiApiSubmitSelfServiceRegistrationFlowRequest) Flow

func (PublicApiApiSubmitSelfServiceRegistrationFlowRequest) SubmitSelfServiceRegistrationFlow

type PublicApiApiSubmitSelfServiceSettingsFlowRequest

type PublicApiApiSubmitSelfServiceSettingsFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiSubmitSelfServiceSettingsFlowRequest) Execute

func (PublicApiApiSubmitSelfServiceSettingsFlowRequest) Flow

func (PublicApiApiSubmitSelfServiceSettingsFlowRequest) SubmitSelfServiceSettingsFlow

func (PublicApiApiSubmitSelfServiceSettingsFlowRequest) XSessionToken

type PublicApiApiSubmitSelfServiceVerificationFlowRequest

type PublicApiApiSubmitSelfServiceVerificationFlowRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiSubmitSelfServiceVerificationFlowRequest) Body

func (PublicApiApiSubmitSelfServiceVerificationFlowRequest) Execute

func (PublicApiApiSubmitSelfServiceVerificationFlowRequest) Flow

type PublicApiApiToSessionRequest

type PublicApiApiToSessionRequest struct {
	ApiService *PublicApiService
	// contains filtered or unexported fields
}

func (PublicApiApiToSessionRequest) Execute

func (PublicApiApiToSessionRequest) XSessionToken

func (r PublicApiApiToSessionRequest) XSessionToken(xSessionToken string) PublicApiApiToSessionRequest

type PublicApiService

type PublicApiService service

PublicApiService PublicApi service

func (*PublicApiService) GetSchema

* GetSchema Method for GetSchema * Get a Traits Schema Definition * @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 PublicApiApiGetSchemaRequest

func (*PublicApiService) GetSchemaExecute

func (a *PublicApiService) GetSchemaExecute(r PublicApiApiGetSchemaRequest) (map[string]interface{}, *http.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*PublicApiService) GetSelfServiceError

  • GetSelfServiceError Get User-Facing 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:

`?error=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 PublicApiApiGetSelfServiceErrorRequest

func (*PublicApiService) GetSelfServiceErrorExecute

* Execute executes the request * @return SelfServiceErrorContainer

func (*PublicApiService) GetSelfServiceLoginFlow

  • GetSelfServiceLoginFlow Get Login Flow
  • This endpoint returns a login flow's context with, for example, error details and other information.

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*PublicApiService) GetSelfServiceLoginFlowExecute

func (a *PublicApiService) GetSelfServiceLoginFlowExecute(r PublicApiApiGetSelfServiceLoginFlowRequest) (*LoginFlow, *http.Response, error)

* Execute executes the request * @return LoginFlow

func (*PublicApiService) GetSelfServiceRecoveryFlow

  • GetSelfServiceRecoveryFlow Get information about a recovery flow
  • This endpoint returns a recovery flow's context with, for example, error details and other information.

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery.mdx).

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

func (*PublicApiService) GetSelfServiceRecoveryFlowExecute

func (a *PublicApiService) GetSelfServiceRecoveryFlowExecute(r PublicApiApiGetSelfServiceRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)

* Execute executes the request * @return RecoveryFlow

func (*PublicApiService) GetSelfServiceRegistrationFlow

  • GetSelfServiceRegistrationFlow Get Registration Flow
  • This endpoint returns a registration flow's context with, for example, error details and other information.

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*PublicApiService) GetSelfServiceRegistrationFlowExecute

* Execute executes the request * @return RegistrationFlow

func (*PublicApiService) 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. The public endpoint does not return 404 status codes but instead 403 or 500 to improve data privacy.

You can access this endpoint without credentials when using Ory Kratos' Admin API.

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 PublicApiApiGetSelfServiceSettingsFlowRequest

func (*PublicApiService) GetSelfServiceSettingsFlowExecute

func (a *PublicApiService) GetSelfServiceSettingsFlowExecute(r PublicApiApiGetSelfServiceSettingsFlowRequest) (*SettingsFlow, *http.Response, error)

* Execute executes the request * @return SettingsFlow

func (*PublicApiService) GetSelfServiceVerificationFlow

  • GetSelfServiceVerificationFlow Get Verification Flow
  • This endpoint returns a verification flow's context with, for example, error details and other information.

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 PublicApiApiGetSelfServiceVerificationFlowRequest

func (*PublicApiService) GetSelfServiceVerificationFlowExecute

* Execute executes the request * @return VerificationFlow

func (*PublicApiService) InitializeSelfServiceBrowserLogoutFlow

func (a *PublicApiService) InitializeSelfServiceBrowserLogoutFlow(ctx context.Context) PublicApiApiInitializeSelfServiceBrowserLogoutFlowRequest
  • InitializeSelfServiceBrowserLogoutFlow Initialize Browser-Based Logout User Flow
  • This endpoint initializes a logout flow.

> This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

On successful logout, the browser will be redirected (HTTP 302 Found) to the `return_to` parameter of the initial request or fall back to `urls.default_return_to`.

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 PublicApiApiInitializeSelfServiceBrowserLogoutFlowRequest

func (*PublicApiService) InitializeSelfServiceBrowserLogoutFlowExecute

func (a *PublicApiService) InitializeSelfServiceBrowserLogoutFlowExecute(r PublicApiApiInitializeSelfServiceBrowserLogoutFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceLoginForBrowsers

func (a *PublicApiService) InitializeSelfServiceLoginForBrowsers(ctx context.Context) PublicApiApiInitializeSelfServiceLoginForBrowsersRequest
  • InitializeSelfServiceLoginForBrowsers Initialize Login Flow for browsers
  • This endpoint initializes a browser-based user login flow. Once initialized, the browser 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.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*PublicApiService) InitializeSelfServiceLoginForBrowsersExecute

func (a *PublicApiService) InitializeSelfServiceLoginForBrowsersExecute(r PublicApiApiInitializeSelfServiceLoginForBrowsersRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceLoginForNativeApps

func (a *PublicApiService) InitializeSelfServiceLoginForNativeApps(ctx context.Context) PublicApiApiInitializeSelfServiceLoginForNativeAppsRequest
  • InitializeSelfServiceLoginForNativeApps Initialize Login Flow for Native Apps and API clients
  • This endpoint initiates a login 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 login flow call `/self-service/login/flows?flow=<flow_id>`.

:::warning

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.

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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*PublicApiService) InitializeSelfServiceLoginForNativeAppsExecute

func (a *PublicApiService) InitializeSelfServiceLoginForNativeAppsExecute(r PublicApiApiInitializeSelfServiceLoginForNativeAppsRequest) (*LoginFlow, *http.Response, error)

* Execute executes the request * @return LoginFlow

func (*PublicApiService) InitializeSelfServiceRecoveryForBrowsers

func (a *PublicApiService) InitializeSelfServiceRecoveryForBrowsers(ctx context.Context) PublicApiApiInitializeSelfServiceRecoveryForBrowsersRequest
  • InitializeSelfServiceRecoveryForBrowsers Initialize Recovery Flow for Browser Clients
  • 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.

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

More information can be found at [Ory Kratos Account Recovery Documentation](../self-service/flows/account-recovery.mdx).

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

func (*PublicApiService) InitializeSelfServiceRecoveryForBrowsersExecute

func (a *PublicApiService) InitializeSelfServiceRecoveryForBrowsersExecute(r PublicApiApiInitializeSelfServiceRecoveryForBrowsersRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceRecoveryForNativeApps

func (a *PublicApiService) InitializeSelfServiceRecoveryForNativeApps(ctx context.Context) PublicApiApiInitializeSelfServiceRecoveryForNativeAppsRequest
  • InitializeSelfServiceRecoveryForNativeApps Initialize Recovery Flow for Native Apps and API clients
  • 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>`.

:::warning

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.mdx).

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

func (*PublicApiService) InitializeSelfServiceRecoveryForNativeAppsExecute

func (a *PublicApiService) InitializeSelfServiceRecoveryForNativeAppsExecute(r PublicApiApiInitializeSelfServiceRecoveryForNativeAppsRequest) (*RecoveryFlow, *http.Response, error)

* Execute executes the request * @return RecoveryFlow

func (*PublicApiService) InitializeSelfServiceRegistrationForBrowsers

func (a *PublicApiService) InitializeSelfServiceRegistrationForBrowsers(ctx context.Context) PublicApiApiInitializeSelfServiceRegistrationForBrowsersRequest
  • InitializeSelfServiceRegistrationForBrowsers Initialize Registration Flow for browsers
  • This endpoint initializes a browser-based user registration flow. Once initialized, the browser 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` unless the query parameter `?refresh=true` was set.

:::note

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

:::

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*PublicApiService) InitializeSelfServiceRegistrationForBrowsersExecute

func (a *PublicApiService) InitializeSelfServiceRegistrationForBrowsersExecute(r PublicApiApiInitializeSelfServiceRegistrationForBrowsersRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceRegistrationForNativeApps

func (a *PublicApiService) InitializeSelfServiceRegistrationForNativeApps(ctx context.Context) PublicApiApiInitializeSelfServiceRegistrationForNativeAppsRequest
  • InitializeSelfServiceRegistrationForNativeApps Initialize Registration Flow for Native Apps and API clients
  • 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>`.

:::warning

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 User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*PublicApiService) InitializeSelfServiceRegistrationForNativeAppsExecute

func (a *PublicApiService) InitializeSelfServiceRegistrationForNativeAppsExecute(r PublicApiApiInitializeSelfServiceRegistrationForNativeAppsRequest) (*RegistrationFlow, *http.Response, error)

* Execute executes the request * @return RegistrationFlow

func (*PublicApiService) InitializeSelfServiceSettingsForBrowsers

func (a *PublicApiService) InitializeSelfServiceSettingsForBrowsers(ctx context.Context) PublicApiApiInitializeSelfServiceSettingsForBrowsersRequest
  • InitializeSelfServiceSettingsForBrowsers 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.

:::note

This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...).

:::

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 PublicApiApiInitializeSelfServiceSettingsForBrowsersRequest

func (*PublicApiService) InitializeSelfServiceSettingsForBrowsersExecute

func (a *PublicApiService) InitializeSelfServiceSettingsForBrowsersExecute(r PublicApiApiInitializeSelfServiceSettingsForBrowsersRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceSettingsForNativeApps

func (a *PublicApiService) InitializeSelfServiceSettingsForNativeApps(ctx context.Context) PublicApiApiInitializeSelfServiceSettingsForNativeAppsRequest
  • InitializeSelfServiceSettingsForNativeApps Initialize Settings Flow for Native Apps and API clients
  • 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>`.

:::warning

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

func (*PublicApiService) InitializeSelfServiceSettingsForNativeAppsExecute

func (a *PublicApiService) InitializeSelfServiceSettingsForNativeAppsExecute(r PublicApiApiInitializeSelfServiceSettingsForNativeAppsRequest) (*SettingsFlow, *http.Response, error)

* Execute executes the request * @return SettingsFlow

func (*PublicApiService) InitializeSelfServiceVerificationForBrowsers

func (a *PublicApiService) InitializeSelfServiceVerificationForBrowsers(ctx context.Context) PublicApiApiInitializeSelfServiceVerificationForBrowsersRequest
  • InitializeSelfServiceVerificationForBrowsers 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=`.

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 PublicApiApiInitializeSelfServiceVerificationForBrowsersRequest

func (*PublicApiService) InitializeSelfServiceVerificationForBrowsersExecute

func (a *PublicApiService) InitializeSelfServiceVerificationForBrowsersExecute(r PublicApiApiInitializeSelfServiceVerificationForBrowsersRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceVerificationForNativeApps

func (a *PublicApiService) InitializeSelfServiceVerificationForNativeApps(ctx context.Context) PublicApiApiInitializeSelfServiceVerificationForNativeAppsRequest
  • InitializeSelfServiceVerificationForNativeApps Initialize Verification Flow for Native Apps and API clients
  • 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>`.

:::warning

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 PublicApiApiInitializeSelfServiceVerificationForNativeAppsRequest

func (*PublicApiService) InitializeSelfServiceVerificationForNativeAppsExecute

func (a *PublicApiService) InitializeSelfServiceVerificationForNativeAppsExecute(r PublicApiApiInitializeSelfServiceVerificationForNativeAppsRequest) (*VerificationFlow, *http.Response, error)

* Execute executes the request * @return VerificationFlow

func (*PublicApiService) RevokeSession

  • RevokeSession Initialize Logout Flow for API Clients - Revoke a Session
  • Use this endpoint to revoke a session using its token. This endpoint is particularly useful for API clients

such as mobile apps to log the user out of the system and invalidate the session.

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 PublicApiApiRevokeSessionRequest

func (*PublicApiService) RevokeSessionExecute

func (a *PublicApiService) RevokeSessionExecute(r PublicApiApiRevokeSessionRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) SubmitSelfServiceLoginFlow

  • SubmitSelfServiceLoginFlow Submit a Login Flow
  • 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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.

Browser flows expect `application/x-www-form-urlencoded` to be sent in the body and responds with a HTTP 302 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 302 redirect to the login UI URL with the flow ID containing the validation errors otherwise.

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*PublicApiService) SubmitSelfServiceLoginFlowExecute

* Execute executes the request * @return LoginViaApiResponse

func (*PublicApiService) 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 it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 302 Found redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients it returns a HTTP 302 Found 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 302 Found 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.mdx).

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

func (*PublicApiService) SubmitSelfServiceRecoveryFlowExecute

func (a *PublicApiService) SubmitSelfServiceRecoveryFlowExecute(r PublicApiApiSubmitSelfServiceRecoveryFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) SubmitSelfServiceRecoveryFlowWithLinkMethod

func (a *PublicApiService) SubmitSelfServiceRecoveryFlowWithLinkMethod(ctx context.Context) PublicApiApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest
  • SubmitSelfServiceRecoveryFlowWithLinkMethod Complete Recovery Flow with Link Method
  • Use this endpoint to complete a recovery flow using the link method. 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 it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 302 Found redirect with a fresh recovery flow if the flow was otherwise invalid (e.g. expired). For Browser clients it returns a HTTP 302 Found redirect to the Recovery UI URL with the Recovery Flow ID appended. `sent_email` is the success state after `choose_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 302 Found 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.mdx).

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

func (*PublicApiService) SubmitSelfServiceRecoveryFlowWithLinkMethodExecute

func (a *PublicApiService) SubmitSelfServiceRecoveryFlowWithLinkMethodExecute(r PublicApiApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) 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 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.

Browser flows expect `application/x-www-form-urlencoded` to be sent in the body and responds with a HTTP 302 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 302 redirect to the registration UI URL with the flow ID containing the validation errors otherwise.

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*PublicApiService) SubmitSelfServiceRegistrationFlowExecute

* Execute executes the request * @return RegistrationViaApiResponse

func (*PublicApiService) 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 302 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. Implies that the user needs to re-authenticate.

Browser flows expect `application/x-www-form-urlencoded` to be sent in the body and responds with a HTTP 302 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 302 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 302 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached.

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 PublicApiApiSubmitSelfServiceSettingsFlowRequest

func (*PublicApiService) SubmitSelfServiceSettingsFlowExecute

* Execute executes the request * @return SettingsViaApiResponse

func (*PublicApiService) 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 it either returns a HTTP 200 OK when the form is valid and HTTP 400 OK when the form is invalid and a HTTP 302 Found redirect with a fresh verification flow if the flow was otherwise invalid (e.g. expired). For Browser clients it returns a HTTP 302 Found 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 302 Found 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 PublicApiApiSubmitSelfServiceVerificationFlowRequest

func (*PublicApiService) SubmitSelfServiceVerificationFlowExecute

func (a *PublicApiService) SubmitSelfServiceVerificationFlowExecute(r PublicApiApiSubmitSelfServiceVerificationFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) 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.

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!

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

func (*PublicApiService) ToSessionExecute

* Execute executes the request * @return Session

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

type RecoveryFlow 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"`
	State      string `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type *string     `json:"type,omitempty"`
	Ui   UiContainer `json:"ui"`
}

RecoveryFlow 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 NewRecoveryFlow added in v0.11.0

func NewRecoveryFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, state string, ui UiContainer) *RecoveryFlow

NewRecoveryFlow instantiates a new RecoveryFlow 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 NewRecoveryFlowWithDefaults added in v0.11.0

func NewRecoveryFlowWithDefaults() *RecoveryFlow

NewRecoveryFlowWithDefaults instantiates a new RecoveryFlow 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 (*RecoveryFlow) GetActive added in v0.11.0

func (o *RecoveryFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*RecoveryFlow) GetActiveOk added in v0.11.0

func (o *RecoveryFlow) 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 (*RecoveryFlow) GetExpiresAt added in v0.11.0

func (o *RecoveryFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*RecoveryFlow) GetExpiresAtOk added in v0.11.0

func (o *RecoveryFlow) 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 (*RecoveryFlow) GetId added in v0.11.0

func (o *RecoveryFlow) GetId() string

GetId returns the Id field value

func (*RecoveryFlow) GetIdOk added in v0.11.0

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

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

func (*RecoveryFlow) GetIssuedAt added in v0.11.0

func (o *RecoveryFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*RecoveryFlow) GetIssuedAtOk added in v0.11.0

func (o *RecoveryFlow) 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 (*RecoveryFlow) GetRequestUrl added in v0.11.0

func (o *RecoveryFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RecoveryFlow) GetRequestUrlOk added in v0.11.0

func (o *RecoveryFlow) GetRequestUrlOk() (*string, bool)

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

func (*RecoveryFlow) GetState added in v0.11.0

func (o *RecoveryFlow) GetState() string

GetState returns the State field value

func (*RecoveryFlow) GetStateOk added in v0.11.0

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

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

func (*RecoveryFlow) GetType added in v0.11.0

func (o *RecoveryFlow) GetType() string

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

func (*RecoveryFlow) GetTypeOk added in v0.11.0

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

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

func (*RecoveryFlow) GetUi added in v0.11.0

func (o *RecoveryFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RecoveryFlow) GetUiOk added in v0.11.0

func (o *RecoveryFlow) GetUiOk() (*UiContainer, bool)

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

func (*RecoveryFlow) HasActive added in v0.11.0

func (o *RecoveryFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*RecoveryFlow) HasType

func (o *RecoveryFlow) HasType() bool

HasType returns a boolean if a field has been set.

func (RecoveryFlow) MarshalJSON added in v0.11.0

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

func (*RecoveryFlow) SetActive added in v0.11.0

func (o *RecoveryFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*RecoveryFlow) SetExpiresAt added in v0.11.0

func (o *RecoveryFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*RecoveryFlow) SetId added in v0.11.0

func (o *RecoveryFlow) SetId(v string)

SetId sets field value

func (*RecoveryFlow) SetIssuedAt added in v0.11.0

func (o *RecoveryFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*RecoveryFlow) SetRequestUrl added in v0.11.0

func (o *RecoveryFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RecoveryFlow) SetState added in v0.11.0

func (o *RecoveryFlow) SetState(v string)

SetState sets field value

func (*RecoveryFlow) SetType added in v0.11.0

func (o *RecoveryFlow) SetType(v string)

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

func (*RecoveryFlow) SetUi added in v0.11.0

func (o *RecoveryFlow) SetUi(v UiContainer)

SetUi sets field value

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

RecoveryLink struct for RecoveryLink

func NewRecoveryLink(recoveryLink string) *RecoveryLink

NewRecoveryLink instantiates a new RecoveryLink 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 NewRecoveryLinkWithDefaults

func NewRecoveryLinkWithDefaults() *RecoveryLink

NewRecoveryLinkWithDefaults instantiates a new RecoveryLink 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 (*RecoveryLink) GetExpiresAt

func (o *RecoveryLink) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*RecoveryLink) GetExpiresAtOk

func (o *RecoveryLink) 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 *RecoveryLink) GetRecoveryLink() string

GetRecoveryLink returns the RecoveryLink field value

func (*RecoveryLink) GetRecoveryLinkOk

func (o *RecoveryLink) GetRecoveryLinkOk() (*string, bool)

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

func (*RecoveryLink) HasExpiresAt

func (o *RecoveryLink) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (RecoveryLink) MarshalJSON

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

func (*RecoveryLink) SetExpiresAt

func (o *RecoveryLink) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (o *RecoveryLink) SetRecoveryLink(v string)

SetRecoveryLink sets field value

type RegistrationFlow added in v0.11.0

type RegistrationFlow struct {
	// and so on.
	Active *string `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"`
	// The flow type can either be `api` or `browser`.
	Type *string     `json:"type,omitempty"`
	Ui   UiContainer `json:"ui"`
}

RegistrationFlow struct for RegistrationFlow

func NewRegistrationFlow added in v0.11.0

func NewRegistrationFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl string, ui UiContainer) *RegistrationFlow

NewRegistrationFlow instantiates a new RegistrationFlow 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 NewRegistrationFlowWithDefaults added in v0.11.0

func NewRegistrationFlowWithDefaults() *RegistrationFlow

NewRegistrationFlowWithDefaults instantiates a new RegistrationFlow 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 (*RegistrationFlow) GetActive added in v0.11.0

func (o *RegistrationFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*RegistrationFlow) GetActiveOk added in v0.11.0

func (o *RegistrationFlow) 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 (*RegistrationFlow) GetExpiresAt added in v0.11.0

func (o *RegistrationFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*RegistrationFlow) GetExpiresAtOk added in v0.11.0

func (o *RegistrationFlow) 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 (*RegistrationFlow) GetId added in v0.11.0

func (o *RegistrationFlow) GetId() string

GetId returns the Id field value

func (*RegistrationFlow) GetIdOk added in v0.11.0

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

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

func (*RegistrationFlow) GetIssuedAt added in v0.11.0

func (o *RegistrationFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*RegistrationFlow) GetIssuedAtOk added in v0.11.0

func (o *RegistrationFlow) 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 (*RegistrationFlow) GetRequestUrl added in v0.11.0

func (o *RegistrationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RegistrationFlow) GetRequestUrlOk added in v0.11.0

func (o *RegistrationFlow) GetRequestUrlOk() (*string, bool)

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

func (*RegistrationFlow) GetType added in v0.11.0

func (o *RegistrationFlow) GetType() string

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

func (*RegistrationFlow) GetTypeOk added in v0.11.0

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

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

func (*RegistrationFlow) GetUi added in v0.11.0

func (o *RegistrationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RegistrationFlow) GetUiOk added in v0.11.0

func (o *RegistrationFlow) GetUiOk() (*UiContainer, bool)

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

func (*RegistrationFlow) HasActive added in v0.11.0

func (o *RegistrationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*RegistrationFlow) HasType

func (o *RegistrationFlow) HasType() bool

HasType returns a boolean if a field has been set.

func (RegistrationFlow) MarshalJSON added in v0.11.0

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

func (*RegistrationFlow) SetActive added in v0.11.0

func (o *RegistrationFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*RegistrationFlow) SetExpiresAt added in v0.11.0

func (o *RegistrationFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*RegistrationFlow) SetId added in v0.11.0

func (o *RegistrationFlow) SetId(v string)

SetId sets field value

func (*RegistrationFlow) SetIssuedAt added in v0.11.0

func (o *RegistrationFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*RegistrationFlow) SetRequestUrl added in v0.11.0

func (o *RegistrationFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RegistrationFlow) SetType added in v0.11.0

func (o *RegistrationFlow) SetType(v string)

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

func (*RegistrationFlow) SetUi added in v0.11.0

func (o *RegistrationFlow) SetUi(v UiContainer)

SetUi sets field value

type RegistrationViaApiResponse

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

RegistrationViaApiResponse The Response for Registration Flows via API

func NewRegistrationViaApiResponse

func NewRegistrationViaApiResponse(identity Identity, sessionToken string) *RegistrationViaApiResponse

NewRegistrationViaApiResponse instantiates a new RegistrationViaApiResponse 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 NewRegistrationViaApiResponseWithDefaults

func NewRegistrationViaApiResponseWithDefaults() *RegistrationViaApiResponse

NewRegistrationViaApiResponseWithDefaults instantiates a new RegistrationViaApiResponse 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 (*RegistrationViaApiResponse) GetIdentity

func (o *RegistrationViaApiResponse) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*RegistrationViaApiResponse) GetIdentityOk

func (o *RegistrationViaApiResponse) GetIdentityOk() (*Identity, bool)

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

func (*RegistrationViaApiResponse) GetSession

func (o *RegistrationViaApiResponse) GetSession() Session

GetSession returns the Session field value if set, zero value otherwise.

func (*RegistrationViaApiResponse) GetSessionOk

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

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 (*RegistrationViaApiResponse) GetSessionToken

func (o *RegistrationViaApiResponse) GetSessionToken() string

GetSessionToken returns the SessionToken field value

func (*RegistrationViaApiResponse) GetSessionTokenOk

func (o *RegistrationViaApiResponse) GetSessionTokenOk() (*string, bool)

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

func (*RegistrationViaApiResponse) HasSession

func (o *RegistrationViaApiResponse) HasSession() bool

HasSession returns a boolean if a field has been set.

func (RegistrationViaApiResponse) MarshalJSON

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

func (*RegistrationViaApiResponse) SetIdentity

func (o *RegistrationViaApiResponse) SetIdentity(v Identity)

SetIdentity sets field value

func (*RegistrationViaApiResponse) SetSession

func (o *RegistrationViaApiResponse) SetSession(v Session)

SetSession gets a reference to the given Session and assigns it to the Session field.

func (*RegistrationViaApiResponse) SetSessionToken

func (o *RegistrationViaApiResponse) SetSessionToken(v string)

SetSessionToken sets field value

type RevokeSession

type RevokeSession struct {
	// The Session Token  Invalidate this session token.
	SessionToken string `json:"session_token"`
}

RevokeSession struct for RevokeSession

func NewRevokeSession

func NewRevokeSession(sessionToken string) *RevokeSession

NewRevokeSession instantiates a new RevokeSession 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 NewRevokeSessionWithDefaults

func NewRevokeSessionWithDefaults() *RevokeSession

NewRevokeSessionWithDefaults instantiates a new RevokeSession 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 (*RevokeSession) GetSessionToken

func (o *RevokeSession) GetSessionToken() string

GetSessionToken returns the SessionToken field value

func (*RevokeSession) GetSessionTokenOk

func (o *RevokeSession) GetSessionTokenOk() (*string, bool)

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

func (RevokeSession) MarshalJSON

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

func (*RevokeSession) SetSessionToken

func (o *RevokeSession) SetSessionToken(v string)

SetSessionToken sets field value

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 SelfServiceErrorContainer

type SelfServiceErrorContainer struct {
	// CreatedAt is a helper struct field for gobuffalo.pop.
	CreatedAt *time.Time `json:"created_at,omitempty"`
	// Errors in the container
	Errors []map[string]interface{} `json:"errors"`
	Id     string                   `json:"id"`
	// UpdatedAt is a helper struct field for gobuffalo.pop.
	UpdatedAt *time.Time `json:"updated_at,omitempty"`
}

SelfServiceErrorContainer struct for SelfServiceErrorContainer

func NewSelfServiceErrorContainer

func NewSelfServiceErrorContainer(errors []map[string]interface{}, id string) *SelfServiceErrorContainer

NewSelfServiceErrorContainer instantiates a new SelfServiceErrorContainer 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 NewSelfServiceErrorContainerWithDefaults

func NewSelfServiceErrorContainerWithDefaults() *SelfServiceErrorContainer

NewSelfServiceErrorContainerWithDefaults instantiates a new SelfServiceErrorContainer 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 (*SelfServiceErrorContainer) GetCreatedAt

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

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

func (*SelfServiceErrorContainer) GetCreatedAtOk

func (o *SelfServiceErrorContainer) 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 (*SelfServiceErrorContainer) GetErrors

func (o *SelfServiceErrorContainer) GetErrors() []map[string]interface{}

GetErrors returns the Errors field value

func (*SelfServiceErrorContainer) GetErrorsOk

func (o *SelfServiceErrorContainer) GetErrorsOk() ([]map[string]interface{}, bool)

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

func (*SelfServiceErrorContainer) GetId

func (o *SelfServiceErrorContainer) GetId() string

GetId returns the Id field value

func (*SelfServiceErrorContainer) GetIdOk

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

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

func (*SelfServiceErrorContainer) GetUpdatedAt

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

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

func (*SelfServiceErrorContainer) GetUpdatedAtOk

func (o *SelfServiceErrorContainer) 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 (*SelfServiceErrorContainer) HasCreatedAt

func (o *SelfServiceErrorContainer) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*SelfServiceErrorContainer) HasUpdatedAt

func (o *SelfServiceErrorContainer) HasUpdatedAt() bool

HasUpdatedAt returns a boolean if a field has been set.

func (SelfServiceErrorContainer) MarshalJSON

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

func (*SelfServiceErrorContainer) SetCreatedAt

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

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

func (*SelfServiceErrorContainer) SetErrors

func (o *SelfServiceErrorContainer) SetErrors(v []map[string]interface{})

SetErrors sets field value

func (*SelfServiceErrorContainer) SetId

func (o *SelfServiceErrorContainer) SetId(v string)

SetId sets field value

func (*SelfServiceErrorContainer) SetUpdatedAt

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

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

type SelfServiceLoginFlow

type SelfServiceLoginFlow struct {
	// and so on.
	Active *string `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"`
	// Forced stores whether this login flow should enforce re-authentication.
	Forced *bool  `json:"forced,omitempty"`
	Id     string `json:"id"`
	// IssuedAt is the time (UTC) when the flow started.
	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"`
	// 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

func (o *SelfServiceLoginFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*SelfServiceLoginFlow) GetActiveOk

func (o *SelfServiceLoginFlow) 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 (*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) GetForced

func (o *SelfServiceLoginFlow) GetForced() bool

GetForced returns the Forced field value if set, zero value otherwise.

func (*SelfServiceLoginFlow) GetForcedOk

func (o *SelfServiceLoginFlow) GetForcedOk() (*bool, bool)

GetForcedOk returns a tuple with the Forced field value if set, nil otherwise 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) 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) 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) HasForced

func (o *SelfServiceLoginFlow) HasForced() bool

HasForced 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

func (o *SelfServiceLoginFlow) SetActive(v string)

SetActive gets a reference to the given string 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) SetForced

func (o *SelfServiceLoginFlow) SetForced(v bool)

SetForced gets a reference to the given bool and assigns it to the Forced field.

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

func (o *SelfServiceLoginFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

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 {
	// LogoutURL can be opened in a browser to  format: uri
	LogoutUrl *string `json:"logout_url,omitempty"`
}

SelfServiceLogoutUrl struct for SelfServiceLogoutUrl

func NewSelfServiceLogoutUrl

func NewSelfServiceLogoutUrl() *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) GetLogoutUrl

func (o *SelfServiceLogoutUrl) GetLogoutUrl() string

GetLogoutUrl returns the LogoutUrl field value if set, zero value otherwise.

func (*SelfServiceLogoutUrl) GetLogoutUrlOk

func (o *SelfServiceLogoutUrl) GetLogoutUrlOk() (*string, bool)

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

func (*SelfServiceLogoutUrl) HasLogoutUrl

func (o *SelfServiceLogoutUrl) HasLogoutUrl() bool

HasLogoutUrl returns a boolean if a field has been set.

func (SelfServiceLogoutUrl) MarshalJSON

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

func (*SelfServiceLogoutUrl) SetLogoutUrl

func (o *SelfServiceLogoutUrl) SetLogoutUrl(v string)

SetLogoutUrl gets a reference to the given string and assigns it to the LogoutUrl field.

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"`
	State      SelfServiceRecoveryFlowState `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type *string     `json:"type,omitempty"`
	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, 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) 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 if set, zero value otherwise.

func (*SelfServiceRecoveryFlow) GetTypeOk

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

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

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

func (o *SelfServiceRecoveryFlow) HasType() bool

HasType 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) SetState

SetState sets field value

func (*SelfServiceRecoveryFlow) SetType

func (o *SelfServiceRecoveryFlow) SetType(v string)

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

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 {
	// and so on.
	Active *string `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"`
	// The flow type can either be `api` or `browser`.
	Type *string     `json:"type,omitempty"`
	Ui   UiContainer `json:"ui"`
}

SelfServiceRegistrationFlow struct for SelfServiceRegistrationFlow

func NewSelfServiceRegistrationFlow

func NewSelfServiceRegistrationFlow(expiresAt time.Time, id string, issuedAt time.Time, requestUrl 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

func (o *SelfServiceRegistrationFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*SelfServiceRegistrationFlow) GetActiveOk

func (o *SelfServiceRegistrationFlow) 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 (*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) GetType

func (o *SelfServiceRegistrationFlow) GetType() string

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

func (*SelfServiceRegistrationFlow) GetTypeOk

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

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

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

func (o *SelfServiceRegistrationFlow) HasType() bool

HasType returns a boolean if a field has been set.

func (SelfServiceRegistrationFlow) MarshalJSON

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

func (*SelfServiceRegistrationFlow) SetActive

func (o *SelfServiceRegistrationFlow) SetActive(v string)

SetActive gets a reference to the given string 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) SetType

func (o *SelfServiceRegistrationFlow) SetType(v string)

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

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"`
	State      SelfServiceSettingsFlowState `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type *string     `json:"type,omitempty"`
	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, 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) 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 if set, zero value otherwise.

func (*SelfServiceSettingsFlow) GetTypeOk

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

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

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

func (o *SelfServiceSettingsFlow) HasType() bool

HasType 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) SetState

SetState sets field value

func (*SelfServiceSettingsFlow) SetType

func (o *SelfServiceSettingsFlow) SetType(v string)

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

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

type ServiceUpdateResponse struct {
	// Optional warning messages
	Warnings []string `json:"Warnings,omitempty"`
}

ServiceUpdateResponse ServiceUpdateResponse service update response

func NewServiceUpdateResponse

func NewServiceUpdateResponse() *ServiceUpdateResponse

NewServiceUpdateResponse instantiates a new ServiceUpdateResponse 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 NewServiceUpdateResponseWithDefaults

func NewServiceUpdateResponseWithDefaults() *ServiceUpdateResponse

NewServiceUpdateResponseWithDefaults instantiates a new ServiceUpdateResponse 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 (*ServiceUpdateResponse) GetWarnings

func (o *ServiceUpdateResponse) GetWarnings() []string

GetWarnings returns the Warnings field value if set, zero value otherwise.

func (*ServiceUpdateResponse) GetWarningsOk

func (o *ServiceUpdateResponse) GetWarningsOk() ([]string, bool)

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

func (*ServiceUpdateResponse) HasWarnings

func (o *ServiceUpdateResponse) HasWarnings() bool

HasWarnings returns a boolean if a field has been set.

func (ServiceUpdateResponse) MarshalJSON

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

func (*ServiceUpdateResponse) SetWarnings

func (o *ServiceUpdateResponse) SetWarnings(v []string)

SetWarnings gets a reference to the given []string and assigns it to the Warnings field.

type Session

type Session struct {
	// Whether or not the session is active.
	Active *bool `json:"active,omitempty"`
	// The Session Authentication Timestamp  When this session was authenticated at.
	AuthenticatedAt *time.Time `json:"authenticated_at,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 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) 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) 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) 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 SettingsFlow added in v0.11.0

type SettingsFlow 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"`
	State      string `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type *string     `json:"type,omitempty"`
	Ui   UiContainer `json:"ui"`
}

SettingsFlow 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 NewSettingsFlow added in v0.11.0

func NewSettingsFlow(expiresAt time.Time, id string, identity Identity, issuedAt time.Time, requestUrl string, state string, ui UiContainer) *SettingsFlow

NewSettingsFlow instantiates a new SettingsFlow 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 NewSettingsFlowWithDefaults added in v0.11.0

func NewSettingsFlowWithDefaults() *SettingsFlow

NewSettingsFlowWithDefaults instantiates a new SettingsFlow 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 (*SettingsFlow) GetActive added in v0.11.0

func (o *SettingsFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*SettingsFlow) GetActiveOk added in v0.11.0

func (o *SettingsFlow) 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 (*SettingsFlow) GetExpiresAt added in v0.11.0

func (o *SettingsFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value

func (*SettingsFlow) GetExpiresAtOk added in v0.11.0

func (o *SettingsFlow) 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 (*SettingsFlow) GetId added in v0.11.0

func (o *SettingsFlow) GetId() string

GetId returns the Id field value

func (*SettingsFlow) GetIdOk added in v0.11.0

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

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

func (*SettingsFlow) GetIdentity added in v0.11.0

func (o *SettingsFlow) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SettingsFlow) GetIdentityOk added in v0.11.0

func (o *SettingsFlow) GetIdentityOk() (*Identity, bool)

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

func (*SettingsFlow) GetIssuedAt added in v0.11.0

func (o *SettingsFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value

func (*SettingsFlow) GetIssuedAtOk added in v0.11.0

func (o *SettingsFlow) 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 (*SettingsFlow) GetRequestUrl added in v0.11.0

func (o *SettingsFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SettingsFlow) GetRequestUrlOk added in v0.11.0

func (o *SettingsFlow) GetRequestUrlOk() (*string, bool)

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

func (*SettingsFlow) GetState added in v0.11.0

func (o *SettingsFlow) GetState() string

GetState returns the State field value

func (*SettingsFlow) GetStateOk added in v0.11.0

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

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

func (*SettingsFlow) GetType added in v0.11.0

func (o *SettingsFlow) GetType() string

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

func (*SettingsFlow) GetTypeOk added in v0.11.0

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

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

func (*SettingsFlow) GetUi added in v0.11.0

func (o *SettingsFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*SettingsFlow) GetUiOk added in v0.11.0

func (o *SettingsFlow) GetUiOk() (*UiContainer, bool)

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

func (*SettingsFlow) HasActive added in v0.11.0

func (o *SettingsFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*SettingsFlow) HasType

func (o *SettingsFlow) HasType() bool

HasType returns a boolean if a field has been set.

func (SettingsFlow) MarshalJSON added in v0.11.0

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

func (*SettingsFlow) SetActive added in v0.11.0

func (o *SettingsFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*SettingsFlow) SetExpiresAt added in v0.11.0

func (o *SettingsFlow) SetExpiresAt(v time.Time)

SetExpiresAt sets field value

func (*SettingsFlow) SetId added in v0.11.0

func (o *SettingsFlow) SetId(v string)

SetId sets field value

func (*SettingsFlow) SetIdentity added in v0.11.0

func (o *SettingsFlow) SetIdentity(v Identity)

SetIdentity sets field value

func (*SettingsFlow) SetIssuedAt added in v0.11.0

func (o *SettingsFlow) SetIssuedAt(v time.Time)

SetIssuedAt sets field value

func (*SettingsFlow) SetRequestUrl added in v0.11.0

func (o *SettingsFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SettingsFlow) SetState added in v0.11.0

func (o *SettingsFlow) SetState(v string)

SetState sets field value

func (*SettingsFlow) SetType added in v0.11.0

func (o *SettingsFlow) SetType(v string)

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

func (*SettingsFlow) SetUi added in v0.11.0

func (o *SettingsFlow) SetUi(v UiContainer)

SetUi sets field value

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 SettingsViaApiResponse

type SettingsViaApiResponse struct {
	Flow     SettingsFlow `json:"flow"`
	Identity Identity     `json:"identity"`
}

SettingsViaApiResponse The Response for Settings Flows via API

func NewSettingsViaApiResponse

func NewSettingsViaApiResponse(flow SettingsFlow, identity Identity) *SettingsViaApiResponse

NewSettingsViaApiResponse instantiates a new SettingsViaApiResponse 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 NewSettingsViaApiResponseWithDefaults

func NewSettingsViaApiResponseWithDefaults() *SettingsViaApiResponse

NewSettingsViaApiResponseWithDefaults instantiates a new SettingsViaApiResponse 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 (*SettingsViaApiResponse) GetFlow

func (o *SettingsViaApiResponse) GetFlow() SettingsFlow

GetFlow returns the Flow field value

func (*SettingsViaApiResponse) GetFlowOk

func (o *SettingsViaApiResponse) GetFlowOk() (*SettingsFlow, bool)

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

func (*SettingsViaApiResponse) GetIdentity

func (o *SettingsViaApiResponse) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SettingsViaApiResponse) GetIdentityOk

func (o *SettingsViaApiResponse) GetIdentityOk() (*Identity, bool)

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

func (SettingsViaApiResponse) MarshalJSON

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

func (*SettingsViaApiResponse) SetFlow

func (o *SettingsViaApiResponse) SetFlow(v SettingsFlow)

SetFlow sets field value

func (*SettingsViaApiResponse) SetIdentity

func (o *SettingsViaApiResponse) SetIdentity(v Identity)

SetIdentity sets field value

type SubmitSelfServiceBrowserSettingsOIDCFlowPayload

type SubmitSelfServiceBrowserSettingsOIDCFlowPayload 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"`
	// Unlink this provider  Either this or `link` must be set.  type: string in: body
	Unlink *string `json:"unlink,omitempty"`
}

SubmitSelfServiceBrowserSettingsOIDCFlowPayload struct for SubmitSelfServiceBrowserSettingsOIDCFlowPayload

func NewSubmitSelfServiceBrowserSettingsOIDCFlowPayload

func NewSubmitSelfServiceBrowserSettingsOIDCFlowPayload() *SubmitSelfServiceBrowserSettingsOIDCFlowPayload

NewSubmitSelfServiceBrowserSettingsOIDCFlowPayload instantiates a new SubmitSelfServiceBrowserSettingsOIDCFlowPayload 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 NewSubmitSelfServiceBrowserSettingsOIDCFlowPayloadWithDefaults

func NewSubmitSelfServiceBrowserSettingsOIDCFlowPayloadWithDefaults() *SubmitSelfServiceBrowserSettingsOIDCFlowPayload

NewSubmitSelfServiceBrowserSettingsOIDCFlowPayloadWithDefaults instantiates a new SubmitSelfServiceBrowserSettingsOIDCFlowPayload 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 (*SubmitSelfServiceBrowserSettingsOIDCFlowPayload) GetFlow

GetFlow returns the Flow field value if set, zero value otherwise.

func (*SubmitSelfServiceBrowserSettingsOIDCFlowPayload) 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 (*SubmitSelfServiceBrowserSettingsOIDCFlowPayload) 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.

GetUnlink returns the Unlink field value if set, zero value otherwise.

func (*SubmitSelfServiceBrowserSettingsOIDCFlowPayload) 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 (*SubmitSelfServiceBrowserSettingsOIDCFlowPayload) HasFlow

HasFlow returns a boolean if a field has been set.

HasLink returns a boolean if a field has been set.

HasUnlink returns a boolean if a field has been set.

func (SubmitSelfServiceBrowserSettingsOIDCFlowPayload) MarshalJSON

func (*SubmitSelfServiceBrowserSettingsOIDCFlowPayload) 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.

SetUnlink gets a reference to the given string and assigns it to the Unlink field.

type SubmitSelfServiceLoginFlow

type SubmitSelfServiceLoginFlow struct {
	SubmitSelfServiceLoginFlowWithPasswordMethod *SubmitSelfServiceLoginFlowWithPasswordMethod
}

SubmitSelfServiceLoginFlow - struct for SubmitSelfServiceLoginFlow

func SubmitSelfServiceLoginFlowWithPasswordMethodAsSubmitSelfServiceLoginFlow

func SubmitSelfServiceLoginFlowWithPasswordMethodAsSubmitSelfServiceLoginFlow(v *SubmitSelfServiceLoginFlowWithPasswordMethod) SubmitSelfServiceLoginFlow

SubmitSelfServiceLoginFlowWithPasswordMethodAsSubmitSelfServiceLoginFlow is a convenience function that returns SubmitSelfServiceLoginFlowWithPasswordMethod wrapped in SubmitSelfServiceLoginFlow

func (*SubmitSelfServiceLoginFlow) GetActualInstance

func (obj *SubmitSelfServiceLoginFlow) GetActualInstance() interface{}

Get the actual instance

func (SubmitSelfServiceLoginFlow) MarshalJSON

func (src SubmitSelfServiceLoginFlow) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSelfServiceLoginFlow) UnmarshalJSON

func (dst *SubmitSelfServiceLoginFlow) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSelfServiceLoginFlowBody

type SubmitSelfServiceLoginFlowBody struct {
	SubmitSelfServiceLoginFlowWithPasswordMethodBody *SubmitSelfServiceLoginFlowWithPasswordMethodBody
}

SubmitSelfServiceLoginFlowBody - struct for SubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithPasswordMethodBodyAsSubmitSelfServiceLoginFlowBody

func SubmitSelfServiceLoginFlowWithPasswordMethodBodyAsSubmitSelfServiceLoginFlowBody(v *SubmitSelfServiceLoginFlowWithPasswordMethodBody) SubmitSelfServiceLoginFlowBody

SubmitSelfServiceLoginFlowWithPasswordMethodBodyAsSubmitSelfServiceLoginFlowBody is a convenience function that returns SubmitSelfServiceLoginFlowWithPasswordMethodBody 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 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
	Traits string `json:"traits"`
}

SubmitSelfServiceLoginFlowWithOidcMethodBody SubmitSelfServiceLoginFlowWithOidcMethodBody is used to decode the login form payload when using the oidc method.

func NewSubmitSelfServiceLoginFlowWithOidcMethodBody

func NewSubmitSelfServiceLoginFlowWithOidcMethodBody(method string, traits 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) GetTraits

GetTraits returns the Traits field value

func (*SubmitSelfServiceLoginFlowWithOidcMethodBody) GetTraitsOk

GetTraitsOk returns a tuple with the Traits field value 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) 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) SetTraits

SetTraits sets field value

type SubmitSelfServiceLoginFlowWithPasswordMethod

type SubmitSelfServiceLoginFlowWithPasswordMethod struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method should be set to \"password\" when logging in using the identifier and password strategy.
	Method *string `json:"method,omitempty"`
	// The user's password.
	Password *string `json:"password,omitempty"`
	// Identifier is the email or username of the user trying to log in.
	PasswordIdentifier *string `json:"password_identifier,omitempty"`
}

SubmitSelfServiceLoginFlowWithPasswordMethod struct for SubmitSelfServiceLoginFlowWithPasswordMethod

func NewSubmitSelfServiceLoginFlowWithPasswordMethod

func NewSubmitSelfServiceLoginFlowWithPasswordMethod() *SubmitSelfServiceLoginFlowWithPasswordMethod

NewSubmitSelfServiceLoginFlowWithPasswordMethod instantiates a new SubmitSelfServiceLoginFlowWithPasswordMethod 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 NewSubmitSelfServiceLoginFlowWithPasswordMethodWithDefaults

func NewSubmitSelfServiceLoginFlowWithPasswordMethodWithDefaults() *SubmitSelfServiceLoginFlowWithPasswordMethod

NewSubmitSelfServiceLoginFlowWithPasswordMethodWithDefaults instantiates a new SubmitSelfServiceLoginFlowWithPasswordMethod 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 (*SubmitSelfServiceLoginFlowWithPasswordMethod) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) 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 (*SubmitSelfServiceLoginFlowWithPasswordMethod) GetMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) GetMethodOk

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 (*SubmitSelfServiceLoginFlowWithPasswordMethod) GetPassword

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

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) GetPasswordIdentifier

func (o *SubmitSelfServiceLoginFlowWithPasswordMethod) GetPasswordIdentifier() string

GetPasswordIdentifier returns the PasswordIdentifier field value if set, zero value otherwise.

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) GetPasswordIdentifierOk

func (o *SubmitSelfServiceLoginFlowWithPasswordMethod) 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 (*SubmitSelfServiceLoginFlowWithPasswordMethod) 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 (*SubmitSelfServiceLoginFlowWithPasswordMethod) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) HasMethod

HasMethod returns a boolean if a field has been set.

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) HasPassword

HasPassword returns a boolean if a field has been set.

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) HasPasswordIdentifier

func (o *SubmitSelfServiceLoginFlowWithPasswordMethod) HasPasswordIdentifier() bool

HasPasswordIdentifier returns a boolean if a field has been set.

func (SubmitSelfServiceLoginFlowWithPasswordMethod) MarshalJSON

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) SetMethod

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) SetPassword

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

func (*SubmitSelfServiceLoginFlowWithPasswordMethod) SetPasswordIdentifier

func (o *SubmitSelfServiceLoginFlowWithPasswordMethod) SetPasswordIdentifier(v string)

SetPasswordIdentifier gets a reference to the given string and assigns it to the PasswordIdentifier field.

type SubmitSelfServiceLoginFlowWithPasswordMethodBody

type SubmitSelfServiceLoginFlowWithPasswordMethodBody struct {
	// Sending the anti-csrf token is only required for browser login flows.
	CsrfToken *string `json:"csrf_token,omitempty"`
	// 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.
	PasswordIdentifier string `json:"password_identifier"`
}

SubmitSelfServiceLoginFlowWithPasswordMethodBody struct for SubmitSelfServiceLoginFlowWithPasswordMethodBody

func NewSubmitSelfServiceLoginFlowWithPasswordMethodBody

func NewSubmitSelfServiceLoginFlowWithPasswordMethodBody(method string, password string, passwordIdentifier 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) 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

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetPasswordIdentifierOk

func (o *SubmitSelfServiceLoginFlowWithPasswordMethodBody) GetPasswordIdentifierOk() (*string, bool)

GetPasswordIdentifierOk returns a tuple with the PasswordIdentifier field value 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) MarshalJSON

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetPassword

SetPassword sets field value

func (*SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetPasswordIdentifier

func (o *SubmitSelfServiceLoginFlowWithPasswordMethodBody) SetPasswordIdentifier(v string)

SetPasswordIdentifier sets field value

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 SubmitSelfServiceRecoveryFlowWithLinkMethod

type SubmitSelfServiceRecoveryFlowWithLinkMethod 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 in: body
	Email *string `json:"email,omitempty"`
}

SubmitSelfServiceRecoveryFlowWithLinkMethod struct for SubmitSelfServiceRecoveryFlowWithLinkMethod

func NewSubmitSelfServiceRecoveryFlowWithLinkMethod

func NewSubmitSelfServiceRecoveryFlowWithLinkMethod() *SubmitSelfServiceRecoveryFlowWithLinkMethod

NewSubmitSelfServiceRecoveryFlowWithLinkMethod instantiates a new SubmitSelfServiceRecoveryFlowWithLinkMethod 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 NewSubmitSelfServiceRecoveryFlowWithLinkMethodWithDefaults

func NewSubmitSelfServiceRecoveryFlowWithLinkMethodWithDefaults() *SubmitSelfServiceRecoveryFlowWithLinkMethod

NewSubmitSelfServiceRecoveryFlowWithLinkMethodWithDefaults instantiates a new SubmitSelfServiceRecoveryFlowWithLinkMethod 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 (*SubmitSelfServiceRecoveryFlowWithLinkMethod) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceRecoveryFlowWithLinkMethod) 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 (*SubmitSelfServiceRecoveryFlowWithLinkMethod) GetEmail

GetEmail returns the Email field value if set, zero value otherwise.

func (*SubmitSelfServiceRecoveryFlowWithLinkMethod) GetEmailOk

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

func (*SubmitSelfServiceRecoveryFlowWithLinkMethod) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceRecoveryFlowWithLinkMethod) HasEmail

HasEmail returns a boolean if a field has been set.

func (SubmitSelfServiceRecoveryFlowWithLinkMethod) MarshalJSON

func (*SubmitSelfServiceRecoveryFlowWithLinkMethod) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceRecoveryFlowWithLinkMethod) SetEmail

SetEmail gets a reference to the given string and assigns it to the Email field.

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 SubmitSelfServiceRegistrationFlow

type SubmitSelfServiceRegistrationFlow struct {
	SubmitSelfServiceRegistrationFlowWithPasswordMethod *SubmitSelfServiceRegistrationFlowWithPasswordMethod
}

SubmitSelfServiceRegistrationFlow - struct for SubmitSelfServiceRegistrationFlow

func SubmitSelfServiceRegistrationFlowWithPasswordMethodAsSubmitSelfServiceRegistrationFlow

func SubmitSelfServiceRegistrationFlowWithPasswordMethodAsSubmitSelfServiceRegistrationFlow(v *SubmitSelfServiceRegistrationFlowWithPasswordMethod) SubmitSelfServiceRegistrationFlow

SubmitSelfServiceRegistrationFlowWithPasswordMethodAsSubmitSelfServiceRegistrationFlow is a convenience function that returns SubmitSelfServiceRegistrationFlowWithPasswordMethod wrapped in SubmitSelfServiceRegistrationFlow

func (*SubmitSelfServiceRegistrationFlow) GetActualInstance

func (obj *SubmitSelfServiceRegistrationFlow) GetActualInstance() interface{}

Get the actual instance

func (SubmitSelfServiceRegistrationFlow) MarshalJSON

func (src SubmitSelfServiceRegistrationFlow) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSelfServiceRegistrationFlow) UnmarshalJSON

func (dst *SubmitSelfServiceRegistrationFlow) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSelfServiceRegistrationFlowBody

type SubmitSelfServiceRegistrationFlowBody struct {
	SubmitSelfServiceRegistrationFlowWithPasswordMethodBody *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody
}

SubmitSelfServiceRegistrationFlowBody - struct for SubmitSelfServiceRegistrationFlowBody

func SubmitSelfServiceRegistrationFlowWithPasswordMethodBodyAsSubmitSelfServiceRegistrationFlowBody

func SubmitSelfServiceRegistrationFlowWithPasswordMethodBodyAsSubmitSelfServiceRegistrationFlowBody(v *SubmitSelfServiceRegistrationFlowWithPasswordMethodBody) SubmitSelfServiceRegistrationFlowBody

SubmitSelfServiceRegistrationFlowWithPasswordMethodBodyAsSubmitSelfServiceRegistrationFlowBody is a convenience function that returns SubmitSelfServiceRegistrationFlowWithPasswordMethodBody 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
	Traits string `json:"traits"`
}

SubmitSelfServiceRegistrationFlowWithOidcMethodBody SubmitSelfServiceRegistrationFlowWithOidcMethodBody is used to decode the registration form payload when using the oidc method.

func NewSubmitSelfServiceRegistrationFlowWithOidcMethodBody

func NewSubmitSelfServiceRegistrationFlowWithOidcMethodBody(method string, traits 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) GetTraits

GetTraits returns the Traits field value

func (*SubmitSelfServiceRegistrationFlowWithOidcMethodBody) GetTraitsOk

GetTraitsOk returns a tuple with the Traits field value 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) 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) SetTraits

SetTraits sets field value

type SubmitSelfServiceRegistrationFlowWithPasswordMethod

type SubmitSelfServiceRegistrationFlowWithPasswordMethod 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,omitempty"`
	// The identity's traits
	Traits map[string]interface{} `json:"traits,omitempty"`
}

SubmitSelfServiceRegistrationFlowWithPasswordMethod SubmitSelfServiceRegistrationFlowWithPasswordMethod is used to decode the registration form payload when using the password method.

func NewSubmitSelfServiceRegistrationFlowWithPasswordMethod

func NewSubmitSelfServiceRegistrationFlowWithPasswordMethod(method string) *SubmitSelfServiceRegistrationFlowWithPasswordMethod

NewSubmitSelfServiceRegistrationFlowWithPasswordMethod instantiates a new SubmitSelfServiceRegistrationFlowWithPasswordMethod 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 NewSubmitSelfServiceRegistrationFlowWithPasswordMethodWithDefaults

func NewSubmitSelfServiceRegistrationFlowWithPasswordMethodWithDefaults() *SubmitSelfServiceRegistrationFlowWithPasswordMethod

NewSubmitSelfServiceRegistrationFlowWithPasswordMethodWithDefaults instantiates a new SubmitSelfServiceRegistrationFlowWithPasswordMethod 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 (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) 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 (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) GetMethod

GetMethod returns the Method field value

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) GetMethodOk

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

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) GetPassword

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

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) 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 (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) GetTraits

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

GetTraits returns the Traits field value if set, zero value otherwise.

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) GetTraitsOk

func (o *SubmitSelfServiceRegistrationFlowWithPasswordMethod) 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 (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) HasPassword

HasPassword returns a boolean if a field has been set.

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) HasTraits

HasTraits returns a boolean if a field has been set.

func (SubmitSelfServiceRegistrationFlowWithPasswordMethod) MarshalJSON

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) SetMethod

SetMethod sets field value

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) SetPassword

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

func (*SubmitSelfServiceRegistrationFlowWithPasswordMethod) SetTraits

func (o *SubmitSelfServiceRegistrationFlowWithPasswordMethod) 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 SubmitSelfServiceSettingsFlow

type SubmitSelfServiceSettingsFlow struct {
	SubmitSelfServiceSettingsFlowWithPasswordMethod *SubmitSelfServiceSettingsFlowWithPasswordMethod
	SubmitSelfServiceSettingsFlowWithProfileMethod  *SubmitSelfServiceSettingsFlowWithProfileMethod
}

SubmitSelfServiceSettingsFlow - struct for SubmitSelfServiceSettingsFlow

func SubmitSelfServiceSettingsFlowWithPasswordMethodAsSubmitSelfServiceSettingsFlow

func SubmitSelfServiceSettingsFlowWithPasswordMethodAsSubmitSelfServiceSettingsFlow(v *SubmitSelfServiceSettingsFlowWithPasswordMethod) SubmitSelfServiceSettingsFlow

SubmitSelfServiceSettingsFlowWithPasswordMethodAsSubmitSelfServiceSettingsFlow is a convenience function that returns SubmitSelfServiceSettingsFlowWithPasswordMethod wrapped in SubmitSelfServiceSettingsFlow

func SubmitSelfServiceSettingsFlowWithProfileMethodAsSubmitSelfServiceSettingsFlow

func SubmitSelfServiceSettingsFlowWithProfileMethodAsSubmitSelfServiceSettingsFlow(v *SubmitSelfServiceSettingsFlowWithProfileMethod) SubmitSelfServiceSettingsFlow

SubmitSelfServiceSettingsFlowWithProfileMethodAsSubmitSelfServiceSettingsFlow is a convenience function that returns SubmitSelfServiceSettingsFlowWithProfileMethod wrapped in SubmitSelfServiceSettingsFlow

func (*SubmitSelfServiceSettingsFlow) GetActualInstance

func (obj *SubmitSelfServiceSettingsFlow) GetActualInstance() interface{}

Get the actual instance

func (SubmitSelfServiceSettingsFlow) MarshalJSON

func (src SubmitSelfServiceSettingsFlow) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SubmitSelfServiceSettingsFlow) UnmarshalJSON

func (dst *SubmitSelfServiceSettingsFlow) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type SubmitSelfServiceSettingsFlowBody

type SubmitSelfServiceSettingsFlowBody struct {
	SubmitSelfServiceSettingsFlowWithPasswordMethodBody *SubmitSelfServiceSettingsFlowWithPasswordMethodBody
	SubmitSelfServiceSettingsFlowWithProfileMethodBody  *SubmitSelfServiceSettingsFlowWithProfileMethodBody
}

SubmitSelfServiceSettingsFlowBody - struct for 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 (*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 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"`
	// 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.

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.

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

SetUnlink gets a reference to the given string and assigns it to the Unlink field.

type SubmitSelfServiceSettingsFlowWithPasswordMethod

type SubmitSelfServiceSettingsFlowWithPasswordMethod struct {
	// CSRFToken is the anti-CSRF token  type: string
	CsrfToken *string `json:"csrf_token,omitempty"`
	// Method  Should be set to password when trying to update a password.  type: string
	Method *string `json:"method,omitempty"`
	// Password is the updated password  type: string
	Password string `json:"password"`
}

SubmitSelfServiceSettingsFlowWithPasswordMethod struct for SubmitSelfServiceSettingsFlowWithPasswordMethod

func NewSubmitSelfServiceSettingsFlowWithPasswordMethod

func NewSubmitSelfServiceSettingsFlowWithPasswordMethod(password string) *SubmitSelfServiceSettingsFlowWithPasswordMethod

NewSubmitSelfServiceSettingsFlowWithPasswordMethod instantiates a new SubmitSelfServiceSettingsFlowWithPasswordMethod 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 NewSubmitSelfServiceSettingsFlowWithPasswordMethodWithDefaults

func NewSubmitSelfServiceSettingsFlowWithPasswordMethodWithDefaults() *SubmitSelfServiceSettingsFlowWithPasswordMethod

NewSubmitSelfServiceSettingsFlowWithPasswordMethodWithDefaults instantiates a new SubmitSelfServiceSettingsFlowWithPasswordMethod 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 (*SubmitSelfServiceSettingsFlowWithPasswordMethod) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithPasswordMethod) 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 (*SubmitSelfServiceSettingsFlowWithPasswordMethod) GetMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithPasswordMethod) GetMethodOk

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 (*SubmitSelfServiceSettingsFlowWithPasswordMethod) GetPassword

GetPassword returns the Password field value

func (*SubmitSelfServiceSettingsFlowWithPasswordMethod) GetPasswordOk

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

func (*SubmitSelfServiceSettingsFlowWithPasswordMethod) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithPasswordMethod) HasMethod

HasMethod returns a boolean if a field has been set.

func (SubmitSelfServiceSettingsFlowWithPasswordMethod) MarshalJSON

func (*SubmitSelfServiceSettingsFlowWithPasswordMethod) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceSettingsFlowWithPasswordMethod) SetMethod

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*SubmitSelfServiceSettingsFlowWithPasswordMethod) SetPassword

SetPassword sets field value

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 SubmitSelfServiceSettingsFlowWithProfileMethod

type SubmitSelfServiceSettingsFlowWithProfileMethod 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.  type: string
	Method *string `json:"method,omitempty"`
	// Traits contains all of the identity's traits.
	Traits map[string]interface{} `json:"traits"`
}

SubmitSelfServiceSettingsFlowWithProfileMethod nolint:deadcode,unused

func NewSubmitSelfServiceSettingsFlowWithProfileMethod

func NewSubmitSelfServiceSettingsFlowWithProfileMethod(traits map[string]interface{}) *SubmitSelfServiceSettingsFlowWithProfileMethod

NewSubmitSelfServiceSettingsFlowWithProfileMethod instantiates a new SubmitSelfServiceSettingsFlowWithProfileMethod 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 NewSubmitSelfServiceSettingsFlowWithProfileMethodWithDefaults

func NewSubmitSelfServiceSettingsFlowWithProfileMethodWithDefaults() *SubmitSelfServiceSettingsFlowWithProfileMethod

NewSubmitSelfServiceSettingsFlowWithProfileMethodWithDefaults instantiates a new SubmitSelfServiceSettingsFlowWithProfileMethod 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 (*SubmitSelfServiceSettingsFlowWithProfileMethod) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithProfileMethod) 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 (*SubmitSelfServiceSettingsFlowWithProfileMethod) GetMethod

GetMethod returns the Method field value if set, zero value otherwise.

func (*SubmitSelfServiceSettingsFlowWithProfileMethod) GetMethodOk

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 (*SubmitSelfServiceSettingsFlowWithProfileMethod) GetTraits

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

GetTraits returns the Traits field value

func (*SubmitSelfServiceSettingsFlowWithProfileMethod) GetTraitsOk

func (o *SubmitSelfServiceSettingsFlowWithProfileMethod) 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 (*SubmitSelfServiceSettingsFlowWithProfileMethod) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceSettingsFlowWithProfileMethod) HasMethod

HasMethod returns a boolean if a field has been set.

func (SubmitSelfServiceSettingsFlowWithProfileMethod) MarshalJSON

func (*SubmitSelfServiceSettingsFlowWithProfileMethod) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceSettingsFlowWithProfileMethod) SetMethod

SetMethod gets a reference to the given string and assigns it to the Method field.

func (*SubmitSelfServiceSettingsFlowWithProfileMethod) SetTraits

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

SetTraits 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 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 SubmitSelfServiceVerificationFlowWithLinkMethod

type SubmitSelfServiceVerificationFlowWithLinkMethod 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 in: body
	Email *string `json:"email,omitempty"`
}

SubmitSelfServiceVerificationFlowWithLinkMethod nolint:deadcode,unused

func NewSubmitSelfServiceVerificationFlowWithLinkMethod

func NewSubmitSelfServiceVerificationFlowWithLinkMethod() *SubmitSelfServiceVerificationFlowWithLinkMethod

NewSubmitSelfServiceVerificationFlowWithLinkMethod instantiates a new SubmitSelfServiceVerificationFlowWithLinkMethod 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 NewSubmitSelfServiceVerificationFlowWithLinkMethodWithDefaults

func NewSubmitSelfServiceVerificationFlowWithLinkMethodWithDefaults() *SubmitSelfServiceVerificationFlowWithLinkMethod

NewSubmitSelfServiceVerificationFlowWithLinkMethodWithDefaults instantiates a new SubmitSelfServiceVerificationFlowWithLinkMethod 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 (*SubmitSelfServiceVerificationFlowWithLinkMethod) GetCsrfToken

GetCsrfToken returns the CsrfToken field value if set, zero value otherwise.

func (*SubmitSelfServiceVerificationFlowWithLinkMethod) 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 (*SubmitSelfServiceVerificationFlowWithLinkMethod) GetEmail

GetEmail returns the Email field value if set, zero value otherwise.

func (*SubmitSelfServiceVerificationFlowWithLinkMethod) GetEmailOk

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

func (*SubmitSelfServiceVerificationFlowWithLinkMethod) HasCsrfToken

HasCsrfToken returns a boolean if a field has been set.

func (*SubmitSelfServiceVerificationFlowWithLinkMethod) HasEmail

HasEmail returns a boolean if a field has been set.

func (SubmitSelfServiceVerificationFlowWithLinkMethod) MarshalJSON

func (*SubmitSelfServiceVerificationFlowWithLinkMethod) SetCsrfToken

SetCsrfToken gets a reference to the given string and assigns it to the CsrfToken field.

func (*SubmitSelfServiceVerificationFlowWithLinkMethod) SetEmail

SetEmail gets a reference to the given string and assigns it to the Email field.

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 SuccessfulSelfServiceSettingsWithoutBrowser

type SuccessfulSelfServiceSettingsWithoutBrowser struct {
	Flow     SelfServiceSettingsFlow `json:"flow"`
	Identity Identity                `json:"identity"`
}

SuccessfulSelfServiceSettingsWithoutBrowser The Response for Settings Flows via API

func NewSuccessfulSelfServiceSettingsWithoutBrowser

func NewSuccessfulSelfServiceSettingsWithoutBrowser(flow SelfServiceSettingsFlow, identity Identity) *SuccessfulSelfServiceSettingsWithoutBrowser

NewSuccessfulSelfServiceSettingsWithoutBrowser instantiates a new SuccessfulSelfServiceSettingsWithoutBrowser 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 NewSuccessfulSelfServiceSettingsWithoutBrowserWithDefaults

func NewSuccessfulSelfServiceSettingsWithoutBrowserWithDefaults() *SuccessfulSelfServiceSettingsWithoutBrowser

NewSuccessfulSelfServiceSettingsWithoutBrowserWithDefaults instantiates a new SuccessfulSelfServiceSettingsWithoutBrowser 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 (*SuccessfulSelfServiceSettingsWithoutBrowser) GetFlow

GetFlow returns the Flow field value

func (*SuccessfulSelfServiceSettingsWithoutBrowser) GetFlowOk

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

func (*SuccessfulSelfServiceSettingsWithoutBrowser) GetIdentity

GetIdentity returns the Identity field value

func (*SuccessfulSelfServiceSettingsWithoutBrowser) GetIdentityOk

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

func (SuccessfulSelfServiceSettingsWithoutBrowser) MarshalJSON

func (*SuccessfulSelfServiceSettingsWithoutBrowser) SetFlow

SetFlow sets field value

func (*SuccessfulSelfServiceSettingsWithoutBrowser) SetIdentity

SetIdentity sets field value

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      string           `json:"group"`
	Messages   []UiText         `json:"messages"`
	Meta       Meta             `json:"meta"`
	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 Meta, 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() Meta

GetMeta returns the Meta field value

func (*UiNode) GetMetaOk

func (o *UiNode) GetMetaOk() (*Meta, 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 Meta)

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"`
	Title UiText `json:"title"`
}

UiNodeAnchorAttributes struct for UiNodeAnchorAttributes

func NewUiNodeAnchorAttributes

func NewUiNodeAnchorAttributes(href 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) 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) SetTitle

func (o *UiNodeAnchorAttributes) SetTitle(v UiText)

SetTitle sets field value

type UiNodeAttributes

type UiNodeAttributes struct {
	UiNodeAnchorAttributes *UiNodeAnchorAttributes
	UiNodeImageAttributes  *UiNodeImageAttributes
	UiNodeInputAttributes  *UiNodeInputAttributes
	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 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 {
	// The image's source URL.  format: uri
	Src string `json:"src"`
}

UiNodeImageAttributes struct for UiNodeImageAttributes

func NewUiNodeImageAttributes

func NewUiNodeImageAttributes(src string) *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) 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) MarshalJSON

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

func (*UiNodeImageAttributes) SetSrc

func (o *UiNodeImageAttributes) SetSrc(v string)

SetSrc 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"`
	// 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, 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) 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) 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) 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 UiNodeInputAttributesValue

type UiNodeInputAttributesValue struct {
	Bool    *bool
	Float32 *float32
	String  *string
}

UiNodeInputAttributesValue - struct for UiNodeInputAttributesValue

func BoolAsUiNodeInputAttributesValue

func BoolAsUiNodeInputAttributesValue(v *bool) UiNodeInputAttributesValue

boolAsUiNodeInputAttributesValue is a convenience function that returns bool wrapped in UiNodeInputAttributesValue

func Float32AsUiNodeInputAttributesValue

func Float32AsUiNodeInputAttributesValue(v *float32) UiNodeInputAttributesValue

float32AsUiNodeInputAttributesValue is a convenience function that returns float32 wrapped in UiNodeInputAttributesValue

func StringAsUiNodeInputAttributesValue

func StringAsUiNodeInputAttributesValue(v *string) UiNodeInputAttributesValue

stringAsUiNodeInputAttributesValue is a convenience function that returns string wrapped in UiNodeInputAttributesValue

func (*UiNodeInputAttributesValue) GetActualInstance

func (obj *UiNodeInputAttributesValue) GetActualInstance() interface{}

Get the actual instance

func (UiNodeInputAttributesValue) MarshalJSON

func (src UiNodeInputAttributesValue) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*UiNodeInputAttributesValue) UnmarshalJSON

func (dst *UiNodeInputAttributesValue) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type UiNodeTextAttributes

type UiNodeTextAttributes struct {
	Text UiText `json:"text"`
}

UiNodeTextAttributes struct for UiNodeTextAttributes

func NewUiNodeTextAttributes

func NewUiNodeTextAttributes(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) 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) 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 UpdateIdentity

type UpdateIdentity struct {
	// 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,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_id`.
	Traits map[string]interface{} `json:"traits"`
}

UpdateIdentity struct for UpdateIdentity

func NewUpdateIdentity

func NewUpdateIdentity(traits map[string]interface{}) *UpdateIdentity

NewUpdateIdentity instantiates a new UpdateIdentity 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 NewUpdateIdentityWithDefaults

func NewUpdateIdentityWithDefaults() *UpdateIdentity

NewUpdateIdentityWithDefaults instantiates a new UpdateIdentity 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 (*UpdateIdentity) GetSchemaId

func (o *UpdateIdentity) GetSchemaId() string

GetSchemaId returns the SchemaId field value if set, zero value otherwise.

func (*UpdateIdentity) GetSchemaIdOk

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

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

func (*UpdateIdentity) GetTraits

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

GetTraits returns the Traits field value

func (*UpdateIdentity) GetTraitsOk

func (o *UpdateIdentity) 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 (*UpdateIdentity) HasSchemaId

func (o *UpdateIdentity) HasSchemaId() bool

HasSchemaId returns a boolean if a field has been set.

func (UpdateIdentity) MarshalJSON

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

func (*UpdateIdentity) SetSchemaId

func (o *UpdateIdentity) SetSchemaId(v string)

SetSchemaId gets a reference to the given string and assigns it to the SchemaId field.

func (*UpdateIdentity) SetTraits

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

SetTraits sets field value

type V0alpha1Api

type V0alpha1Api interface {

	/*
		 * AdminCreateIdentity Create an Identity
		 * This endpoint creates an identity. It is NOT possible to set an identity's credentials (password, ...)
	using this method! A way to achieve that will be introduced in the future.

	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 V0alpha1ApiApiAdminCreateIdentityRequest
	*/
	AdminCreateIdentity(ctx context.Context) V0alpha1ApiApiAdminCreateIdentityRequest

	/*
	 * AdminCreateIdentityExecute executes the request
	 * @return Identity
	 */
	AdminCreateIdentityExecute(r V0alpha1ApiApiAdminCreateIdentityRequest) (*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 V0alpha1ApiApiAdminCreateSelfServiceRecoveryLinkRequest
	*/
	AdminCreateSelfServiceRecoveryLink(ctx context.Context) V0alpha1ApiApiAdminCreateSelfServiceRecoveryLinkRequest

	/*
	 * AdminCreateSelfServiceRecoveryLinkExecute executes the request
	 * @return SelfServiceRecoveryLink
	 */
	AdminCreateSelfServiceRecoveryLinkExecute(r V0alpha1ApiApiAdminCreateSelfServiceRecoveryLinkRequest) (*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 V0alpha1ApiApiAdminDeleteIdentityRequest
	*/
	AdminDeleteIdentity(ctx context.Context, id string) V0alpha1ApiApiAdminDeleteIdentityRequest

	/*
	 * AdminDeleteIdentityExecute executes the request
	 */
	AdminDeleteIdentityExecute(r V0alpha1ApiApiAdminDeleteIdentityRequest) (*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 V0alpha1ApiApiAdminGetIdentityRequest
	 */
	AdminGetIdentity(ctx context.Context, id string) V0alpha1ApiApiAdminGetIdentityRequest

	/*
	 * AdminGetIdentityExecute executes the request
	 * @return Identity
	 */
	AdminGetIdentityExecute(r V0alpha1ApiApiAdminGetIdentityRequest) (*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 V0alpha1ApiApiAdminListIdentitiesRequest
	*/
	AdminListIdentities(ctx context.Context) V0alpha1ApiApiAdminListIdentitiesRequest

	/*
	 * AdminListIdentitiesExecute executes the request
	 * @return []Identity
	 */
	AdminListIdentitiesExecute(r V0alpha1ApiApiAdminListIdentitiesRequest) ([]Identity, *http.Response, error)

	/*
		 * AdminUpdateIdentity Update an Identity
		 * This endpoint updates an identity. It is NOT possible to set an identity's credentials (password, ...)
	using this method! A way to achieve that will be introduced in the future.

	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 V0alpha1ApiApiAdminUpdateIdentityRequest
	*/
	AdminUpdateIdentity(ctx context.Context, id string) V0alpha1ApiApiAdminUpdateIdentityRequest

	/*
	 * AdminUpdateIdentityExecute executes the request
	 * @return Identity
	 */
	AdminUpdateIdentityExecute(r V0alpha1ApiApiAdminUpdateIdentityRequest) (*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 V0alpha1ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest
	*/
	CreateSelfServiceLogoutFlowUrlForBrowsers(ctx context.Context) V0alpha1ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest

	/*
	 * CreateSelfServiceLogoutFlowUrlForBrowsersExecute executes the request
	 * @return SelfServiceLogoutUrl
	 */
	CreateSelfServiceLogoutFlowUrlForBrowsersExecute(r V0alpha1ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest) (*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 V0alpha1ApiApiGetJsonSchemaRequest
	 */
	GetJsonSchema(ctx context.Context, id string) V0alpha1ApiApiGetJsonSchemaRequest

	/*
	 * GetJsonSchemaExecute executes the request
	 * @return map[string]interface{}
	 */
	GetJsonSchemaExecute(r V0alpha1ApiApiGetJsonSchemaRequest) (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 V0alpha1ApiApiGetSelfServiceErrorRequest
	*/
	GetSelfServiceError(ctx context.Context) V0alpha1ApiApiGetSelfServiceErrorRequest

	/*
	 * GetSelfServiceErrorExecute executes the request
	 * @return SelfServiceError
	 */
	GetSelfServiceErrorExecute(r V0alpha1ApiApiGetSelfServiceErrorRequest) (*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)
	})
	“`

	More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiGetSelfServiceLoginFlowRequest
	*/
	GetSelfServiceLoginFlow(ctx context.Context) V0alpha1ApiApiGetSelfServiceLoginFlowRequest

	/*
	 * GetSelfServiceLoginFlowExecute executes the request
	 * @return SelfServiceLoginFlow
	 */
	GetSelfServiceLoginFlowExecute(r V0alpha1ApiApiGetSelfServiceLoginFlowRequest) (*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.mdx).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiGetSelfServiceRecoveryFlowRequest
	*/
	GetSelfServiceRecoveryFlow(ctx context.Context) V0alpha1ApiApiGetSelfServiceRecoveryFlowRequest

	/*
	 * GetSelfServiceRecoveryFlowExecute executes the request
	 * @return SelfServiceRecoveryFlow
	 */
	GetSelfServiceRecoveryFlowExecute(r V0alpha1ApiApiGetSelfServiceRecoveryFlowRequest) (*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)
	})
	“`

	More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiGetSelfServiceRegistrationFlowRequest
	*/
	GetSelfServiceRegistrationFlow(ctx context.Context) V0alpha1ApiApiGetSelfServiceRegistrationFlowRequest

	/*
	 * GetSelfServiceRegistrationFlowExecute executes the request
	 * @return SelfServiceRegistrationFlow
	 */
	GetSelfServiceRegistrationFlowExecute(r V0alpha1ApiApiGetSelfServiceRegistrationFlowRequest) (*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. The public endpoint does not return 404 status codes
	but instead 403 or 500 to improve data privacy.

	You can access this endpoint without credentials when using Ory Kratos' Admin API.

	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 V0alpha1ApiApiGetSelfServiceSettingsFlowRequest
	*/
	GetSelfServiceSettingsFlow(ctx context.Context) V0alpha1ApiApiGetSelfServiceSettingsFlowRequest

	/*
	 * GetSelfServiceSettingsFlowExecute executes the request
	 * @return SelfServiceSettingsFlow
	 */
	GetSelfServiceSettingsFlowExecute(r V0alpha1ApiApiGetSelfServiceSettingsFlowRequest) (*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 V0alpha1ApiApiGetSelfServiceVerificationFlowRequest
	*/
	GetSelfServiceVerificationFlow(ctx context.Context) V0alpha1ApiApiGetSelfServiceVerificationFlowRequest

	/*
	 * GetSelfServiceVerificationFlowExecute executes the request
	 * @return SelfServiceVerificationFlow
	 */
	GetSelfServiceVerificationFlowExecute(r V0alpha1ApiApiGetSelfServiceVerificationFlowRequest) (*SelfServiceVerificationFlow, *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 login 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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest
	*/
	InitializeSelfServiceLoginFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceLoginFlowForBrowsersExecute executes the request
	 * @return SelfServiceLoginFlow
	 */
	InitializeSelfServiceLoginFlowForBrowsersExecute(r V0alpha1ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest) (*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.

	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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceLoginFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceLoginFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceLoginFlow
	 */
	InitializeSelfServiceLoginFlowWithoutBrowserExecute(r V0alpha1ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest) (*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.mdx).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest
	*/
	InitializeSelfServiceRecoveryFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceRecoveryFlowForBrowsersExecute executes the request
	 * @return SelfServiceRecoveryFlow
	 */
	InitializeSelfServiceRecoveryFlowForBrowsersExecute(r V0alpha1ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest) (*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.mdx).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceRecoveryFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceRecoveryFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceRecoveryFlow
	 */
	InitializeSelfServiceRecoveryFlowWithoutBrowserExecute(r V0alpha1ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest) (*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 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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest
	*/
	InitializeSelfServiceRegistrationFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceRegistrationFlowForBrowsersExecute executes the request
	 * @return SelfServiceRegistrationFlow
	 */
	InitializeSelfServiceRegistrationFlowForBrowsersExecute(r V0alpha1ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest) (*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.

	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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceRegistrationFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceRegistrationFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceRegistrationFlow
	 */
	InitializeSelfServiceRegistrationFlowWithoutBrowserExecute(r V0alpha1ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest) (*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 403 forbidden error if no valid session was set.

	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 V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest
	*/
	InitializeSelfServiceSettingsFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceSettingsFlowForBrowsersExecute executes the request
	 * @return SelfServiceSettingsFlow
	 */
	InitializeSelfServiceSettingsFlowForBrowsersExecute(r V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest) (*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.

	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 V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceSettingsFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceSettingsFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceSettingsFlow
	 */
	InitializeSelfServiceSettingsFlowWithoutBrowserExecute(r V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest) (*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 V0alpha1ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest
	*/
	InitializeSelfServiceVerificationFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest

	/*
	 * InitializeSelfServiceVerificationFlowForBrowsersExecute executes the request
	 * @return SelfServiceVerificationFlow
	 */
	InitializeSelfServiceVerificationFlowForBrowsersExecute(r V0alpha1ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest) (*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 V0alpha1ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest
	*/
	InitializeSelfServiceVerificationFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest

	/*
	 * InitializeSelfServiceVerificationFlowWithoutBrowserExecute executes the request
	 * @return SelfServiceVerificationFlow
	 */
	InitializeSelfServiceVerificationFlowWithoutBrowserExecute(r V0alpha1ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest) (*SelfServiceVerificationFlow, *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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	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 302 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded;
	a HTTP 302 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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 400 on form validation errors.

	More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiSubmitSelfServiceLoginFlowRequest
	*/
	SubmitSelfServiceLoginFlow(ctx context.Context) V0alpha1ApiApiSubmitSelfServiceLoginFlowRequest

	/*
	 * SubmitSelfServiceLoginFlowExecute executes the request
	 * @return SuccessfulSelfServiceLoginWithoutBrowser
	 */
	SubmitSelfServiceLoginFlowExecute(r V0alpha1ApiApiSubmitSelfServiceLoginFlowRequest) (*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 302 Found)
	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 V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest
	*/
	SubmitSelfServiceLogoutFlow(ctx context.Context) V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest

	/*
	 * SubmitSelfServiceLogoutFlowExecute executes the request
	 */
	SubmitSelfServiceLogoutFlowExecute(r V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest) (*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 V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest
	*/
	SubmitSelfServiceLogoutFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest

	/*
	 * SubmitSelfServiceLogoutFlowWithoutBrowserExecute executes the request
	 */
	SubmitSelfServiceLogoutFlowWithoutBrowserExecute(r V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest) (*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 302 Found 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 302 Found 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 302 Found 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.mdx).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest
	*/
	SubmitSelfServiceRecoveryFlow(ctx context.Context) V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest

	/*
	 * SubmitSelfServiceRecoveryFlowExecute executes the request
	 * @return SelfServiceRecoveryFlow
	 */
	SubmitSelfServiceRecoveryFlowExecute(r V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest) (*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 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set;
	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 302 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded;
	a HTTP 302 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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 400 on form validation errors.

	More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiSubmitSelfServiceRegistrationFlowRequest
	*/
	SubmitSelfServiceRegistrationFlow(ctx context.Context) V0alpha1ApiApiSubmitSelfServiceRegistrationFlowRequest

	/*
	 * SubmitSelfServiceRegistrationFlowExecute executes the request
	 * @return SuccessfulSelfServiceRegistrationWithoutBrowser
	 */
	SubmitSelfServiceRegistrationFlowExecute(r V0alpha1ApiApiSubmitSelfServiceRegistrationFlowRequest) (*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 302 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.
	Implies that the user needs to re-authenticate.

	Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with
	a HTTP 302 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded;
	a HTTP 302 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise.
	a HTTP 302 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached.

	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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set;
	HTTP 403 when the page is accessed without a session cookie.
	HTTP 400 on form validation errors.

	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 V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest
	*/
	SubmitSelfServiceSettingsFlow(ctx context.Context) V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest

	/*
	 * SubmitSelfServiceSettingsFlowExecute executes the request
	 * @return SuccessfulSelfServiceSettingsWithoutBrowser
	 */
	SubmitSelfServiceSettingsFlowExecute(r V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest) (*SuccessfulSelfServiceSettingsWithoutBrowser, *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 302 Found 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 302 Found 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 302 Found 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 V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest
	*/
	SubmitSelfServiceVerificationFlow(ctx context.Context) V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest

	/*
	 * SubmitSelfServiceVerificationFlowExecute executes the request
	 * @return SelfServiceVerificationFlow
	 */
	SubmitSelfServiceVerificationFlowExecute(r V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest) (*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)
	“`

	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.
		 * @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
		 * @return V0alpha1ApiApiToSessionRequest
	*/
	ToSession(ctx context.Context) V0alpha1ApiApiToSessionRequest

	/*
	 * ToSessionExecute executes the request
	 * @return Session
	 */
	ToSessionExecute(r V0alpha1ApiApiToSessionRequest) (*Session, *http.Response, error)
}

type V0alpha1ApiApiAdminCreateIdentityRequest

type V0alpha1ApiApiAdminCreateIdentityRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiAdminCreateIdentityRequest) AdminCreateIdentityBody

func (V0alpha1ApiApiAdminCreateIdentityRequest) Execute

type V0alpha1ApiApiAdminCreateSelfServiceRecoveryLinkRequest

type V0alpha1ApiApiAdminCreateSelfServiceRecoveryLinkRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiAdminCreateSelfServiceRecoveryLinkRequest) AdminCreateSelfServiceRecoveryLinkBody

func (V0alpha1ApiApiAdminCreateSelfServiceRecoveryLinkRequest) Execute

type V0alpha1ApiApiAdminDeleteIdentityRequest

type V0alpha1ApiApiAdminDeleteIdentityRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiAdminDeleteIdentityRequest) Execute

type V0alpha1ApiApiAdminGetIdentityRequest

type V0alpha1ApiApiAdminGetIdentityRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiAdminGetIdentityRequest) Execute

type V0alpha1ApiApiAdminListIdentitiesRequest

type V0alpha1ApiApiAdminListIdentitiesRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiAdminListIdentitiesRequest) Execute

func (V0alpha1ApiApiAdminListIdentitiesRequest) Page

func (V0alpha1ApiApiAdminListIdentitiesRequest) PerPage

type V0alpha1ApiApiAdminUpdateIdentityRequest

type V0alpha1ApiApiAdminUpdateIdentityRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiAdminUpdateIdentityRequest) AdminUpdateIdentityBody

func (V0alpha1ApiApiAdminUpdateIdentityRequest) Execute

type V0alpha1ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest

type V0alpha1ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest) Cookie

func (V0alpha1ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest) Execute

type V0alpha1ApiApiGetJsonSchemaRequest

type V0alpha1ApiApiGetJsonSchemaRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiGetJsonSchemaRequest) Execute

func (r V0alpha1ApiApiGetJsonSchemaRequest) Execute() (map[string]interface{}, *http.Response, error)

type V0alpha1ApiApiGetSelfServiceErrorRequest

type V0alpha1ApiApiGetSelfServiceErrorRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiGetSelfServiceErrorRequest) Execute

func (V0alpha1ApiApiGetSelfServiceErrorRequest) Id

type V0alpha1ApiApiGetSelfServiceLoginFlowRequest

type V0alpha1ApiApiGetSelfServiceLoginFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiGetSelfServiceLoginFlowRequest) Cookie

func (V0alpha1ApiApiGetSelfServiceLoginFlowRequest) Execute

func (V0alpha1ApiApiGetSelfServiceLoginFlowRequest) Id

type V0alpha1ApiApiGetSelfServiceRecoveryFlowRequest

type V0alpha1ApiApiGetSelfServiceRecoveryFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiGetSelfServiceRecoveryFlowRequest) Cookie

func (V0alpha1ApiApiGetSelfServiceRecoveryFlowRequest) Execute

func (V0alpha1ApiApiGetSelfServiceRecoveryFlowRequest) Id

type V0alpha1ApiApiGetSelfServiceRegistrationFlowRequest

type V0alpha1ApiApiGetSelfServiceRegistrationFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiGetSelfServiceRegistrationFlowRequest) Cookie

func (V0alpha1ApiApiGetSelfServiceRegistrationFlowRequest) Execute

func (V0alpha1ApiApiGetSelfServiceRegistrationFlowRequest) Id

type V0alpha1ApiApiGetSelfServiceSettingsFlowRequest

type V0alpha1ApiApiGetSelfServiceSettingsFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiGetSelfServiceSettingsFlowRequest) Cookie

func (V0alpha1ApiApiGetSelfServiceSettingsFlowRequest) Execute

func (V0alpha1ApiApiGetSelfServiceSettingsFlowRequest) Id

func (V0alpha1ApiApiGetSelfServiceSettingsFlowRequest) XSessionToken

type V0alpha1ApiApiGetSelfServiceVerificationFlowRequest

type V0alpha1ApiApiGetSelfServiceVerificationFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiGetSelfServiceVerificationFlowRequest) Cookie

func (V0alpha1ApiApiGetSelfServiceVerificationFlowRequest) Execute

func (V0alpha1ApiApiGetSelfServiceVerificationFlowRequest) Id

type V0alpha1ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest

type V0alpha1ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest) Execute

func (V0alpha1ApiApiInitializeSelfServiceLoginFlowForBrowsersRequest) Refresh

type V0alpha1ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest

type V0alpha1ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest) Execute

func (V0alpha1ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest) Refresh

type V0alpha1ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest

type V0alpha1ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest) Execute

type V0alpha1ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest

type V0alpha1ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest) Execute

type V0alpha1ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest

type V0alpha1ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest) Execute

type V0alpha1ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest

type V0alpha1ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest) Execute

type V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest

type V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest) Cookie

func (V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest) Execute

type V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest

type V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest) Execute

func (V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest) XSessionToken

type V0alpha1ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest

type V0alpha1ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest) Execute

type V0alpha1ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest

type V0alpha1ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest) Execute

type V0alpha1ApiApiSubmitSelfServiceLoginFlowRequest

type V0alpha1ApiApiSubmitSelfServiceLoginFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiSubmitSelfServiceLoginFlowRequest) Execute

func (V0alpha1ApiApiSubmitSelfServiceLoginFlowRequest) Flow

func (V0alpha1ApiApiSubmitSelfServiceLoginFlowRequest) SubmitSelfServiceLoginFlowBody

type V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest

type V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest) Execute

func (V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest) Token

type V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest

type V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest) Execute

func (V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest) SubmitSelfServiceLogoutFlowWithoutBrowserBody

type V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest

type V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest) Execute

func (V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest) Flow

func (V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest) SubmitSelfServiceRecoveryFlowBody

func (V0alpha1ApiApiSubmitSelfServiceRecoveryFlowRequest) Token

type V0alpha1ApiApiSubmitSelfServiceRegistrationFlowRequest

type V0alpha1ApiApiSubmitSelfServiceRegistrationFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiSubmitSelfServiceRegistrationFlowRequest) Execute

func (V0alpha1ApiApiSubmitSelfServiceRegistrationFlowRequest) Flow

func (V0alpha1ApiApiSubmitSelfServiceRegistrationFlowRequest) SubmitSelfServiceRegistrationFlowBody

type V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest

type V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest) Execute

func (V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest) Flow

func (V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest) SubmitSelfServiceSettingsFlowBody

func (V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest) XSessionToken

type V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest

type V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest) Execute

func (V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest) Flow

func (V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest) SubmitSelfServiceVerificationFlowBody

func (V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest) Token

type V0alpha1ApiApiToSessionRequest

type V0alpha1ApiApiToSessionRequest struct {
	ApiService V0alpha1Api
	// contains filtered or unexported fields
}

func (V0alpha1ApiApiToSessionRequest) Cookie

func (V0alpha1ApiApiToSessionRequest) Execute

func (V0alpha1ApiApiToSessionRequest) XSessionToken

type V0alpha1ApiService

type V0alpha1ApiService service

V0alpha1ApiService V0alpha1Api service

func (*V0alpha1ApiService) AdminCreateIdentity

  • AdminCreateIdentity Create an Identity
  • This endpoint creates an identity. It is NOT possible to set an identity's credentials (password, ...)

using this method! A way to achieve that will be introduced in the future.

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 V0alpha1ApiApiAdminCreateIdentityRequest

func (*V0alpha1ApiService) 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 V0alpha1ApiApiAdminCreateSelfServiceRecoveryLinkRequest

func (*V0alpha1ApiService) AdminCreateSelfServiceRecoveryLinkExecute

* Execute executes the request * @return SelfServiceRecoveryLink

func (*V0alpha1ApiService) 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 V0alpha1ApiApiAdminDeleteIdentityRequest

func (*V0alpha1ApiService) AdminDeleteIdentityExecute

func (a *V0alpha1ApiService) AdminDeleteIdentityExecute(r V0alpha1ApiApiAdminDeleteIdentityRequest) (*http.Response, error)

* Execute executes the request

func (*V0alpha1ApiService) 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 V0alpha1ApiApiAdminGetIdentityRequest

func (*V0alpha1ApiService) AdminGetIdentityExecute

* Execute executes the request * @return Identity

func (*V0alpha1ApiService) 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 V0alpha1ApiApiAdminListIdentitiesRequest

func (*V0alpha1ApiService) AdminListIdentitiesExecute

* Execute executes the request * @return []Identity

func (*V0alpha1ApiService) AdminUpdateIdentity

  • AdminUpdateIdentity Update an Identity
  • This endpoint updates an identity. It is NOT possible to set an identity's credentials (password, ...)

using this method! A way to achieve that will be introduced in the future.

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 V0alpha1ApiApiAdminUpdateIdentityRequest

func (*V0alpha1ApiService) AdminUpdateIdentityExecute

* Execute executes the request * @return Identity

func (*V0alpha1ApiService) 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 V0alpha1ApiApiCreateSelfServiceLogoutFlowUrlForBrowsersRequest

func (*V0alpha1ApiService) CreateSelfServiceLogoutFlowUrlForBrowsersExecute

* Execute executes the request * @return SelfServiceLogoutUrl

func (*V0alpha1ApiService) 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 V0alpha1ApiApiGetJsonSchemaRequest

func (*V0alpha1ApiService) GetJsonSchemaExecute

func (a *V0alpha1ApiService) GetJsonSchemaExecute(r V0alpha1ApiApiGetJsonSchemaRequest) (map[string]interface{}, *http.Response, error)

* Execute executes the request * @return map[string]interface{}

func (*V0alpha1ApiService) 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 V0alpha1ApiApiGetSelfServiceErrorRequest

func (*V0alpha1ApiService) GetSelfServiceErrorExecute

* Execute executes the request * @return SelfServiceError

func (*V0alpha1ApiService) 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) }) ```

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*V0alpha1ApiService) GetSelfServiceLoginFlowExecute

* Execute executes the request * @return SelfServiceLoginFlow

func (*V0alpha1ApiService) 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.mdx).

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

func (*V0alpha1ApiService) GetSelfServiceRecoveryFlowExecute

* Execute executes the request * @return SelfServiceRecoveryFlow

func (*V0alpha1ApiService) 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) }) ```

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*V0alpha1ApiService) GetSelfServiceRegistrationFlowExecute

* Execute executes the request * @return SelfServiceRegistrationFlow

func (*V0alpha1ApiService) 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. The public endpoint does not return 404 status codes but instead 403 or 500 to improve data privacy.

You can access this endpoint without credentials when using Ory Kratos' Admin API.

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 V0alpha1ApiApiGetSelfServiceSettingsFlowRequest

func (*V0alpha1ApiService) GetSelfServiceSettingsFlowExecute

* Execute executes the request * @return SelfServiceSettingsFlow

func (*V0alpha1ApiService) 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 V0alpha1ApiApiGetSelfServiceVerificationFlowRequest

func (*V0alpha1ApiService) GetSelfServiceVerificationFlowExecute

* Execute executes the request * @return SelfServiceVerificationFlow

func (*V0alpha1ApiService) 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 login 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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*V0alpha1ApiService) InitializeSelfServiceLoginFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceLoginFlow

func (*V0alpha1ApiService) InitializeSelfServiceLoginFlowWithoutBrowser

func (a *V0alpha1ApiService) InitializeSelfServiceLoginFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceLoginFlowWithoutBrowserRequest
  • 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.

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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*V0alpha1ApiService) InitializeSelfServiceLoginFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceLoginFlow

func (*V0alpha1ApiService) InitializeSelfServiceRecoveryFlowForBrowsers

func (a *V0alpha1ApiService) InitializeSelfServiceRecoveryFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceRecoveryFlowForBrowsersRequest
  • 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.mdx).

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

func (*V0alpha1ApiService) InitializeSelfServiceRecoveryFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceRecoveryFlow

func (*V0alpha1ApiService) InitializeSelfServiceRecoveryFlowWithoutBrowser

func (a *V0alpha1ApiService) InitializeSelfServiceRecoveryFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceRecoveryFlowWithoutBrowserRequest
  • 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.mdx).

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

func (*V0alpha1ApiService) InitializeSelfServiceRecoveryFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceRecoveryFlow

func (*V0alpha1ApiService) InitializeSelfServiceRegistrationFlowForBrowsers

func (a *V0alpha1ApiService) InitializeSelfServiceRegistrationFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceRegistrationFlowForBrowsersRequest
  • 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 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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*V0alpha1ApiService) InitializeSelfServiceRegistrationFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceRegistrationFlow

func (*V0alpha1ApiService) InitializeSelfServiceRegistrationFlowWithoutBrowser

func (a *V0alpha1ApiService) InitializeSelfServiceRegistrationFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceRegistrationFlowWithoutBrowserRequest
  • 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.

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 and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*V0alpha1ApiService) InitializeSelfServiceRegistrationFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceRegistrationFlow

func (*V0alpha1ApiService) InitializeSelfServiceSettingsFlowForBrowsers

func (a *V0alpha1ApiService) InitializeSelfServiceSettingsFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest
  • 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 403 forbidden error if no valid session was set.

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 V0alpha1ApiApiInitializeSelfServiceSettingsFlowForBrowsersRequest

func (*V0alpha1ApiService) InitializeSelfServiceSettingsFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceSettingsFlow

func (*V0alpha1ApiService) InitializeSelfServiceSettingsFlowWithoutBrowser

func (a *V0alpha1ApiService) InitializeSelfServiceSettingsFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest
  • 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.

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 V0alpha1ApiApiInitializeSelfServiceSettingsFlowWithoutBrowserRequest

func (*V0alpha1ApiService) InitializeSelfServiceSettingsFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceSettingsFlow

func (*V0alpha1ApiService) InitializeSelfServiceVerificationFlowForBrowsers

func (a *V0alpha1ApiService) InitializeSelfServiceVerificationFlowForBrowsers(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest
  • 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 V0alpha1ApiApiInitializeSelfServiceVerificationFlowForBrowsersRequest

func (*V0alpha1ApiService) InitializeSelfServiceVerificationFlowForBrowsersExecute

* Execute executes the request * @return SelfServiceVerificationFlow

func (*V0alpha1ApiService) InitializeSelfServiceVerificationFlowWithoutBrowser

func (a *V0alpha1ApiService) InitializeSelfServiceVerificationFlowWithoutBrowser(ctx context.Context) V0alpha1ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest
  • 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 V0alpha1ApiApiInitializeSelfServiceVerificationFlowWithoutBrowserRequest

func (*V0alpha1ApiService) InitializeSelfServiceVerificationFlowWithoutBrowserExecute

* Execute executes the request * @return SelfServiceVerificationFlow

func (*V0alpha1ApiService) 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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; 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 302 redirect to the post/after login URL or the `return_to` value if it was set and if the login succeeded; a HTTP 302 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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*V0alpha1ApiService) SubmitSelfServiceLoginFlowExecute

* Execute executes the request * @return SuccessfulSelfServiceLoginWithoutBrowser

func (*V0alpha1ApiService) 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 302 Found) 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 V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest

func (*V0alpha1ApiService) SubmitSelfServiceLogoutFlowExecute

func (a *V0alpha1ApiService) SubmitSelfServiceLogoutFlowExecute(r V0alpha1ApiApiSubmitSelfServiceLogoutFlowRequest) (*http.Response, error)

* Execute executes the request

func (*V0alpha1ApiService) 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 V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest

func (*V0alpha1ApiService) SubmitSelfServiceLogoutFlowWithoutBrowserExecute

func (a *V0alpha1ApiService) SubmitSelfServiceLogoutFlowWithoutBrowserExecute(r V0alpha1ApiApiSubmitSelfServiceLogoutFlowWithoutBrowserRequest) (*http.Response, error)

* Execute executes the request

func (*V0alpha1ApiService) 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 302 Found 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 302 Found 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 302 Found 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.mdx).

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

func (*V0alpha1ApiService) SubmitSelfServiceRecoveryFlowExecute

* Execute executes the request * @return SelfServiceRecoveryFlow

func (*V0alpha1ApiService) 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 302 redirect to a fresh registration flow if the original flow expired with the appropriate error messages set; 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 302 redirect to the post/after registration URL or the `return_to` value if it was set and if the registration succeeded; a HTTP 302 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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 400 on form validation errors.

More information can be found at [Ory Kratos User Login and User Registration Documentation](https://www.ory.sh/docs/next/kratos/self-service/flows/user-login-user-registration).

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

func (*V0alpha1ApiService) SubmitSelfServiceRegistrationFlowExecute

* Execute executes the request * @return SuccessfulSelfServiceRegistrationWithoutBrowser

func (*V0alpha1ApiService) 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 302 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. Implies that the user needs to re-authenticate.

Browser flows without HTTP Header `Accept` or with `Accept: text/*` respond with a HTTP 302 redirect to the post/after settings URL or the `return_to` value if it was set and if the flow succeeded; a HTTP 302 redirect to the Settings UI URL with the flow ID containing the validation errors otherwise. a HTTP 302 redirect to the login endpoint when `selfservice.flows.settings.privileged_session_max_age` was reached.

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 302 redirect to a fresh login flow if the original flow expired with the appropriate error messages set; HTTP 403 when the page is accessed without a session cookie. HTTP 400 on form validation errors.

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 V0alpha1ApiApiSubmitSelfServiceSettingsFlowRequest

func (*V0alpha1ApiService) SubmitSelfServiceSettingsFlowExecute

* Execute executes the request * @return SuccessfulSelfServiceSettingsWithoutBrowser

func (*V0alpha1ApiService) 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 302 Found 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 302 Found 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 302 Found 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 V0alpha1ApiApiSubmitSelfServiceVerificationFlowRequest

func (*V0alpha1ApiService) SubmitSelfServiceVerificationFlowExecute

* Execute executes the request * @return SelfServiceVerificationFlow

func (*V0alpha1ApiService) 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) ```

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.

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

func (*V0alpha1ApiService) ToSessionExecute

* Execute executes the request * @return Session

type VerifiableAddress

type VerifiableAddress struct {
	Id         string     `json:"id"`
	Status     string     `json:"status"`
	Value      string     `json:"value"`
	Verified   bool       `json:"verified"`
	VerifiedAt *time.Time `json:"verified_at,omitempty"`
	Via        string     `json:"via"`
}

VerifiableAddress struct for VerifiableAddress

func NewVerifiableAddress

func NewVerifiableAddress(id string, status string, value string, verified bool, via string) *VerifiableAddress

NewVerifiableAddress instantiates a new VerifiableAddress 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 NewVerifiableAddressWithDefaults

func NewVerifiableAddressWithDefaults() *VerifiableAddress

NewVerifiableAddressWithDefaults instantiates a new VerifiableAddress 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 (*VerifiableAddress) GetId

func (o *VerifiableAddress) GetId() string

GetId returns the Id field value

func (*VerifiableAddress) GetIdOk

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

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

func (*VerifiableAddress) GetStatus

func (o *VerifiableAddress) GetStatus() string

GetStatus returns the Status field value

func (*VerifiableAddress) GetStatusOk

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

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

func (*VerifiableAddress) GetValue

func (o *VerifiableAddress) GetValue() string

GetValue returns the Value field value

func (*VerifiableAddress) GetValueOk

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

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

func (*VerifiableAddress) GetVerified

func (o *VerifiableAddress) GetVerified() bool

GetVerified returns the Verified field value

func (*VerifiableAddress) GetVerifiedAt

func (o *VerifiableAddress) GetVerifiedAt() time.Time

GetVerifiedAt returns the VerifiedAt field value if set, zero value otherwise.

func (*VerifiableAddress) GetVerifiedAtOk

func (o *VerifiableAddress) 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 (*VerifiableAddress) GetVerifiedOk

func (o *VerifiableAddress) GetVerifiedOk() (*bool, bool)

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

func (*VerifiableAddress) GetVia

func (o *VerifiableAddress) GetVia() string

GetVia returns the Via field value

func (*VerifiableAddress) GetViaOk

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

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

func (*VerifiableAddress) HasVerifiedAt

func (o *VerifiableAddress) HasVerifiedAt() bool

HasVerifiedAt returns a boolean if a field has been set.

func (VerifiableAddress) MarshalJSON

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

func (*VerifiableAddress) SetId

func (o *VerifiableAddress) SetId(v string)

SetId sets field value

func (*VerifiableAddress) SetStatus

func (o *VerifiableAddress) SetStatus(v string)

SetStatus sets field value

func (*VerifiableAddress) SetValue

func (o *VerifiableAddress) SetValue(v string)

SetValue sets field value

func (*VerifiableAddress) SetVerified

func (o *VerifiableAddress) SetVerified(v bool)

SetVerified sets field value

func (*VerifiableAddress) SetVerifiedAt

func (o *VerifiableAddress) SetVerifiedAt(v time.Time)

SetVerifiedAt gets a reference to the given time.Time and assigns it to the VerifiedAt field.

func (*VerifiableAddress) SetVia

func (o *VerifiableAddress) SetVia(v string)

SetVia sets field value

type VerifiableIdentityAddress

type VerifiableIdentityAddress struct {
	// When this entry was created
	CreatedAt *time.Time `json:"created_at,omitempty"`
	Id        string     `json:"id"`
	// 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 VerificationFlow added in v0.11.0

type VerificationFlow 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"`
	State      string  `json:"state"`
	// The flow type can either be `api` or `browser`.
	Type string      `json:"type"`
	Ui   UiContainer `json:"ui"`
}

VerificationFlow 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 NewVerificationFlow added in v0.11.0

func NewVerificationFlow(id string, state string, type_ string, ui UiContainer) *VerificationFlow

NewVerificationFlow instantiates a new VerificationFlow 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 NewVerificationFlowWithDefaults added in v0.11.0

func NewVerificationFlowWithDefaults() *VerificationFlow

NewVerificationFlowWithDefaults instantiates a new VerificationFlow 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 (*VerificationFlow) GetActive added in v0.11.0

func (o *VerificationFlow) GetActive() string

GetActive returns the Active field value if set, zero value otherwise.

func (*VerificationFlow) GetActiveOk added in v0.11.0

func (o *VerificationFlow) 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 (*VerificationFlow) GetExpiresAt added in v0.11.0

func (o *VerificationFlow) GetExpiresAt() time.Time

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*VerificationFlow) GetExpiresAtOk added in v0.11.0

func (o *VerificationFlow) 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 (*VerificationFlow) GetId added in v0.11.0

func (o *VerificationFlow) GetId() string

GetId returns the Id field value

func (*VerificationFlow) GetIdOk added in v0.11.0

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

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

func (*VerificationFlow) GetIssuedAt added in v0.11.0

func (o *VerificationFlow) GetIssuedAt() time.Time

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*VerificationFlow) GetIssuedAtOk added in v0.11.0

func (o *VerificationFlow) 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 (*VerificationFlow) GetRequestUrl added in v0.11.0

func (o *VerificationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*VerificationFlow) GetRequestUrlOk added in v0.11.0

func (o *VerificationFlow) 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 (*VerificationFlow) GetState added in v0.11.0

func (o *VerificationFlow) GetState() string

GetState returns the State field value

func (*VerificationFlow) GetStateOk added in v0.11.0

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

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

func (*VerificationFlow) GetType added in v0.11.0

func (o *VerificationFlow) GetType() string

GetType returns the Type field value

func (*VerificationFlow) GetTypeOk added in v0.11.0

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

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

func (*VerificationFlow) GetUi added in v0.11.0

func (o *VerificationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*VerificationFlow) GetUiOk added in v0.11.0

func (o *VerificationFlow) GetUiOk() (*UiContainer, bool)

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

func (*VerificationFlow) HasActive added in v0.11.0

func (o *VerificationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*VerificationFlow) HasExpiresAt added in v0.11.0

func (o *VerificationFlow) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*VerificationFlow) HasIssuedAt added in v0.11.0

func (o *VerificationFlow) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (*VerificationFlow) HasRequestUrl added in v0.11.0

func (o *VerificationFlow) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (VerificationFlow) MarshalJSON added in v0.11.0

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

func (*VerificationFlow) SetActive added in v0.11.0

func (o *VerificationFlow) SetActive(v string)

SetActive gets a reference to the given string and assigns it to the Active field.

func (*VerificationFlow) SetExpiresAt added in v0.11.0

func (o *VerificationFlow) SetExpiresAt(v time.Time)

SetExpiresAt gets a reference to the given time.Time and assigns it to the ExpiresAt field.

func (*VerificationFlow) SetId added in v0.11.0

func (o *VerificationFlow) SetId(v string)

SetId sets field value

func (*VerificationFlow) SetIssuedAt added in v0.11.0

func (o *VerificationFlow) SetIssuedAt(v time.Time)

SetIssuedAt gets a reference to the given time.Time and assigns it to the IssuedAt field.

func (*VerificationFlow) SetRequestUrl added in v0.11.0

func (o *VerificationFlow) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*VerificationFlow) SetState added in v0.11.0

func (o *VerificationFlow) SetState(v string)

SetState sets field value

func (*VerificationFlow) SetType added in v0.11.0

func (o *VerificationFlow) SetType(v string)

SetType sets field value

func (*VerificationFlow) SetUi added in v0.11.0

func (o *VerificationFlow) SetUi(v UiContainer)

SetUi 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.

type Volume

type Volume struct {
	// Date/Time the volume was created.
	CreatedAt *string `json:"CreatedAt,omitempty"`
	// Name of the volume driver used by the volume.
	Driver string `json:"Driver"`
	// User-defined key/value metadata.
	Labels map[string]string `json:"Labels"`
	// Mount path of the volume on the host.
	Mountpoint string `json:"Mountpoint"`
	// Name of the volume.
	Name string `json:"Name"`
	// The driver specific options used when creating the volume.
	Options map[string]string `json:"Options"`
	// The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level.
	Scope string `json:"Scope"`
	// Low-level details about the volume, provided by the volume driver. Details are returned as a map with key/value pairs: `{\"key\":\"value\",\"key2\":\"value2\"}`.  The `Status` field is optional, and is omitted if the volume driver does not support this feature.
	Status    map[string]map[string]interface{} `json:"Status,omitempty"`
	UsageData *VolumeUsageData                  `json:"UsageData,omitempty"`
}

Volume Volume volume

func NewVolume

func NewVolume(driver string, labels map[string]string, mountpoint string, name string, options map[string]string, scope string) *Volume

NewVolume instantiates a new Volume 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 NewVolumeWithDefaults

func NewVolumeWithDefaults() *Volume

NewVolumeWithDefaults instantiates a new Volume 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 (*Volume) GetCreatedAt

func (o *Volume) GetCreatedAt() string

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

func (*Volume) GetCreatedAtOk

func (o *Volume) GetCreatedAtOk() (*string, 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 (*Volume) GetDriver

func (o *Volume) GetDriver() string

GetDriver returns the Driver field value

func (*Volume) GetDriverOk

func (o *Volume) GetDriverOk() (*string, bool)

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

func (*Volume) GetLabels

func (o *Volume) GetLabels() map[string]string

GetLabels returns the Labels field value

func (*Volume) GetLabelsOk

func (o *Volume) GetLabelsOk() (*map[string]string, bool)

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

func (*Volume) GetMountpoint

func (o *Volume) GetMountpoint() string

GetMountpoint returns the Mountpoint field value

func (*Volume) GetMountpointOk

func (o *Volume) GetMountpointOk() (*string, bool)

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

func (*Volume) GetName

func (o *Volume) GetName() string

GetName returns the Name field value

func (*Volume) GetNameOk

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

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

func (*Volume) GetOptions

func (o *Volume) GetOptions() map[string]string

GetOptions returns the Options field value

func (*Volume) GetOptionsOk

func (o *Volume) GetOptionsOk() (*map[string]string, bool)

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

func (*Volume) GetScope

func (o *Volume) GetScope() string

GetScope returns the Scope field value

func (*Volume) GetScopeOk

func (o *Volume) GetScopeOk() (*string, bool)

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

func (*Volume) GetStatus

func (o *Volume) GetStatus() map[string]map[string]interface{}

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

func (*Volume) GetStatusOk

func (o *Volume) GetStatusOk() (map[string]map[string]interface{}, 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 (*Volume) GetUsageData

func (o *Volume) GetUsageData() VolumeUsageData

GetUsageData returns the UsageData field value if set, zero value otherwise.

func (*Volume) GetUsageDataOk

func (o *Volume) GetUsageDataOk() (*VolumeUsageData, bool)

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

func (*Volume) HasCreatedAt

func (o *Volume) HasCreatedAt() bool

HasCreatedAt returns a boolean if a field has been set.

func (*Volume) HasStatus

func (o *Volume) HasStatus() bool

HasStatus returns a boolean if a field has been set.

func (*Volume) HasUsageData

func (o *Volume) HasUsageData() bool

HasUsageData returns a boolean if a field has been set.

func (Volume) MarshalJSON

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

func (*Volume) SetCreatedAt

func (o *Volume) SetCreatedAt(v string)

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

func (*Volume) SetDriver

func (o *Volume) SetDriver(v string)

SetDriver sets field value

func (*Volume) SetLabels

func (o *Volume) SetLabels(v map[string]string)

SetLabels sets field value

func (*Volume) SetMountpoint

func (o *Volume) SetMountpoint(v string)

SetMountpoint sets field value

func (*Volume) SetName

func (o *Volume) SetName(v string)

SetName sets field value

func (*Volume) SetOptions

func (o *Volume) SetOptions(v map[string]string)

SetOptions sets field value

func (*Volume) SetScope

func (o *Volume) SetScope(v string)

SetScope sets field value

func (*Volume) SetStatus

func (o *Volume) SetStatus(v map[string]map[string]interface{})

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

func (*Volume) SetUsageData

func (o *Volume) SetUsageData(v VolumeUsageData)

SetUsageData gets a reference to the given VolumeUsageData and assigns it to the UsageData field.

type VolumeUsageData

type VolumeUsageData struct {
	// The number of containers referencing this volume. This field is set to `-1` if the reference-count is not available.
	RefCount int64 `json:"RefCount"`
	// Amount of disk space used by the volume (in bytes). This information is only available for volumes created with the `\"local\"` volume driver. For volumes created with other volume drivers, this field is set to `-1` (\"not available\")
	Size int64 `json:"Size"`
}

VolumeUsageData VolumeUsageData Usage details about the volume. This information is used by the `GET /system/df` endpoint, and omitted in other endpoints.

func NewVolumeUsageData

func NewVolumeUsageData(refCount int64, size int64) *VolumeUsageData

NewVolumeUsageData instantiates a new VolumeUsageData 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 NewVolumeUsageDataWithDefaults

func NewVolumeUsageDataWithDefaults() *VolumeUsageData

NewVolumeUsageDataWithDefaults instantiates a new VolumeUsageData 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 (*VolumeUsageData) GetRefCount

func (o *VolumeUsageData) GetRefCount() int64

GetRefCount returns the RefCount field value

func (*VolumeUsageData) GetRefCountOk

func (o *VolumeUsageData) GetRefCountOk() (*int64, bool)

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

func (*VolumeUsageData) GetSize

func (o *VolumeUsageData) GetSize() int64

GetSize returns the Size field value

func (*VolumeUsageData) GetSizeOk

func (o *VolumeUsageData) GetSizeOk() (*int64, bool)

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

func (VolumeUsageData) MarshalJSON

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

func (*VolumeUsageData) SetRefCount

func (o *VolumeUsageData) SetRefCount(v int64)

SetRefCount sets field value

func (*VolumeUsageData) SetSize

func (o *VolumeUsageData) SetSize(v int64)

SetSize sets field value

Source Files

Jump to

Keyboard shortcuts

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