Documentation
¶
Index ¶
- type AdminCreateTagBadRequest
- type AdminCreateTagConflict
- type AdminCreateTagCreated
- type AdminCreateTagInternalServerError
- type AdminCreateTagParams
- func NewAdminCreateTagParams() *AdminCreateTagParams
- func NewAdminCreateTagParamsWithContext(ctx context.Context) *AdminCreateTagParams
- func NewAdminCreateTagParamsWithHTTPClient(client *http.Client) *AdminCreateTagParams
- func NewAdminCreateTagParamsWithTimeout(timeout time.Duration) *AdminCreateTagParams
- func (o *AdminCreateTagParams) SetBody(body *ugcclientmodels.ModelsCreateTagRequest)
- func (o *AdminCreateTagParams) SetContext(ctx context.Context)
- func (o *AdminCreateTagParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateTagParams) SetNamespace(namespace string)
- func (o *AdminCreateTagParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateTagParams) WithBody(body *ugcclientmodels.ModelsCreateTagRequest) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WithContext(ctx context.Context) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WithHTTPClient(client *http.Client) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WithNamespace(namespace string) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WithTimeout(timeout time.Duration) *AdminCreateTagParams
- func (o *AdminCreateTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateTagReader
- type AdminCreateTagUnauthorized
- type AdminDeleteTagInternalServerError
- type AdminDeleteTagNoContent
- type AdminDeleteTagNotFound
- type AdminDeleteTagParams
- func NewAdminDeleteTagParams() *AdminDeleteTagParams
- func NewAdminDeleteTagParamsWithContext(ctx context.Context) *AdminDeleteTagParams
- func NewAdminDeleteTagParamsWithHTTPClient(client *http.Client) *AdminDeleteTagParams
- func NewAdminDeleteTagParamsWithTimeout(timeout time.Duration) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) SetContext(ctx context.Context)
- func (o *AdminDeleteTagParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteTagParams) SetNamespace(namespace string)
- func (o *AdminDeleteTagParams) SetTagID(tagID string)
- func (o *AdminDeleteTagParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteTagParams) WithContext(ctx context.Context) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WithHTTPClient(client *http.Client) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WithNamespace(namespace string) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WithTagID(tagID string) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WithTimeout(timeout time.Duration) *AdminDeleteTagParams
- func (o *AdminDeleteTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteTagReader
- type AdminDeleteTagUnauthorized
- type AdminGetTagInternalServerError
- type AdminGetTagNotFound
- type AdminGetTagOK
- type AdminGetTagParams
- func (o *AdminGetTagParams) SetContext(ctx context.Context)
- func (o *AdminGetTagParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetTagParams) SetLimit(limit *int64)
- func (o *AdminGetTagParams) SetNamespace(namespace string)
- func (o *AdminGetTagParams) SetOffset(offset *int64)
- func (o *AdminGetTagParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetTagParams) WithContext(ctx context.Context) *AdminGetTagParams
- func (o *AdminGetTagParams) WithHTTPClient(client *http.Client) *AdminGetTagParams
- func (o *AdminGetTagParams) WithLimit(limit *int64) *AdminGetTagParams
- func (o *AdminGetTagParams) WithNamespace(namespace string) *AdminGetTagParams
- func (o *AdminGetTagParams) WithOffset(offset *int64) *AdminGetTagParams
- func (o *AdminGetTagParams) WithTimeout(timeout time.Duration) *AdminGetTagParams
- func (o *AdminGetTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetTagReader
- type AdminGetTagUnauthorized
- type AdminUpdateTagBadRequest
- type AdminUpdateTagConflict
- type AdminUpdateTagInternalServerError
- type AdminUpdateTagNotFound
- type AdminUpdateTagOK
- type AdminUpdateTagParams
- func NewAdminUpdateTagParams() *AdminUpdateTagParams
- func NewAdminUpdateTagParamsWithContext(ctx context.Context) *AdminUpdateTagParams
- func NewAdminUpdateTagParamsWithHTTPClient(client *http.Client) *AdminUpdateTagParams
- func NewAdminUpdateTagParamsWithTimeout(timeout time.Duration) *AdminUpdateTagParams
- func (o *AdminUpdateTagParams) SetBody(body *ugcclientmodels.ModelsCreateTagRequest)
- func (o *AdminUpdateTagParams) SetContext(ctx context.Context)
- func (o *AdminUpdateTagParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateTagParams) SetNamespace(namespace string)
- func (o *AdminUpdateTagParams) SetTagID(tagID string)
- func (o *AdminUpdateTagParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateTagParams) WithBody(body *ugcclientmodels.ModelsCreateTagRequest) *AdminUpdateTagParams
- func (o *AdminUpdateTagParams) WithContext(ctx context.Context) *AdminUpdateTagParams
- func (o *AdminUpdateTagParams) WithHTTPClient(client *http.Client) *AdminUpdateTagParams
- func (o *AdminUpdateTagParams) WithNamespace(namespace string) *AdminUpdateTagParams
- func (o *AdminUpdateTagParams) WithTagID(tagID string) *AdminUpdateTagParams
- func (o *AdminUpdateTagParams) WithTimeout(timeout time.Duration) *AdminUpdateTagParams
- func (o *AdminUpdateTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateTagReader
- type AdminUpdateTagUnauthorized
- type Client
- func (a *Client) AdminCreateTag(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, *AdminCreateTagBadRequest, *AdminCreateTagUnauthorized, ...)
- func (a *Client) AdminCreateTagShort(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, error)
- func (a *Client) AdminDeleteTag(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, *AdminDeleteTagUnauthorized, *AdminDeleteTagNotFound, ...)
- func (a *Client) AdminDeleteTagShort(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, error)
- func (a *Client) AdminGetTag(params *AdminGetTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTagOK, *AdminGetTagUnauthorized, *AdminGetTagNotFound, ...)
- func (a *Client) AdminGetTagShort(params *AdminGetTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTagOK, error)
- func (a *Client) AdminUpdateTag(params *AdminUpdateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTagOK, *AdminUpdateTagBadRequest, *AdminUpdateTagUnauthorized, ...)
- func (a *Client) AdminUpdateTagShort(params *AdminUpdateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTagOK, 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 AdminCreateTagBadRequest ¶
type AdminCreateTagBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateTagBadRequest handles this case with default header values.
Bad Request
func NewAdminCreateTagBadRequest ¶
func NewAdminCreateTagBadRequest() *AdminCreateTagBadRequest
NewAdminCreateTagBadRequest creates a AdminCreateTagBadRequest with default headers values
func (*AdminCreateTagBadRequest) Error ¶
func (o *AdminCreateTagBadRequest) Error() string
func (*AdminCreateTagBadRequest) GetPayload ¶
func (o *AdminCreateTagBadRequest) GetPayload() *ugcclientmodels.ResponseError
type AdminCreateTagConflict ¶
type AdminCreateTagConflict struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateTagConflict handles this case with default header values.
Conflict
func NewAdminCreateTagConflict ¶
func NewAdminCreateTagConflict() *AdminCreateTagConflict
NewAdminCreateTagConflict creates a AdminCreateTagConflict with default headers values
func (*AdminCreateTagConflict) Error ¶
func (o *AdminCreateTagConflict) Error() string
func (*AdminCreateTagConflict) GetPayload ¶
func (o *AdminCreateTagConflict) GetPayload() *ugcclientmodels.ResponseError
type AdminCreateTagCreated ¶
type AdminCreateTagCreated struct {
Payload *ugcclientmodels.ModelsCreateTagResponse
}
AdminCreateTagCreated handles this case with default header values.
Created
func NewAdminCreateTagCreated ¶
func NewAdminCreateTagCreated() *AdminCreateTagCreated
NewAdminCreateTagCreated creates a AdminCreateTagCreated with default headers values
func (*AdminCreateTagCreated) Error ¶
func (o *AdminCreateTagCreated) Error() string
func (*AdminCreateTagCreated) GetPayload ¶
func (o *AdminCreateTagCreated) GetPayload() *ugcclientmodels.ModelsCreateTagResponse
type AdminCreateTagInternalServerError ¶
type AdminCreateTagInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateTagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminCreateTagInternalServerError ¶
func NewAdminCreateTagInternalServerError() *AdminCreateTagInternalServerError
NewAdminCreateTagInternalServerError creates a AdminCreateTagInternalServerError with default headers values
func (*AdminCreateTagInternalServerError) Error ¶
func (o *AdminCreateTagInternalServerError) Error() string
func (*AdminCreateTagInternalServerError) GetPayload ¶
func (o *AdminCreateTagInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type AdminCreateTagParams ¶
type AdminCreateTagParams struct { /*Body*/ Body *ugcclientmodels.ModelsCreateTagRequest /*Namespace namespace of the game */ Namespace string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminCreateTagParams contains all the parameters to send to the API endpoint for the admin create tag operation typically these are written to a http.Request
func NewAdminCreateTagParams ¶
func NewAdminCreateTagParams() *AdminCreateTagParams
NewAdminCreateTagParams creates a new AdminCreateTagParams object with the default values initialized.
func NewAdminCreateTagParamsWithContext ¶
func NewAdminCreateTagParamsWithContext(ctx context.Context) *AdminCreateTagParams
NewAdminCreateTagParamsWithContext creates a new AdminCreateTagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateTagParamsWithHTTPClient ¶
func NewAdminCreateTagParamsWithHTTPClient(client *http.Client) *AdminCreateTagParams
NewAdminCreateTagParamsWithHTTPClient creates a new AdminCreateTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateTagParamsWithTimeout ¶
func NewAdminCreateTagParamsWithTimeout(timeout time.Duration) *AdminCreateTagParams
NewAdminCreateTagParamsWithTimeout creates a new AdminCreateTagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateTagParams) SetBody ¶
func (o *AdminCreateTagParams) SetBody(body *ugcclientmodels.ModelsCreateTagRequest)
SetBody adds the body to the admin create tag params
func (*AdminCreateTagParams) SetContext ¶
func (o *AdminCreateTagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create tag params
func (*AdminCreateTagParams) SetHTTPClient ¶
func (o *AdminCreateTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create tag params
func (*AdminCreateTagParams) SetNamespace ¶
func (o *AdminCreateTagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create tag params
func (*AdminCreateTagParams) SetTimeout ¶
func (o *AdminCreateTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create tag params
func (*AdminCreateTagParams) WithBody ¶
func (o *AdminCreateTagParams) WithBody(body *ugcclientmodels.ModelsCreateTagRequest) *AdminCreateTagParams
WithBody adds the body to the admin create tag params
func (*AdminCreateTagParams) WithContext ¶
func (o *AdminCreateTagParams) WithContext(ctx context.Context) *AdminCreateTagParams
WithContext adds the context to the admin create tag params
func (*AdminCreateTagParams) WithHTTPClient ¶
func (o *AdminCreateTagParams) WithHTTPClient(client *http.Client) *AdminCreateTagParams
WithHTTPClient adds the HTTPClient to the admin create tag params
func (*AdminCreateTagParams) WithNamespace ¶
func (o *AdminCreateTagParams) WithNamespace(namespace string) *AdminCreateTagParams
WithNamespace adds the namespace to the admin create tag params
func (*AdminCreateTagParams) WithTimeout ¶
func (o *AdminCreateTagParams) WithTimeout(timeout time.Duration) *AdminCreateTagParams
WithTimeout adds the timeout to the admin create tag params
func (*AdminCreateTagParams) WriteToRequest ¶
func (o *AdminCreateTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateTagReader ¶
type AdminCreateTagReader struct {
// contains filtered or unexported fields
}
AdminCreateTagReader is a Reader for the AdminCreateTag structure.
func (*AdminCreateTagReader) ReadResponse ¶
func (o *AdminCreateTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateTagUnauthorized ¶
type AdminCreateTagUnauthorized struct {
}AdminCreateTagUnauthorized handles this case with default header values.
Unauthorized
func NewAdminCreateTagUnauthorized ¶
func NewAdminCreateTagUnauthorized() *AdminCreateTagUnauthorized
NewAdminCreateTagUnauthorized creates a AdminCreateTagUnauthorized with default headers values
func (*AdminCreateTagUnauthorized) Error ¶
func (o *AdminCreateTagUnauthorized) Error() string
func (*AdminCreateTagUnauthorized) GetPayload ¶
func (o *AdminCreateTagUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type AdminDeleteTagInternalServerError ¶
type AdminDeleteTagInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminDeleteTagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeleteTagInternalServerError ¶
func NewAdminDeleteTagInternalServerError() *AdminDeleteTagInternalServerError
NewAdminDeleteTagInternalServerError creates a AdminDeleteTagInternalServerError with default headers values
func (*AdminDeleteTagInternalServerError) Error ¶
func (o *AdminDeleteTagInternalServerError) Error() string
func (*AdminDeleteTagInternalServerError) GetPayload ¶
func (o *AdminDeleteTagInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type AdminDeleteTagNoContent ¶
type AdminDeleteTagNoContent struct { }
AdminDeleteTagNoContent handles this case with default header values.
No Content
func NewAdminDeleteTagNoContent ¶
func NewAdminDeleteTagNoContent() *AdminDeleteTagNoContent
NewAdminDeleteTagNoContent creates a AdminDeleteTagNoContent with default headers values
func (*AdminDeleteTagNoContent) Error ¶
func (o *AdminDeleteTagNoContent) Error() string
type AdminDeleteTagNotFound ¶
type AdminDeleteTagNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminDeleteTagNotFound handles this case with default header values.
Not Found
func NewAdminDeleteTagNotFound ¶
func NewAdminDeleteTagNotFound() *AdminDeleteTagNotFound
NewAdminDeleteTagNotFound creates a AdminDeleteTagNotFound with default headers values
func (*AdminDeleteTagNotFound) Error ¶
func (o *AdminDeleteTagNotFound) Error() string
func (*AdminDeleteTagNotFound) GetPayload ¶
func (o *AdminDeleteTagNotFound) GetPayload() *ugcclientmodels.ResponseError
type AdminDeleteTagParams ¶
type AdminDeleteTagParams struct { /*Namespace namespace of the game */ Namespace string /*TagID tag ID */ TagID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminDeleteTagParams contains all the parameters to send to the API endpoint for the admin delete tag operation typically these are written to a http.Request
func NewAdminDeleteTagParams ¶
func NewAdminDeleteTagParams() *AdminDeleteTagParams
NewAdminDeleteTagParams creates a new AdminDeleteTagParams object with the default values initialized.
func NewAdminDeleteTagParamsWithContext ¶
func NewAdminDeleteTagParamsWithContext(ctx context.Context) *AdminDeleteTagParams
NewAdminDeleteTagParamsWithContext creates a new AdminDeleteTagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteTagParamsWithHTTPClient ¶
func NewAdminDeleteTagParamsWithHTTPClient(client *http.Client) *AdminDeleteTagParams
NewAdminDeleteTagParamsWithHTTPClient creates a new AdminDeleteTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteTagParamsWithTimeout ¶
func NewAdminDeleteTagParamsWithTimeout(timeout time.Duration) *AdminDeleteTagParams
NewAdminDeleteTagParamsWithTimeout creates a new AdminDeleteTagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteTagParams) SetContext ¶
func (o *AdminDeleteTagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete tag params
func (*AdminDeleteTagParams) SetHTTPClient ¶
func (o *AdminDeleteTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete tag params
func (*AdminDeleteTagParams) SetNamespace ¶
func (o *AdminDeleteTagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete tag params
func (*AdminDeleteTagParams) SetTagID ¶
func (o *AdminDeleteTagParams) SetTagID(tagID string)
SetTagID adds the tagId to the admin delete tag params
func (*AdminDeleteTagParams) SetTimeout ¶
func (o *AdminDeleteTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete tag params
func (*AdminDeleteTagParams) WithContext ¶
func (o *AdminDeleteTagParams) WithContext(ctx context.Context) *AdminDeleteTagParams
WithContext adds the context to the admin delete tag params
func (*AdminDeleteTagParams) WithHTTPClient ¶
func (o *AdminDeleteTagParams) WithHTTPClient(client *http.Client) *AdminDeleteTagParams
WithHTTPClient adds the HTTPClient to the admin delete tag params
func (*AdminDeleteTagParams) WithNamespace ¶
func (o *AdminDeleteTagParams) WithNamespace(namespace string) *AdminDeleteTagParams
WithNamespace adds the namespace to the admin delete tag params
func (*AdminDeleteTagParams) WithTagID ¶
func (o *AdminDeleteTagParams) WithTagID(tagID string) *AdminDeleteTagParams
WithTagID adds the tagID to the admin delete tag params
func (*AdminDeleteTagParams) WithTimeout ¶
func (o *AdminDeleteTagParams) WithTimeout(timeout time.Duration) *AdminDeleteTagParams
WithTimeout adds the timeout to the admin delete tag params
func (*AdminDeleteTagParams) WriteToRequest ¶
func (o *AdminDeleteTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteTagReader ¶
type AdminDeleteTagReader struct {
// contains filtered or unexported fields
}
AdminDeleteTagReader is a Reader for the AdminDeleteTag structure.
func (*AdminDeleteTagReader) ReadResponse ¶
func (o *AdminDeleteTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteTagUnauthorized ¶
type AdminDeleteTagUnauthorized struct {
}AdminDeleteTagUnauthorized handles this case with default header values.
Unauthorized
func NewAdminDeleteTagUnauthorized ¶
func NewAdminDeleteTagUnauthorized() *AdminDeleteTagUnauthorized
NewAdminDeleteTagUnauthorized creates a AdminDeleteTagUnauthorized with default headers values
func (*AdminDeleteTagUnauthorized) Error ¶
func (o *AdminDeleteTagUnauthorized) Error() string
func (*AdminDeleteTagUnauthorized) GetPayload ¶
func (o *AdminDeleteTagUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type AdminGetTagInternalServerError ¶
type AdminGetTagInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetTagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetTagInternalServerError ¶
func NewAdminGetTagInternalServerError() *AdminGetTagInternalServerError
NewAdminGetTagInternalServerError creates a AdminGetTagInternalServerError with default headers values
func (*AdminGetTagInternalServerError) Error ¶
func (o *AdminGetTagInternalServerError) Error() string
func (*AdminGetTagInternalServerError) GetPayload ¶
func (o *AdminGetTagInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type AdminGetTagNotFound ¶
type AdminGetTagNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetTagNotFound handles this case with default header values.
Not Found
func NewAdminGetTagNotFound ¶
func NewAdminGetTagNotFound() *AdminGetTagNotFound
NewAdminGetTagNotFound creates a AdminGetTagNotFound with default headers values
func (*AdminGetTagNotFound) Error ¶
func (o *AdminGetTagNotFound) Error() string
func (*AdminGetTagNotFound) GetPayload ¶
func (o *AdminGetTagNotFound) GetPayload() *ugcclientmodels.ResponseError
type AdminGetTagOK ¶
type AdminGetTagOK struct {
Payload *ugcclientmodels.ModelsPaginatedGetTagResponse
}
AdminGetTagOK handles this case with default header values.
OK
func NewAdminGetTagOK ¶
func NewAdminGetTagOK() *AdminGetTagOK
NewAdminGetTagOK creates a AdminGetTagOK with default headers values
func (*AdminGetTagOK) Error ¶
func (o *AdminGetTagOK) Error() string
func (*AdminGetTagOK) GetPayload ¶
func (o *AdminGetTagOK) GetPayload() *ugcclientmodels.ModelsPaginatedGetTagResponse
type AdminGetTagParams ¶
type AdminGetTagParams struct { /*Limit number of content per page */ Limit *int64 /*Namespace namespace of the game */ Namespace string /*Offset the offset number to retrieve */ Offset *int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetTagParams contains all the parameters to send to the API endpoint for the admin get tag operation typically these are written to a http.Request
func NewAdminGetTagParams ¶
func NewAdminGetTagParams() *AdminGetTagParams
NewAdminGetTagParams creates a new AdminGetTagParams object with the default values initialized.
func NewAdminGetTagParamsWithContext ¶
func NewAdminGetTagParamsWithContext(ctx context.Context) *AdminGetTagParams
NewAdminGetTagParamsWithContext creates a new AdminGetTagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetTagParamsWithHTTPClient ¶
func NewAdminGetTagParamsWithHTTPClient(client *http.Client) *AdminGetTagParams
NewAdminGetTagParamsWithHTTPClient creates a new AdminGetTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetTagParamsWithTimeout ¶
func NewAdminGetTagParamsWithTimeout(timeout time.Duration) *AdminGetTagParams
NewAdminGetTagParamsWithTimeout creates a new AdminGetTagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetTagParams) SetContext ¶
func (o *AdminGetTagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get tag params
func (*AdminGetTagParams) SetHTTPClient ¶
func (o *AdminGetTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get tag params
func (*AdminGetTagParams) SetLimit ¶
func (o *AdminGetTagParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get tag params
func (*AdminGetTagParams) SetNamespace ¶
func (o *AdminGetTagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get tag params
func (*AdminGetTagParams) SetOffset ¶
func (o *AdminGetTagParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get tag params
func (*AdminGetTagParams) SetTimeout ¶
func (o *AdminGetTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get tag params
func (*AdminGetTagParams) WithContext ¶
func (o *AdminGetTagParams) WithContext(ctx context.Context) *AdminGetTagParams
WithContext adds the context to the admin get tag params
func (*AdminGetTagParams) WithHTTPClient ¶
func (o *AdminGetTagParams) WithHTTPClient(client *http.Client) *AdminGetTagParams
WithHTTPClient adds the HTTPClient to the admin get tag params
func (*AdminGetTagParams) WithLimit ¶
func (o *AdminGetTagParams) WithLimit(limit *int64) *AdminGetTagParams
WithLimit adds the limit to the admin get tag params
func (*AdminGetTagParams) WithNamespace ¶
func (o *AdminGetTagParams) WithNamespace(namespace string) *AdminGetTagParams
WithNamespace adds the namespace to the admin get tag params
func (*AdminGetTagParams) WithOffset ¶
func (o *AdminGetTagParams) WithOffset(offset *int64) *AdminGetTagParams
WithOffset adds the offset to the admin get tag params
func (*AdminGetTagParams) WithTimeout ¶
func (o *AdminGetTagParams) WithTimeout(timeout time.Duration) *AdminGetTagParams
WithTimeout adds the timeout to the admin get tag params
func (*AdminGetTagParams) WriteToRequest ¶
func (o *AdminGetTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetTagReader ¶
type AdminGetTagReader struct {
// contains filtered or unexported fields
}
AdminGetTagReader is a Reader for the AdminGetTag structure.
func (*AdminGetTagReader) ReadResponse ¶
func (o *AdminGetTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetTagUnauthorized ¶
type AdminGetTagUnauthorized struct {
}AdminGetTagUnauthorized handles this case with default header values.
Unauthorized
func NewAdminGetTagUnauthorized ¶
func NewAdminGetTagUnauthorized() *AdminGetTagUnauthorized
NewAdminGetTagUnauthorized creates a AdminGetTagUnauthorized with default headers values
func (*AdminGetTagUnauthorized) Error ¶
func (o *AdminGetTagUnauthorized) Error() string
func (*AdminGetTagUnauthorized) GetPayload ¶
func (o *AdminGetTagUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type AdminUpdateTagBadRequest ¶
type AdminUpdateTagBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateTagBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateTagBadRequest ¶
func NewAdminUpdateTagBadRequest() *AdminUpdateTagBadRequest
NewAdminUpdateTagBadRequest creates a AdminUpdateTagBadRequest with default headers values
func (*AdminUpdateTagBadRequest) Error ¶
func (o *AdminUpdateTagBadRequest) Error() string
func (*AdminUpdateTagBadRequest) GetPayload ¶
func (o *AdminUpdateTagBadRequest) GetPayload() *ugcclientmodels.ResponseError
type AdminUpdateTagConflict ¶
type AdminUpdateTagConflict struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateTagConflict handles this case with default header values.
Conflict
func NewAdminUpdateTagConflict ¶
func NewAdminUpdateTagConflict() *AdminUpdateTagConflict
NewAdminUpdateTagConflict creates a AdminUpdateTagConflict with default headers values
func (*AdminUpdateTagConflict) Error ¶
func (o *AdminUpdateTagConflict) Error() string
func (*AdminUpdateTagConflict) GetPayload ¶
func (o *AdminUpdateTagConflict) GetPayload() *ugcclientmodels.ResponseError
type AdminUpdateTagInternalServerError ¶
type AdminUpdateTagInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateTagInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateTagInternalServerError ¶
func NewAdminUpdateTagInternalServerError() *AdminUpdateTagInternalServerError
NewAdminUpdateTagInternalServerError creates a AdminUpdateTagInternalServerError with default headers values
func (*AdminUpdateTagInternalServerError) Error ¶
func (o *AdminUpdateTagInternalServerError) Error() string
func (*AdminUpdateTagInternalServerError) GetPayload ¶
func (o *AdminUpdateTagInternalServerError) GetPayload() *ugcclientmodels.ResponseError
type AdminUpdateTagNotFound ¶
type AdminUpdateTagNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateTagNotFound handles this case with default header values.
Not Found
func NewAdminUpdateTagNotFound ¶
func NewAdminUpdateTagNotFound() *AdminUpdateTagNotFound
NewAdminUpdateTagNotFound creates a AdminUpdateTagNotFound with default headers values
func (*AdminUpdateTagNotFound) Error ¶
func (o *AdminUpdateTagNotFound) Error() string
func (*AdminUpdateTagNotFound) GetPayload ¶
func (o *AdminUpdateTagNotFound) GetPayload() *ugcclientmodels.ResponseError
type AdminUpdateTagOK ¶
type AdminUpdateTagOK struct {
Payload *ugcclientmodels.ModelsCreateTagResponse
}
AdminUpdateTagOK handles this case with default header values.
OK
func NewAdminUpdateTagOK ¶
func NewAdminUpdateTagOK() *AdminUpdateTagOK
NewAdminUpdateTagOK creates a AdminUpdateTagOK with default headers values
func (*AdminUpdateTagOK) Error ¶
func (o *AdminUpdateTagOK) Error() string
func (*AdminUpdateTagOK) GetPayload ¶
func (o *AdminUpdateTagOK) GetPayload() *ugcclientmodels.ModelsCreateTagResponse
type AdminUpdateTagParams ¶
type AdminUpdateTagParams struct { /*Body*/ Body *ugcclientmodels.ModelsCreateTagRequest /*Namespace namespace of the game */ Namespace string /*TagID tag ID */ TagID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateTagParams contains all the parameters to send to the API endpoint for the admin update tag operation typically these are written to a http.Request
func NewAdminUpdateTagParams ¶
func NewAdminUpdateTagParams() *AdminUpdateTagParams
NewAdminUpdateTagParams creates a new AdminUpdateTagParams object with the default values initialized.
func NewAdminUpdateTagParamsWithContext ¶
func NewAdminUpdateTagParamsWithContext(ctx context.Context) *AdminUpdateTagParams
NewAdminUpdateTagParamsWithContext creates a new AdminUpdateTagParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateTagParamsWithHTTPClient ¶
func NewAdminUpdateTagParamsWithHTTPClient(client *http.Client) *AdminUpdateTagParams
NewAdminUpdateTagParamsWithHTTPClient creates a new AdminUpdateTagParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateTagParamsWithTimeout ¶
func NewAdminUpdateTagParamsWithTimeout(timeout time.Duration) *AdminUpdateTagParams
NewAdminUpdateTagParamsWithTimeout creates a new AdminUpdateTagParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateTagParams) SetBody ¶
func (o *AdminUpdateTagParams) SetBody(body *ugcclientmodels.ModelsCreateTagRequest)
SetBody adds the body to the admin update tag params
func (*AdminUpdateTagParams) SetContext ¶
func (o *AdminUpdateTagParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update tag params
func (*AdminUpdateTagParams) SetHTTPClient ¶
func (o *AdminUpdateTagParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update tag params
func (*AdminUpdateTagParams) SetNamespace ¶
func (o *AdminUpdateTagParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update tag params
func (*AdminUpdateTagParams) SetTagID ¶
func (o *AdminUpdateTagParams) SetTagID(tagID string)
SetTagID adds the tagId to the admin update tag params
func (*AdminUpdateTagParams) SetTimeout ¶
func (o *AdminUpdateTagParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update tag params
func (*AdminUpdateTagParams) WithBody ¶
func (o *AdminUpdateTagParams) WithBody(body *ugcclientmodels.ModelsCreateTagRequest) *AdminUpdateTagParams
WithBody adds the body to the admin update tag params
func (*AdminUpdateTagParams) WithContext ¶
func (o *AdminUpdateTagParams) WithContext(ctx context.Context) *AdminUpdateTagParams
WithContext adds the context to the admin update tag params
func (*AdminUpdateTagParams) WithHTTPClient ¶
func (o *AdminUpdateTagParams) WithHTTPClient(client *http.Client) *AdminUpdateTagParams
WithHTTPClient adds the HTTPClient to the admin update tag params
func (*AdminUpdateTagParams) WithNamespace ¶
func (o *AdminUpdateTagParams) WithNamespace(namespace string) *AdminUpdateTagParams
WithNamespace adds the namespace to the admin update tag params
func (*AdminUpdateTagParams) WithTagID ¶
func (o *AdminUpdateTagParams) WithTagID(tagID string) *AdminUpdateTagParams
WithTagID adds the tagID to the admin update tag params
func (*AdminUpdateTagParams) WithTimeout ¶
func (o *AdminUpdateTagParams) WithTimeout(timeout time.Duration) *AdminUpdateTagParams
WithTimeout adds the timeout to the admin update tag params
func (*AdminUpdateTagParams) WriteToRequest ¶
func (o *AdminUpdateTagParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateTagReader ¶
type AdminUpdateTagReader struct {
// contains filtered or unexported fields
}
AdminUpdateTagReader is a Reader for the AdminUpdateTag structure.
func (*AdminUpdateTagReader) ReadResponse ¶
func (o *AdminUpdateTagReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateTagUnauthorized ¶
type AdminUpdateTagUnauthorized struct {
}AdminUpdateTagUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateTagUnauthorized ¶
func NewAdminUpdateTagUnauthorized() *AdminUpdateTagUnauthorized
NewAdminUpdateTagUnauthorized creates a AdminUpdateTagUnauthorized with default headers values
func (*AdminUpdateTagUnauthorized) Error ¶
func (o *AdminUpdateTagUnauthorized) Error() string
func (*AdminUpdateTagUnauthorized) GetPayload ¶
func (o *AdminUpdateTagUnauthorized) GetPayload() *ugcclientmodels.ResponseError
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin tag API
func (*Client) AdminCreateTag ¶
func (a *Client) AdminCreateTag(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, *AdminCreateTagBadRequest, *AdminCreateTagUnauthorized, *AdminCreateTagConflict, *AdminCreateTagInternalServerError, error)
AdminCreateTag creates tags Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [CREATE] creates a new tag
func (*Client) AdminCreateTagShort ¶
func (a *Client) AdminCreateTagShort(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, error)
func (*Client) AdminDeleteTag ¶
func (a *Client) AdminDeleteTag(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, *AdminDeleteTagUnauthorized, *AdminDeleteTagNotFound, *AdminDeleteTagInternalServerError, error)
AdminDeleteTag deletes tags
Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [DELETE]
func (*Client) AdminDeleteTagShort ¶
func (a *Client) AdminDeleteTagShort(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, error)
func (*Client) AdminGetTag ¶
func (a *Client) AdminGetTag(params *AdminGetTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTagOK, *AdminGetTagUnauthorized, *AdminGetTagNotFound, *AdminGetTagInternalServerError, error)
AdminGetTag gets tags
Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [READ]
func (*Client) AdminGetTagShort ¶
func (a *Client) AdminGetTagShort(params *AdminGetTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTagOK, error)
func (*Client) AdminUpdateTag ¶
func (a *Client) AdminUpdateTag(params *AdminUpdateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTagOK, *AdminUpdateTagBadRequest, *AdminUpdateTagUnauthorized, *AdminUpdateTagNotFound, *AdminUpdateTagConflict, *AdminUpdateTagInternalServerError, error)
AdminUpdateTag updates tag Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [UPDATE] updates a tag
func (*Client) AdminUpdateTagShort ¶
func (a *Client) AdminUpdateTagShort(params *AdminUpdateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTagOK, error)
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminCreateTag(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, *AdminCreateTagBadRequest, *AdminCreateTagUnauthorized, *AdminCreateTagConflict, *AdminCreateTagInternalServerError, error) AdminCreateTagShort(params *AdminCreateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTagCreated, error) AdminDeleteTag(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, *AdminDeleteTagUnauthorized, *AdminDeleteTagNotFound, *AdminDeleteTagInternalServerError, error) AdminDeleteTagShort(params *AdminDeleteTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTagNoContent, error) AdminGetTag(params *AdminGetTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTagOK, *AdminGetTagUnauthorized, *AdminGetTagNotFound, *AdminGetTagInternalServerError, error) AdminGetTagShort(params *AdminGetTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTagOK, error) AdminUpdateTag(params *AdminUpdateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTagOK, *AdminUpdateTagBadRequest, *AdminUpdateTagUnauthorized, *AdminUpdateTagNotFound, *AdminUpdateTagConflict, *AdminUpdateTagInternalServerError, error) AdminUpdateTagShort(params *AdminUpdateTagParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTagOK, 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 admin tag API client.