client

package module
v0.6.0-alpha.1....-b963bfc Latest Latest
Warning

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

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

README

Go API client for client

Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the administative API port you should use something like Nginx, Ory Oathkeeper, or any other technology capable of authorizing incoming requests.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v0.6.0-alpha.1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import client "github.com/ory/sdk"

To use a proxy, set the environment variable HTTP_PROXY:

os.Setenv("HTTP_PROXY", "http://proxy_name:proxy_port")

Configuration of Server URL

Default configuration comes with Servers field that contains server objects as defined in the OpenAPI specification.

Select Server Configuration

For using other server than the one defined on index 0 set context value sw.ContextServerIndex of type int.

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

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

ctx := context.WithValue(context.Background(), client.ContextServerVariables, map[string]string{
	"basePath": "v2",
})

Note, enum values are always validated and all unused variables are silently ignored.

URLs Configuration per Operation

Each operation can use different server URL defined using OperationServers map in the Configuration. An operation is uniquely identifield by "{classname}Service.{nickname}" string. Similar rules for overriding default operation server index and variables applies by using sw.ContextOperationServerIndices and sw.ContextOperationServerVariables context maps.

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

Documentation for API Endpoints

All URIs are relative to https://demo.tenants.oryapis.com/api/kratos/public

Class Method HTTP request Description
AdminApi CreateIdentity Post /identities Create an Identity
AdminApi CreateRecoveryLink Post /recovery/link Create a Recovery Link
AdminApi DeleteIdentity Delete /identities/{id} Delete an Identity
AdminApi GetIdentity Get /identities/{id} Get an Identity
AdminApi GetSchema Get /schemas/{id}
AdminApi GetSelfServiceError Get /self-service/errors Get User-Facing Self-Service Errors
AdminApi GetSelfServiceLoginFlow Get /self-service/login/flows Get Login Flow
AdminApi GetSelfServiceRecoveryFlow Get /self-service/recovery/flows Get information about a recovery flow
AdminApi GetSelfServiceRegistrationFlow Get /self-service/registration/flows Get Registration Flow
AdminApi GetSelfServiceSettingsFlow Get /self-service/settings/flows Get Settings Flow
AdminApi GetSelfServiceVerificationFlow Get /self-service/verification/flows Get Verification Flow
AdminApi GetVersion Get /version Return Running Software Version.
AdminApi IsAlive Get /health/alive Check HTTP Server Status
AdminApi IsReady Get /health/ready Check HTTP Server and Database Status
AdminApi ListIdentities Get /identities List Identities
AdminApi Prometheus Get /metrics/prometheus Get snapshot metrics from the Hydra service. If you're using k8s, you can then add annotations to your deployment like so:
AdminApi UpdateIdentity Put /identities/{id} Update an Identity
PublicApi GetSchema Get /schemas/{id}
PublicApi GetSelfServiceError Get /self-service/errors Get User-Facing Self-Service Errors
PublicApi GetSelfServiceLoginFlow Get /self-service/login/flows Get Login Flow
PublicApi GetSelfServiceRecoveryFlow Get /self-service/recovery/flows Get information about a recovery flow
PublicApi GetSelfServiceRegistrationFlow Get /self-service/registration/flows Get Registration Flow
PublicApi GetSelfServiceSettingsFlow Get /self-service/settings/flows Get Settings Flow
PublicApi GetSelfServiceVerificationFlow Get /self-service/verification/flows Get Verification Flow
PublicApi InitializeSelfServiceBrowserLogoutFlow Get /self-service/browser/flows/logout Initialize Browser-Based Logout User Flow
PublicApi InitializeSelfServiceLoginViaAPIFlow Get /self-service/login/api Initialize Login Flow for API clients
PublicApi InitializeSelfServiceLoginViaBrowserFlow Get /self-service/login/browser Initialize Login Flow for browsers
PublicApi InitializeSelfServiceRecoveryViaAPIFlow Get /self-service/recovery/api Initialize Recovery Flow for API Clients
PublicApi InitializeSelfServiceRecoveryViaBrowserFlow Get /self-service/recovery/browser Initialize Recovery Flow for Browser Clients
PublicApi InitializeSelfServiceRegistrationViaAPIFlow Get /self-service/registration/api Initialize Registration Flow for API clients
PublicApi InitializeSelfServiceRegistrationViaBrowserFlow Get /self-service/registration/browser Initialize Registration Flow for browsers
PublicApi InitializeSelfServiceSettingsViaAPIFlow Get /self-service/settings/api Initialize Settings Flow for API Clients
PublicApi InitializeSelfServiceSettingsViaBrowserFlow Get /self-service/settings/browser Initialize Settings Flow for Browsers
PublicApi InitializeSelfServiceVerificationViaAPIFlow Get /self-service/verification/api Initialize Verification Flow for API Clients
PublicApi InitializeSelfServiceVerificationViaBrowserFlow Get /self-service/verification/browser Initialize Verification Flow for Browser Clients
PublicApi RevokeSession Delete /sessions Initialize Logout Flow for API Clients - Revoke a Session
PublicApi SubmitSelfServiceLoginFlow Post /self-service/login Submit a Login Flow
PublicApi SubmitSelfServiceRecoveryFlow Post /self-service/recovery Complete Recovery Flow
PublicApi SubmitSelfServiceRecoveryFlowWithLinkMethod Post /self-service/recovery/methods/link Complete Recovery Flow with Link Method
PublicApi SubmitSelfServiceRegistrationFlow Post /self-service/registration Submit a Registration Flow
PublicApi SubmitSelfServiceSettingsFlow Post /self-service/settings Complete Settings Flow
PublicApi SubmitSelfServiceVerificationFlow Post /self-service/verification/methods/link Complete Verification Flow
PublicApi Whoami Get /sessions/whoami Check Who the Current HTTP Session Belongs To

Documentation For Models

Documentation For Authorization

sessionCookie
  • Type: API key
  • API key parameter name: ory_kratos_session
  • Location:

Note, each API key must be added to a map of map[string]APIKey where the key is: ory_kratos_session and passed in as the auth context for each request.

sessionToken
  • Type: API key
  • API key parameter name: X-Session-Token
  • Location: HTTP header

Note, each API key must be added to a map of map[string]APIKey where the key is: X-Session-Token and passed in as the auth context for each request.

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author

hi@ory.sh

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 {
	AdminApi *AdminApiService

	PublicApi *PublicApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Ory Kratos API API vv0.6.0-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 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 ApiCreateIdentityRequest

func (*AdminApiService) CreateIdentityExecute

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

* Execute executes the request * @return Identity

func (a *AdminApiService) CreateRecoveryLink(ctx context.Context) ApiCreateRecoveryLinkRequest
  • 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 ApiCreateRecoveryLinkRequest

func (*AdminApiService) CreateRecoveryLinkExecute

func (a *AdminApiService) CreateRecoveryLinkExecute(r ApiCreateRecoveryLinkRequest) (*RecoveryLink, *http.Response, error)

* Execute executes the request * @return RecoveryLink

func (*AdminApiService) DeleteIdentity

func (a *AdminApiService) DeleteIdentity(ctx context.Context, id string) ApiDeleteIdentityRequest
  • 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 ApiDeleteIdentityRequest

func (*AdminApiService) DeleteIdentityExecute

func (a *AdminApiService) DeleteIdentityExecute(r ApiDeleteIdentityRequest) (*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 ApiGetIdentityRequest

func (*AdminApiService) GetIdentityExecute

func (a *AdminApiService) GetIdentityExecute(r ApiGetIdentityRequest) (*Identity, *http.Response, error)

* Execute executes the request * @return Identity

func (*AdminApiService) GetSchema

func (a *AdminApiService) GetSchema(ctx context.Context, id string) ApiGetSchemaRequest

* 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 ApiGetSchemaRequest

func (*AdminApiService) GetSchemaExecute

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

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

func (*AdminApiService) GetSelfServiceError

func (a *AdminApiService) GetSelfServiceError(ctx context.Context) ApiGetSelfServiceErrorRequest
  • 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 ApiGetSelfServiceErrorRequest

func (*AdminApiService) GetSelfServiceErrorExecute

func (a *AdminApiService) GetSelfServiceErrorExecute(r ApiGetSelfServiceErrorRequest) (*ErrorContainer, *http.Response, error)

* Execute executes the request * @return ErrorContainer

func (*AdminApiService) GetSelfServiceLoginFlow

func (a *AdminApiService) GetSelfServiceLoginFlow(ctx context.Context) ApiGetSelfServiceLoginFlowRequest
  • 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 ApiGetSelfServiceLoginFlowRequest

func (*AdminApiService) GetSelfServiceLoginFlowExecute

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

* Execute executes the request * @return LoginFlow

func (*AdminApiService) GetSelfServiceRecoveryFlow

func (a *AdminApiService) GetSelfServiceRecoveryFlow(ctx context.Context) ApiGetSelfServiceRecoveryFlowRequest
  • 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 ApiGetSelfServiceRecoveryFlowRequest

func (*AdminApiService) GetSelfServiceRecoveryFlowExecute

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

* Execute executes the request * @return RecoveryFlow

func (*AdminApiService) GetSelfServiceRegistrationFlow

func (a *AdminApiService) GetSelfServiceRegistrationFlow(ctx context.Context) ApiGetSelfServiceRegistrationFlowRequest
  • 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 ApiGetSelfServiceRegistrationFlowRequest

func (*AdminApiService) GetSelfServiceRegistrationFlowExecute

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

* Execute executes the request * @return RegistrationFlow

func (*AdminApiService) GetSelfServiceSettingsFlow

func (a *AdminApiService) GetSelfServiceSettingsFlow(ctx context.Context) ApiGetSelfServiceSettingsFlowRequest
  • 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 ApiGetSelfServiceSettingsFlowRequest

func (*AdminApiService) GetSelfServiceSettingsFlowExecute

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

* Execute executes the request * @return SettingsFlow

func (*AdminApiService) GetSelfServiceVerificationFlow

func (a *AdminApiService) GetSelfServiceVerificationFlow(ctx context.Context) ApiGetSelfServiceVerificationFlowRequest
  • 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 ApiGetSelfServiceVerificationFlowRequest

func (*AdminApiService) GetSelfServiceVerificationFlowExecute

func (a *AdminApiService) GetSelfServiceVerificationFlowExecute(r ApiGetSelfServiceVerificationFlowRequest) (*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 ApiGetVersionRequest

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 ApiIsAliveRequest

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 ApiIsReadyRequest

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 ApiListIdentitiesRequest

func (*AdminApiService) ListIdentitiesExecute

func (a *AdminApiService) ListIdentitiesExecute(r ApiListIdentitiesRequest) ([]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 ApiPrometheusRequest

func (*AdminApiService) PrometheusExecute

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

* Execute executes the request

func (*AdminApiService) UpdateIdentity

func (a *AdminApiService) UpdateIdentity(ctx context.Context, id string) ApiUpdateIdentityRequest
  • 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 ApiUpdateIdentityRequest

func (*AdminApiService) UpdateIdentityExecute

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

* Execute executes the request * @return Identity

type ApiCreateIdentityRequest

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

func (ApiCreateIdentityRequest) CreateIdentity

func (r ApiCreateIdentityRequest) CreateIdentity(createIdentity CreateIdentity) ApiCreateIdentityRequest

func (ApiCreateIdentityRequest) Execute

type ApiCreateRecoveryLinkRequest

type ApiCreateRecoveryLinkRequest struct {
	ApiService *AdminApiService
	// contains filtered or unexported fields
}
func (r ApiCreateRecoveryLinkRequest) CreateRecoveryLink(createRecoveryLink CreateRecoveryLink) ApiCreateRecoveryLinkRequest

func (ApiCreateRecoveryLinkRequest) Execute

type ApiDeleteIdentityRequest

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

func (ApiDeleteIdentityRequest) Execute

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

type ApiGetIdentityRequest

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

func (ApiGetIdentityRequest) Execute

func (r ApiGetIdentityRequest) Execute() (*Identity, *http.Response, error)

type ApiGetSchemaRequest

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

func (ApiGetSchemaRequest) Execute

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

type ApiGetSelfServiceErrorRequest

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

func (ApiGetSelfServiceErrorRequest) Error_

func (ApiGetSelfServiceErrorRequest) Execute

type ApiGetSelfServiceLoginFlowRequest

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

func (ApiGetSelfServiceLoginFlowRequest) Execute

func (ApiGetSelfServiceLoginFlowRequest) Id

type ApiGetSelfServiceRecoveryFlowRequest

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

func (ApiGetSelfServiceRecoveryFlowRequest) Execute

func (ApiGetSelfServiceRecoveryFlowRequest) Id

type ApiGetSelfServiceRegistrationFlowRequest

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

func (ApiGetSelfServiceRegistrationFlowRequest) Execute

func (ApiGetSelfServiceRegistrationFlowRequest) Id

type ApiGetSelfServiceSettingsFlowRequest

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

func (ApiGetSelfServiceSettingsFlowRequest) Execute

func (ApiGetSelfServiceSettingsFlowRequest) Id

type ApiGetSelfServiceVerificationFlowRequest

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

func (ApiGetSelfServiceVerificationFlowRequest) Execute

func (ApiGetSelfServiceVerificationFlowRequest) Id

type ApiGetVersionRequest

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

func (ApiGetVersionRequest) Execute

type ApiInitializeSelfServiceBrowserLogoutFlowRequest

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

func (ApiInitializeSelfServiceBrowserLogoutFlowRequest) Execute

type ApiInitializeSelfServiceLoginViaAPIFlowRequest

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

func (ApiInitializeSelfServiceLoginViaAPIFlowRequest) Execute

func (ApiInitializeSelfServiceLoginViaAPIFlowRequest) Refresh

type ApiInitializeSelfServiceLoginViaBrowserFlowRequest

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

func (ApiInitializeSelfServiceLoginViaBrowserFlowRequest) Execute

type ApiInitializeSelfServiceRecoveryViaAPIFlowRequest

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

func (ApiInitializeSelfServiceRecoveryViaAPIFlowRequest) Execute

type ApiInitializeSelfServiceRecoveryViaBrowserFlowRequest

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

func (ApiInitializeSelfServiceRecoveryViaBrowserFlowRequest) Execute

type ApiInitializeSelfServiceRegistrationViaAPIFlowRequest

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

func (ApiInitializeSelfServiceRegistrationViaAPIFlowRequest) Execute

type ApiInitializeSelfServiceRegistrationViaBrowserFlowRequest

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

func (ApiInitializeSelfServiceRegistrationViaBrowserFlowRequest) Execute

type ApiInitializeSelfServiceSettingsViaAPIFlowRequest

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

func (ApiInitializeSelfServiceSettingsViaAPIFlowRequest) Execute

type ApiInitializeSelfServiceSettingsViaBrowserFlowRequest

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

func (ApiInitializeSelfServiceSettingsViaBrowserFlowRequest) Execute

type ApiInitializeSelfServiceVerificationViaAPIFlowRequest

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

func (ApiInitializeSelfServiceVerificationViaAPIFlowRequest) Execute

type ApiInitializeSelfServiceVerificationViaBrowserFlowRequest

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

func (ApiInitializeSelfServiceVerificationViaBrowserFlowRequest) Execute

type ApiIsAliveRequest

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

func (ApiIsAliveRequest) Execute

type ApiIsReadyRequest

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

func (ApiIsReadyRequest) Execute

type ApiListIdentitiesRequest

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

func (ApiListIdentitiesRequest) Execute

func (ApiListIdentitiesRequest) Page

func (ApiListIdentitiesRequest) PerPage

type ApiPrometheusRequest

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

func (ApiPrometheusRequest) Execute

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

type ApiRevokeSessionRequest

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

func (ApiRevokeSessionRequest) Execute

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

func (ApiRevokeSessionRequest) RevokeSession

func (r ApiRevokeSessionRequest) RevokeSession(revokeSession RevokeSession) ApiRevokeSessionRequest

type ApiSubmitSelfServiceLoginFlowRequest

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

func (ApiSubmitSelfServiceLoginFlowRequest) Execute

func (ApiSubmitSelfServiceLoginFlowRequest) Flow

func (ApiSubmitSelfServiceLoginFlowRequest) SubmitSelfServiceLoginFlow

func (r ApiSubmitSelfServiceLoginFlowRequest) SubmitSelfServiceLoginFlow(submitSelfServiceLoginFlow SubmitSelfServiceLoginFlow) ApiSubmitSelfServiceLoginFlowRequest

type ApiSubmitSelfServiceRecoveryFlowRequest

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

func (ApiSubmitSelfServiceRecoveryFlowRequest) Body

func (ApiSubmitSelfServiceRecoveryFlowRequest) Execute

func (ApiSubmitSelfServiceRecoveryFlowRequest) Flow

type ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest

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

func (ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) Execute

func (ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) Flow

func (ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) SubmitSelfServiceRecoveryFlowWithLinkMethod

func (r ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) SubmitSelfServiceRecoveryFlowWithLinkMethod(submitSelfServiceRecoveryFlowWithLinkMethod SubmitSelfServiceRecoveryFlowWithLinkMethod) ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest

func (ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) Token

type ApiSubmitSelfServiceRegistrationFlowRequest

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

func (ApiSubmitSelfServiceRegistrationFlowRequest) Execute

func (ApiSubmitSelfServiceRegistrationFlowRequest) Flow

func (ApiSubmitSelfServiceRegistrationFlowRequest) SubmitSelfServiceRegistrationFlow

func (r ApiSubmitSelfServiceRegistrationFlowRequest) SubmitSelfServiceRegistrationFlow(submitSelfServiceRegistrationFlow SubmitSelfServiceRegistrationFlow) ApiSubmitSelfServiceRegistrationFlowRequest

type ApiSubmitSelfServiceSettingsFlowRequest

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

func (ApiSubmitSelfServiceSettingsFlowRequest) Execute

func (ApiSubmitSelfServiceSettingsFlowRequest) Flow

func (ApiSubmitSelfServiceSettingsFlowRequest) SubmitSelfServiceSettingsFlow

func (r ApiSubmitSelfServiceSettingsFlowRequest) SubmitSelfServiceSettingsFlow(submitSelfServiceSettingsFlow SubmitSelfServiceSettingsFlow) ApiSubmitSelfServiceSettingsFlowRequest

type ApiSubmitSelfServiceVerificationFlowRequest

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

func (ApiSubmitSelfServiceVerificationFlowRequest) Body

func (ApiSubmitSelfServiceVerificationFlowRequest) Execute

func (ApiSubmitSelfServiceVerificationFlowRequest) Flow

type ApiUpdateIdentityRequest

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

func (ApiUpdateIdentityRequest) Execute

func (ApiUpdateIdentityRequest) UpdateIdentity

func (r ApiUpdateIdentityRequest) UpdateIdentity(updateIdentity UpdateIdentity) ApiUpdateIdentityRequest

type ApiWhoamiRequest

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

func (ApiWhoamiRequest) Authorization

func (r ApiWhoamiRequest) Authorization(authorization string) ApiWhoamiRequest

func (ApiWhoamiRequest) Cookie

func (r ApiWhoamiRequest) Cookie(cookie string) ApiWhoamiRequest

func (ApiWhoamiRequest) Execute

func (r ApiWhoamiRequest) Execute() (*Session, *http.Response, error)

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 {
	Error *GenericErrorPayload `json:"error,omitempty"`
}

GenericError Error responses are sent when an error (e.g. unauthorized, bad request, ...) occurred.

func NewGenericError

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

func (o *GenericError) GetError() GenericErrorPayload

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

func (*GenericError) GetErrorOk

func (o *GenericError) GetErrorOk() (*GenericErrorPayload, 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 (*GenericError) HasError

func (o *GenericError) HasError() bool

HasError returns a boolean if a field has been set.

func (GenericError) MarshalJSON

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

func (*GenericError) SetError

func (o *GenericError) SetError(v GenericErrorPayload)

SetError gets a reference to the given GenericErrorPayload and assigns it to the Error 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 {
	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"`
	Traits    map[string]interface{} `json:"traits"`
	// VerifiableAddresses contains all the addresses that can be verified by the user.
	VerifiableAddresses []VerifiableAddress `json:"verifiable_addresses,omitempty"`
}

Identity struct for Identity

func NewIdentity

func NewIdentity(id string, schemaId string, schemaUrl string, traits map[string]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) 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) GetTraits

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

GetTraits returns the Traits field value

func (*Identity) GetTraitsOk

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

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

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

func (*Identity) GetVerifiableAddressesOk

func (o *Identity) GetVerifiableAddressesOk() ([]VerifiableAddress, 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) HasRecoveryAddresses

func (o *Identity) HasRecoveryAddresses() bool

HasRecoveryAddresses 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) 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) SetTraits

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

SetTraits sets field value

func (*Identity) SetVerifiableAddresses

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

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

type IdentityCredentials

type IdentityCredentials struct {
	Config map[string]interface{} `json:"config,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"`
}

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

func (o *IdentityCredentials) HasConfig() bool

HasConfig 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) 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) 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.

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 LoginFlow

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

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

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

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

func (o *LoginFlow) GetActive() string

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

func (*LoginFlow) GetActiveOk

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

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

GetExpiresAt returns the ExpiresAt field value

func (*LoginFlow) GetExpiresAtOk

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

func (o *LoginFlow) GetId() string

GetId returns the Id field value

func (*LoginFlow) GetIdOk

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

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

GetIssuedAt returns the IssuedAt field value

func (*LoginFlow) GetIssuedAtOk

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

func (o *LoginFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*LoginFlow) GetRequestUrlOk

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

func (o *LoginFlow) GetType() string

GetType returns the Type field value

func (*LoginFlow) GetTypeOk

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

func (o *LoginFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*LoginFlow) GetUiOk

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

func (o *LoginFlow) HasActive() bool

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

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

func (*LoginFlow) SetActive

func (o *LoginFlow) SetActive(v string)

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

func (*LoginFlow) SetExpiresAt

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

func (o *LoginFlow) SetId(v string)

SetId sets field value

func (*LoginFlow) SetIssuedAt

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

SetIssuedAt sets field value

func (*LoginFlow) SetRequestUrl

func (o *LoginFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*LoginFlow) SetType

func (o *LoginFlow) SetType(v string)

SetType sets field value

func (*LoginFlow) SetUi

func (o *LoginFlow) SetUi(v UiContainer)

SetUi sets field value

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

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

func NewNullableLoginFlow

func NewNullableLoginFlow(val *LoginFlow) *NullableLoginFlow

func (NullableLoginFlow) Get

func (v NullableLoginFlow) Get() *LoginFlow

func (NullableLoginFlow) IsSet

func (v NullableLoginFlow) IsSet() bool

func (NullableLoginFlow) MarshalJSON

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

func (*NullableLoginFlow) Set

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

func (*NullableLoginFlow) UnmarshalJSON

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

func (*NullableLoginFlow) Unset

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

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

func NewNullableRecoveryFlow

func NewNullableRecoveryFlow(val *RecoveryFlow) *NullableRecoveryFlow

func (NullableRecoveryFlow) Get

func (NullableRecoveryFlow) IsSet

func (v NullableRecoveryFlow) IsSet() bool

func (NullableRecoveryFlow) MarshalJSON

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

func (*NullableRecoveryFlow) Set

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

func (*NullableRecoveryFlow) UnmarshalJSON

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

func (*NullableRecoveryFlow) Unset

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

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

func NewNullableRegistrationFlow

func NewNullableRegistrationFlow(val *RegistrationFlow) *NullableRegistrationFlow

func (NullableRegistrationFlow) Get

func (NullableRegistrationFlow) IsSet

func (v NullableRegistrationFlow) IsSet() bool

func (NullableRegistrationFlow) MarshalJSON

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

func (*NullableRegistrationFlow) Set

func (*NullableRegistrationFlow) UnmarshalJSON

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

func (*NullableRegistrationFlow) Unset

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

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

func NewNullableSettingsFlow

func NewNullableSettingsFlow(val *SettingsFlow) *NullableSettingsFlow

func (NullableSettingsFlow) Get

func (NullableSettingsFlow) IsSet

func (v NullableSettingsFlow) IsSet() bool

func (NullableSettingsFlow) MarshalJSON

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

func (*NullableSettingsFlow) Set

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

func (*NullableSettingsFlow) UnmarshalJSON

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

func (*NullableSettingsFlow) Unset

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

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

func NewNullableVerificationFlow

func NewNullableVerificationFlow(val *VerificationFlow) *NullableVerificationFlow

func (NullableVerificationFlow) Get

func (NullableVerificationFlow) IsSet

func (v NullableVerificationFlow) IsSet() bool

func (NullableVerificationFlow) MarshalJSON

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

func (*NullableVerificationFlow) Set

func (*NullableVerificationFlow) UnmarshalJSON

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

func (*NullableVerificationFlow) Unset

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

func (*PublicApiService) GetSchemaExecute

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

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

func (*PublicApiService) GetSelfServiceError

func (a *PublicApiService) GetSelfServiceError(ctx context.Context) ApiGetSelfServiceErrorRequest
  • 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 ApiGetSelfServiceErrorRequest

func (*PublicApiService) GetSelfServiceErrorExecute

func (a *PublicApiService) GetSelfServiceErrorExecute(r ApiGetSelfServiceErrorRequest) (*ErrorContainer, *http.Response, error)

* Execute executes the request * @return ErrorContainer

func (*PublicApiService) GetSelfServiceLoginFlow

func (a *PublicApiService) GetSelfServiceLoginFlow(ctx context.Context) ApiGetSelfServiceLoginFlowRequest
  • 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 ApiGetSelfServiceLoginFlowRequest

func (*PublicApiService) GetSelfServiceLoginFlowExecute

func (a *PublicApiService) GetSelfServiceLoginFlowExecute(r ApiGetSelfServiceLoginFlowRequest) (*LoginFlow, *http.Response, error)

* Execute executes the request * @return LoginFlow

func (*PublicApiService) GetSelfServiceRecoveryFlow

func (a *PublicApiService) GetSelfServiceRecoveryFlow(ctx context.Context) ApiGetSelfServiceRecoveryFlowRequest
  • 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 ApiGetSelfServiceRecoveryFlowRequest

func (*PublicApiService) GetSelfServiceRecoveryFlowExecute

func (a *PublicApiService) GetSelfServiceRecoveryFlowExecute(r ApiGetSelfServiceRecoveryFlowRequest) (*RecoveryFlow, *http.Response, error)

* Execute executes the request * @return RecoveryFlow

func (*PublicApiService) GetSelfServiceRegistrationFlow

func (a *PublicApiService) GetSelfServiceRegistrationFlow(ctx context.Context) ApiGetSelfServiceRegistrationFlowRequest
  • 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 ApiGetSelfServiceRegistrationFlowRequest

func (*PublicApiService) GetSelfServiceRegistrationFlowExecute

func (a *PublicApiService) GetSelfServiceRegistrationFlowExecute(r ApiGetSelfServiceRegistrationFlowRequest) (*RegistrationFlow, *http.Response, error)

* Execute executes the request * @return RegistrationFlow

func (*PublicApiService) GetSelfServiceSettingsFlow

func (a *PublicApiService) GetSelfServiceSettingsFlow(ctx context.Context) ApiGetSelfServiceSettingsFlowRequest
  • 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 ApiGetSelfServiceSettingsFlowRequest

func (*PublicApiService) GetSelfServiceSettingsFlowExecute

func (a *PublicApiService) GetSelfServiceSettingsFlowExecute(r ApiGetSelfServiceSettingsFlowRequest) (*SettingsFlow, *http.Response, error)

* Execute executes the request * @return SettingsFlow

func (*PublicApiService) GetSelfServiceVerificationFlow

func (a *PublicApiService) GetSelfServiceVerificationFlow(ctx context.Context) ApiGetSelfServiceVerificationFlowRequest
  • 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 ApiGetSelfServiceVerificationFlowRequest

func (*PublicApiService) GetSelfServiceVerificationFlowExecute

func (a *PublicApiService) GetSelfServiceVerificationFlowExecute(r ApiGetSelfServiceVerificationFlowRequest) (*VerificationFlow, *http.Response, error)

* Execute executes the request * @return VerificationFlow

func (*PublicApiService) InitializeSelfServiceBrowserLogoutFlow

func (a *PublicApiService) InitializeSelfServiceBrowserLogoutFlow(ctx context.Context) ApiInitializeSelfServiceBrowserLogoutFlowRequest
  • 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 ApiInitializeSelfServiceBrowserLogoutFlowRequest

func (*PublicApiService) InitializeSelfServiceBrowserLogoutFlowExecute

func (a *PublicApiService) InitializeSelfServiceBrowserLogoutFlowExecute(r ApiInitializeSelfServiceBrowserLogoutFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceLoginViaAPIFlow

func (a *PublicApiService) InitializeSelfServiceLoginViaAPIFlow(ctx context.Context) ApiInitializeSelfServiceLoginViaAPIFlowRequest
  • InitializeSelfServiceLoginViaAPIFlow Initialize Login Flow for 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 ApiInitializeSelfServiceLoginViaAPIFlowRequest

func (*PublicApiService) InitializeSelfServiceLoginViaAPIFlowExecute

func (a *PublicApiService) InitializeSelfServiceLoginViaAPIFlowExecute(r ApiInitializeSelfServiceLoginViaAPIFlowRequest) (*LoginFlow, *http.Response, error)

* Execute executes the request * @return LoginFlow

func (*PublicApiService) InitializeSelfServiceLoginViaBrowserFlow

func (a *PublicApiService) InitializeSelfServiceLoginViaBrowserFlow(ctx context.Context) ApiInitializeSelfServiceLoginViaBrowserFlowRequest
  • InitializeSelfServiceLoginViaBrowserFlow 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 ApiInitializeSelfServiceLoginViaBrowserFlowRequest

func (*PublicApiService) InitializeSelfServiceLoginViaBrowserFlowExecute

func (a *PublicApiService) InitializeSelfServiceLoginViaBrowserFlowExecute(r ApiInitializeSelfServiceLoginViaBrowserFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceRecoveryViaAPIFlow

func (a *PublicApiService) InitializeSelfServiceRecoveryViaAPIFlow(ctx context.Context) ApiInitializeSelfServiceRecoveryViaAPIFlowRequest
  • InitializeSelfServiceRecoveryViaAPIFlow Initialize Recovery Flow for 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 ApiInitializeSelfServiceRecoveryViaAPIFlowRequest

func (*PublicApiService) InitializeSelfServiceRecoveryViaAPIFlowExecute

func (a *PublicApiService) InitializeSelfServiceRecoveryViaAPIFlowExecute(r ApiInitializeSelfServiceRecoveryViaAPIFlowRequest) (*RecoveryFlow, *http.Response, error)

* Execute executes the request * @return RecoveryFlow

func (*PublicApiService) InitializeSelfServiceRecoveryViaBrowserFlow

func (a *PublicApiService) InitializeSelfServiceRecoveryViaBrowserFlow(ctx context.Context) ApiInitializeSelfServiceRecoveryViaBrowserFlowRequest
  • InitializeSelfServiceRecoveryViaBrowserFlow 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 ApiInitializeSelfServiceRecoveryViaBrowserFlowRequest

func (*PublicApiService) InitializeSelfServiceRecoveryViaBrowserFlowExecute

func (a *PublicApiService) InitializeSelfServiceRecoveryViaBrowserFlowExecute(r ApiInitializeSelfServiceRecoveryViaBrowserFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceRegistrationViaAPIFlow

func (a *PublicApiService) InitializeSelfServiceRegistrationViaAPIFlow(ctx context.Context) ApiInitializeSelfServiceRegistrationViaAPIFlowRequest
  • InitializeSelfServiceRegistrationViaAPIFlow Initialize Registration Flow for 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 ApiInitializeSelfServiceRegistrationViaAPIFlowRequest

func (*PublicApiService) InitializeSelfServiceRegistrationViaAPIFlowExecute

func (a *PublicApiService) InitializeSelfServiceRegistrationViaAPIFlowExecute(r ApiInitializeSelfServiceRegistrationViaAPIFlowRequest) (*RegistrationFlow, *http.Response, error)

* Execute executes the request * @return RegistrationFlow

func (*PublicApiService) InitializeSelfServiceRegistrationViaBrowserFlow

func (a *PublicApiService) InitializeSelfServiceRegistrationViaBrowserFlow(ctx context.Context) ApiInitializeSelfServiceRegistrationViaBrowserFlowRequest
  • InitializeSelfServiceRegistrationViaBrowserFlow 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 ApiInitializeSelfServiceRegistrationViaBrowserFlowRequest

func (*PublicApiService) InitializeSelfServiceRegistrationViaBrowserFlowExecute

func (a *PublicApiService) InitializeSelfServiceRegistrationViaBrowserFlowExecute(r ApiInitializeSelfServiceRegistrationViaBrowserFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceSettingsViaAPIFlow

func (a *PublicApiService) InitializeSelfServiceSettingsViaAPIFlow(ctx context.Context) ApiInitializeSelfServiceSettingsViaAPIFlowRequest
  • InitializeSelfServiceSettingsViaAPIFlow Initialize Settings Flow for 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 ApiInitializeSelfServiceSettingsViaAPIFlowRequest

func (*PublicApiService) InitializeSelfServiceSettingsViaAPIFlowExecute

func (a *PublicApiService) InitializeSelfServiceSettingsViaAPIFlowExecute(r ApiInitializeSelfServiceSettingsViaAPIFlowRequest) (*SettingsFlow, *http.Response, error)

* Execute executes the request * @return SettingsFlow

func (*PublicApiService) InitializeSelfServiceSettingsViaBrowserFlow

func (a *PublicApiService) InitializeSelfServiceSettingsViaBrowserFlow(ctx context.Context) ApiInitializeSelfServiceSettingsViaBrowserFlowRequest
  • InitializeSelfServiceSettingsViaBrowserFlow 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 ApiInitializeSelfServiceSettingsViaBrowserFlowRequest

func (*PublicApiService) InitializeSelfServiceSettingsViaBrowserFlowExecute

func (a *PublicApiService) InitializeSelfServiceSettingsViaBrowserFlowExecute(r ApiInitializeSelfServiceSettingsViaBrowserFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) InitializeSelfServiceVerificationViaAPIFlow

func (a *PublicApiService) InitializeSelfServiceVerificationViaAPIFlow(ctx context.Context) ApiInitializeSelfServiceVerificationViaAPIFlowRequest
  • InitializeSelfServiceVerificationViaAPIFlow Initialize Verification Flow for 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 ApiInitializeSelfServiceVerificationViaAPIFlowRequest

func (*PublicApiService) InitializeSelfServiceVerificationViaAPIFlowExecute

func (a *PublicApiService) InitializeSelfServiceVerificationViaAPIFlowExecute(r ApiInitializeSelfServiceVerificationViaAPIFlowRequest) (*VerificationFlow, *http.Response, error)

* Execute executes the request * @return VerificationFlow

func (*PublicApiService) InitializeSelfServiceVerificationViaBrowserFlow

func (a *PublicApiService) InitializeSelfServiceVerificationViaBrowserFlow(ctx context.Context) ApiInitializeSelfServiceVerificationViaBrowserFlowRequest
  • InitializeSelfServiceVerificationViaBrowserFlow 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 ApiInitializeSelfServiceVerificationViaBrowserFlowRequest

func (*PublicApiService) InitializeSelfServiceVerificationViaBrowserFlowExecute

func (a *PublicApiService) InitializeSelfServiceVerificationViaBrowserFlowExecute(r ApiInitializeSelfServiceVerificationViaBrowserFlowRequest) (*http.Response, error)

* Execute executes the request

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 ApiRevokeSessionRequest

func (*PublicApiService) RevokeSessionExecute

func (a *PublicApiService) RevokeSessionExecute(r ApiRevokeSessionRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) SubmitSelfServiceLoginFlow

func (a *PublicApiService) SubmitSelfServiceLoginFlow(ctx context.Context) ApiSubmitSelfServiceLoginFlowRequest
  • 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 ApiSubmitSelfServiceLoginFlowRequest

func (*PublicApiService) SubmitSelfServiceLoginFlowExecute

func (a *PublicApiService) SubmitSelfServiceLoginFlowExecute(r ApiSubmitSelfServiceLoginFlowRequest) (*LoginViaApiResponse, *http.Response, error)

* Execute executes the request * @return LoginViaApiResponse

func (*PublicApiService) SubmitSelfServiceRecoveryFlow

func (a *PublicApiService) SubmitSelfServiceRecoveryFlow(ctx context.Context) ApiSubmitSelfServiceRecoveryFlowRequest
  • 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 ApiSubmitSelfServiceRecoveryFlowRequest

func (*PublicApiService) SubmitSelfServiceRecoveryFlowExecute

func (a *PublicApiService) SubmitSelfServiceRecoveryFlowExecute(r ApiSubmitSelfServiceRecoveryFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) SubmitSelfServiceRecoveryFlowWithLinkMethod

func (a *PublicApiService) SubmitSelfServiceRecoveryFlowWithLinkMethod(ctx context.Context) ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest
  • 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 ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest

func (*PublicApiService) SubmitSelfServiceRecoveryFlowWithLinkMethodExecute

func (a *PublicApiService) SubmitSelfServiceRecoveryFlowWithLinkMethodExecute(r ApiSubmitSelfServiceRecoveryFlowWithLinkMethodRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) SubmitSelfServiceRegistrationFlow

func (a *PublicApiService) SubmitSelfServiceRegistrationFlow(ctx context.Context) ApiSubmitSelfServiceRegistrationFlowRequest
  • 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 ApiSubmitSelfServiceRegistrationFlowRequest

func (*PublicApiService) SubmitSelfServiceRegistrationFlowExecute

* Execute executes the request * @return RegistrationViaApiResponse

func (*PublicApiService) SubmitSelfServiceSettingsFlow

func (a *PublicApiService) SubmitSelfServiceSettingsFlow(ctx context.Context) ApiSubmitSelfServiceSettingsFlowRequest
  • 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 ApiSubmitSelfServiceSettingsFlowRequest

func (*PublicApiService) SubmitSelfServiceSettingsFlowExecute

func (a *PublicApiService) SubmitSelfServiceSettingsFlowExecute(r ApiSubmitSelfServiceSettingsFlowRequest) (*SettingsViaApiResponse, *http.Response, error)

* Execute executes the request * @return SettingsViaApiResponse

func (*PublicApiService) SubmitSelfServiceVerificationFlow

func (a *PublicApiService) SubmitSelfServiceVerificationFlow(ctx context.Context) ApiSubmitSelfServiceVerificationFlowRequest
  • 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 ApiSubmitSelfServiceVerificationFlowRequest

func (*PublicApiService) SubmitSelfServiceVerificationFlowExecute

func (a *PublicApiService) SubmitSelfServiceVerificationFlowExecute(r ApiSubmitSelfServiceVerificationFlowRequest) (*http.Response, error)

* Execute executes the request

func (*PublicApiService) Whoami

  • Whoami 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 reverse proxies and API Gateways.

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

func (*PublicApiService) WhoamiExecute

func (a *PublicApiService) WhoamiExecute(r ApiWhoamiRequest) (*Session, *http.Response, error)

* Execute executes the request * @return Session

type RecoveryAddress

type RecoveryAddress struct {
	Id    string `json:"id"`
	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) 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) 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) MarshalJSON

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

func (*RecoveryAddress) SetId

func (o *RecoveryAddress) SetId(v string)

SetId sets field value

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

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

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

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

func (o *RecoveryFlow) GetActive() string

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

func (*RecoveryFlow) GetActiveOk

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

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

GetExpiresAt returns the ExpiresAt field value

func (*RecoveryFlow) GetExpiresAtOk

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

func (o *RecoveryFlow) GetId() string

GetId returns the Id field value

func (*RecoveryFlow) GetIdOk

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

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

GetIssuedAt returns the IssuedAt field value

func (*RecoveryFlow) GetIssuedAtOk

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

func (o *RecoveryFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RecoveryFlow) GetRequestUrlOk

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

func (o *RecoveryFlow) GetState() string

GetState returns the State field value

func (*RecoveryFlow) GetStateOk

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

func (o *RecoveryFlow) GetType() string

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

func (*RecoveryFlow) GetTypeOk

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

func (o *RecoveryFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RecoveryFlow) GetUiOk

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

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

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

func (*RecoveryFlow) SetActive

func (o *RecoveryFlow) SetActive(v string)

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

func (*RecoveryFlow) SetExpiresAt

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

SetExpiresAt sets field value

func (*RecoveryFlow) SetId

func (o *RecoveryFlow) SetId(v string)

SetId sets field value

func (*RecoveryFlow) SetIssuedAt

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

SetIssuedAt sets field value

func (*RecoveryFlow) SetRequestUrl

func (o *RecoveryFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RecoveryFlow) SetState

func (o *RecoveryFlow) SetState(v string)

SetState sets field value

func (*RecoveryFlow) SetType

func (o *RecoveryFlow) SetType(v string)

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

func (*RecoveryFlow) SetUi

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

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

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

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

func (o *RegistrationFlow) GetActive() string

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

func (*RegistrationFlow) GetActiveOk

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

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

GetExpiresAt returns the ExpiresAt field value

func (*RegistrationFlow) GetExpiresAtOk

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

func (o *RegistrationFlow) GetId() string

GetId returns the Id field value

func (*RegistrationFlow) GetIdOk

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

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

GetIssuedAt returns the IssuedAt field value

func (*RegistrationFlow) GetIssuedAtOk

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

func (o *RegistrationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*RegistrationFlow) GetRequestUrlOk

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

func (o *RegistrationFlow) GetType() string

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

func (*RegistrationFlow) GetTypeOk

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

func (o *RegistrationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*RegistrationFlow) GetUiOk

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

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

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

func (*RegistrationFlow) SetActive

func (o *RegistrationFlow) SetActive(v string)

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

func (*RegistrationFlow) SetExpiresAt

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

SetExpiresAt sets field value

func (*RegistrationFlow) SetId

func (o *RegistrationFlow) SetId(v string)

SetId sets field value

func (*RegistrationFlow) SetIssuedAt

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

SetIssuedAt sets field value

func (*RegistrationFlow) SetRequestUrl

func (o *RegistrationFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*RegistrationFlow) SetType

func (o *RegistrationFlow) SetType(v string)

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

func (*RegistrationFlow) SetUi

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 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 {
	Active          *bool     `json:"active,omitempty"`
	AuthenticatedAt time.Time `json:"authenticated_at"`
	ExpiresAt       time.Time `json:"expires_at"`
	Id              string    `json:"id"`
	Identity        Identity  `json:"identity"`
	IssuedAt        time.Time `json:"issued_at"`
}

Session struct for Session

func NewSession

func NewSession(authenticatedAt time.Time, expiresAt time.Time, id string, identity Identity, issuedAt time.Time) *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

func (*Session) GetAuthenticatedAtOk

func (o *Session) GetAuthenticatedAtOk() (*time.Time, bool)

GetAuthenticatedAtOk returns a tuple with the AuthenticatedAt field value 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

func (*Session) GetExpiresAtOk

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

func (*Session) GetIssuedAtOk

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

func (o *Session) HasActive() bool

HasActive 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 sets field value

func (*Session) SetExpiresAt

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

SetExpiresAt sets field value

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 sets field value

type SettingsFlow

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

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

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

func (o *SettingsFlow) GetActive() string

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

func (*SettingsFlow) GetActiveOk

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

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

GetExpiresAt returns the ExpiresAt field value

func (*SettingsFlow) GetExpiresAtOk

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

func (o *SettingsFlow) GetId() string

GetId returns the Id field value

func (*SettingsFlow) GetIdOk

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

func (o *SettingsFlow) GetIdentity() Identity

GetIdentity returns the Identity field value

func (*SettingsFlow) GetIdentityOk

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

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

GetIssuedAt returns the IssuedAt field value

func (*SettingsFlow) GetIssuedAtOk

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

func (o *SettingsFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value

func (*SettingsFlow) GetRequestUrlOk

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

func (o *SettingsFlow) GetState() string

GetState returns the State field value

func (*SettingsFlow) GetStateOk

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

func (o *SettingsFlow) GetType() string

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

func (*SettingsFlow) GetTypeOk

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

func (o *SettingsFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*SettingsFlow) GetUiOk

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

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

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

func (*SettingsFlow) SetActive

func (o *SettingsFlow) SetActive(v string)

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

func (*SettingsFlow) SetExpiresAt

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

SetExpiresAt sets field value

func (*SettingsFlow) SetId

func (o *SettingsFlow) SetId(v string)

SetId sets field value

func (*SettingsFlow) SetIdentity

func (o *SettingsFlow) SetIdentity(v Identity)

SetIdentity sets field value

func (*SettingsFlow) SetIssuedAt

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

SetIssuedAt sets field value

func (*SettingsFlow) SetRequestUrl

func (o *SettingsFlow) SetRequestUrl(v string)

SetRequestUrl sets field value

func (*SettingsFlow) SetState

func (o *SettingsFlow) SetState(v string)

SetState sets field value

func (*SettingsFlow) SetType

func (o *SettingsFlow) SetType(v string)

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

func (*SettingsFlow) SetUi

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 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 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 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 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 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 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 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 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 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"`
	Value    *UiNodeInputAttributesValue `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

GetValue returns the Value field value if set, zero value otherwise.

func (*UiNodeInputAttributes) GetValueOk

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

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

SetValue gets a reference to the given UiNodeInputAttributesValue 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 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 VerificationFlow

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

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

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

func (o *VerificationFlow) GetActive() string

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

func (*VerificationFlow) GetActiveOk

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

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

GetExpiresAt returns the ExpiresAt field value if set, zero value otherwise.

func (*VerificationFlow) GetExpiresAtOk

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

func (o *VerificationFlow) GetId() string

GetId returns the Id field value

func (*VerificationFlow) GetIdOk

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

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

GetIssuedAt returns the IssuedAt field value if set, zero value otherwise.

func (*VerificationFlow) GetIssuedAtOk

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

func (o *VerificationFlow) GetRequestUrl() string

GetRequestUrl returns the RequestUrl field value if set, zero value otherwise.

func (*VerificationFlow) GetRequestUrlOk

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

func (o *VerificationFlow) GetState() string

GetState returns the State field value

func (*VerificationFlow) GetStateOk

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

func (o *VerificationFlow) GetType() string

GetType returns the Type field value

func (*VerificationFlow) GetTypeOk

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

func (o *VerificationFlow) GetUi() UiContainer

GetUi returns the Ui field value

func (*VerificationFlow) GetUiOk

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

func (o *VerificationFlow) HasActive() bool

HasActive returns a boolean if a field has been set.

func (*VerificationFlow) HasExpiresAt

func (o *VerificationFlow) HasExpiresAt() bool

HasExpiresAt returns a boolean if a field has been set.

func (*VerificationFlow) HasIssuedAt

func (o *VerificationFlow) HasIssuedAt() bool

HasIssuedAt returns a boolean if a field has been set.

func (*VerificationFlow) HasRequestUrl

func (o *VerificationFlow) HasRequestUrl() bool

HasRequestUrl returns a boolean if a field has been set.

func (VerificationFlow) MarshalJSON

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

func (*VerificationFlow) SetActive

func (o *VerificationFlow) SetActive(v string)

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

func (*VerificationFlow) SetExpiresAt

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

func (o *VerificationFlow) SetId(v string)

SetId sets field value

func (*VerificationFlow) SetIssuedAt

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

func (o *VerificationFlow) SetRequestUrl(v string)

SetRequestUrl gets a reference to the given string and assigns it to the RequestUrl field.

func (*VerificationFlow) SetState

func (o *VerificationFlow) SetState(v string)

SetState sets field value

func (*VerificationFlow) SetType

func (o *VerificationFlow) SetType(v string)

SetType sets field value

func (*VerificationFlow) SetUi

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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