account

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 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 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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// 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) SetFlightId added in v0.63.0

func (o *AccountGetParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

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 AdminAccountCreateCreated added in v0.62.0

type AdminAccountCreateCreated struct {
	Payload *amsclientmodels.APIAccountCreateResponse
}

AdminAccountCreateCreated handles this case with default header values.

account Created

func NewAdminAccountCreateCreated added in v0.62.0

func NewAdminAccountCreateCreated() *AdminAccountCreateCreated

NewAdminAccountCreateCreated creates a AdminAccountCreateCreated with default headers values

func (*AdminAccountCreateCreated) Error added in v0.62.0

func (o *AdminAccountCreateCreated) Error() string

func (*AdminAccountCreateCreated) GetPayload added in v0.62.0

func (*AdminAccountCreateCreated) ToJSONString added in v0.62.0

func (o *AdminAccountCreateCreated) ToJSONString() string

type AdminAccountCreateForbidden added in v0.62.0

type AdminAccountCreateForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountCreateForbidden handles this case with default header values.

insufficient permissions

func NewAdminAccountCreateForbidden added in v0.62.0

func NewAdminAccountCreateForbidden() *AdminAccountCreateForbidden

NewAdminAccountCreateForbidden creates a AdminAccountCreateForbidden with default headers values

func (*AdminAccountCreateForbidden) Error added in v0.62.0

func (*AdminAccountCreateForbidden) GetPayload added in v0.62.0

func (*AdminAccountCreateForbidden) ToJSONString added in v0.62.0

func (o *AdminAccountCreateForbidden) ToJSONString() string

type AdminAccountCreateInternalServerError added in v0.62.0

type AdminAccountCreateInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountCreateInternalServerError handles this case with default header values.

internal server error

func NewAdminAccountCreateInternalServerError added in v0.62.0

func NewAdminAccountCreateInternalServerError() *AdminAccountCreateInternalServerError

NewAdminAccountCreateInternalServerError creates a AdminAccountCreateInternalServerError with default headers values

func (*AdminAccountCreateInternalServerError) Error added in v0.62.0

func (*AdminAccountCreateInternalServerError) GetPayload added in v0.62.0

func (*AdminAccountCreateInternalServerError) ToJSONString added in v0.62.0

type AdminAccountCreateParams added in v0.62.0

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminAccountCreateParams added in v0.62.0

func NewAdminAccountCreateParams() *AdminAccountCreateParams

NewAdminAccountCreateParams creates a new AdminAccountCreateParams object with the default values initialized.

func NewAdminAccountCreateParamsWithContext added in v0.62.0

func NewAdminAccountCreateParamsWithContext(ctx context.Context) *AdminAccountCreateParams

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

func NewAdminAccountCreateParamsWithHTTPClient added in v0.62.0

func NewAdminAccountCreateParamsWithHTTPClient(client *http.Client) *AdminAccountCreateParams

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

func NewAdminAccountCreateParamsWithTimeout added in v0.62.0

func NewAdminAccountCreateParamsWithTimeout(timeout time.Duration) *AdminAccountCreateParams

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

func (*AdminAccountCreateParams) SetAuthInfoWriter added in v0.62.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin account create params

func (*AdminAccountCreateParams) SetBody added in v0.62.0

SetBody adds the body to the admin account create params

func (*AdminAccountCreateParams) SetContext added in v0.62.0

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

SetContext adds the context to the admin account create params

func (*AdminAccountCreateParams) SetFlightId added in v0.63.0

func (o *AdminAccountCreateParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminAccountCreateParams) SetHTTPClient added in v0.62.0

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

SetHTTPClient adds the HTTPClient to the admin account create params

func (*AdminAccountCreateParams) SetHTTPClientTransport added in v0.62.0

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

SetHTTPClient adds the HTTPClient Transport to the admin account create params

func (*AdminAccountCreateParams) SetNamespace added in v0.62.0

func (o *AdminAccountCreateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin account create params

func (*AdminAccountCreateParams) SetTimeout added in v0.62.0

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

SetTimeout adds the timeout to the admin account create params

func (*AdminAccountCreateParams) WithBody added in v0.62.0

WithBody adds the body to the admin account create params

func (*AdminAccountCreateParams) WithContext added in v0.62.0

WithContext adds the context to the admin account create params

func (*AdminAccountCreateParams) WithHTTPClient added in v0.62.0

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

WithHTTPClient adds the HTTPClient to the admin account create params

func (*AdminAccountCreateParams) WithNamespace added in v0.62.0

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

WithNamespace adds the namespace to the admin account create params

func (*AdminAccountCreateParams) WithTimeout added in v0.62.0

WithTimeout adds the timeout to the admin account create params

func (*AdminAccountCreateParams) WriteToRequest added in v0.62.0

WriteToRequest writes these params to a swagger request

type AdminAccountCreateReader added in v0.62.0

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

AdminAccountCreateReader is a Reader for the AdminAccountCreate structure.

func (*AdminAccountCreateReader) ReadResponse added in v0.62.0

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

ReadResponse reads a server response into the received o.

type AdminAccountCreateUnauthorized added in v0.62.0

type AdminAccountCreateUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountCreateUnauthorized handles this case with default header values.

no authorization provided

func NewAdminAccountCreateUnauthorized added in v0.62.0

func NewAdminAccountCreateUnauthorized() *AdminAccountCreateUnauthorized

NewAdminAccountCreateUnauthorized creates a AdminAccountCreateUnauthorized with default headers values

func (*AdminAccountCreateUnauthorized) Error added in v0.62.0

func (*AdminAccountCreateUnauthorized) GetPayload added in v0.62.0

func (*AdminAccountCreateUnauthorized) ToJSONString added in v0.62.0

func (o *AdminAccountCreateUnauthorized) ToJSONString() string

type AdminAccountGetForbidden added in v0.62.0

type AdminAccountGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountGetForbidden handles this case with default header values.

insufficient permissions

func NewAdminAccountGetForbidden added in v0.62.0

func NewAdminAccountGetForbidden() *AdminAccountGetForbidden

NewAdminAccountGetForbidden creates a AdminAccountGetForbidden with default headers values

func (*AdminAccountGetForbidden) Error added in v0.62.0

func (o *AdminAccountGetForbidden) Error() string

func (*AdminAccountGetForbidden) GetPayload added in v0.62.0

func (*AdminAccountGetForbidden) ToJSONString added in v0.62.0

func (o *AdminAccountGetForbidden) ToJSONString() string

type AdminAccountGetInternalServerError added in v0.62.0

type AdminAccountGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountGetInternalServerError handles this case with default header values.

internal server error

func NewAdminAccountGetInternalServerError added in v0.62.0

func NewAdminAccountGetInternalServerError() *AdminAccountGetInternalServerError

NewAdminAccountGetInternalServerError creates a AdminAccountGetInternalServerError with default headers values

func (*AdminAccountGetInternalServerError) Error added in v0.62.0

func (*AdminAccountGetInternalServerError) GetPayload added in v0.62.0

func (*AdminAccountGetInternalServerError) ToJSONString added in v0.62.0

func (o *AdminAccountGetInternalServerError) ToJSONString() string

type AdminAccountGetNotFound added in v0.62.0

type AdminAccountGetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountGetNotFound handles this case with default header values.

account not linked

func NewAdminAccountGetNotFound added in v0.62.0

func NewAdminAccountGetNotFound() *AdminAccountGetNotFound

NewAdminAccountGetNotFound creates a AdminAccountGetNotFound with default headers values

func (*AdminAccountGetNotFound) Error added in v0.62.0

func (o *AdminAccountGetNotFound) Error() string

func (*AdminAccountGetNotFound) GetPayload added in v0.62.0

func (*AdminAccountGetNotFound) ToJSONString added in v0.62.0

func (o *AdminAccountGetNotFound) ToJSONString() string

type AdminAccountGetOK added in v0.62.0

type AdminAccountGetOK struct {
	Payload *amsclientmodels.APIAccountResponse
}

AdminAccountGetOK handles this case with default header values.

success

func NewAdminAccountGetOK added in v0.62.0

func NewAdminAccountGetOK() *AdminAccountGetOK

NewAdminAccountGetOK creates a AdminAccountGetOK with default headers values

func (*AdminAccountGetOK) Error added in v0.62.0

func (o *AdminAccountGetOK) Error() string

func (*AdminAccountGetOK) GetPayload added in v0.62.0

func (*AdminAccountGetOK) ToJSONString added in v0.62.0

func (o *AdminAccountGetOK) ToJSONString() string

type AdminAccountGetParams added in v0.62.0

type AdminAccountGetParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminAccountGetParams added in v0.62.0

func NewAdminAccountGetParams() *AdminAccountGetParams

NewAdminAccountGetParams creates a new AdminAccountGetParams object with the default values initialized.

func NewAdminAccountGetParamsWithContext added in v0.62.0

func NewAdminAccountGetParamsWithContext(ctx context.Context) *AdminAccountGetParams

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

func NewAdminAccountGetParamsWithHTTPClient added in v0.62.0

func NewAdminAccountGetParamsWithHTTPClient(client *http.Client) *AdminAccountGetParams

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

func NewAdminAccountGetParamsWithTimeout added in v0.62.0

func NewAdminAccountGetParamsWithTimeout(timeout time.Duration) *AdminAccountGetParams

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

func (*AdminAccountGetParams) SetAuthInfoWriter added in v0.62.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin account get params

func (*AdminAccountGetParams) SetContext added in v0.62.0

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

SetContext adds the context to the admin account get params

func (*AdminAccountGetParams) SetFlightId added in v0.63.0

func (o *AdminAccountGetParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminAccountGetParams) SetHTTPClient added in v0.62.0

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

SetHTTPClient adds the HTTPClient to the admin account get params

func (*AdminAccountGetParams) SetHTTPClientTransport added in v0.62.0

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

SetHTTPClient adds the HTTPClient Transport to the admin account get params

func (*AdminAccountGetParams) SetNamespace added in v0.62.0

func (o *AdminAccountGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin account get params

func (*AdminAccountGetParams) SetTimeout added in v0.62.0

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

SetTimeout adds the timeout to the admin account get params

func (*AdminAccountGetParams) WithContext added in v0.62.0

WithContext adds the context to the admin account get params

func (*AdminAccountGetParams) WithHTTPClient added in v0.62.0

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

WithHTTPClient adds the HTTPClient to the admin account get params

func (*AdminAccountGetParams) WithNamespace added in v0.62.0

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

WithNamespace adds the namespace to the admin account get params

func (*AdminAccountGetParams) WithTimeout added in v0.62.0

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

WithTimeout adds the timeout to the admin account get params

func (*AdminAccountGetParams) WriteToRequest added in v0.62.0

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

WriteToRequest writes these params to a swagger request

type AdminAccountGetReader added in v0.62.0

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

AdminAccountGetReader is a Reader for the AdminAccountGet structure.

func (*AdminAccountGetReader) ReadResponse added in v0.62.0

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

ReadResponse reads a server response into the received o.

type AdminAccountGetUnauthorized added in v0.62.0

type AdminAccountGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountGetUnauthorized handles this case with default header values.

no authorization provided

func NewAdminAccountGetUnauthorized added in v0.62.0

func NewAdminAccountGetUnauthorized() *AdminAccountGetUnauthorized

NewAdminAccountGetUnauthorized creates a AdminAccountGetUnauthorized with default headers values

func (*AdminAccountGetUnauthorized) Error added in v0.62.0

func (*AdminAccountGetUnauthorized) GetPayload added in v0.62.0

func (*AdminAccountGetUnauthorized) ToJSONString added in v0.62.0

func (o *AdminAccountGetUnauthorized) ToJSONString() string

type AdminAccountLinkTokenGetForbidden added in v0.62.0

type AdminAccountLinkTokenGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenGetForbidden handles this case with default header values.

insufficient permissions

func NewAdminAccountLinkTokenGetForbidden added in v0.62.0

func NewAdminAccountLinkTokenGetForbidden() *AdminAccountLinkTokenGetForbidden

NewAdminAccountLinkTokenGetForbidden creates a AdminAccountLinkTokenGetForbidden with default headers values

func (*AdminAccountLinkTokenGetForbidden) Error added in v0.62.0

func (*AdminAccountLinkTokenGetForbidden) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenGetForbidden) ToJSONString added in v0.62.0

func (o *AdminAccountLinkTokenGetForbidden) ToJSONString() string

type AdminAccountLinkTokenGetInternalServerError added in v0.62.0

type AdminAccountLinkTokenGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenGetInternalServerError handles this case with default header values.

internal server error

func NewAdminAccountLinkTokenGetInternalServerError added in v0.62.0

func NewAdminAccountLinkTokenGetInternalServerError() *AdminAccountLinkTokenGetInternalServerError

NewAdminAccountLinkTokenGetInternalServerError creates a AdminAccountLinkTokenGetInternalServerError with default headers values

func (*AdminAccountLinkTokenGetInternalServerError) Error added in v0.62.0

func (*AdminAccountLinkTokenGetInternalServerError) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenGetInternalServerError) ToJSONString added in v0.62.0

type AdminAccountLinkTokenGetNotFound added in v0.62.0

type AdminAccountLinkTokenGetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenGetNotFound handles this case with default header values.

account not linked

func NewAdminAccountLinkTokenGetNotFound added in v0.62.0

func NewAdminAccountLinkTokenGetNotFound() *AdminAccountLinkTokenGetNotFound

NewAdminAccountLinkTokenGetNotFound creates a AdminAccountLinkTokenGetNotFound with default headers values

func (*AdminAccountLinkTokenGetNotFound) Error added in v0.62.0

func (*AdminAccountLinkTokenGetNotFound) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenGetNotFound) ToJSONString added in v0.62.0

func (o *AdminAccountLinkTokenGetNotFound) ToJSONString() string

type AdminAccountLinkTokenGetOK added in v0.62.0

type AdminAccountLinkTokenGetOK struct {
	Payload *amsclientmodels.APIAccountLinkTokenResponse
}

AdminAccountLinkTokenGetOK handles this case with default header values.

success

func NewAdminAccountLinkTokenGetOK added in v0.62.0

func NewAdminAccountLinkTokenGetOK() *AdminAccountLinkTokenGetOK

NewAdminAccountLinkTokenGetOK creates a AdminAccountLinkTokenGetOK with default headers values

func (*AdminAccountLinkTokenGetOK) Error added in v0.62.0

func (*AdminAccountLinkTokenGetOK) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenGetOK) ToJSONString added in v0.62.0

func (o *AdminAccountLinkTokenGetOK) ToJSONString() string

type AdminAccountLinkTokenGetParams added in v0.62.0

type AdminAccountLinkTokenGetParams struct {

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

	*/
	Namespace string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminAccountLinkTokenGetParams added in v0.62.0

func NewAdminAccountLinkTokenGetParams() *AdminAccountLinkTokenGetParams

NewAdminAccountLinkTokenGetParams creates a new AdminAccountLinkTokenGetParams object with the default values initialized.

func NewAdminAccountLinkTokenGetParamsWithContext added in v0.62.0

func NewAdminAccountLinkTokenGetParamsWithContext(ctx context.Context) *AdminAccountLinkTokenGetParams

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

func NewAdminAccountLinkTokenGetParamsWithHTTPClient added in v0.62.0

func NewAdminAccountLinkTokenGetParamsWithHTTPClient(client *http.Client) *AdminAccountLinkTokenGetParams

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

func NewAdminAccountLinkTokenGetParamsWithTimeout added in v0.62.0

func NewAdminAccountLinkTokenGetParamsWithTimeout(timeout time.Duration) *AdminAccountLinkTokenGetParams

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

func (*AdminAccountLinkTokenGetParams) SetAuthInfoWriter added in v0.62.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin account link token get params

func (*AdminAccountLinkTokenGetParams) SetContext added in v0.62.0

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

SetContext adds the context to the admin account link token get params

func (*AdminAccountLinkTokenGetParams) SetFlightId added in v0.63.0

func (o *AdminAccountLinkTokenGetParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminAccountLinkTokenGetParams) SetHTTPClient added in v0.62.0

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

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

func (*AdminAccountLinkTokenGetParams) SetHTTPClientTransport added in v0.62.0

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

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

func (*AdminAccountLinkTokenGetParams) SetNamespace added in v0.62.0

func (o *AdminAccountLinkTokenGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin account link token get params

func (*AdminAccountLinkTokenGetParams) SetTimeout added in v0.62.0

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

SetTimeout adds the timeout to the admin account link token get params

func (*AdminAccountLinkTokenGetParams) WithContext added in v0.62.0

WithContext adds the context to the admin account link token get params

func (*AdminAccountLinkTokenGetParams) WithHTTPClient added in v0.62.0

WithHTTPClient adds the HTTPClient to the admin account link token get params

func (*AdminAccountLinkTokenGetParams) WithNamespace added in v0.62.0

WithNamespace adds the namespace to the admin account link token get params

func (*AdminAccountLinkTokenGetParams) WithTimeout added in v0.62.0

WithTimeout adds the timeout to the admin account link token get params

func (*AdminAccountLinkTokenGetParams) WriteToRequest added in v0.62.0

WriteToRequest writes these params to a swagger request

type AdminAccountLinkTokenGetReader added in v0.62.0

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

AdminAccountLinkTokenGetReader is a Reader for the AdminAccountLinkTokenGet structure.

func (*AdminAccountLinkTokenGetReader) ReadResponse added in v0.62.0

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

ReadResponse reads a server response into the received o.

type AdminAccountLinkTokenGetUnauthorized added in v0.62.0

type AdminAccountLinkTokenGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenGetUnauthorized handles this case with default header values.

no authorization provided

func NewAdminAccountLinkTokenGetUnauthorized added in v0.62.0

func NewAdminAccountLinkTokenGetUnauthorized() *AdminAccountLinkTokenGetUnauthorized

NewAdminAccountLinkTokenGetUnauthorized creates a AdminAccountLinkTokenGetUnauthorized with default headers values

func (*AdminAccountLinkTokenGetUnauthorized) Error added in v0.62.0

func (*AdminAccountLinkTokenGetUnauthorized) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenGetUnauthorized) ToJSONString added in v0.62.0

func (o *AdminAccountLinkTokenGetUnauthorized) ToJSONString() string

type AdminAccountLinkTokenPostCreated added in v0.62.0

type AdminAccountLinkTokenPostCreated struct {
	Payload *amsclientmodels.APIAccountLinkResponse
}

AdminAccountLinkTokenPostCreated handles this case with default header values.

success

func NewAdminAccountLinkTokenPostCreated added in v0.62.0

func NewAdminAccountLinkTokenPostCreated() *AdminAccountLinkTokenPostCreated

NewAdminAccountLinkTokenPostCreated creates a AdminAccountLinkTokenPostCreated with default headers values

func (*AdminAccountLinkTokenPostCreated) Error added in v0.62.0

func (*AdminAccountLinkTokenPostCreated) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenPostCreated) ToJSONString added in v0.62.0

func (o *AdminAccountLinkTokenPostCreated) ToJSONString() string

type AdminAccountLinkTokenPostForbidden added in v0.62.0

type AdminAccountLinkTokenPostForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenPostForbidden handles this case with default header values.

insufficient permissions

func NewAdminAccountLinkTokenPostForbidden added in v0.62.0

func NewAdminAccountLinkTokenPostForbidden() *AdminAccountLinkTokenPostForbidden

NewAdminAccountLinkTokenPostForbidden creates a AdminAccountLinkTokenPostForbidden with default headers values

func (*AdminAccountLinkTokenPostForbidden) Error added in v0.62.0

func (*AdminAccountLinkTokenPostForbidden) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenPostForbidden) ToJSONString added in v0.62.0

func (o *AdminAccountLinkTokenPostForbidden) ToJSONString() string

type AdminAccountLinkTokenPostInternalServerError added in v0.62.0

type AdminAccountLinkTokenPostInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenPostInternalServerError handles this case with default header values.

internal server error

func NewAdminAccountLinkTokenPostInternalServerError added in v0.62.0

func NewAdminAccountLinkTokenPostInternalServerError() *AdminAccountLinkTokenPostInternalServerError

NewAdminAccountLinkTokenPostInternalServerError creates a AdminAccountLinkTokenPostInternalServerError with default headers values

func (*AdminAccountLinkTokenPostInternalServerError) Error added in v0.62.0

func (*AdminAccountLinkTokenPostInternalServerError) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenPostInternalServerError) ToJSONString added in v0.62.0

type AdminAccountLinkTokenPostParams added in v0.62.0

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

	// XFlightId is an optional parameter from this SDK
	XFlightId *string
	// contains filtered or unexported fields
}

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

func NewAdminAccountLinkTokenPostParams added in v0.62.0

func NewAdminAccountLinkTokenPostParams() *AdminAccountLinkTokenPostParams

NewAdminAccountLinkTokenPostParams creates a new AdminAccountLinkTokenPostParams object with the default values initialized.

func NewAdminAccountLinkTokenPostParamsWithContext added in v0.62.0

func NewAdminAccountLinkTokenPostParamsWithContext(ctx context.Context) *AdminAccountLinkTokenPostParams

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

func NewAdminAccountLinkTokenPostParamsWithHTTPClient added in v0.62.0

func NewAdminAccountLinkTokenPostParamsWithHTTPClient(client *http.Client) *AdminAccountLinkTokenPostParams

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

func NewAdminAccountLinkTokenPostParamsWithTimeout added in v0.62.0

func NewAdminAccountLinkTokenPostParamsWithTimeout(timeout time.Duration) *AdminAccountLinkTokenPostParams

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

func (*AdminAccountLinkTokenPostParams) SetAuthInfoWriter added in v0.62.0

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

SetAuthInfoWriter adds the authInfoWriter to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) SetBody added in v0.62.0

SetBody adds the body to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) SetContext added in v0.62.0

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

SetContext adds the context to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) SetFlightId added in v0.63.0

func (o *AdminAccountLinkTokenPostParams) SetFlightId(flightId string)

SetFlightId adds the flightId as the header value for this specific endpoint

func (*AdminAccountLinkTokenPostParams) SetHTTPClient added in v0.62.0

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

SetHTTPClient adds the HTTPClient to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) SetHTTPClientTransport added in v0.62.0

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

SetHTTPClient adds the HTTPClient Transport to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) SetNamespace added in v0.62.0

func (o *AdminAccountLinkTokenPostParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) SetTimeout added in v0.62.0

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

SetTimeout adds the timeout to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) WithBody added in v0.62.0

WithBody adds the body to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) WithContext added in v0.62.0

WithContext adds the context to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) WithHTTPClient added in v0.62.0

WithHTTPClient adds the HTTPClient to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) WithNamespace added in v0.62.0

WithNamespace adds the namespace to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) WithTimeout added in v0.62.0

WithTimeout adds the timeout to the admin account link token post params

func (*AdminAccountLinkTokenPostParams) WriteToRequest added in v0.62.0

WriteToRequest writes these params to a swagger request

type AdminAccountLinkTokenPostReader added in v0.62.0

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

AdminAccountLinkTokenPostReader is a Reader for the AdminAccountLinkTokenPost structure.

func (*AdminAccountLinkTokenPostReader) ReadResponse added in v0.62.0

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

ReadResponse reads a server response into the received o.

type AdminAccountLinkTokenPostUnauthorized added in v0.62.0

type AdminAccountLinkTokenPostUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenPostUnauthorized handles this case with default header values.

no authorization provided

func NewAdminAccountLinkTokenPostUnauthorized added in v0.62.0

func NewAdminAccountLinkTokenPostUnauthorized() *AdminAccountLinkTokenPostUnauthorized

NewAdminAccountLinkTokenPostUnauthorized creates a AdminAccountLinkTokenPostUnauthorized with default headers values

func (*AdminAccountLinkTokenPostUnauthorized) Error added in v0.62.0

func (*AdminAccountLinkTokenPostUnauthorized) GetPayload added in v0.62.0

func (*AdminAccountLinkTokenPostUnauthorized) ToJSONString added in v0.62.0

type Client

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

Client for account API

func (*Client) AccountGet deprecated

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

AccountGet get the account associated with the namespace Required Permission: NAMESPACE:{namespace}:AMS: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: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]

func (*Client) AdminAccountCreate deprecated added in v0.62.0

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

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

func (*Client) AdminAccountCreateShort added in v0.62.0

func (a *Client) AdminAccountCreateShort(params *AdminAccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountCreateCreated, error)

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

func (*Client) AdminAccountGet deprecated added in v0.62.0

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

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

func (*Client) AdminAccountGetShort added in v0.62.0

func (a *Client) AdminAccountGetShort(params *AdminAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountGetOK, error)

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

func (*Client) AdminAccountLinkTokenGet deprecated added in v0.62.0

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

AdminAccountLinkTokenGet get a link to account token The link token returned can be used to connect another namespace to the account in which the provided namespace is linked. This route fails if there is no account linked to the specified namespace.

Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]

func (*Client) AdminAccountLinkTokenGetShort added in v0.62.0

func (a *Client) AdminAccountLinkTokenGetShort(params *AdminAccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenGetOK, error)

AdminAccountLinkTokenGetShort get a link to account token The link token returned can be used to connect another namespace to the account in which the provided namespace is linked. This route fails if there is no account linked to the specified namespace.

Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]

func (*Client) AdminAccountLinkTokenPost deprecated added in v0.62.0

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

AdminAccountLinkTokenPost link an account to a namespace This route will attempt to register the account to namespace linkage in AMS and requires a valid account link token. This route fails if an account is already linked

Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]

func (*Client) AdminAccountLinkTokenPostShort added in v0.62.0

func (a *Client) AdminAccountLinkTokenPostShort(params *AdminAccountLinkTokenPostParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenPostCreated, error)

AdminAccountLinkTokenPostShort link an account to a namespace This route will attempt to register the account to namespace linkage in AMS and requires a valid account link token. This route fails if an account is already linked

Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]

func (*Client) SetTransport

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

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	AdminAccountGet(params *AdminAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountGetOK, *AdminAccountGetUnauthorized, *AdminAccountGetForbidden, *AdminAccountGetNotFound, *AdminAccountGetInternalServerError, error)
	AdminAccountGetShort(params *AdminAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountGetOK, error)
	AdminAccountCreate(params *AdminAccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountCreateCreated, *AdminAccountCreateUnauthorized, *AdminAccountCreateForbidden, *AdminAccountCreateInternalServerError, error)
	AdminAccountCreateShort(params *AdminAccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountCreateCreated, error)
	AdminAccountLinkTokenGet(params *AdminAccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenGetOK, *AdminAccountLinkTokenGetUnauthorized, *AdminAccountLinkTokenGetForbidden, *AdminAccountLinkTokenGetNotFound, *AdminAccountLinkTokenGetInternalServerError, error)
	AdminAccountLinkTokenGetShort(params *AdminAccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenGetOK, error)
	AdminAccountLinkTokenPost(params *AdminAccountLinkTokenPostParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenPostCreated, *AdminAccountLinkTokenPostUnauthorized, *AdminAccountLinkTokenPostForbidden, *AdminAccountLinkTokenPostInternalServerError, error)
	AdminAccountLinkTokenPostShort(params *AdminAccountLinkTokenPostParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenPostCreated, error)
	AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetOK, *AccountGetUnauthorized, *AccountGetForbidden, *AccountGetNotFound, *AccountGetInternalServerError, error)
	AccountGetShort(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetOK, error)

	SetTransport(transport runtime.ClientTransport)
}

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