Documentation
¶
Index ¶
- type Client
- func (a *Client) GetTag(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, *GetTagUnauthorized, *GetTagNotFound, *GetTagInternalServerError, ...)
- func (a *Client) GetTagShort(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetTagInternalServerError
- type GetTagNotFound
- type GetTagOK
- type GetTagParams
- func (o *GetTagParams) SetContext(ctx context.Context)
- func (o *GetTagParams) SetHTTPClient(client *http.Client)
- func (o *GetTagParams) SetLimit(limit *string)
- func (o *GetTagParams) SetNamespace(namespace string)
- func (o *GetTagParams) SetOffset(offset *string)
- func (o *GetTagParams) SetTimeout(timeout time.Duration)
- func (o *GetTagParams) WithContext(ctx context.Context) *GetTagParams
- func (o *GetTagParams) WithHTTPClient(client *http.Client) *GetTagParams
- func (o *GetTagParams) WithLimit(limit *string) *GetTagParams
- func (o *GetTagParams) WithNamespace(namespace string) *GetTagParams
- func (o *GetTagParams) WithOffset(offset *string) *GetTagParams
- func (o *GetTagParams) WithTimeout(timeout time.Duration) *GetTagParams
- func (o *GetTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetTagReader
- type GetTagUnauthorized
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 nr public tag API
func (*Client) GetTag ¶
func (a *Client) GetTag(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, *GetTagUnauthorized, *GetTagNotFound, *GetTagInternalServerError, error)
GetTag gets tags
Requires valid user token
func (*Client) GetTagShort ¶ added in v0.8.0
func (a *Client) GetTagShort(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetTag(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, *GetTagUnauthorized, *GetTagNotFound, *GetTagInternalServerError, error) GetTagShort(params *GetTagParams, authInfo runtime.ClientAuthInfoWriter) (*GetTagOK, 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 nr public tag API client.
type GetTagInternalServerError ¶
type GetTagInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
GetTagInternalServerError handles this case with default header values.
Internal Server Error
func NewGetTagInternalServerError ¶
func NewGetTagInternalServerError() *GetTagInternalServerError
NewGetTagInternalServerError creates a GetTagInternalServerError with default headers values
func (*GetTagInternalServerError) Error ¶
func (o *GetTagInternalServerError) Error() string
func (*GetTagInternalServerError) GetPayload ¶
func (o *GetTagInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type GetTagNotFound ¶
type GetTagNotFound struct {
Payload *ugcclientmodels.ResponseError
}
GetTagNotFound handles this case with default header values.
Not Found
func NewGetTagNotFound ¶
func NewGetTagNotFound() *GetTagNotFound
NewGetTagNotFound creates a GetTagNotFound with default headers values
func (*GetTagNotFound) Error ¶
func (o *GetTagNotFound) Error() string
func (*GetTagNotFound) GetPayload ¶
func (o *GetTagNotFound) GetPayload() *ugcclientmodels.ResponseError
type GetTagOK ¶
type GetTagOK struct {
Payload *ugcclientmodels.ModelsPaginatedGetTagResponse
}
GetTagOK handles this case with default header values.
OK
func NewGetTagOK ¶
func NewGetTagOK() *GetTagOK
NewGetTagOK creates a GetTagOK with default headers values
func (*GetTagOK) GetPayload ¶
func (o *GetTagOK) GetPayload() *ugcclientmodels.ModelsPaginatedGetTagResponse
type GetTagParams ¶
type GetTagParams struct { /*Limit number of content per page */ Limit *string /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetTagParams contains all the parameters to send to the API endpoint for the get tag operation typically these are written to a http.Request
func NewGetTagParams ¶
func NewGetTagParams() *GetTagParams
NewGetTagParams creates a new GetTagParams object with the default values initialized.
func NewGetTagParamsWithContext ¶
func NewGetTagParamsWithContext(ctx context.Context) *GetTagParams
NewGetTagParamsWithContext creates a new GetTagParams object with the default values initialized, and the ability to set a context for a request
func NewGetTagParamsWithHTTPClient ¶
func NewGetTagParamsWithHTTPClient(client *http.Client) *GetTagParams
NewGetTagParamsWithHTTPClient creates a new GetTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetTagParamsWithTimeout ¶
func NewGetTagParamsWithTimeout(timeout time.Duration) *GetTagParams
NewGetTagParamsWithTimeout creates a new GetTagParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetTagParams) SetContext ¶
func (o *GetTagParams) SetContext(ctx context.Context)
SetContext adds the context to the get tag params
func (*GetTagParams) SetHTTPClient ¶
func (o *GetTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get tag params
func (*GetTagParams) SetLimit ¶
func (o *GetTagParams) SetLimit(limit *string)
SetLimit adds the limit to the get tag params
func (*GetTagParams) SetNamespace ¶
func (o *GetTagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get tag params
func (*GetTagParams) SetOffset ¶
func (o *GetTagParams) SetOffset(offset *string)
SetOffset adds the offset to the get tag params
func (*GetTagParams) SetTimeout ¶
func (o *GetTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get tag params
func (*GetTagParams) WithContext ¶
func (o *GetTagParams) WithContext(ctx context.Context) *GetTagParams
WithContext adds the context to the get tag params
func (*GetTagParams) WithHTTPClient ¶
func (o *GetTagParams) WithHTTPClient(client *http.Client) *GetTagParams
WithHTTPClient adds the HTTPClient to the get tag params
func (*GetTagParams) WithLimit ¶
func (o *GetTagParams) WithLimit(limit *string) *GetTagParams
WithLimit adds the limit to the get tag params
func (*GetTagParams) WithNamespace ¶
func (o *GetTagParams) WithNamespace(namespace string) *GetTagParams
WithNamespace adds the namespace to the get tag params
func (*GetTagParams) WithOffset ¶
func (o *GetTagParams) WithOffset(offset *string) *GetTagParams
WithOffset adds the offset to the get tag params
func (*GetTagParams) WithTimeout ¶
func (o *GetTagParams) WithTimeout(timeout time.Duration) *GetTagParams
WithTimeout adds the timeout to the get tag params
func (*GetTagParams) WriteToRequest ¶
func (o *GetTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetTagReader ¶
type GetTagReader struct {
// contains filtered or unexported fields
}
GetTagReader is a Reader for the GetTag structure.
func (*GetTagReader) ReadResponse ¶
func (o *GetTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetTagUnauthorized ¶
type GetTagUnauthorized struct {
}GetTagUnauthorized handles this case with default header values.
Unauthorized
func NewGetTagUnauthorized ¶
func NewGetTagUnauthorized() *GetTagUnauthorized
NewGetTagUnauthorized creates a GetTagUnauthorized with default headers values
func (*GetTagUnauthorized) Error ¶
func (o *GetTagUnauthorized) Error() string
func (*GetTagUnauthorized) GetPayload ¶
func (o *GetTagUnauthorized) GetPayload() *ugcclientmodels.ResponseError