Documentation ¶
Index ¶
- type AdminCreateTypeBadRequest
- type AdminCreateTypeConflict
- type AdminCreateTypeCreated
- type AdminCreateTypeInternalServerError
- type AdminCreateTypeParams
- func NewAdminCreateTypeParams() *AdminCreateTypeParams
- func NewAdminCreateTypeParamsWithContext(ctx context.Context) *AdminCreateTypeParams
- func NewAdminCreateTypeParamsWithHTTPClient(client *http.Client) *AdminCreateTypeParams
- func NewAdminCreateTypeParamsWithTimeout(timeout time.Duration) *AdminCreateTypeParams
- func (o *AdminCreateTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminCreateTypeParams) SetBody(body *ugcclientmodels.ModelsCreateTypeRequest)
- func (o *AdminCreateTypeParams) SetContext(ctx context.Context)
- func (o *AdminCreateTypeParams) SetHTTPClient(client *http.Client)
- func (o *AdminCreateTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminCreateTypeParams) SetNamespace(namespace string)
- func (o *AdminCreateTypeParams) SetTimeout(timeout time.Duration)
- func (o *AdminCreateTypeParams) WithBody(body *ugcclientmodels.ModelsCreateTypeRequest) *AdminCreateTypeParams
- func (o *AdminCreateTypeParams) WithContext(ctx context.Context) *AdminCreateTypeParams
- func (o *AdminCreateTypeParams) WithHTTPClient(client *http.Client) *AdminCreateTypeParams
- func (o *AdminCreateTypeParams) WithNamespace(namespace string) *AdminCreateTypeParams
- func (o *AdminCreateTypeParams) WithTimeout(timeout time.Duration) *AdminCreateTypeParams
- func (o *AdminCreateTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminCreateTypeReader
- type AdminCreateTypeUnauthorized
- type AdminDeleteTypeInternalServerError
- type AdminDeleteTypeNoContent
- type AdminDeleteTypeNotFound
- type AdminDeleteTypeParams
- func NewAdminDeleteTypeParams() *AdminDeleteTypeParams
- func NewAdminDeleteTypeParamsWithContext(ctx context.Context) *AdminDeleteTypeParams
- func NewAdminDeleteTypeParamsWithHTTPClient(client *http.Client) *AdminDeleteTypeParams
- func NewAdminDeleteTypeParamsWithTimeout(timeout time.Duration) *AdminDeleteTypeParams
- func (o *AdminDeleteTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminDeleteTypeParams) SetContext(ctx context.Context)
- func (o *AdminDeleteTypeParams) SetHTTPClient(client *http.Client)
- func (o *AdminDeleteTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminDeleteTypeParams) SetNamespace(namespace string)
- func (o *AdminDeleteTypeParams) SetTimeout(timeout time.Duration)
- func (o *AdminDeleteTypeParams) SetTypeID(typeID string)
- func (o *AdminDeleteTypeParams) WithContext(ctx context.Context) *AdminDeleteTypeParams
- func (o *AdminDeleteTypeParams) WithHTTPClient(client *http.Client) *AdminDeleteTypeParams
- func (o *AdminDeleteTypeParams) WithNamespace(namespace string) *AdminDeleteTypeParams
- func (o *AdminDeleteTypeParams) WithTimeout(timeout time.Duration) *AdminDeleteTypeParams
- func (o *AdminDeleteTypeParams) WithTypeID(typeID string) *AdminDeleteTypeParams
- func (o *AdminDeleteTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminDeleteTypeReader
- type AdminDeleteTypeUnauthorized
- type AdminGetTypeInternalServerError
- type AdminGetTypeNotFound
- type AdminGetTypeOK
- type AdminGetTypeParams
- func (o *AdminGetTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetTypeParams) SetContext(ctx context.Context)
- func (o *AdminGetTypeParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetTypeParams) SetLimit(limit *int64)
- func (o *AdminGetTypeParams) SetNamespace(namespace string)
- func (o *AdminGetTypeParams) SetOffset(offset *int64)
- func (o *AdminGetTypeParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetTypeParams) WithContext(ctx context.Context) *AdminGetTypeParams
- func (o *AdminGetTypeParams) WithHTTPClient(client *http.Client) *AdminGetTypeParams
- func (o *AdminGetTypeParams) WithLimit(limit *int64) *AdminGetTypeParams
- func (o *AdminGetTypeParams) WithNamespace(namespace string) *AdminGetTypeParams
- func (o *AdminGetTypeParams) WithOffset(offset *int64) *AdminGetTypeParams
- func (o *AdminGetTypeParams) WithTimeout(timeout time.Duration) *AdminGetTypeParams
- func (o *AdminGetTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetTypeReader
- type AdminGetTypeUnauthorized
- type AdminUpdateTypeBadRequest
- type AdminUpdateTypeConflict
- type AdminUpdateTypeInternalServerError
- type AdminUpdateTypeNotFound
- type AdminUpdateTypeOK
- type AdminUpdateTypeParams
- func NewAdminUpdateTypeParams() *AdminUpdateTypeParams
- func NewAdminUpdateTypeParamsWithContext(ctx context.Context) *AdminUpdateTypeParams
- func NewAdminUpdateTypeParamsWithHTTPClient(client *http.Client) *AdminUpdateTypeParams
- func NewAdminUpdateTypeParamsWithTimeout(timeout time.Duration) *AdminUpdateTypeParams
- func (o *AdminUpdateTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateTypeParams) SetBody(body *ugcclientmodels.ModelsCreateTypeRequest)
- func (o *AdminUpdateTypeParams) SetContext(ctx context.Context)
- func (o *AdminUpdateTypeParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateTypeParams) SetNamespace(namespace string)
- func (o *AdminUpdateTypeParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateTypeParams) SetTypeID(typeID string)
- func (o *AdminUpdateTypeParams) WithBody(body *ugcclientmodels.ModelsCreateTypeRequest) *AdminUpdateTypeParams
- func (o *AdminUpdateTypeParams) WithContext(ctx context.Context) *AdminUpdateTypeParams
- func (o *AdminUpdateTypeParams) WithHTTPClient(client *http.Client) *AdminUpdateTypeParams
- func (o *AdminUpdateTypeParams) WithNamespace(namespace string) *AdminUpdateTypeParams
- func (o *AdminUpdateTypeParams) WithTimeout(timeout time.Duration) *AdminUpdateTypeParams
- func (o *AdminUpdateTypeParams) WithTypeID(typeID string) *AdminUpdateTypeParams
- func (o *AdminUpdateTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateTypeReader
- type AdminUpdateTypeUnauthorized
- type Client
- func (a *Client) AdminCreateType(params *AdminCreateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTypeCreated, *AdminCreateTypeBadRequest, ...)deprecated
- func (a *Client) AdminCreateTypeShort(params *AdminCreateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTypeCreated, error)
- func (a *Client) AdminDeleteType(params *AdminDeleteTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTypeNoContent, *AdminDeleteTypeUnauthorized, ...)deprecated
- func (a *Client) AdminDeleteTypeShort(params *AdminDeleteTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTypeNoContent, error)
- func (a *Client) AdminGetType(params *AdminGetTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTypeOK, *AdminGetTypeUnauthorized, *AdminGetTypeNotFound, ...)deprecated
- func (a *Client) AdminGetTypeShort(params *AdminGetTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTypeOK, error)
- func (a *Client) AdminUpdateType(params *AdminUpdateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTypeOK, *AdminUpdateTypeBadRequest, *AdminUpdateTypeUnauthorized, ...)deprecated
- func (a *Client) AdminUpdateTypeShort(params *AdminUpdateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTypeOK, 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 AdminCreateTypeBadRequest ¶
type AdminCreateTypeBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateTypeBadRequest handles this case with default header values.
Bad Request
func NewAdminCreateTypeBadRequest ¶
func NewAdminCreateTypeBadRequest() *AdminCreateTypeBadRequest
NewAdminCreateTypeBadRequest creates a AdminCreateTypeBadRequest with default headers values
func (*AdminCreateTypeBadRequest) Error ¶
func (o *AdminCreateTypeBadRequest) Error() string
func (*AdminCreateTypeBadRequest) GetPayload ¶
func (o *AdminCreateTypeBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateTypeBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateTypeBadRequest) ToJSONString() string
type AdminCreateTypeConflict ¶
type AdminCreateTypeConflict struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateTypeConflict handles this case with default header values.
Conflict
func NewAdminCreateTypeConflict ¶
func NewAdminCreateTypeConflict() *AdminCreateTypeConflict
NewAdminCreateTypeConflict creates a AdminCreateTypeConflict with default headers values
func (*AdminCreateTypeConflict) Error ¶
func (o *AdminCreateTypeConflict) Error() string
func (*AdminCreateTypeConflict) GetPayload ¶
func (o *AdminCreateTypeConflict) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateTypeConflict) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateTypeConflict) ToJSONString() string
type AdminCreateTypeCreated ¶
type AdminCreateTypeCreated struct {
Payload *ugcclientmodels.ModelsCreateTypeResponse
}
AdminCreateTypeCreated handles this case with default header values.
Created
func NewAdminCreateTypeCreated ¶
func NewAdminCreateTypeCreated() *AdminCreateTypeCreated
NewAdminCreateTypeCreated creates a AdminCreateTypeCreated with default headers values
func (*AdminCreateTypeCreated) Error ¶
func (o *AdminCreateTypeCreated) Error() string
func (*AdminCreateTypeCreated) GetPayload ¶
func (o *AdminCreateTypeCreated) GetPayload() *ugcclientmodels.ModelsCreateTypeResponse
func (*AdminCreateTypeCreated) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateTypeCreated) ToJSONString() string
type AdminCreateTypeInternalServerError ¶
type AdminCreateTypeInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminCreateTypeInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminCreateTypeInternalServerError ¶
func NewAdminCreateTypeInternalServerError() *AdminCreateTypeInternalServerError
NewAdminCreateTypeInternalServerError creates a AdminCreateTypeInternalServerError with default headers values
func (*AdminCreateTypeInternalServerError) Error ¶
func (o *AdminCreateTypeInternalServerError) Error() string
func (*AdminCreateTypeInternalServerError) GetPayload ¶
func (o *AdminCreateTypeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateTypeInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateTypeInternalServerError) ToJSONString() string
type AdminCreateTypeParams ¶
type AdminCreateTypeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateTypeRequest /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminCreateTypeParams contains all the parameters to send to the API endpoint for the admin create type operation typically these are written to a http.Request
func NewAdminCreateTypeParams ¶
func NewAdminCreateTypeParams() *AdminCreateTypeParams
NewAdminCreateTypeParams creates a new AdminCreateTypeParams object with the default values initialized.
func NewAdminCreateTypeParamsWithContext ¶
func NewAdminCreateTypeParamsWithContext(ctx context.Context) *AdminCreateTypeParams
NewAdminCreateTypeParamsWithContext creates a new AdminCreateTypeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminCreateTypeParamsWithHTTPClient ¶
func NewAdminCreateTypeParamsWithHTTPClient(client *http.Client) *AdminCreateTypeParams
NewAdminCreateTypeParamsWithHTTPClient creates a new AdminCreateTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminCreateTypeParamsWithTimeout ¶
func NewAdminCreateTypeParamsWithTimeout(timeout time.Duration) *AdminCreateTypeParams
NewAdminCreateTypeParamsWithTimeout creates a new AdminCreateTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminCreateTypeParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminCreateTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin create type params
func (*AdminCreateTypeParams) SetBody ¶
func (o *AdminCreateTypeParams) SetBody(body *ugcclientmodels.ModelsCreateTypeRequest)
SetBody adds the body to the admin create type params
func (*AdminCreateTypeParams) SetContext ¶
func (o *AdminCreateTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin create type params
func (*AdminCreateTypeParams) SetHTTPClient ¶
func (o *AdminCreateTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin create type params
func (*AdminCreateTypeParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminCreateTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin create type params
func (*AdminCreateTypeParams) SetNamespace ¶
func (o *AdminCreateTypeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin create type params
func (*AdminCreateTypeParams) SetTimeout ¶
func (o *AdminCreateTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin create type params
func (*AdminCreateTypeParams) WithBody ¶
func (o *AdminCreateTypeParams) WithBody(body *ugcclientmodels.ModelsCreateTypeRequest) *AdminCreateTypeParams
WithBody adds the body to the admin create type params
func (*AdminCreateTypeParams) WithContext ¶
func (o *AdminCreateTypeParams) WithContext(ctx context.Context) *AdminCreateTypeParams
WithContext adds the context to the admin create type params
func (*AdminCreateTypeParams) WithHTTPClient ¶
func (o *AdminCreateTypeParams) WithHTTPClient(client *http.Client) *AdminCreateTypeParams
WithHTTPClient adds the HTTPClient to the admin create type params
func (*AdminCreateTypeParams) WithNamespace ¶
func (o *AdminCreateTypeParams) WithNamespace(namespace string) *AdminCreateTypeParams
WithNamespace adds the namespace to the admin create type params
func (*AdminCreateTypeParams) WithTimeout ¶
func (o *AdminCreateTypeParams) WithTimeout(timeout time.Duration) *AdminCreateTypeParams
WithTimeout adds the timeout to the admin create type params
func (*AdminCreateTypeParams) WriteToRequest ¶
func (o *AdminCreateTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminCreateTypeReader ¶
type AdminCreateTypeReader struct {
// contains filtered or unexported fields
}
AdminCreateTypeReader is a Reader for the AdminCreateType structure.
func (*AdminCreateTypeReader) ReadResponse ¶
func (o *AdminCreateTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminCreateTypeUnauthorized ¶
type AdminCreateTypeUnauthorized struct {
}AdminCreateTypeUnauthorized handles this case with default header values.
Unauthorized
func NewAdminCreateTypeUnauthorized ¶
func NewAdminCreateTypeUnauthorized() *AdminCreateTypeUnauthorized
NewAdminCreateTypeUnauthorized creates a AdminCreateTypeUnauthorized with default headers values
func (*AdminCreateTypeUnauthorized) Error ¶
func (o *AdminCreateTypeUnauthorized) Error() string
func (*AdminCreateTypeUnauthorized) GetPayload ¶
func (o *AdminCreateTypeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminCreateTypeUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminCreateTypeUnauthorized) ToJSONString() string
type AdminDeleteTypeInternalServerError ¶
type AdminDeleteTypeInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminDeleteTypeInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminDeleteTypeInternalServerError ¶
func NewAdminDeleteTypeInternalServerError() *AdminDeleteTypeInternalServerError
NewAdminDeleteTypeInternalServerError creates a AdminDeleteTypeInternalServerError with default headers values
func (*AdminDeleteTypeInternalServerError) Error ¶
func (o *AdminDeleteTypeInternalServerError) Error() string
func (*AdminDeleteTypeInternalServerError) GetPayload ¶
func (o *AdminDeleteTypeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteTypeInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteTypeInternalServerError) ToJSONString() string
type AdminDeleteTypeNoContent ¶
type AdminDeleteTypeNoContent struct { }
AdminDeleteTypeNoContent handles this case with default header values.
No Content
func NewAdminDeleteTypeNoContent ¶
func NewAdminDeleteTypeNoContent() *AdminDeleteTypeNoContent
NewAdminDeleteTypeNoContent creates a AdminDeleteTypeNoContent with default headers values
func (*AdminDeleteTypeNoContent) Error ¶
func (o *AdminDeleteTypeNoContent) Error() string
type AdminDeleteTypeNotFound ¶
type AdminDeleteTypeNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminDeleteTypeNotFound handles this case with default header values.
Not Found
func NewAdminDeleteTypeNotFound ¶
func NewAdminDeleteTypeNotFound() *AdminDeleteTypeNotFound
NewAdminDeleteTypeNotFound creates a AdminDeleteTypeNotFound with default headers values
func (*AdminDeleteTypeNotFound) Error ¶
func (o *AdminDeleteTypeNotFound) Error() string
func (*AdminDeleteTypeNotFound) GetPayload ¶
func (o *AdminDeleteTypeNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteTypeNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteTypeNotFound) ToJSONString() string
type AdminDeleteTypeParams ¶
type AdminDeleteTypeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*TypeID type ID */ TypeID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminDeleteTypeParams contains all the parameters to send to the API endpoint for the admin delete type operation typically these are written to a http.Request
func NewAdminDeleteTypeParams ¶
func NewAdminDeleteTypeParams() *AdminDeleteTypeParams
NewAdminDeleteTypeParams creates a new AdminDeleteTypeParams object with the default values initialized.
func NewAdminDeleteTypeParamsWithContext ¶
func NewAdminDeleteTypeParamsWithContext(ctx context.Context) *AdminDeleteTypeParams
NewAdminDeleteTypeParamsWithContext creates a new AdminDeleteTypeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminDeleteTypeParamsWithHTTPClient ¶
func NewAdminDeleteTypeParamsWithHTTPClient(client *http.Client) *AdminDeleteTypeParams
NewAdminDeleteTypeParamsWithHTTPClient creates a new AdminDeleteTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminDeleteTypeParamsWithTimeout ¶
func NewAdminDeleteTypeParamsWithTimeout(timeout time.Duration) *AdminDeleteTypeParams
NewAdminDeleteTypeParamsWithTimeout creates a new AdminDeleteTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminDeleteTypeParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminDeleteTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin delete type params
func (*AdminDeleteTypeParams) SetContext ¶
func (o *AdminDeleteTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin delete type params
func (*AdminDeleteTypeParams) SetHTTPClient ¶
func (o *AdminDeleteTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin delete type params
func (*AdminDeleteTypeParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminDeleteTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin delete type params
func (*AdminDeleteTypeParams) SetNamespace ¶
func (o *AdminDeleteTypeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin delete type params
func (*AdminDeleteTypeParams) SetTimeout ¶
func (o *AdminDeleteTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin delete type params
func (*AdminDeleteTypeParams) SetTypeID ¶
func (o *AdminDeleteTypeParams) SetTypeID(typeID string)
SetTypeID adds the typeId to the admin delete type params
func (*AdminDeleteTypeParams) WithContext ¶
func (o *AdminDeleteTypeParams) WithContext(ctx context.Context) *AdminDeleteTypeParams
WithContext adds the context to the admin delete type params
func (*AdminDeleteTypeParams) WithHTTPClient ¶
func (o *AdminDeleteTypeParams) WithHTTPClient(client *http.Client) *AdminDeleteTypeParams
WithHTTPClient adds the HTTPClient to the admin delete type params
func (*AdminDeleteTypeParams) WithNamespace ¶
func (o *AdminDeleteTypeParams) WithNamespace(namespace string) *AdminDeleteTypeParams
WithNamespace adds the namespace to the admin delete type params
func (*AdminDeleteTypeParams) WithTimeout ¶
func (o *AdminDeleteTypeParams) WithTimeout(timeout time.Duration) *AdminDeleteTypeParams
WithTimeout adds the timeout to the admin delete type params
func (*AdminDeleteTypeParams) WithTypeID ¶
func (o *AdminDeleteTypeParams) WithTypeID(typeID string) *AdminDeleteTypeParams
WithTypeID adds the typeID to the admin delete type params
func (*AdminDeleteTypeParams) WriteToRequest ¶
func (o *AdminDeleteTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminDeleteTypeReader ¶
type AdminDeleteTypeReader struct {
// contains filtered or unexported fields
}
AdminDeleteTypeReader is a Reader for the AdminDeleteType structure.
func (*AdminDeleteTypeReader) ReadResponse ¶
func (o *AdminDeleteTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminDeleteTypeUnauthorized ¶
type AdminDeleteTypeUnauthorized struct {
}AdminDeleteTypeUnauthorized handles this case with default header values.
Unauthorized
func NewAdminDeleteTypeUnauthorized ¶
func NewAdminDeleteTypeUnauthorized() *AdminDeleteTypeUnauthorized
NewAdminDeleteTypeUnauthorized creates a AdminDeleteTypeUnauthorized with default headers values
func (*AdminDeleteTypeUnauthorized) Error ¶
func (o *AdminDeleteTypeUnauthorized) Error() string
func (*AdminDeleteTypeUnauthorized) GetPayload ¶
func (o *AdminDeleteTypeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminDeleteTypeUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminDeleteTypeUnauthorized) ToJSONString() string
type AdminGetTypeInternalServerError ¶
type AdminGetTypeInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetTypeInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetTypeInternalServerError ¶
func NewAdminGetTypeInternalServerError() *AdminGetTypeInternalServerError
NewAdminGetTypeInternalServerError creates a AdminGetTypeInternalServerError with default headers values
func (*AdminGetTypeInternalServerError) Error ¶
func (o *AdminGetTypeInternalServerError) Error() string
func (*AdminGetTypeInternalServerError) GetPayload ¶
func (o *AdminGetTypeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetTypeInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminGetTypeInternalServerError) ToJSONString() string
type AdminGetTypeNotFound ¶
type AdminGetTypeNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetTypeNotFound handles this case with default header values.
Not Found
func NewAdminGetTypeNotFound ¶
func NewAdminGetTypeNotFound() *AdminGetTypeNotFound
NewAdminGetTypeNotFound creates a AdminGetTypeNotFound with default headers values
func (*AdminGetTypeNotFound) Error ¶
func (o *AdminGetTypeNotFound) Error() string
func (*AdminGetTypeNotFound) GetPayload ¶
func (o *AdminGetTypeNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetTypeNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminGetTypeNotFound) ToJSONString() string
type AdminGetTypeOK ¶
type AdminGetTypeOK struct {
Payload *ugcclientmodels.ModelsPaginatedGetTypeResponse
}
AdminGetTypeOK handles this case with default header values.
OK
func NewAdminGetTypeOK ¶
func NewAdminGetTypeOK() *AdminGetTypeOK
NewAdminGetTypeOK creates a AdminGetTypeOK with default headers values
func (*AdminGetTypeOK) Error ¶
func (o *AdminGetTypeOK) Error() string
func (*AdminGetTypeOK) GetPayload ¶
func (o *AdminGetTypeOK) GetPayload() *ugcclientmodels.ModelsPaginatedGetTypeResponse
func (*AdminGetTypeOK) ToJSONString ¶ added in v0.25.0
func (o *AdminGetTypeOK) ToJSONString() string
type AdminGetTypeParams ¶
type AdminGetTypeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Limit number of content per page */ Limit *int64 /*Offset the offset number to retrieve */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetTypeParams contains all the parameters to send to the API endpoint for the admin get type operation typically these are written to a http.Request
func NewAdminGetTypeParams ¶
func NewAdminGetTypeParams() *AdminGetTypeParams
NewAdminGetTypeParams creates a new AdminGetTypeParams object with the default values initialized.
func NewAdminGetTypeParamsWithContext ¶
func NewAdminGetTypeParamsWithContext(ctx context.Context) *AdminGetTypeParams
NewAdminGetTypeParamsWithContext creates a new AdminGetTypeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetTypeParamsWithHTTPClient ¶
func NewAdminGetTypeParamsWithHTTPClient(client *http.Client) *AdminGetTypeParams
NewAdminGetTypeParamsWithHTTPClient creates a new AdminGetTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetTypeParamsWithTimeout ¶
func NewAdminGetTypeParamsWithTimeout(timeout time.Duration) *AdminGetTypeParams
NewAdminGetTypeParamsWithTimeout creates a new AdminGetTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetTypeParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminGetTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get type params
func (*AdminGetTypeParams) SetContext ¶
func (o *AdminGetTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get type params
func (*AdminGetTypeParams) SetHTTPClient ¶
func (o *AdminGetTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get type params
func (*AdminGetTypeParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminGetTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get type params
func (*AdminGetTypeParams) SetLimit ¶
func (o *AdminGetTypeParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get type params
func (*AdminGetTypeParams) SetNamespace ¶
func (o *AdminGetTypeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get type params
func (*AdminGetTypeParams) SetOffset ¶
func (o *AdminGetTypeParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get type params
func (*AdminGetTypeParams) SetTimeout ¶
func (o *AdminGetTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get type params
func (*AdminGetTypeParams) WithContext ¶
func (o *AdminGetTypeParams) WithContext(ctx context.Context) *AdminGetTypeParams
WithContext adds the context to the admin get type params
func (*AdminGetTypeParams) WithHTTPClient ¶
func (o *AdminGetTypeParams) WithHTTPClient(client *http.Client) *AdminGetTypeParams
WithHTTPClient adds the HTTPClient to the admin get type params
func (*AdminGetTypeParams) WithLimit ¶
func (o *AdminGetTypeParams) WithLimit(limit *int64) *AdminGetTypeParams
WithLimit adds the limit to the admin get type params
func (*AdminGetTypeParams) WithNamespace ¶
func (o *AdminGetTypeParams) WithNamespace(namespace string) *AdminGetTypeParams
WithNamespace adds the namespace to the admin get type params
func (*AdminGetTypeParams) WithOffset ¶
func (o *AdminGetTypeParams) WithOffset(offset *int64) *AdminGetTypeParams
WithOffset adds the offset to the admin get type params
func (*AdminGetTypeParams) WithTimeout ¶
func (o *AdminGetTypeParams) WithTimeout(timeout time.Duration) *AdminGetTypeParams
WithTimeout adds the timeout to the admin get type params
func (*AdminGetTypeParams) WriteToRequest ¶
func (o *AdminGetTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetTypeReader ¶
type AdminGetTypeReader struct {
// contains filtered or unexported fields
}
AdminGetTypeReader is a Reader for the AdminGetType structure.
func (*AdminGetTypeReader) ReadResponse ¶
func (o *AdminGetTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetTypeUnauthorized ¶
type AdminGetTypeUnauthorized struct {
}AdminGetTypeUnauthorized handles this case with default header values.
Unauthorized
func NewAdminGetTypeUnauthorized ¶
func NewAdminGetTypeUnauthorized() *AdminGetTypeUnauthorized
NewAdminGetTypeUnauthorized creates a AdminGetTypeUnauthorized with default headers values
func (*AdminGetTypeUnauthorized) Error ¶
func (o *AdminGetTypeUnauthorized) Error() string
func (*AdminGetTypeUnauthorized) GetPayload ¶
func (o *AdminGetTypeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetTypeUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminGetTypeUnauthorized) ToJSONString() string
type AdminUpdateTypeBadRequest ¶
type AdminUpdateTypeBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateTypeBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateTypeBadRequest ¶
func NewAdminUpdateTypeBadRequest() *AdminUpdateTypeBadRequest
NewAdminUpdateTypeBadRequest creates a AdminUpdateTypeBadRequest with default headers values
func (*AdminUpdateTypeBadRequest) Error ¶
func (o *AdminUpdateTypeBadRequest) Error() string
func (*AdminUpdateTypeBadRequest) GetPayload ¶
func (o *AdminUpdateTypeBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateTypeBadRequest) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateTypeBadRequest) ToJSONString() string
type AdminUpdateTypeConflict ¶
type AdminUpdateTypeConflict struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateTypeConflict handles this case with default header values.
Conflict
func NewAdminUpdateTypeConflict ¶
func NewAdminUpdateTypeConflict() *AdminUpdateTypeConflict
NewAdminUpdateTypeConflict creates a AdminUpdateTypeConflict with default headers values
func (*AdminUpdateTypeConflict) Error ¶
func (o *AdminUpdateTypeConflict) Error() string
func (*AdminUpdateTypeConflict) GetPayload ¶
func (o *AdminUpdateTypeConflict) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateTypeConflict) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateTypeConflict) ToJSONString() string
type AdminUpdateTypeInternalServerError ¶
type AdminUpdateTypeInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateTypeInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateTypeInternalServerError ¶
func NewAdminUpdateTypeInternalServerError() *AdminUpdateTypeInternalServerError
NewAdminUpdateTypeInternalServerError creates a AdminUpdateTypeInternalServerError with default headers values
func (*AdminUpdateTypeInternalServerError) Error ¶
func (o *AdminUpdateTypeInternalServerError) Error() string
func (*AdminUpdateTypeInternalServerError) GetPayload ¶
func (o *AdminUpdateTypeInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateTypeInternalServerError) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateTypeInternalServerError) ToJSONString() string
type AdminUpdateTypeNotFound ¶
type AdminUpdateTypeNotFound struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateTypeNotFound handles this case with default header values.
Not Found
func NewAdminUpdateTypeNotFound ¶
func NewAdminUpdateTypeNotFound() *AdminUpdateTypeNotFound
NewAdminUpdateTypeNotFound creates a AdminUpdateTypeNotFound with default headers values
func (*AdminUpdateTypeNotFound) Error ¶
func (o *AdminUpdateTypeNotFound) Error() string
func (*AdminUpdateTypeNotFound) GetPayload ¶
func (o *AdminUpdateTypeNotFound) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateTypeNotFound) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateTypeNotFound) ToJSONString() string
type AdminUpdateTypeOK ¶
type AdminUpdateTypeOK struct {
Payload *ugcclientmodels.ModelsCreateTypeResponse
}
AdminUpdateTypeOK handles this case with default header values.
OK
func NewAdminUpdateTypeOK ¶
func NewAdminUpdateTypeOK() *AdminUpdateTypeOK
NewAdminUpdateTypeOK creates a AdminUpdateTypeOK with default headers values
func (*AdminUpdateTypeOK) Error ¶
func (o *AdminUpdateTypeOK) Error() string
func (*AdminUpdateTypeOK) GetPayload ¶
func (o *AdminUpdateTypeOK) GetPayload() *ugcclientmodels.ModelsCreateTypeResponse
func (*AdminUpdateTypeOK) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateTypeOK) ToJSONString() string
type AdminUpdateTypeParams ¶
type AdminUpdateTypeParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsCreateTypeRequest /*Namespace namespace of the game */ Namespace string /*TypeID type ID */ TypeID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateTypeParams contains all the parameters to send to the API endpoint for the admin update type operation typically these are written to a http.Request
func NewAdminUpdateTypeParams ¶
func NewAdminUpdateTypeParams() *AdminUpdateTypeParams
NewAdminUpdateTypeParams creates a new AdminUpdateTypeParams object with the default values initialized.
func NewAdminUpdateTypeParamsWithContext ¶
func NewAdminUpdateTypeParamsWithContext(ctx context.Context) *AdminUpdateTypeParams
NewAdminUpdateTypeParamsWithContext creates a new AdminUpdateTypeParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateTypeParamsWithHTTPClient ¶
func NewAdminUpdateTypeParamsWithHTTPClient(client *http.Client) *AdminUpdateTypeParams
NewAdminUpdateTypeParamsWithHTTPClient creates a new AdminUpdateTypeParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateTypeParamsWithTimeout ¶
func NewAdminUpdateTypeParamsWithTimeout(timeout time.Duration) *AdminUpdateTypeParams
NewAdminUpdateTypeParamsWithTimeout creates a new AdminUpdateTypeParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateTypeParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *AdminUpdateTypeParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update type params
func (*AdminUpdateTypeParams) SetBody ¶
func (o *AdminUpdateTypeParams) SetBody(body *ugcclientmodels.ModelsCreateTypeRequest)
SetBody adds the body to the admin update type params
func (*AdminUpdateTypeParams) SetContext ¶
func (o *AdminUpdateTypeParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update type params
func (*AdminUpdateTypeParams) SetHTTPClient ¶
func (o *AdminUpdateTypeParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update type params
func (*AdminUpdateTypeParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *AdminUpdateTypeParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update type params
func (*AdminUpdateTypeParams) SetNamespace ¶
func (o *AdminUpdateTypeParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update type params
func (*AdminUpdateTypeParams) SetTimeout ¶
func (o *AdminUpdateTypeParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update type params
func (*AdminUpdateTypeParams) SetTypeID ¶
func (o *AdminUpdateTypeParams) SetTypeID(typeID string)
SetTypeID adds the typeId to the admin update type params
func (*AdminUpdateTypeParams) WithBody ¶
func (o *AdminUpdateTypeParams) WithBody(body *ugcclientmodels.ModelsCreateTypeRequest) *AdminUpdateTypeParams
WithBody adds the body to the admin update type params
func (*AdminUpdateTypeParams) WithContext ¶
func (o *AdminUpdateTypeParams) WithContext(ctx context.Context) *AdminUpdateTypeParams
WithContext adds the context to the admin update type params
func (*AdminUpdateTypeParams) WithHTTPClient ¶
func (o *AdminUpdateTypeParams) WithHTTPClient(client *http.Client) *AdminUpdateTypeParams
WithHTTPClient adds the HTTPClient to the admin update type params
func (*AdminUpdateTypeParams) WithNamespace ¶
func (o *AdminUpdateTypeParams) WithNamespace(namespace string) *AdminUpdateTypeParams
WithNamespace adds the namespace to the admin update type params
func (*AdminUpdateTypeParams) WithTimeout ¶
func (o *AdminUpdateTypeParams) WithTimeout(timeout time.Duration) *AdminUpdateTypeParams
WithTimeout adds the timeout to the admin update type params
func (*AdminUpdateTypeParams) WithTypeID ¶
func (o *AdminUpdateTypeParams) WithTypeID(typeID string) *AdminUpdateTypeParams
WithTypeID adds the typeID to the admin update type params
func (*AdminUpdateTypeParams) WriteToRequest ¶
func (o *AdminUpdateTypeParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateTypeReader ¶
type AdminUpdateTypeReader struct {
// contains filtered or unexported fields
}
AdminUpdateTypeReader is a Reader for the AdminUpdateType structure.
func (*AdminUpdateTypeReader) ReadResponse ¶
func (o *AdminUpdateTypeReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateTypeUnauthorized ¶
type AdminUpdateTypeUnauthorized struct {
}AdminUpdateTypeUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateTypeUnauthorized ¶
func NewAdminUpdateTypeUnauthorized() *AdminUpdateTypeUnauthorized
NewAdminUpdateTypeUnauthorized creates a AdminUpdateTypeUnauthorized with default headers values
func (*AdminUpdateTypeUnauthorized) Error ¶
func (o *AdminUpdateTypeUnauthorized) Error() string
func (*AdminUpdateTypeUnauthorized) GetPayload ¶
func (o *AdminUpdateTypeUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateTypeUnauthorized) ToJSONString ¶ added in v0.25.0
func (o *AdminUpdateTypeUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin type API
func (*Client) AdminCreateType
deprecated
func (a *Client) AdminCreateType(params *AdminCreateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTypeCreated, *AdminCreateTypeBadRequest, *AdminCreateTypeUnauthorized, *AdminCreateTypeConflict, *AdminCreateTypeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminCreateTypeShort instead.
AdminCreateType create types Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [CREATE] creates a new type and subtype
func (*Client) AdminCreateTypeShort ¶
func (a *Client) AdminCreateTypeShort(params *AdminCreateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTypeCreated, error)
AdminCreateTypeShort create types Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [CREATE] creates a new type and subtype
func (*Client) AdminDeleteType
deprecated
func (a *Client) AdminDeleteType(params *AdminDeleteTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTypeNoContent, *AdminDeleteTypeUnauthorized, *AdminDeleteTypeNotFound, *AdminDeleteTypeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminDeleteTypeShort instead.
AdminDeleteType delete types Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [DELETE]
func (*Client) AdminDeleteTypeShort ¶
func (a *Client) AdminDeleteTypeShort(params *AdminDeleteTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTypeNoContent, error)
AdminDeleteTypeShort delete types Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [DELETE]
func (*Client) AdminGetType
deprecated
func (a *Client) AdminGetType(params *AdminGetTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTypeOK, *AdminGetTypeUnauthorized, *AdminGetTypeNotFound, *AdminGetTypeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetTypeShort instead.
AdminGetType get types Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [READ]
func (*Client) AdminGetTypeShort ¶
func (a *Client) AdminGetTypeShort(params *AdminGetTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTypeOK, error)
AdminGetTypeShort get types Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [READ]
func (*Client) AdminUpdateType
deprecated
func (a *Client) AdminUpdateType(params *AdminUpdateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTypeOK, *AdminUpdateTypeBadRequest, *AdminUpdateTypeUnauthorized, *AdminUpdateTypeNotFound, *AdminUpdateTypeConflict, *AdminUpdateTypeInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateTypeShort instead.
AdminUpdateType update types Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [UPDATE] updates a type and subtype
func (*Client) AdminUpdateTypeShort ¶
func (a *Client) AdminUpdateTypeShort(params *AdminUpdateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTypeOK, error)
AdminUpdateTypeShort update types Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [UPDATE] updates a type and subtype
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminGetType(params *AdminGetTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTypeOK, *AdminGetTypeUnauthorized, *AdminGetTypeNotFound, *AdminGetTypeInternalServerError, error) AdminGetTypeShort(params *AdminGetTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetTypeOK, error) AdminCreateType(params *AdminCreateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTypeCreated, *AdminCreateTypeBadRequest, *AdminCreateTypeUnauthorized, *AdminCreateTypeConflict, *AdminCreateTypeInternalServerError, error) AdminCreateTypeShort(params *AdminCreateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminCreateTypeCreated, error) AdminUpdateType(params *AdminUpdateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTypeOK, *AdminUpdateTypeBadRequest, *AdminUpdateTypeUnauthorized, *AdminUpdateTypeNotFound, *AdminUpdateTypeConflict, *AdminUpdateTypeInternalServerError, error) AdminUpdateTypeShort(params *AdminUpdateTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateTypeOK, error) AdminDeleteType(params *AdminDeleteTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTypeNoContent, *AdminDeleteTypeUnauthorized, *AdminDeleteTypeNotFound, *AdminDeleteTypeInternalServerError, error) AdminDeleteTypeShort(params *AdminDeleteTypeParams, authInfo runtime.ClientAuthInfoWriter) (*AdminDeleteTypeNoContent, 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 type API client.