account

package
v0.59.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountCreateCreated

type AccountCreateCreated struct {
	Payload *amsclientmodels.APIAccountCreateResponse
}

AccountCreateCreated handles this case with default header values.

account Created

func NewAccountCreateCreated

func NewAccountCreateCreated() *AccountCreateCreated

NewAccountCreateCreated creates a AccountCreateCreated with default headers values

func (*AccountCreateCreated) Error

func (o *AccountCreateCreated) Error() string

func (*AccountCreateCreated) GetPayload

func (*AccountCreateCreated) ToJSONString

func (o *AccountCreateCreated) ToJSONString() string

type AccountCreateForbidden

type AccountCreateForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountCreateForbidden handles this case with default header values.

insufficient permissions

func NewAccountCreateForbidden

func NewAccountCreateForbidden() *AccountCreateForbidden

NewAccountCreateForbidden creates a AccountCreateForbidden with default headers values

func (*AccountCreateForbidden) Error

func (o *AccountCreateForbidden) Error() string

func (*AccountCreateForbidden) GetPayload

func (*AccountCreateForbidden) ToJSONString

func (o *AccountCreateForbidden) ToJSONString() string

type AccountCreateInternalServerError

type AccountCreateInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountCreateInternalServerError handles this case with default header values.

internal server error

func NewAccountCreateInternalServerError

func NewAccountCreateInternalServerError() *AccountCreateInternalServerError

NewAccountCreateInternalServerError creates a AccountCreateInternalServerError with default headers values

func (*AccountCreateInternalServerError) Error

func (*AccountCreateInternalServerError) GetPayload

func (*AccountCreateInternalServerError) ToJSONString

func (o *AccountCreateInternalServerError) ToJSONString() string

type AccountCreateParams

type AccountCreateParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *amsclientmodels.APIAccountCreateRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AccountCreateParams contains all the parameters to send to the API endpoint for the account create operation typically these are written to a http.Request

func NewAccountCreateParams

func NewAccountCreateParams() *AccountCreateParams

NewAccountCreateParams creates a new AccountCreateParams object with the default values initialized.

func NewAccountCreateParamsWithContext

func NewAccountCreateParamsWithContext(ctx context.Context) *AccountCreateParams

NewAccountCreateParamsWithContext creates a new AccountCreateParams object with the default values initialized, and the ability to set a context for a request

func NewAccountCreateParamsWithHTTPClient

func NewAccountCreateParamsWithHTTPClient(client *http.Client) *AccountCreateParams

NewAccountCreateParamsWithHTTPClient creates a new AccountCreateParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAccountCreateParamsWithTimeout

func NewAccountCreateParamsWithTimeout(timeout time.Duration) *AccountCreateParams

NewAccountCreateParamsWithTimeout creates a new AccountCreateParams object with the default values initialized, and the ability to set a timeout on a request

func (*AccountCreateParams) SetAuthInfoWriter

func (o *AccountCreateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the account create params

func (*AccountCreateParams) SetBody

SetBody adds the body to the account create params

func (*AccountCreateParams) SetContext

func (o *AccountCreateParams) SetContext(ctx context.Context)

SetContext adds the context to the account create params

func (*AccountCreateParams) SetHTTPClient

func (o *AccountCreateParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account create params

func (*AccountCreateParams) SetHTTPClientTransport

func (o *AccountCreateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the account create params

func (*AccountCreateParams) SetNamespace

func (o *AccountCreateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the account create params

func (*AccountCreateParams) SetTimeout

func (o *AccountCreateParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account create params

func (*AccountCreateParams) WithBody

WithBody adds the body to the account create params

func (*AccountCreateParams) WithContext

WithContext adds the context to the account create params

func (*AccountCreateParams) WithHTTPClient

func (o *AccountCreateParams) WithHTTPClient(client *http.Client) *AccountCreateParams

WithHTTPClient adds the HTTPClient to the account create params

func (*AccountCreateParams) WithNamespace

func (o *AccountCreateParams) WithNamespace(namespace string) *AccountCreateParams

WithNamespace adds the namespace to the account create params

func (*AccountCreateParams) WithTimeout

func (o *AccountCreateParams) WithTimeout(timeout time.Duration) *AccountCreateParams

WithTimeout adds the timeout to the account create params

func (*AccountCreateParams) WriteToRequest

func (o *AccountCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountCreateReader

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

AccountCreateReader is a Reader for the AccountCreate structure.

func (*AccountCreateReader) ReadResponse

func (o *AccountCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountCreateUnauthorized

type AccountCreateUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountCreateUnauthorized handles this case with default header values.

no authorization provided

func NewAccountCreateUnauthorized

func NewAccountCreateUnauthorized() *AccountCreateUnauthorized

NewAccountCreateUnauthorized creates a AccountCreateUnauthorized with default headers values

func (*AccountCreateUnauthorized) Error

func (o *AccountCreateUnauthorized) Error() string

func (*AccountCreateUnauthorized) GetPayload

func (*AccountCreateUnauthorized) ToJSONString

func (o *AccountCreateUnauthorized) ToJSONString() string

type AccountGetForbidden

type AccountGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountGetForbidden handles this case with default header values.

insufficient permissions

func NewAccountGetForbidden

func NewAccountGetForbidden() *AccountGetForbidden

NewAccountGetForbidden creates a AccountGetForbidden with default headers values

func (*AccountGetForbidden) Error

func (o *AccountGetForbidden) Error() string

func (*AccountGetForbidden) GetPayload

func (*AccountGetForbidden) ToJSONString

func (o *AccountGetForbidden) ToJSONString() string

type AccountGetInternalServerError

type AccountGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountGetInternalServerError handles this case with default header values.

internal server error

func NewAccountGetInternalServerError

func NewAccountGetInternalServerError() *AccountGetInternalServerError

NewAccountGetInternalServerError creates a AccountGetInternalServerError with default headers values

func (*AccountGetInternalServerError) Error

func (*AccountGetInternalServerError) GetPayload

func (*AccountGetInternalServerError) ToJSONString

func (o *AccountGetInternalServerError) ToJSONString() string

type AccountGetNotFound

type AccountGetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountGetNotFound handles this case with default header values.

account not linked

func NewAccountGetNotFound

func NewAccountGetNotFound() *AccountGetNotFound

NewAccountGetNotFound creates a AccountGetNotFound with default headers values

func (*AccountGetNotFound) Error

func (o *AccountGetNotFound) Error() string

func (*AccountGetNotFound) GetPayload

func (*AccountGetNotFound) ToJSONString

func (o *AccountGetNotFound) ToJSONString() string

type AccountGetOK

type AccountGetOK struct {
	Payload *amsclientmodels.APIAccountResponse
}

AccountGetOK handles this case with default header values.

success

func NewAccountGetOK

func NewAccountGetOK() *AccountGetOK

NewAccountGetOK creates a AccountGetOK with default headers values

func (*AccountGetOK) Error

func (o *AccountGetOK) Error() string

func (*AccountGetOK) GetPayload

func (*AccountGetOK) ToJSONString

func (o *AccountGetOK) ToJSONString() string

type AccountGetParams

type AccountGetParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AccountGetParams contains all the parameters to send to the API endpoint for the account get operation typically these are written to a http.Request

func NewAccountGetParams

func NewAccountGetParams() *AccountGetParams

NewAccountGetParams creates a new AccountGetParams object with the default values initialized.

func NewAccountGetParamsWithContext

func NewAccountGetParamsWithContext(ctx context.Context) *AccountGetParams

NewAccountGetParamsWithContext creates a new AccountGetParams object with the default values initialized, and the ability to set a context for a request

func NewAccountGetParamsWithHTTPClient

func NewAccountGetParamsWithHTTPClient(client *http.Client) *AccountGetParams

NewAccountGetParamsWithHTTPClient creates a new AccountGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAccountGetParamsWithTimeout

func NewAccountGetParamsWithTimeout(timeout time.Duration) *AccountGetParams

NewAccountGetParamsWithTimeout creates a new AccountGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*AccountGetParams) SetAuthInfoWriter

func (o *AccountGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the account get params

func (*AccountGetParams) SetContext

func (o *AccountGetParams) SetContext(ctx context.Context)

SetContext adds the context to the account get params

func (*AccountGetParams) SetHTTPClient

func (o *AccountGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account get params

func (*AccountGetParams) SetHTTPClientTransport

func (o *AccountGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the account get params

func (*AccountGetParams) SetNamespace

func (o *AccountGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the account get params

func (*AccountGetParams) SetTimeout

func (o *AccountGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account get params

func (*AccountGetParams) WithContext

func (o *AccountGetParams) WithContext(ctx context.Context) *AccountGetParams

WithContext adds the context to the account get params

func (*AccountGetParams) WithHTTPClient

func (o *AccountGetParams) WithHTTPClient(client *http.Client) *AccountGetParams

WithHTTPClient adds the HTTPClient to the account get params

func (*AccountGetParams) WithNamespace

func (o *AccountGetParams) WithNamespace(namespace string) *AccountGetParams

WithNamespace adds the namespace to the account get params

func (*AccountGetParams) WithTimeout

func (o *AccountGetParams) WithTimeout(timeout time.Duration) *AccountGetParams

WithTimeout adds the timeout to the account get params

func (*AccountGetParams) WriteToRequest

func (o *AccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountGetReader

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

AccountGetReader is a Reader for the AccountGet structure.

func (*AccountGetReader) ReadResponse

func (o *AccountGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountGetUnauthorized

type AccountGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountGetUnauthorized handles this case with default header values.

no authorization provided

func NewAccountGetUnauthorized

func NewAccountGetUnauthorized() *AccountGetUnauthorized

NewAccountGetUnauthorized creates a AccountGetUnauthorized with default headers values

func (*AccountGetUnauthorized) Error

func (o *AccountGetUnauthorized) Error() string

func (*AccountGetUnauthorized) GetPayload

func (*AccountGetUnauthorized) ToJSONString

func (o *AccountGetUnauthorized) ToJSONString() string

type AccountLinkCreated

type AccountLinkCreated struct {
	Payload *amsclientmodels.APIAccountLinkResponse
}

AccountLinkCreated handles this case with default header values.

success

func NewAccountLinkCreated

func NewAccountLinkCreated() *AccountLinkCreated

NewAccountLinkCreated creates a AccountLinkCreated with default headers values

func (*AccountLinkCreated) Error

func (o *AccountLinkCreated) Error() string

func (*AccountLinkCreated) GetPayload

func (*AccountLinkCreated) ToJSONString

func (o *AccountLinkCreated) ToJSONString() string

type AccountLinkForbidden

type AccountLinkForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountLinkForbidden handles this case with default header values.

insufficient permissions

func NewAccountLinkForbidden

func NewAccountLinkForbidden() *AccountLinkForbidden

NewAccountLinkForbidden creates a AccountLinkForbidden with default headers values

func (*AccountLinkForbidden) Error

func (o *AccountLinkForbidden) Error() string

func (*AccountLinkForbidden) GetPayload

func (*AccountLinkForbidden) ToJSONString

func (o *AccountLinkForbidden) ToJSONString() string

type AccountLinkInternalServerError

type AccountLinkInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountLinkInternalServerError handles this case with default header values.

internal server error

func NewAccountLinkInternalServerError

func NewAccountLinkInternalServerError() *AccountLinkInternalServerError

NewAccountLinkInternalServerError creates a AccountLinkInternalServerError with default headers values

func (*AccountLinkInternalServerError) Error

func (*AccountLinkInternalServerError) GetPayload

func (*AccountLinkInternalServerError) ToJSONString

func (o *AccountLinkInternalServerError) ToJSONString() string

type AccountLinkParams

type AccountLinkParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *amsclientmodels.APIAccountLinkRequest
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AccountLinkParams contains all the parameters to send to the API endpoint for the account link operation typically these are written to a http.Request

func NewAccountLinkParams

func NewAccountLinkParams() *AccountLinkParams

NewAccountLinkParams creates a new AccountLinkParams object with the default values initialized.

func NewAccountLinkParamsWithContext

func NewAccountLinkParamsWithContext(ctx context.Context) *AccountLinkParams

NewAccountLinkParamsWithContext creates a new AccountLinkParams object with the default values initialized, and the ability to set a context for a request

func NewAccountLinkParamsWithHTTPClient

func NewAccountLinkParamsWithHTTPClient(client *http.Client) *AccountLinkParams

NewAccountLinkParamsWithHTTPClient creates a new AccountLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAccountLinkParamsWithTimeout

func NewAccountLinkParamsWithTimeout(timeout time.Duration) *AccountLinkParams

NewAccountLinkParamsWithTimeout creates a new AccountLinkParams object with the default values initialized, and the ability to set a timeout on a request

func (*AccountLinkParams) SetAuthInfoWriter

func (o *AccountLinkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the account link params

func (*AccountLinkParams) SetBody

SetBody adds the body to the account link params

func (*AccountLinkParams) SetContext

func (o *AccountLinkParams) SetContext(ctx context.Context)

SetContext adds the context to the account link params

func (*AccountLinkParams) SetHTTPClient

func (o *AccountLinkParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account link params

func (*AccountLinkParams) SetHTTPClientTransport

func (o *AccountLinkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the account link params

func (*AccountLinkParams) SetNamespace

func (o *AccountLinkParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the account link params

func (*AccountLinkParams) SetTimeout

func (o *AccountLinkParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account link params

func (*AccountLinkParams) WithBody

WithBody adds the body to the account link params

func (*AccountLinkParams) WithContext

func (o *AccountLinkParams) WithContext(ctx context.Context) *AccountLinkParams

WithContext adds the context to the account link params

func (*AccountLinkParams) WithHTTPClient

func (o *AccountLinkParams) WithHTTPClient(client *http.Client) *AccountLinkParams

WithHTTPClient adds the HTTPClient to the account link params

func (*AccountLinkParams) WithNamespace

func (o *AccountLinkParams) WithNamespace(namespace string) *AccountLinkParams

WithNamespace adds the namespace to the account link params

func (*AccountLinkParams) WithTimeout

func (o *AccountLinkParams) WithTimeout(timeout time.Duration) *AccountLinkParams

WithTimeout adds the timeout to the account link params

func (*AccountLinkParams) WriteToRequest

func (o *AccountLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type AccountLinkReader

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

AccountLinkReader is a Reader for the AccountLink structure.

func (*AccountLinkReader) ReadResponse

func (o *AccountLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountLinkTokenGetForbidden

type AccountLinkTokenGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountLinkTokenGetForbidden handles this case with default header values.

insufficient permissions

func NewAccountLinkTokenGetForbidden

func NewAccountLinkTokenGetForbidden() *AccountLinkTokenGetForbidden

NewAccountLinkTokenGetForbidden creates a AccountLinkTokenGetForbidden with default headers values

func (*AccountLinkTokenGetForbidden) Error

func (*AccountLinkTokenGetForbidden) GetPayload

func (*AccountLinkTokenGetForbidden) ToJSONString

func (o *AccountLinkTokenGetForbidden) ToJSONString() string

type AccountLinkTokenGetInternalServerError

type AccountLinkTokenGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountLinkTokenGetInternalServerError handles this case with default header values.

internal server error

func NewAccountLinkTokenGetInternalServerError

func NewAccountLinkTokenGetInternalServerError() *AccountLinkTokenGetInternalServerError

NewAccountLinkTokenGetInternalServerError creates a AccountLinkTokenGetInternalServerError with default headers values

func (*AccountLinkTokenGetInternalServerError) Error

func (*AccountLinkTokenGetInternalServerError) GetPayload

func (*AccountLinkTokenGetInternalServerError) ToJSONString

type AccountLinkTokenGetNotFound

type AccountLinkTokenGetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountLinkTokenGetNotFound handles this case with default header values.

account not linked

func NewAccountLinkTokenGetNotFound

func NewAccountLinkTokenGetNotFound() *AccountLinkTokenGetNotFound

NewAccountLinkTokenGetNotFound creates a AccountLinkTokenGetNotFound with default headers values

func (*AccountLinkTokenGetNotFound) Error

func (*AccountLinkTokenGetNotFound) GetPayload

func (*AccountLinkTokenGetNotFound) ToJSONString

func (o *AccountLinkTokenGetNotFound) ToJSONString() string

type AccountLinkTokenGetOK

type AccountLinkTokenGetOK struct {
	Payload *amsclientmodels.APIAccountLinkTokenResponse
}

AccountLinkTokenGetOK handles this case with default header values.

success

func NewAccountLinkTokenGetOK

func NewAccountLinkTokenGetOK() *AccountLinkTokenGetOK

NewAccountLinkTokenGetOK creates a AccountLinkTokenGetOK with default headers values

func (*AccountLinkTokenGetOK) Error

func (o *AccountLinkTokenGetOK) Error() string

func (*AccountLinkTokenGetOK) GetPayload

func (*AccountLinkTokenGetOK) ToJSONString

func (o *AccountLinkTokenGetOK) ToJSONString() string

type AccountLinkTokenGetParams

type AccountLinkTokenGetParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  namespace of the game

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

AccountLinkTokenGetParams contains all the parameters to send to the API endpoint for the account link token get operation typically these are written to a http.Request

func NewAccountLinkTokenGetParams

func NewAccountLinkTokenGetParams() *AccountLinkTokenGetParams

NewAccountLinkTokenGetParams creates a new AccountLinkTokenGetParams object with the default values initialized.

func NewAccountLinkTokenGetParamsWithContext

func NewAccountLinkTokenGetParamsWithContext(ctx context.Context) *AccountLinkTokenGetParams

NewAccountLinkTokenGetParamsWithContext creates a new AccountLinkTokenGetParams object with the default values initialized, and the ability to set a context for a request

func NewAccountLinkTokenGetParamsWithHTTPClient

func NewAccountLinkTokenGetParamsWithHTTPClient(client *http.Client) *AccountLinkTokenGetParams

NewAccountLinkTokenGetParamsWithHTTPClient creates a new AccountLinkTokenGetParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewAccountLinkTokenGetParamsWithTimeout

func NewAccountLinkTokenGetParamsWithTimeout(timeout time.Duration) *AccountLinkTokenGetParams

NewAccountLinkTokenGetParamsWithTimeout creates a new AccountLinkTokenGetParams object with the default values initialized, and the ability to set a timeout on a request

func (*AccountLinkTokenGetParams) SetAuthInfoWriter

func (o *AccountLinkTokenGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the account link token get params

func (*AccountLinkTokenGetParams) SetContext

func (o *AccountLinkTokenGetParams) SetContext(ctx context.Context)

SetContext adds the context to the account link token get params

func (*AccountLinkTokenGetParams) SetHTTPClient

func (o *AccountLinkTokenGetParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the account link token get params

func (*AccountLinkTokenGetParams) SetHTTPClientTransport

func (o *AccountLinkTokenGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the account link token get params

func (*AccountLinkTokenGetParams) SetNamespace

func (o *AccountLinkTokenGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the account link token get params

func (*AccountLinkTokenGetParams) SetTimeout

func (o *AccountLinkTokenGetParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the account link token get params

func (*AccountLinkTokenGetParams) WithContext

WithContext adds the context to the account link token get params

func (*AccountLinkTokenGetParams) WithHTTPClient

func (o *AccountLinkTokenGetParams) WithHTTPClient(client *http.Client) *AccountLinkTokenGetParams

WithHTTPClient adds the HTTPClient to the account link token get params

func (*AccountLinkTokenGetParams) WithNamespace

func (o *AccountLinkTokenGetParams) WithNamespace(namespace string) *AccountLinkTokenGetParams

WithNamespace adds the namespace to the account link token get params

func (*AccountLinkTokenGetParams) WithTimeout

WithTimeout adds the timeout to the account link token get params

func (*AccountLinkTokenGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AccountLinkTokenGetReader

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

AccountLinkTokenGetReader is a Reader for the AccountLinkTokenGet structure.

func (*AccountLinkTokenGetReader) ReadResponse

func (o *AccountLinkTokenGetReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type AccountLinkTokenGetUnauthorized

type AccountLinkTokenGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountLinkTokenGetUnauthorized handles this case with default header values.

no authorization provided

func NewAccountLinkTokenGetUnauthorized

func NewAccountLinkTokenGetUnauthorized() *AccountLinkTokenGetUnauthorized

NewAccountLinkTokenGetUnauthorized creates a AccountLinkTokenGetUnauthorized with default headers values

func (*AccountLinkTokenGetUnauthorized) Error

func (*AccountLinkTokenGetUnauthorized) GetPayload

func (*AccountLinkTokenGetUnauthorized) ToJSONString

func (o *AccountLinkTokenGetUnauthorized) ToJSONString() string

type AccountLinkUnauthorized

type AccountLinkUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AccountLinkUnauthorized handles this case with default header values.

no authorization provided

func NewAccountLinkUnauthorized

func NewAccountLinkUnauthorized() *AccountLinkUnauthorized

NewAccountLinkUnauthorized creates a AccountLinkUnauthorized with default headers values

func (*AccountLinkUnauthorized) Error

func (o *AccountLinkUnauthorized) Error() string

func (*AccountLinkUnauthorized) GetPayload

func (*AccountLinkUnauthorized) ToJSONString

func (o *AccountLinkUnauthorized) ToJSONString() string

type Client

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

Client for account API

func (*Client) AccountCreate deprecated

Deprecated: 2022-08-10 - Use AccountCreateShort instead.

AccountCreate create a new ams account Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]

func (*Client) AccountCreateShort

func (a *Client) AccountCreateShort(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AccountCreateCreated, error)

AccountCreateShort create a new ams account Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]

func (*Client) AccountGet deprecated

Deprecated: 2022-08-10 - Use AccountGetShort instead.

AccountGet get the account associated with the namespace. Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]

func (*Client) AccountGetShort

func (a *Client) AccountGetShort(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetOK, error)

AccountGetShort get the account associated with the namespace. Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]

Deprecated: 2022-08-10 - Use AccountLinkShort instead.

AccountLink link an account to the namespace. will attempt to register the linkage in ams shipyard. requires a valid link token for the account. fails if an account is already linked Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]

func (*Client) AccountLinkShort

func (a *Client) AccountLinkShort(params *AccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkCreated, error)

AccountLinkShort link an account to the namespace. will attempt to register the linkage in ams shipyard. requires a valid link token for the account. fails if an account is already linked Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]

func (*Client) AccountLinkTokenGet deprecated

Deprecated: 2022-08-10 - Use AccountLinkTokenGetShort instead.

AccountLinkTokenGet get a linking token for another namespace to use to link to the account to which this namespace is linked. fails if no account linked. Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]

func (*Client) AccountLinkTokenGetShort

func (a *Client) AccountLinkTokenGetShort(params *AccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkTokenGetOK, error)

AccountLinkTokenGetShort get a linking token for another namespace to use to link to the account to which this namespace is linked. fails if no account linked. Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

ClientService is the interface for Client methods

func New

func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService

New creates a new account API client.

Jump to

Keyboard shortcuts

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