Documentation ¶
Index ¶
- type Client
- func (a *Client) PublicListTagsHandlerV1(params *PublicListTagsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsHandlerV1OK, *PublicListTagsHandlerV1BadRequest, ...)deprecated
- func (a *Client) PublicListTagsHandlerV1Short(params *PublicListTagsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsHandlerV1OK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type PublicListTagsHandlerV1BadRequest
- type PublicListTagsHandlerV1Forbidden
- type PublicListTagsHandlerV1InternalServerError
- type PublicListTagsHandlerV1OK
- type PublicListTagsHandlerV1Params
- func NewPublicListTagsHandlerV1Params() *PublicListTagsHandlerV1Params
- func NewPublicListTagsHandlerV1ParamsWithContext(ctx context.Context) *PublicListTagsHandlerV1Params
- func NewPublicListTagsHandlerV1ParamsWithHTTPClient(client *http.Client) *PublicListTagsHandlerV1Params
- func NewPublicListTagsHandlerV1ParamsWithTimeout(timeout time.Duration) *PublicListTagsHandlerV1Params
- func (o *PublicListTagsHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *PublicListTagsHandlerV1Params) SetContext(ctx context.Context)
- func (o *PublicListTagsHandlerV1Params) SetFlightId(flightId string)
- func (o *PublicListTagsHandlerV1Params) SetHTTPClient(client *http.Client)
- func (o *PublicListTagsHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *PublicListTagsHandlerV1Params) SetLimit(limit *int64)
- func (o *PublicListTagsHandlerV1Params) SetNamespace(namespace string)
- func (o *PublicListTagsHandlerV1Params) SetOffset(offset *int64)
- func (o *PublicListTagsHandlerV1Params) SetTimeout(timeout time.Duration)
- func (o *PublicListTagsHandlerV1Params) WithContext(ctx context.Context) *PublicListTagsHandlerV1Params
- func (o *PublicListTagsHandlerV1Params) WithHTTPClient(client *http.Client) *PublicListTagsHandlerV1Params
- func (o *PublicListTagsHandlerV1Params) WithLimit(limit *int64) *PublicListTagsHandlerV1Params
- func (o *PublicListTagsHandlerV1Params) WithNamespace(namespace string) *PublicListTagsHandlerV1Params
- func (o *PublicListTagsHandlerV1Params) WithOffset(offset *int64) *PublicListTagsHandlerV1Params
- func (o *PublicListTagsHandlerV1Params) WithTimeout(timeout time.Duration) *PublicListTagsHandlerV1Params
- func (o *PublicListTagsHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicListTagsHandlerV1Reader
- type PublicListTagsHandlerV1Unauthorized
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for public tags API
func (*Client) PublicListTagsHandlerV1
deprecated
func (a *Client) PublicListTagsHandlerV1(params *PublicListTagsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsHandlerV1OK, *PublicListTagsHandlerV1BadRequest, *PublicListTagsHandlerV1Unauthorized, *PublicListTagsHandlerV1Forbidden, *PublicListTagsHandlerV1InternalServerError, error)
Deprecated: 2022-08-10 - Use PublicListTagsHandlerV1Short instead.
PublicListTagsHandlerV1 list tags ## Description
Retrieve list of available tags by namespace
func (*Client) PublicListTagsHandlerV1Short ¶
func (a *Client) PublicListTagsHandlerV1Short(params *PublicListTagsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsHandlerV1OK, error)
PublicListTagsHandlerV1Short list tags ## Description
Retrieve list of available tags by namespace
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { PublicListTagsHandlerV1(params *PublicListTagsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsHandlerV1OK, *PublicListTagsHandlerV1BadRequest, *PublicListTagsHandlerV1Unauthorized, *PublicListTagsHandlerV1Forbidden, *PublicListTagsHandlerV1InternalServerError, error) PublicListTagsHandlerV1Short(params *PublicListTagsHandlerV1Params, authInfo runtime.ClientAuthInfoWriter) (*PublicListTagsHandlerV1OK, 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 public tags API client.
type PublicListTagsHandlerV1BadRequest ¶
type PublicListTagsHandlerV1BadRequest struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PublicListTagsHandlerV1BadRequest handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18503</td><td>unable to list tags</td></tr></table>
func NewPublicListTagsHandlerV1BadRequest ¶
func NewPublicListTagsHandlerV1BadRequest() *PublicListTagsHandlerV1BadRequest
NewPublicListTagsHandlerV1BadRequest creates a PublicListTagsHandlerV1BadRequest with default headers values
func (*PublicListTagsHandlerV1BadRequest) Error ¶
func (o *PublicListTagsHandlerV1BadRequest) Error() string
func (*PublicListTagsHandlerV1BadRequest) GetPayload ¶
func (o *PublicListTagsHandlerV1BadRequest) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicListTagsHandlerV1BadRequest) ToJSONString ¶
func (o *PublicListTagsHandlerV1BadRequest) ToJSONString() string
type PublicListTagsHandlerV1Forbidden ¶
type PublicListTagsHandlerV1Forbidden struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PublicListTagsHandlerV1Forbidden handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20013</td><td>insufficient permission</td></tr></table>
func NewPublicListTagsHandlerV1Forbidden ¶
func NewPublicListTagsHandlerV1Forbidden() *PublicListTagsHandlerV1Forbidden
NewPublicListTagsHandlerV1Forbidden creates a PublicListTagsHandlerV1Forbidden with default headers values
func (*PublicListTagsHandlerV1Forbidden) Error ¶
func (o *PublicListTagsHandlerV1Forbidden) Error() string
func (*PublicListTagsHandlerV1Forbidden) GetPayload ¶
func (o *PublicListTagsHandlerV1Forbidden) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicListTagsHandlerV1Forbidden) ToJSONString ¶
func (o *PublicListTagsHandlerV1Forbidden) ToJSONString() string
type PublicListTagsHandlerV1InternalServerError ¶
type PublicListTagsHandlerV1InternalServerError struct {
Payload *cloudsaveclientmodels.ModelsResponseError
}
PublicListTagsHandlerV1InternalServerError handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>18502</td><td>unable to list tags</td></tr></table>
func NewPublicListTagsHandlerV1InternalServerError ¶
func NewPublicListTagsHandlerV1InternalServerError() *PublicListTagsHandlerV1InternalServerError
NewPublicListTagsHandlerV1InternalServerError creates a PublicListTagsHandlerV1InternalServerError with default headers values
func (*PublicListTagsHandlerV1InternalServerError) Error ¶
func (o *PublicListTagsHandlerV1InternalServerError) Error() string
func (*PublicListTagsHandlerV1InternalServerError) GetPayload ¶
func (o *PublicListTagsHandlerV1InternalServerError) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicListTagsHandlerV1InternalServerError) ToJSONString ¶
func (o *PublicListTagsHandlerV1InternalServerError) ToJSONString() string
type PublicListTagsHandlerV1OK ¶
type PublicListTagsHandlerV1OK struct {
Payload *cloudsaveclientmodels.ModelsListTagsResponse
}
PublicListTagsHandlerV1OK handles this case with default header values.
Available tags retrieved
func NewPublicListTagsHandlerV1OK ¶
func NewPublicListTagsHandlerV1OK() *PublicListTagsHandlerV1OK
NewPublicListTagsHandlerV1OK creates a PublicListTagsHandlerV1OK with default headers values
func (*PublicListTagsHandlerV1OK) Error ¶
func (o *PublicListTagsHandlerV1OK) Error() string
func (*PublicListTagsHandlerV1OK) GetPayload ¶
func (o *PublicListTagsHandlerV1OK) GetPayload() *cloudsaveclientmodels.ModelsListTagsResponse
func (*PublicListTagsHandlerV1OK) ToJSONString ¶
func (o *PublicListTagsHandlerV1OK) ToJSONString() string
type PublicListTagsHandlerV1Params ¶
type PublicListTagsHandlerV1Params struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game, only accept alphabet and numeric */ Namespace string /*Limit the number of data retrieved in a page, default 25 */ Limit *int64 /*Offset the number of offset, default 0 */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // XFlightId is an optional parameter from this SDK XFlightId *string // contains filtered or unexported fields }
PublicListTagsHandlerV1Params contains all the parameters to send to the API endpoint for the public list tags handler v1 operation typically these are written to a http.Request
func NewPublicListTagsHandlerV1Params ¶
func NewPublicListTagsHandlerV1Params() *PublicListTagsHandlerV1Params
NewPublicListTagsHandlerV1Params creates a new PublicListTagsHandlerV1Params object with the default values initialized.
func NewPublicListTagsHandlerV1ParamsWithContext ¶
func NewPublicListTagsHandlerV1ParamsWithContext(ctx context.Context) *PublicListTagsHandlerV1Params
NewPublicListTagsHandlerV1ParamsWithContext creates a new PublicListTagsHandlerV1Params object with the default values initialized, and the ability to set a context for a request
func NewPublicListTagsHandlerV1ParamsWithHTTPClient ¶
func NewPublicListTagsHandlerV1ParamsWithHTTPClient(client *http.Client) *PublicListTagsHandlerV1Params
NewPublicListTagsHandlerV1ParamsWithHTTPClient creates a new PublicListTagsHandlerV1Params object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPublicListTagsHandlerV1ParamsWithTimeout ¶
func NewPublicListTagsHandlerV1ParamsWithTimeout(timeout time.Duration) *PublicListTagsHandlerV1Params
NewPublicListTagsHandlerV1ParamsWithTimeout creates a new PublicListTagsHandlerV1Params object with the default values initialized, and the ability to set a timeout on a request
func (*PublicListTagsHandlerV1Params) SetAuthInfoWriter ¶
func (o *PublicListTagsHandlerV1Params) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) SetContext ¶
func (o *PublicListTagsHandlerV1Params) SetContext(ctx context.Context)
SetContext adds the context to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) SetFlightId ¶
func (o *PublicListTagsHandlerV1Params) SetFlightId(flightId string)
SetFlightId adds the flightId as the header value for this specific endpoint
func (*PublicListTagsHandlerV1Params) SetHTTPClient ¶
func (o *PublicListTagsHandlerV1Params) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) SetHTTPClientTransport ¶
func (o *PublicListTagsHandlerV1Params) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) SetLimit ¶
func (o *PublicListTagsHandlerV1Params) SetLimit(limit *int64)
SetLimit adds the limit to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) SetNamespace ¶
func (o *PublicListTagsHandlerV1Params) SetNamespace(namespace string)
SetNamespace adds the namespace to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) SetOffset ¶
func (o *PublicListTagsHandlerV1Params) SetOffset(offset *int64)
SetOffset adds the offset to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) SetTimeout ¶
func (o *PublicListTagsHandlerV1Params) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) WithContext ¶
func (o *PublicListTagsHandlerV1Params) WithContext(ctx context.Context) *PublicListTagsHandlerV1Params
WithContext adds the context to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) WithHTTPClient ¶
func (o *PublicListTagsHandlerV1Params) WithHTTPClient(client *http.Client) *PublicListTagsHandlerV1Params
WithHTTPClient adds the HTTPClient to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) WithLimit ¶
func (o *PublicListTagsHandlerV1Params) WithLimit(limit *int64) *PublicListTagsHandlerV1Params
WithLimit adds the limit to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) WithNamespace ¶
func (o *PublicListTagsHandlerV1Params) WithNamespace(namespace string) *PublicListTagsHandlerV1Params
WithNamespace adds the namespace to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) WithOffset ¶
func (o *PublicListTagsHandlerV1Params) WithOffset(offset *int64) *PublicListTagsHandlerV1Params
WithOffset adds the offset to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) WithTimeout ¶
func (o *PublicListTagsHandlerV1Params) WithTimeout(timeout time.Duration) *PublicListTagsHandlerV1Params
WithTimeout adds the timeout to the public list tags handler v1 params
func (*PublicListTagsHandlerV1Params) WriteToRequest ¶
func (o *PublicListTagsHandlerV1Params) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PublicListTagsHandlerV1Reader ¶
type PublicListTagsHandlerV1Reader struct {
// contains filtered or unexported fields
}
PublicListTagsHandlerV1Reader is a Reader for the PublicListTagsHandlerV1 structure.
func (*PublicListTagsHandlerV1Reader) ReadResponse ¶
func (o *PublicListTagsHandlerV1Reader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PublicListTagsHandlerV1Unauthorized ¶
type PublicListTagsHandlerV1Unauthorized struct {
}PublicListTagsHandlerV1Unauthorized handles this case with default header values.
<table><tr><td>errorCode</td><td>errorMessage</td></tr><tr><td>20001</td><td>unauthorized access</td></tr></table>
func NewPublicListTagsHandlerV1Unauthorized ¶
func NewPublicListTagsHandlerV1Unauthorized() *PublicListTagsHandlerV1Unauthorized
NewPublicListTagsHandlerV1Unauthorized creates a PublicListTagsHandlerV1Unauthorized with default headers values
func (*PublicListTagsHandlerV1Unauthorized) Error ¶
func (o *PublicListTagsHandlerV1Unauthorized) Error() string
func (*PublicListTagsHandlerV1Unauthorized) GetPayload ¶
func (o *PublicListTagsHandlerV1Unauthorized) GetPayload() *cloudsaveclientmodels.ModelsResponseError
func (*PublicListTagsHandlerV1Unauthorized) ToJSONString ¶
func (o *PublicListTagsHandlerV1Unauthorized) ToJSONString() string