Documentation
¶
Index ¶
- 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) SetFlightId(flightId string)
- 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 AccountGetResponse
- type AccountGetUnauthorized
- type AdminAccountCreateCreated
- type AdminAccountCreateForbidden
- type AdminAccountCreateInternalServerError
- type AdminAccountCreateParams
- func NewAdminAccountCreateParams() *AdminAccountCreateParams
- func NewAdminAccountCreateParamsWithContext(ctx context.Context) *AdminAccountCreateParams
- func NewAdminAccountCreateParamsWithHTTPClient(client *http.Client) *AdminAccountCreateParams
- func NewAdminAccountCreateParamsWithTimeout(timeout time.Duration) *AdminAccountCreateParams
- func (o *AdminAccountCreateParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminAccountCreateParams) SetBody(body *amsclientmodels.APIAccountCreateRequest)
- func (o *AdminAccountCreateParams) SetContext(ctx context.Context)
- func (o *AdminAccountCreateParams) SetFlightId(flightId string)
- func (o *AdminAccountCreateParams) SetHTTPClient(client *http.Client)
- func (o *AdminAccountCreateParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminAccountCreateParams) SetNamespace(namespace string)
- func (o *AdminAccountCreateParams) SetTimeout(timeout time.Duration)
- func (o *AdminAccountCreateParams) WithBody(body *amsclientmodels.APIAccountCreateRequest) *AdminAccountCreateParams
- func (o *AdminAccountCreateParams) WithContext(ctx context.Context) *AdminAccountCreateParams
- func (o *AdminAccountCreateParams) WithHTTPClient(client *http.Client) *AdminAccountCreateParams
- func (o *AdminAccountCreateParams) WithNamespace(namespace string) *AdminAccountCreateParams
- func (o *AdminAccountCreateParams) WithTimeout(timeout time.Duration) *AdminAccountCreateParams
- func (o *AdminAccountCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAccountCreateReader
- type AdminAccountCreateResponse
- type AdminAccountCreateUnauthorized
- type AdminAccountGetForbidden
- type AdminAccountGetInternalServerError
- type AdminAccountGetNotFound
- type AdminAccountGetOK
- type AdminAccountGetParams
- func NewAdminAccountGetParams() *AdminAccountGetParams
- func NewAdminAccountGetParamsWithContext(ctx context.Context) *AdminAccountGetParams
- func NewAdminAccountGetParamsWithHTTPClient(client *http.Client) *AdminAccountGetParams
- func NewAdminAccountGetParamsWithTimeout(timeout time.Duration) *AdminAccountGetParams
- func (o *AdminAccountGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminAccountGetParams) SetContext(ctx context.Context)
- func (o *AdminAccountGetParams) SetFlightId(flightId string)
- func (o *AdminAccountGetParams) SetHTTPClient(client *http.Client)
- func (o *AdminAccountGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminAccountGetParams) SetNamespace(namespace string)
- func (o *AdminAccountGetParams) SetTimeout(timeout time.Duration)
- func (o *AdminAccountGetParams) WithContext(ctx context.Context) *AdminAccountGetParams
- func (o *AdminAccountGetParams) WithHTTPClient(client *http.Client) *AdminAccountGetParams
- func (o *AdminAccountGetParams) WithNamespace(namespace string) *AdminAccountGetParams
- func (o *AdminAccountGetParams) WithTimeout(timeout time.Duration) *AdminAccountGetParams
- func (o *AdminAccountGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAccountGetReader
- type AdminAccountGetResponse
- type AdminAccountGetUnauthorized
- type AdminAccountLinkCreated
- type AdminAccountLinkForbidden
- type AdminAccountLinkInternalServerError
- type AdminAccountLinkParams
- func NewAdminAccountLinkParams() *AdminAccountLinkParams
- func NewAdminAccountLinkParamsWithContext(ctx context.Context) *AdminAccountLinkParams
- func NewAdminAccountLinkParamsWithHTTPClient(client *http.Client) *AdminAccountLinkParams
- func NewAdminAccountLinkParamsWithTimeout(timeout time.Duration) *AdminAccountLinkParams
- func (o *AdminAccountLinkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminAccountLinkParams) SetBody(body *amsclientmodels.APIAccountLinkRequest)
- func (o *AdminAccountLinkParams) SetContext(ctx context.Context)
- func (o *AdminAccountLinkParams) SetFlightId(flightId string)
- func (o *AdminAccountLinkParams) SetHTTPClient(client *http.Client)
- func (o *AdminAccountLinkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminAccountLinkParams) SetNamespace(namespace string)
- func (o *AdminAccountLinkParams) SetTimeout(timeout time.Duration)
- func (o *AdminAccountLinkParams) WithBody(body *amsclientmodels.APIAccountLinkRequest) *AdminAccountLinkParams
- func (o *AdminAccountLinkParams) WithContext(ctx context.Context) *AdminAccountLinkParams
- func (o *AdminAccountLinkParams) WithHTTPClient(client *http.Client) *AdminAccountLinkParams
- func (o *AdminAccountLinkParams) WithNamespace(namespace string) *AdminAccountLinkParams
- func (o *AdminAccountLinkParams) WithTimeout(timeout time.Duration) *AdminAccountLinkParams
- func (o *AdminAccountLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAccountLinkReader
- type AdminAccountLinkResponse
- type AdminAccountLinkTokenGetForbidden
- type AdminAccountLinkTokenGetInternalServerError
- type AdminAccountLinkTokenGetNotFound
- type AdminAccountLinkTokenGetOK
- type AdminAccountLinkTokenGetParams
- func NewAdminAccountLinkTokenGetParams() *AdminAccountLinkTokenGetParams
- func NewAdminAccountLinkTokenGetParamsWithContext(ctx context.Context) *AdminAccountLinkTokenGetParams
- func NewAdminAccountLinkTokenGetParamsWithHTTPClient(client *http.Client) *AdminAccountLinkTokenGetParams
- func NewAdminAccountLinkTokenGetParamsWithTimeout(timeout time.Duration) *AdminAccountLinkTokenGetParams
- func (o *AdminAccountLinkTokenGetParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminAccountLinkTokenGetParams) SetContext(ctx context.Context)
- func (o *AdminAccountLinkTokenGetParams) SetFlightId(flightId string)
- func (o *AdminAccountLinkTokenGetParams) SetHTTPClient(client *http.Client)
- func (o *AdminAccountLinkTokenGetParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminAccountLinkTokenGetParams) SetNamespace(namespace string)
- func (o *AdminAccountLinkTokenGetParams) SetTimeout(timeout time.Duration)
- func (o *AdminAccountLinkTokenGetParams) WithContext(ctx context.Context) *AdminAccountLinkTokenGetParams
- func (o *AdminAccountLinkTokenGetParams) WithHTTPClient(client *http.Client) *AdminAccountLinkTokenGetParams
- func (o *AdminAccountLinkTokenGetParams) WithNamespace(namespace string) *AdminAccountLinkTokenGetParams
- func (o *AdminAccountLinkTokenGetParams) WithTimeout(timeout time.Duration) *AdminAccountLinkTokenGetParams
- func (o *AdminAccountLinkTokenGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminAccountLinkTokenGetReader
- type AdminAccountLinkTokenGetResponse
- type AdminAccountLinkTokenGetUnauthorized
- type AdminAccountLinkUnauthorized
- type Client
- func (a *Client) AccountGetShort(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetResponse, error)
- func (a *Client) AdminAccountCreateShort(params *AdminAccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountCreateResponse, error)
- func (a *Client) AdminAccountGetShort(params *AdminAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountGetResponse, error)
- func (a *Client) AdminAccountLinkShort(params *AdminAccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkResponse, error)
- func (a *Client) AdminAccountLinkTokenGetShort(params *AdminAccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenGetResponse, 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 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 // 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 AccountGetResponse ¶
type AccountGetResponse struct { amsclientmodels.ApiResponse Data *amsclientmodels.APIAccountResponse Error401 *amsclientmodels.ResponseErrorResponse Error403 *amsclientmodels.ResponseErrorResponse Error404 *amsclientmodels.ResponseErrorResponse Error500 *amsclientmodels.ResponseErrorResponse }
func (*AccountGetResponse) Unpack ¶
func (m *AccountGetResponse) Unpack() (*amsclientmodels.APIAccountResponse, *amsclientmodels.ApiError)
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 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 (o *AdminAccountCreateCreated) GetPayload() *amsclientmodels.APIAccountCreateResponse
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 (o *AdminAccountCreateForbidden) Error() string
func (*AdminAccountCreateForbidden) GetPayload ¶
func (o *AdminAccountCreateForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AdminAccountCreateInternalServerError) Error() string
func (*AdminAccountCreateInternalServerError) GetPayload ¶
func (o *AdminAccountCreateInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AdminAccountCreateInternalServerError) ToJSONString ¶
func (o *AdminAccountCreateInternalServerError) ToJSONString() string
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 ¶
func (o *AdminAccountCreateParams) SetBody(body *amsclientmodels.APIAccountCreateRequest)
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 ¶
func (o *AdminAccountCreateParams) WithBody(body *amsclientmodels.APIAccountCreateRequest) *AdminAccountCreateParams
WithBody adds the body to the admin account create params
func (*AdminAccountCreateParams) WithContext ¶
func (o *AdminAccountCreateParams) WithContext(ctx context.Context) *AdminAccountCreateParams
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 ¶
func (o *AdminAccountCreateParams) WithTimeout(timeout time.Duration) *AdminAccountCreateParams
WithTimeout adds the timeout to the admin account create params
func (*AdminAccountCreateParams) WriteToRequest ¶
func (o *AdminAccountCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 AdminAccountCreateResponse ¶
type AdminAccountCreateResponse struct { amsclientmodels.ApiResponse Data *amsclientmodels.APIAccountCreateResponse Error401 *amsclientmodels.ResponseErrorResponse Error403 *amsclientmodels.ResponseErrorResponse Error500 *amsclientmodels.ResponseErrorResponse }
func (*AdminAccountCreateResponse) Unpack ¶
func (m *AdminAccountCreateResponse) Unpack() (*amsclientmodels.APIAccountCreateResponse, *amsclientmodels.ApiError)
type AdminAccountCreateUnauthorized ¶
type AdminAccountCreateUnauthorized struct {
}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 (o *AdminAccountCreateUnauthorized) Error() string
func (*AdminAccountCreateUnauthorized) GetPayload ¶
func (o *AdminAccountCreateUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AdminAccountGetForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AdminAccountGetInternalServerError) Error() string
func (*AdminAccountGetInternalServerError) GetPayload ¶
func (o *AdminAccountGetInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AdminAccountGetNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AdminAccountGetOK) GetPayload() *amsclientmodels.APIAccountResponse
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 ¶
func (o *AdminAccountGetParams) WithContext(ctx context.Context) *AdminAccountGetParams
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 AdminAccountGetResponse ¶
type AdminAccountGetResponse struct { amsclientmodels.ApiResponse Data *amsclientmodels.APIAccountResponse Error401 *amsclientmodels.ResponseErrorResponse Error403 *amsclientmodels.ResponseErrorResponse Error404 *amsclientmodels.ResponseErrorResponse Error500 *amsclientmodels.ResponseErrorResponse }
func (*AdminAccountGetResponse) Unpack ¶
func (m *AdminAccountGetResponse) Unpack() (*amsclientmodels.APIAccountResponse, *amsclientmodels.ApiError)
type AdminAccountGetUnauthorized ¶
type AdminAccountGetUnauthorized struct {
}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 (o *AdminAccountGetUnauthorized) Error() string
func (*AdminAccountGetUnauthorized) GetPayload ¶
func (o *AdminAccountGetUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AdminAccountGetUnauthorized) ToJSONString ¶
func (o *AdminAccountGetUnauthorized) ToJSONString() string
type AdminAccountLinkCreated ¶
type AdminAccountLinkCreated struct {
Payload *amsclientmodels.APIAccountLinkResponse
}
AdminAccountLinkCreated handles this case with default header values.
success
func NewAdminAccountLinkCreated ¶
func NewAdminAccountLinkCreated() *AdminAccountLinkCreated
NewAdminAccountLinkCreated creates a AdminAccountLinkCreated with default headers values
func (*AdminAccountLinkCreated) Error ¶
func (o *AdminAccountLinkCreated) Error() string
func (*AdminAccountLinkCreated) GetPayload ¶
func (o *AdminAccountLinkCreated) GetPayload() *amsclientmodels.APIAccountLinkResponse
func (*AdminAccountLinkCreated) ToJSONString ¶
func (o *AdminAccountLinkCreated) ToJSONString() string
type AdminAccountLinkForbidden ¶
type AdminAccountLinkForbidden struct {
Payload *amsclientmodels.ResponseErrorResponse
}
AdminAccountLinkForbidden handles this case with default header values.
insufficient permissions
func NewAdminAccountLinkForbidden ¶
func NewAdminAccountLinkForbidden() *AdminAccountLinkForbidden
NewAdminAccountLinkForbidden creates a AdminAccountLinkForbidden with default headers values
func (*AdminAccountLinkForbidden) Error ¶
func (o *AdminAccountLinkForbidden) Error() string
func (*AdminAccountLinkForbidden) GetPayload ¶
func (o *AdminAccountLinkForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AdminAccountLinkForbidden) ToJSONString ¶
func (o *AdminAccountLinkForbidden) ToJSONString() string
type AdminAccountLinkInternalServerError ¶
type AdminAccountLinkInternalServerError struct {
Payload *amsclientmodels.ResponseErrorResponse
}
AdminAccountLinkInternalServerError handles this case with default header values.
internal server error
func NewAdminAccountLinkInternalServerError ¶
func NewAdminAccountLinkInternalServerError() *AdminAccountLinkInternalServerError
NewAdminAccountLinkInternalServerError creates a AdminAccountLinkInternalServerError with default headers values
func (*AdminAccountLinkInternalServerError) Error ¶
func (o *AdminAccountLinkInternalServerError) Error() string
func (*AdminAccountLinkInternalServerError) GetPayload ¶
func (o *AdminAccountLinkInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AdminAccountLinkInternalServerError) ToJSONString ¶
func (o *AdminAccountLinkInternalServerError) ToJSONString() string
type AdminAccountLinkParams ¶
type AdminAccountLinkParams 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 }
AdminAccountLinkParams contains all the parameters to send to the API endpoint for the admin account link operation typically these are written to a http.Request
func NewAdminAccountLinkParams ¶
func NewAdminAccountLinkParams() *AdminAccountLinkParams
NewAdminAccountLinkParams creates a new AdminAccountLinkParams object with the default values initialized.
func NewAdminAccountLinkParamsWithContext ¶
func NewAdminAccountLinkParamsWithContext(ctx context.Context) *AdminAccountLinkParams
NewAdminAccountLinkParamsWithContext creates a new AdminAccountLinkParams object with the default values initialized, and the ability to set a context for a request
func NewAdminAccountLinkParamsWithHTTPClient ¶
func NewAdminAccountLinkParamsWithHTTPClient(client *http.Client) *AdminAccountLinkParams
NewAdminAccountLinkParamsWithHTTPClient creates a new AdminAccountLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminAccountLinkParamsWithTimeout ¶
func NewAdminAccountLinkParamsWithTimeout(timeout time.Duration) *AdminAccountLinkParams
NewAdminAccountLinkParamsWithTimeout creates a new AdminAccountLinkParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminAccountLinkParams) SetAuthInfoWriter ¶
func (o *AdminAccountLinkParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin account link params
func (*AdminAccountLinkParams) SetBody ¶
func (o *AdminAccountLinkParams) SetBody(body *amsclientmodels.APIAccountLinkRequest)
SetBody adds the body to the admin account link params
func (*AdminAccountLinkParams) SetContext ¶
func (o *AdminAccountLinkParams) SetContext(ctx context.Context)
SetContext adds the context to the admin account link params
func (*AdminAccountLinkParams) SetFlightId ¶
func (o *AdminAccountLinkParams) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*AdminAccountLinkParams) SetHTTPClient ¶
func (o *AdminAccountLinkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin account link params
func (*AdminAccountLinkParams) SetHTTPClientTransport ¶
func (o *AdminAccountLinkParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin account link params
func (*AdminAccountLinkParams) SetNamespace ¶
func (o *AdminAccountLinkParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin account link params
func (*AdminAccountLinkParams) SetTimeout ¶
func (o *AdminAccountLinkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin account link params
func (*AdminAccountLinkParams) WithBody ¶
func (o *AdminAccountLinkParams) WithBody(body *amsclientmodels.APIAccountLinkRequest) *AdminAccountLinkParams
WithBody adds the body to the admin account link params
func (*AdminAccountLinkParams) WithContext ¶
func (o *AdminAccountLinkParams) WithContext(ctx context.Context) *AdminAccountLinkParams
WithContext adds the context to the admin account link params
func (*AdminAccountLinkParams) WithHTTPClient ¶
func (o *AdminAccountLinkParams) WithHTTPClient(client *http.Client) *AdminAccountLinkParams
WithHTTPClient adds the HTTPClient to the admin account link params
func (*AdminAccountLinkParams) WithNamespace ¶
func (o *AdminAccountLinkParams) WithNamespace(namespace string) *AdminAccountLinkParams
WithNamespace adds the namespace to the admin account link params
func (*AdminAccountLinkParams) WithTimeout ¶
func (o *AdminAccountLinkParams) WithTimeout(timeout time.Duration) *AdminAccountLinkParams
WithTimeout adds the timeout to the admin account link params
func (*AdminAccountLinkParams) WriteToRequest ¶
func (o *AdminAccountLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminAccountLinkReader ¶
type AdminAccountLinkReader struct {
// contains filtered or unexported fields
}
AdminAccountLinkReader is a Reader for the AdminAccountLink structure.
func (*AdminAccountLinkReader) ReadResponse ¶
func (o *AdminAccountLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminAccountLinkResponse ¶
type AdminAccountLinkResponse struct { amsclientmodels.ApiResponse Data *amsclientmodels.APIAccountLinkResponse Error401 *amsclientmodels.ResponseErrorResponse Error403 *amsclientmodels.ResponseErrorResponse Error500 *amsclientmodels.ResponseErrorResponse }
func (*AdminAccountLinkResponse) Unpack ¶
func (m *AdminAccountLinkResponse) Unpack() (*amsclientmodels.APIAccountLinkResponse, *amsclientmodels.ApiError)
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 (o *AdminAccountLinkTokenGetForbidden) Error() string
func (*AdminAccountLinkTokenGetForbidden) GetPayload ¶
func (o *AdminAccountLinkTokenGetForbidden) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AdminAccountLinkTokenGetInternalServerError) Error() string
func (*AdminAccountLinkTokenGetInternalServerError) GetPayload ¶
func (o *AdminAccountLinkTokenGetInternalServerError) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AdminAccountLinkTokenGetInternalServerError) ToJSONString ¶
func (o *AdminAccountLinkTokenGetInternalServerError) ToJSONString() string
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 (o *AdminAccountLinkTokenGetNotFound) Error() string
func (*AdminAccountLinkTokenGetNotFound) GetPayload ¶
func (o *AdminAccountLinkTokenGetNotFound) GetPayload() *amsclientmodels.ResponseErrorResponse
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 (o *AdminAccountLinkTokenGetOK) Error() string
func (*AdminAccountLinkTokenGetOK) GetPayload ¶
func (o *AdminAccountLinkTokenGetOK) GetPayload() *amsclientmodels.APIAccountLinkTokenResponse
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 ¶
func (o *AdminAccountLinkTokenGetParams) WithContext(ctx context.Context) *AdminAccountLinkTokenGetParams
WithContext adds the context to the admin account link token get params
func (*AdminAccountLinkTokenGetParams) WithHTTPClient ¶
func (o *AdminAccountLinkTokenGetParams) WithHTTPClient(client *http.Client) *AdminAccountLinkTokenGetParams
WithHTTPClient adds the HTTPClient to the admin account link token get params
func (*AdminAccountLinkTokenGetParams) WithNamespace ¶
func (o *AdminAccountLinkTokenGetParams) WithNamespace(namespace string) *AdminAccountLinkTokenGetParams
WithNamespace adds the namespace to the admin account link token get params
func (*AdminAccountLinkTokenGetParams) WithTimeout ¶
func (o *AdminAccountLinkTokenGetParams) WithTimeout(timeout time.Duration) *AdminAccountLinkTokenGetParams
WithTimeout adds the timeout to the admin account link token get params
func (*AdminAccountLinkTokenGetParams) WriteToRequest ¶
func (o *AdminAccountLinkTokenGetParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 AdminAccountLinkTokenGetResponse ¶
type AdminAccountLinkTokenGetResponse struct { amsclientmodels.ApiResponse Data *amsclientmodels.APIAccountLinkTokenResponse Error401 *amsclientmodels.ResponseErrorResponse Error403 *amsclientmodels.ResponseErrorResponse Error404 *amsclientmodels.ResponseErrorResponse Error500 *amsclientmodels.ResponseErrorResponse }
func (*AdminAccountLinkTokenGetResponse) Unpack ¶
func (m *AdminAccountLinkTokenGetResponse) Unpack() (*amsclientmodels.APIAccountLinkTokenResponse, *amsclientmodels.ApiError)
type AdminAccountLinkTokenGetUnauthorized ¶
type AdminAccountLinkTokenGetUnauthorized struct {
}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 (o *AdminAccountLinkTokenGetUnauthorized) Error() string
func (*AdminAccountLinkTokenGetUnauthorized) GetPayload ¶
func (o *AdminAccountLinkTokenGetUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AdminAccountLinkTokenGetUnauthorized) ToJSONString ¶
func (o *AdminAccountLinkTokenGetUnauthorized) ToJSONString() string
type AdminAccountLinkUnauthorized ¶
type AdminAccountLinkUnauthorized struct {
}AdminAccountLinkUnauthorized handles this case with default header values.
no authorization provided
func NewAdminAccountLinkUnauthorized ¶
func NewAdminAccountLinkUnauthorized() *AdminAccountLinkUnauthorized
NewAdminAccountLinkUnauthorized creates a AdminAccountLinkUnauthorized with default headers values
func (*AdminAccountLinkUnauthorized) Error ¶
func (o *AdminAccountLinkUnauthorized) Error() string
func (*AdminAccountLinkUnauthorized) GetPayload ¶
func (o *AdminAccountLinkUnauthorized) GetPayload() *amsclientmodels.ResponseErrorResponse
func (*AdminAccountLinkUnauthorized) ToJSONString ¶
func (o *AdminAccountLinkUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for account API
func (*Client) AccountGetShort ¶
func (a *Client) AccountGetShort(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetResponse, error)
AccountGetShort get the account associated with the namespace Required Permission: NAMESPACE:{namespace}:AMS:ACCOUNT [READ]
func (*Client) AdminAccountCreateShort ¶
func (a *Client) AdminAccountCreateShort(params *AdminAccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountCreateResponse, error)
AdminAccountCreateShort create a new ams account Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [CREATE]
func (*Client) AdminAccountGetShort ¶
func (a *Client) AdminAccountGetShort(params *AdminAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountGetResponse, error)
AdminAccountGetShort get the account associated with the namespace Required Permission: ADMIN:NAMESPACE:{namespace}:ARMADA:ACCOUNT [READ]
func (*Client) AdminAccountLinkShort ¶
func (a *Client) AdminAccountLinkShort(params *AdminAccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkResponse, error)
AdminAccountLinkShort 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) AdminAccountLinkTokenGetShort ¶
func (a *Client) AdminAccountLinkTokenGetShort(params *AdminAccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenGetResponse, 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) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminAccountGetShort(params *AdminAccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountGetResponse, error) AdminAccountCreateShort(params *AdminAccountCreateParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountCreateResponse, error) AdminAccountLinkTokenGetShort(params *AdminAccountLinkTokenGetParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkTokenGetResponse, error) AdminAccountLinkShort(params *AdminAccountLinkParams, authInfo runtime.ClientAuthInfoWriter) (*AdminAccountLinkResponse, error) AccountGetShort(params *AccountGetParams, authInfo runtime.ClientAuthInfoWriter) (*AccountGetResponse, 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.
Source Files
¶
- account_client.go
- account_get_parameters.go
- account_get_responses.go
- admin_account_create_parameters.go
- admin_account_create_responses.go
- admin_account_get_parameters.go
- admin_account_get_responses.go
- admin_account_link_parameters.go
- admin_account_link_responses.go
- admin_account_link_token_get_parameters.go
- admin_account_link_token_get_responses.go