Documentation ¶
Index ¶
- type AccountCreateCreated
- type AccountCreateForbidden
- type AccountCreateInternalServerError
- type AccountCreateParams
- func (o *AccountCreateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AccountCreateParams) SetBody(body *amsclientmodels.APIAccountCreateRequest)
- func (o *AccountCreateParams) SetContext(ctx context.Context)
- func (o *AccountCreateParams) SetHTTPClient(client *http.Client)
- func (o *AccountCreateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AccountCreateParams) SetNamespace(namespace string)
- func (o *AccountCreateParams) SetTimeout(timeout time.Duration)
- func (o *AccountCreateParams) WithBody(body *amsclientmodels.APIAccountCreateRequest) *AccountCreateParams
- func (o *AccountCreateParams) WithContext(ctx context.Context) *AccountCreateParams
- func (o *AccountCreateParams) WithHTTPClient(client *http.Client) *AccountCreateParams
- func (o *AccountCreateParams) WithNamespace(namespace string) *AccountCreateParams
- func (o *AccountCreateParams) WithTimeout(timeout time.Duration) *AccountCreateParams
- func (o *AccountCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountCreateReader
- type AccountCreateUnauthorized
- type AccountGetForbidden
- type AccountGetInternalServerError
- type AccountGetNotFound
- type AccountGetOK
- type AccountGetParams
- func (o *AccountGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AccountGetParams) SetContext(ctx context.Context)
- func (o *AccountGetParams) SetHTTPClient(client *http.Client)
- func (o *AccountGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AccountGetParams) SetNamespace(namespace string)
- func (o *AccountGetParams) SetTimeout(timeout time.Duration)
- func (o *AccountGetParams) WithContext(ctx context.Context) *AccountGetParams
- func (o *AccountGetParams) WithHTTPClient(client *http.Client) *AccountGetParams
- func (o *AccountGetParams) WithNamespace(namespace string) *AccountGetParams
- func (o *AccountGetParams) WithTimeout(timeout time.Duration) *AccountGetParams
- func (o *AccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountGetReader
- type AccountGetUnauthorized
- type AccountLinkCreated
- type AccountLinkForbidden
- type AccountLinkInternalServerError
- type AccountLinkParams
- func (o *AccountLinkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AccountLinkParams) SetBody(body *amsclientmodels.APIAccountLinkRequest)
- func (o *AccountLinkParams) SetContext(ctx context.Context)
- func (o *AccountLinkParams) SetHTTPClient(client *http.Client)
- func (o *AccountLinkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AccountLinkParams) SetNamespace(namespace string)
- func (o *AccountLinkParams) SetTimeout(timeout time.Duration)
- func (o *AccountLinkParams) WithBody(body *amsclientmodels.APIAccountLinkRequest) *AccountLinkParams
- func (o *AccountLinkParams) WithContext(ctx context.Context) *AccountLinkParams
- func (o *AccountLinkParams) WithHTTPClient(client *http.Client) *AccountLinkParams
- func (o *AccountLinkParams) WithNamespace(namespace string) *AccountLinkParams
- func (o *AccountLinkParams) WithTimeout(timeout time.Duration) *AccountLinkParams
- func (o *AccountLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountLinkReader
- type AccountLinkTokenGetForbidden
- type AccountLinkTokenGetInternalServerError
- type AccountLinkTokenGetNotFound
- type AccountLinkTokenGetOK
- type AccountLinkTokenGetParams
- func NewAccountLinkTokenGetParams() *AccountLinkTokenGetParams
- func NewAccountLinkTokenGetParamsWithContext(ctx context.Context) *AccountLinkTokenGetParams
- func NewAccountLinkTokenGetParamsWithHTTPClient(client *http.Client) *AccountLinkTokenGetParams
- func NewAccountLinkTokenGetParamsWithTimeout(timeout time.Duration) *AccountLinkTokenGetParams
- func (o *AccountLinkTokenGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AccountLinkTokenGetParams) SetContext(ctx context.Context)
- func (o *AccountLinkTokenGetParams) SetHTTPClient(client *http.Client)
- func (o *AccountLinkTokenGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AccountLinkTokenGetParams) SetNamespace(namespace string)
- func (o *AccountLinkTokenGetParams) SetTimeout(timeout time.Duration)
- func (o *AccountLinkTokenGetParams) WithContext(ctx context.Context) *AccountLinkTokenGetParams
- func (o *AccountLinkTokenGetParams) WithHTTPClient(client *http.Client) *AccountLinkTokenGetParams
- func (o *AccountLinkTokenGetParams) WithNamespace(namespace string) *AccountLinkTokenGetParams
- func (o *AccountLinkTokenGetParams) WithTimeout(timeout time.Duration) *AccountLinkTokenGetParams
- func (o *AccountLinkTokenGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AccountLinkTokenGetReader
- type AccountLinkTokenGetUnauthorized
- type AccountLinkUnauthorized
- type Client
- func (a *Client) AccountCreate(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AccountCreateCreated, *AccountCreateUnauthorized, *AccountCreateForbidden, ...)deprecated
- func (a *Client) AccountCreateShort(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AccountCreateCreated, error)
- func (a *Client) AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetOK, *AccountGetUnauthorized, *AccountGetForbidden, ...)deprecated
- func (a *Client) AccountGetShort(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetOK, error)
- func (a *Client) AccountLink(params *AccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkCreated, *AccountLinkUnauthorized, *AccountLinkForbidden, ...)deprecated
- func (a *Client) AccountLinkShort(params *AccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkCreated, error)
- func (a *Client) AccountLinkTokenGet(params *AccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkTokenGetOK, *AccountLinkTokenGetUnauthorized, ...)deprecated
- func (a *Client) AccountLinkTokenGetShort(params *AccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkTokenGetOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
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 (o *AccountCreateCreated) GetPayload() *amsclientmodels.APIAccountCreateResponse
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 (o *AccountCreateForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountCreateInternalServerError) Error() string
func (*AccountCreateInternalServerError) GetPayload ¶
func (o *AccountCreateInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 ¶
func (o *AccountCreateParams) SetBody(body *amsclientmodels.APIAccountCreateRequest)
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 ¶
func (o *AccountCreateParams) WithBody(body *amsclientmodels.APIAccountCreateRequest) *AccountCreateParams
WithBody adds the body to the account create params
func (*AccountCreateParams) WithContext ¶
func (o *AccountCreateParams) WithContext(ctx context.Context) *AccountCreateParams
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 {
}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 (o *AccountCreateUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountGetForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountGetInternalServerError) Error() string
func (*AccountGetInternalServerError) GetPayload ¶
func (o *AccountGetInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountGetNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountGetOK) GetPayload() *amsclientmodels.APIAccountResponse
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 {
}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 (o *AccountGetUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountLinkCreated) GetPayload() *amsclientmodels.APIAccountLinkResponse
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 (o *AccountLinkForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountLinkInternalServerError) Error() string
func (*AccountLinkInternalServerError) GetPayload ¶
func (o *AccountLinkInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 ¶
func (o *AccountLinkParams) SetBody(body *amsclientmodels.APIAccountLinkRequest)
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 ¶
func (o *AccountLinkParams) WithBody(body *amsclientmodels.APIAccountLinkRequest) *AccountLinkParams
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 (o *AccountLinkTokenGetForbidden) Error() string
func (*AccountLinkTokenGetForbidden) GetPayload ¶
func (o *AccountLinkTokenGetForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountLinkTokenGetInternalServerError) Error() string
func (*AccountLinkTokenGetInternalServerError) GetPayload ¶
func (o *AccountLinkTokenGetInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AccountLinkTokenGetInternalServerError) ToJSONString ¶
func (o *AccountLinkTokenGetInternalServerError) ToJSONString() string
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 (o *AccountLinkTokenGetNotFound) Error() string
func (*AccountLinkTokenGetNotFound) GetPayload ¶
func (o *AccountLinkTokenGetNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AccountLinkTokenGetOK) GetPayload() *amsclientmodels.APIAccountLinkTokenResponse
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 ¶
func (o *AccountLinkTokenGetParams) WithContext(ctx context.Context) *AccountLinkTokenGetParams
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 ¶
func (o *AccountLinkTokenGetParams) WithTimeout(timeout time.Duration) *AccountLinkTokenGetParams
WithTimeout adds the timeout to the account link token get params
func (*AccountLinkTokenGetParams) WriteToRequest ¶
func (o *AccountLinkTokenGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *AccountLinkTokenGetUnauthorized) Error() string
func (*AccountLinkTokenGetUnauthorized) GetPayload ¶
func (o *AccountLinkTokenGetUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AccountLinkTokenGetUnauthorized) ToJSONString ¶
func (o *AccountLinkTokenGetUnauthorized) ToJSONString() string
type AccountLinkUnauthorized ¶
type AccountLinkUnauthorized struct {
}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 (o *AccountLinkUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
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
func (a *Client) AccountCreate(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AccountCreateCreated, *AccountCreateUnauthorized, *AccountCreateForbidden, *AccountCreateInternalServerError, error)
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
func (a *Client) AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetOK, *AccountGetUnauthorized, *AccountGetForbidden, *AccountGetNotFound, *AccountGetInternalServerError, error)
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]
func (*Client) AccountLink
deprecated
func (a *Client) AccountLink(params *AccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkCreated, *AccountLinkUnauthorized, *AccountLinkForbidden, *AccountLinkInternalServerError, error)
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
func (a *Client) AccountLinkTokenGet(params *AccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkTokenGetOK, *AccountLinkTokenGetUnauthorized, *AccountLinkTokenGetForbidden, *AccountLinkTokenGetNotFound, *AccountLinkTokenGetInternalServerError, error)
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 ¶
type ClientService interface { AccountGet(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetOK, *AccountGetUnauthorized, *AccountGetForbidden, *AccountGetNotFound, *AccountGetInternalServerError, error) AccountGetShort(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetOK, error) AccountCreate(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AccountCreateCreated, *AccountCreateUnauthorized, *AccountCreateForbidden, *AccountCreateInternalServerError, error) AccountCreateShort(params *AccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AccountCreateCreated, error) AccountLinkTokenGet(params *AccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkTokenGetOK, *AccountLinkTokenGetUnauthorized, *AccountLinkTokenGetForbidden, *AccountLinkTokenGetNotFound, *AccountLinkTokenGetInternalServerError, error) AccountLinkTokenGetShort(params *AccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkTokenGetOK, error) AccountLink(params *AccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkCreated, *AccountLinkUnauthorized, *AccountLinkForbidden, *AccountLinkInternalServerError, error) AccountLinkShort(params *AccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AccountLinkCreated, 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.