account

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 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

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

type AdminAccountCreateCreated struct {
	Payload *amsclientmodels.APIAccountCreateResponse
}

AdminAccountCreateCreated handles this case with default header values.

account Created

func NewAdminAccountCreateCreated

func NewAdminAccountCreateCreated() *AdminAccountCreateCreated

NewAdminAccountCreateCreated creates a AdminAccountCreateCreated with default headers values

func (*AdminAccountCreateCreated) Error

func (o *AdminAccountCreateCreated) Error() string

func (*AdminAccountCreateCreated) GetPayload

func (*AdminAccountCreateCreated) ToJSONString

func (o *AdminAccountCreateCreated) ToJSONString() string

type AdminAccountCreateForbidden

type AdminAccountCreateForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountCreateForbidden handles this case with default header values.

insufficient permissions

func NewAdminAccountCreateForbidden

func NewAdminAccountCreateForbidden() *AdminAccountCreateForbidden

NewAdminAccountCreateForbidden creates a AdminAccountCreateForbidden with default headers values

func (*AdminAccountCreateForbidden) Error

func (*AdminAccountCreateForbidden) GetPayload

func (*AdminAccountCreateForbidden) ToJSONString

func (o *AdminAccountCreateForbidden) ToJSONString() string

type AdminAccountCreateInternalServerError

type AdminAccountCreateInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountCreateInternalServerError handles this case with default header values.

internal server error

func NewAdminAccountCreateInternalServerError

func NewAdminAccountCreateInternalServerError() *AdminAccountCreateInternalServerError

NewAdminAccountCreateInternalServerError creates a AdminAccountCreateInternalServerError with default headers values

func (*AdminAccountCreateInternalServerError) Error

func (*AdminAccountCreateInternalServerError) GetPayload

func (*AdminAccountCreateInternalServerError) ToJSONString

type AdminAccountCreateParams

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

func NewAdminAccountCreateParams() *AdminAccountCreateParams

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

func NewAdminAccountCreateParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the admin account create params

func (*AdminAccountCreateParams) SetBody

SetBody adds the body to the admin account create params

func (*AdminAccountCreateParams) SetContext

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

SetContext adds the context to the admin account create params

func (*AdminAccountCreateParams) SetFlightId

func (o *AdminAccountCreateParams) SetFlightId(flightId string)

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

func (*AdminAccountCreateParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin account create params

func (*AdminAccountCreateParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin account create params

func (*AdminAccountCreateParams) SetNamespace

func (o *AdminAccountCreateParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin account create params

func (*AdminAccountCreateParams) SetTimeout

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

SetTimeout adds the timeout to the admin account create params

func (*AdminAccountCreateParams) WithBody

WithBody adds the body to the admin account create params

func (*AdminAccountCreateParams) WithContext

WithContext adds the context to the admin account create params

func (*AdminAccountCreateParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin account create params

func (*AdminAccountCreateParams) WithNamespace

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

WithNamespace adds the namespace to the admin account create params

func (*AdminAccountCreateParams) WithTimeout

WithTimeout adds the timeout to the admin account create params

func (*AdminAccountCreateParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAccountCreateReader

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

AdminAccountCreateReader is a Reader for the AdminAccountCreate structure.

func (*AdminAccountCreateReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountCreateUnauthorized

type AdminAccountCreateUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountCreateUnauthorized handles this case with default header values.

no authorization provided

func NewAdminAccountCreateUnauthorized

func NewAdminAccountCreateUnauthorized() *AdminAccountCreateUnauthorized

NewAdminAccountCreateUnauthorized creates a AdminAccountCreateUnauthorized with default headers values

func (*AdminAccountCreateUnauthorized) Error

func (*AdminAccountCreateUnauthorized) GetPayload

func (*AdminAccountCreateUnauthorized) ToJSONString

func (o *AdminAccountCreateUnauthorized) ToJSONString() string

type AdminAccountGetForbidden

type AdminAccountGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountGetForbidden handles this case with default header values.

insufficient permissions

func NewAdminAccountGetForbidden

func NewAdminAccountGetForbidden() *AdminAccountGetForbidden

NewAdminAccountGetForbidden creates a AdminAccountGetForbidden with default headers values

func (*AdminAccountGetForbidden) Error

func (o *AdminAccountGetForbidden) Error() string

func (*AdminAccountGetForbidden) GetPayload

func (*AdminAccountGetForbidden) ToJSONString

func (o *AdminAccountGetForbidden) ToJSONString() string

type AdminAccountGetInternalServerError

type AdminAccountGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountGetInternalServerError handles this case with default header values.

internal server error

func NewAdminAccountGetInternalServerError

func NewAdminAccountGetInternalServerError() *AdminAccountGetInternalServerError

NewAdminAccountGetInternalServerError creates a AdminAccountGetInternalServerError with default headers values

func (*AdminAccountGetInternalServerError) Error

func (*AdminAccountGetInternalServerError) GetPayload

func (*AdminAccountGetInternalServerError) ToJSONString

func (o *AdminAccountGetInternalServerError) ToJSONString() string

type AdminAccountGetNotFound

type AdminAccountGetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountGetNotFound handles this case with default header values.

account not linked

func NewAdminAccountGetNotFound

func NewAdminAccountGetNotFound() *AdminAccountGetNotFound

NewAdminAccountGetNotFound creates a AdminAccountGetNotFound with default headers values

func (*AdminAccountGetNotFound) Error

func (o *AdminAccountGetNotFound) Error() string

func (*AdminAccountGetNotFound) GetPayload

func (*AdminAccountGetNotFound) ToJSONString

func (o *AdminAccountGetNotFound) ToJSONString() string

type AdminAccountGetOK

type AdminAccountGetOK struct {
	Payload *amsclientmodels.APIAccountResponse
}

AdminAccountGetOK handles this case with default header values.

success

func NewAdminAccountGetOK

func NewAdminAccountGetOK() *AdminAccountGetOK

NewAdminAccountGetOK creates a AdminAccountGetOK with default headers values

func (*AdminAccountGetOK) Error

func (o *AdminAccountGetOK) Error() string

func (*AdminAccountGetOK) GetPayload

func (*AdminAccountGetOK) ToJSONString

func (o *AdminAccountGetOK) ToJSONString() string

type AdminAccountGetParams

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

func NewAdminAccountGetParams() *AdminAccountGetParams

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

func NewAdminAccountGetParamsWithContext

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

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

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

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

SetAuthInfoWriter adds the authInfoWriter to the admin account get params

func (*AdminAccountGetParams) SetContext

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

SetContext adds the context to the admin account get params

func (*AdminAccountGetParams) SetFlightId

func (o *AdminAccountGetParams) SetFlightId(flightId string)

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

func (*AdminAccountGetParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the admin account get params

func (*AdminAccountGetParams) SetHTTPClientTransport

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

SetHTTPClient adds the HTTPClient Transport to the admin account get params

func (*AdminAccountGetParams) SetNamespace

func (o *AdminAccountGetParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the admin account get params

func (*AdminAccountGetParams) SetTimeout

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

SetTimeout adds the timeout to the admin account get params

func (*AdminAccountGetParams) WithContext

WithContext adds the context to the admin account get params

func (*AdminAccountGetParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the admin account get params

func (*AdminAccountGetParams) WithNamespace

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

WithNamespace adds the namespace to the admin account get params

func (*AdminAccountGetParams) WithTimeout

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

WithTimeout adds the timeout to the admin account get params

func (*AdminAccountGetParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type AdminAccountGetReader

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

AdminAccountGetReader is a Reader for the AdminAccountGet structure.

func (*AdminAccountGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountGetUnauthorized

type AdminAccountGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountGetUnauthorized handles this case with default header values.

no authorization provided

func NewAdminAccountGetUnauthorized

func NewAdminAccountGetUnauthorized() *AdminAccountGetUnauthorized

NewAdminAccountGetUnauthorized creates a AdminAccountGetUnauthorized with default headers values

func (*AdminAccountGetUnauthorized) Error

func (*AdminAccountGetUnauthorized) GetPayload

func (*AdminAccountGetUnauthorized) ToJSONString

func (o *AdminAccountGetUnauthorized) ToJSONString() string

type AdminAccountLinkTokenGetForbidden

type AdminAccountLinkTokenGetForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenGetForbidden handles this case with default header values.

insufficient permissions

func NewAdminAccountLinkTokenGetForbidden

func NewAdminAccountLinkTokenGetForbidden() *AdminAccountLinkTokenGetForbidden

NewAdminAccountLinkTokenGetForbidden creates a AdminAccountLinkTokenGetForbidden with default headers values

func (*AdminAccountLinkTokenGetForbidden) Error

func (*AdminAccountLinkTokenGetForbidden) GetPayload

func (*AdminAccountLinkTokenGetForbidden) ToJSONString

func (o *AdminAccountLinkTokenGetForbidden) ToJSONString() string

type AdminAccountLinkTokenGetInternalServerError

type AdminAccountLinkTokenGetInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenGetInternalServerError handles this case with default header values.

internal server error

func NewAdminAccountLinkTokenGetInternalServerError

func NewAdminAccountLinkTokenGetInternalServerError() *AdminAccountLinkTokenGetInternalServerError

NewAdminAccountLinkTokenGetInternalServerError creates a AdminAccountLinkTokenGetInternalServerError with default headers values

func (*AdminAccountLinkTokenGetInternalServerError) Error

func (*AdminAccountLinkTokenGetInternalServerError) GetPayload

func (*AdminAccountLinkTokenGetInternalServerError) ToJSONString

type AdminAccountLinkTokenGetNotFound

type AdminAccountLinkTokenGetNotFound struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenGetNotFound handles this case with default header values.

account not linked

func NewAdminAccountLinkTokenGetNotFound

func NewAdminAccountLinkTokenGetNotFound() *AdminAccountLinkTokenGetNotFound

NewAdminAccountLinkTokenGetNotFound creates a AdminAccountLinkTokenGetNotFound with default headers values

func (*AdminAccountLinkTokenGetNotFound) Error

func (*AdminAccountLinkTokenGetNotFound) GetPayload

func (*AdminAccountLinkTokenGetNotFound) ToJSONString

func (o *AdminAccountLinkTokenGetNotFound) ToJSONString() string

type AdminAccountLinkTokenGetOK

type AdminAccountLinkTokenGetOK struct {
	Payload *amsclientmodels.APIAccountLinkTokenResponse
}

AdminAccountLinkTokenGetOK handles this case with default header values.

success

func NewAdminAccountLinkTokenGetOK

func NewAdminAccountLinkTokenGetOK() *AdminAccountLinkTokenGetOK

NewAdminAccountLinkTokenGetOK creates a AdminAccountLinkTokenGetOK with default headers values

func (*AdminAccountLinkTokenGetOK) Error

func (*AdminAccountLinkTokenGetOK) GetPayload

func (*AdminAccountLinkTokenGetOK) ToJSONString

func (o *AdminAccountLinkTokenGetOK) ToJSONString() string

type AdminAccountLinkTokenGetParams

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

func NewAdminAccountLinkTokenGetParams() *AdminAccountLinkTokenGetParams

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

func NewAdminAccountLinkTokenGetParamsWithContext

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

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

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

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

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

func (*AdminAccountLinkTokenGetParams) SetContext

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

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

func (*AdminAccountLinkTokenGetParams) SetFlightId

func (o *AdminAccountLinkTokenGetParams) SetFlightId(flightId string)

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

func (*AdminAccountLinkTokenGetParams) SetHTTPClient

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

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

func (*AdminAccountLinkTokenGetParams) SetHTTPClientTransport

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

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

func (*AdminAccountLinkTokenGetParams) SetNamespace

func (o *AdminAccountLinkTokenGetParams) SetNamespace(namespace string)

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

func (*AdminAccountLinkTokenGetParams) SetTimeout

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

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

func (*AdminAccountLinkTokenGetParams) WithContext

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

func (*AdminAccountLinkTokenGetParams) WithHTTPClient

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

func (*AdminAccountLinkTokenGetParams) WithNamespace

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

func (*AdminAccountLinkTokenGetParams) WithTimeout

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

func (*AdminAccountLinkTokenGetParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAccountLinkTokenGetReader

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

AdminAccountLinkTokenGetReader is a Reader for the AdminAccountLinkTokenGet structure.

func (*AdminAccountLinkTokenGetReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountLinkTokenGetUnauthorized

type AdminAccountLinkTokenGetUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenGetUnauthorized handles this case with default header values.

no authorization provided

func NewAdminAccountLinkTokenGetUnauthorized

func NewAdminAccountLinkTokenGetUnauthorized() *AdminAccountLinkTokenGetUnauthorized

NewAdminAccountLinkTokenGetUnauthorized creates a AdminAccountLinkTokenGetUnauthorized with default headers values

func (*AdminAccountLinkTokenGetUnauthorized) Error

func (*AdminAccountLinkTokenGetUnauthorized) GetPayload

func (*AdminAccountLinkTokenGetUnauthorized) ToJSONString

func (o *AdminAccountLinkTokenGetUnauthorized) ToJSONString() string

type AdminAccountLinkTokenPostCreated

type AdminAccountLinkTokenPostCreated struct {
	Payload *amsclientmodels.APIAccountLinkResponse
}

AdminAccountLinkTokenPostCreated handles this case with default header values.

success

func NewAdminAccountLinkTokenPostCreated

func NewAdminAccountLinkTokenPostCreated() *AdminAccountLinkTokenPostCreated

NewAdminAccountLinkTokenPostCreated creates a AdminAccountLinkTokenPostCreated with default headers values

func (*AdminAccountLinkTokenPostCreated) Error

func (*AdminAccountLinkTokenPostCreated) GetPayload

func (*AdminAccountLinkTokenPostCreated) ToJSONString

func (o *AdminAccountLinkTokenPostCreated) ToJSONString() string

type AdminAccountLinkTokenPostForbidden

type AdminAccountLinkTokenPostForbidden struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenPostForbidden handles this case with default header values.

insufficient permissions

func NewAdminAccountLinkTokenPostForbidden

func NewAdminAccountLinkTokenPostForbidden() *AdminAccountLinkTokenPostForbidden

NewAdminAccountLinkTokenPostForbidden creates a AdminAccountLinkTokenPostForbidden with default headers values

func (*AdminAccountLinkTokenPostForbidden) Error

func (*AdminAccountLinkTokenPostForbidden) GetPayload

func (*AdminAccountLinkTokenPostForbidden) ToJSONString

func (o *AdminAccountLinkTokenPostForbidden) ToJSONString() string

type AdminAccountLinkTokenPostInternalServerError

type AdminAccountLinkTokenPostInternalServerError struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenPostInternalServerError handles this case with default header values.

internal server error

func NewAdminAccountLinkTokenPostInternalServerError

func NewAdminAccountLinkTokenPostInternalServerError() *AdminAccountLinkTokenPostInternalServerError

NewAdminAccountLinkTokenPostInternalServerError creates a AdminAccountLinkTokenPostInternalServerError with default headers values

func (*AdminAccountLinkTokenPostInternalServerError) Error

func (*AdminAccountLinkTokenPostInternalServerError) GetPayload

func (*AdminAccountLinkTokenPostInternalServerError) ToJSONString

type AdminAccountLinkTokenPostParams

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

func NewAdminAccountLinkTokenPostParams() *AdminAccountLinkTokenPostParams

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

func NewAdminAccountLinkTokenPostParamsWithContext

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

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

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

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

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

func (*AdminAccountLinkTokenPostParams) SetBody

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

func (*AdminAccountLinkTokenPostParams) SetContext

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

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

func (*AdminAccountLinkTokenPostParams) SetFlightId

func (o *AdminAccountLinkTokenPostParams) SetFlightId(flightId string)

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

func (*AdminAccountLinkTokenPostParams) SetHTTPClient

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

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

func (*AdminAccountLinkTokenPostParams) SetHTTPClientTransport

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

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

func (*AdminAccountLinkTokenPostParams) SetNamespace

func (o *AdminAccountLinkTokenPostParams) SetNamespace(namespace string)

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

func (*AdminAccountLinkTokenPostParams) SetTimeout

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

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

func (*AdminAccountLinkTokenPostParams) WithBody

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

func (*AdminAccountLinkTokenPostParams) WithContext

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

func (*AdminAccountLinkTokenPostParams) WithHTTPClient

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

func (*AdminAccountLinkTokenPostParams) WithNamespace

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

func (*AdminAccountLinkTokenPostParams) WithTimeout

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

func (*AdminAccountLinkTokenPostParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type AdminAccountLinkTokenPostReader

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

AdminAccountLinkTokenPostReader is a Reader for the AdminAccountLinkTokenPost structure.

func (*AdminAccountLinkTokenPostReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type AdminAccountLinkTokenPostUnauthorized

type AdminAccountLinkTokenPostUnauthorized struct {
	Payload *amsclientmodels.ResponseErrorResponse
}

AdminAccountLinkTokenPostUnauthorized handles this case with default header values.

no authorization provided

func NewAdminAccountLinkTokenPostUnauthorized

func NewAdminAccountLinkTokenPostUnauthorized() *AdminAccountLinkTokenPostUnauthorized

NewAdminAccountLinkTokenPostUnauthorized creates a AdminAccountLinkTokenPostUnauthorized with default headers values

func (*AdminAccountLinkTokenPostUnauthorized) Error

func (*AdminAccountLinkTokenPostUnauthorized) GetPayload

func (*AdminAccountLinkTokenPostUnauthorized) ToJSONString

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

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

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

func (*Client) AdminAccountCreateShort

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

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

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

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

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

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

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