Documentation ¶
Index ¶
- type AdminGetConfigsBadRequest
- type AdminGetConfigsForbidden
- type AdminGetConfigsInternalServerError
- type AdminGetConfigsOK
- type AdminGetConfigsParams
- func NewAdminGetConfigsParams() *AdminGetConfigsParams
- func NewAdminGetConfigsParamsWithContext(ctx context.Context) *AdminGetConfigsParams
- func NewAdminGetConfigsParamsWithHTTPClient(client *http.Client) *AdminGetConfigsParams
- func NewAdminGetConfigsParamsWithTimeout(timeout time.Duration) *AdminGetConfigsParams
- func (o *AdminGetConfigsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminGetConfigsParams) SetContext(ctx context.Context)
- func (o *AdminGetConfigsParams) SetHTTPClient(client *http.Client)
- func (o *AdminGetConfigsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminGetConfigsParams) SetLimit(limit *int64)
- func (o *AdminGetConfigsParams) SetNamespace(namespace string)
- func (o *AdminGetConfigsParams) SetOffset(offset *int64)
- func (o *AdminGetConfigsParams) SetTimeout(timeout time.Duration)
- func (o *AdminGetConfigsParams) WithContext(ctx context.Context) *AdminGetConfigsParams
- func (o *AdminGetConfigsParams) WithHTTPClient(client *http.Client) *AdminGetConfigsParams
- func (o *AdminGetConfigsParams) WithLimit(limit *int64) *AdminGetConfigsParams
- func (o *AdminGetConfigsParams) WithNamespace(namespace string) *AdminGetConfigsParams
- func (o *AdminGetConfigsParams) WithOffset(offset *int64) *AdminGetConfigsParams
- func (o *AdminGetConfigsParams) WithTimeout(timeout time.Duration) *AdminGetConfigsParams
- func (o *AdminGetConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminGetConfigsReader
- type AdminGetConfigsUnauthorized
- type AdminUpdateConfigBadRequest
- type AdminUpdateConfigCreated
- type AdminUpdateConfigForbidden
- type AdminUpdateConfigInternalServerError
- type AdminUpdateConfigParams
- func NewAdminUpdateConfigParams() *AdminUpdateConfigParams
- func NewAdminUpdateConfigParamsWithContext(ctx context.Context) *AdminUpdateConfigParams
- func NewAdminUpdateConfigParamsWithHTTPClient(client *http.Client) *AdminUpdateConfigParams
- func NewAdminUpdateConfigParamsWithTimeout(timeout time.Duration) *AdminUpdateConfigParams
- func (o *AdminUpdateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *AdminUpdateConfigParams) SetBody(body *ugcclientmodels.ModelsUpdateConfigRequest)
- func (o *AdminUpdateConfigParams) SetContext(ctx context.Context)
- func (o *AdminUpdateConfigParams) SetHTTPClient(client *http.Client)
- func (o *AdminUpdateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *AdminUpdateConfigParams) SetKey(key string)
- func (o *AdminUpdateConfigParams) SetNamespace(namespace string)
- func (o *AdminUpdateConfigParams) SetTimeout(timeout time.Duration)
- func (o *AdminUpdateConfigParams) WithBody(body *ugcclientmodels.ModelsUpdateConfigRequest) *AdminUpdateConfigParams
- func (o *AdminUpdateConfigParams) WithContext(ctx context.Context) *AdminUpdateConfigParams
- func (o *AdminUpdateConfigParams) WithHTTPClient(client *http.Client) *AdminUpdateConfigParams
- func (o *AdminUpdateConfigParams) WithKey(key string) *AdminUpdateConfigParams
- func (o *AdminUpdateConfigParams) WithNamespace(namespace string) *AdminUpdateConfigParams
- func (o *AdminUpdateConfigParams) WithTimeout(timeout time.Duration) *AdminUpdateConfigParams
- func (o *AdminUpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type AdminUpdateConfigReader
- type AdminUpdateConfigUnauthorized
- type Client
- func (a *Client) AdminGetConfigs(params *AdminGetConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigsOK, *AdminGetConfigsBadRequest, *AdminGetConfigsUnauthorized, ...)deprecated
- func (a *Client) AdminGetConfigsShort(params *AdminGetConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigsOK, error)
- func (a *Client) AdminUpdateConfig(params *AdminUpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigCreated, *AdminUpdateConfigBadRequest, ...)deprecated
- func (a *Client) AdminUpdateConfigShort(params *AdminUpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigCreated, 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 AdminGetConfigsBadRequest ¶
type AdminGetConfigsBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetConfigsBadRequest handles this case with default header values.
Bad Request
func NewAdminGetConfigsBadRequest ¶
func NewAdminGetConfigsBadRequest() *AdminGetConfigsBadRequest
NewAdminGetConfigsBadRequest creates a AdminGetConfigsBadRequest with default headers values
func (*AdminGetConfigsBadRequest) Error ¶
func (o *AdminGetConfigsBadRequest) Error() string
func (*AdminGetConfigsBadRequest) GetPayload ¶
func (o *AdminGetConfigsBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetConfigsBadRequest) ToJSONString ¶
func (o *AdminGetConfigsBadRequest) ToJSONString() string
type AdminGetConfigsForbidden ¶
type AdminGetConfigsForbidden struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetConfigsForbidden handles this case with default header values.
Forbidden
func NewAdminGetConfigsForbidden ¶
func NewAdminGetConfigsForbidden() *AdminGetConfigsForbidden
NewAdminGetConfigsForbidden creates a AdminGetConfigsForbidden with default headers values
func (*AdminGetConfigsForbidden) Error ¶
func (o *AdminGetConfigsForbidden) Error() string
func (*AdminGetConfigsForbidden) GetPayload ¶
func (o *AdminGetConfigsForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetConfigsForbidden) ToJSONString ¶
func (o *AdminGetConfigsForbidden) ToJSONString() string
type AdminGetConfigsInternalServerError ¶
type AdminGetConfigsInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminGetConfigsInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminGetConfigsInternalServerError ¶
func NewAdminGetConfigsInternalServerError() *AdminGetConfigsInternalServerError
NewAdminGetConfigsInternalServerError creates a AdminGetConfigsInternalServerError with default headers values
func (*AdminGetConfigsInternalServerError) Error ¶
func (o *AdminGetConfigsInternalServerError) Error() string
func (*AdminGetConfigsInternalServerError) GetPayload ¶
func (o *AdminGetConfigsInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetConfigsInternalServerError) ToJSONString ¶
func (o *AdminGetConfigsInternalServerError) ToJSONString() string
type AdminGetConfigsOK ¶
type AdminGetConfigsOK struct {
Payload *ugcclientmodels.ModelsPaginatedGetConfigsResponse
}
AdminGetConfigsOK handles this case with default header values.
OK
func NewAdminGetConfigsOK ¶
func NewAdminGetConfigsOK() *AdminGetConfigsOK
NewAdminGetConfigsOK creates a AdminGetConfigsOK with default headers values
func (*AdminGetConfigsOK) Error ¶
func (o *AdminGetConfigsOK) Error() string
func (*AdminGetConfigsOK) GetPayload ¶
func (o *AdminGetConfigsOK) GetPayload() *ugcclientmodels.ModelsPaginatedGetConfigsResponse
func (*AdminGetConfigsOK) ToJSONString ¶
func (o *AdminGetConfigsOK) ToJSONString() string
type AdminGetConfigsParams ¶
type AdminGetConfigsParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace namespace of the game */ Namespace string /*Limit number of configs per page */ Limit *int64 /*Offset offset number to retrieve */ Offset *int64 AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminGetConfigsParams contains all the parameters to send to the API endpoint for the admin get configs operation typically these are written to a http.Request
func NewAdminGetConfigsParams ¶
func NewAdminGetConfigsParams() *AdminGetConfigsParams
NewAdminGetConfigsParams creates a new AdminGetConfigsParams object with the default values initialized.
func NewAdminGetConfigsParamsWithContext ¶
func NewAdminGetConfigsParamsWithContext(ctx context.Context) *AdminGetConfigsParams
NewAdminGetConfigsParamsWithContext creates a new AdminGetConfigsParams object with the default values initialized, and the ability to set a context for a request
func NewAdminGetConfigsParamsWithHTTPClient ¶
func NewAdminGetConfigsParamsWithHTTPClient(client *http.Client) *AdminGetConfigsParams
NewAdminGetConfigsParamsWithHTTPClient creates a new AdminGetConfigsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminGetConfigsParamsWithTimeout ¶
func NewAdminGetConfigsParamsWithTimeout(timeout time.Duration) *AdminGetConfigsParams
NewAdminGetConfigsParamsWithTimeout creates a new AdminGetConfigsParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminGetConfigsParams) SetAuthInfoWriter ¶
func (o *AdminGetConfigsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin get configs params
func (*AdminGetConfigsParams) SetContext ¶
func (o *AdminGetConfigsParams) SetContext(ctx context.Context)
SetContext adds the context to the admin get configs params
func (*AdminGetConfigsParams) SetHTTPClient ¶
func (o *AdminGetConfigsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin get configs params
func (*AdminGetConfigsParams) SetHTTPClientTransport ¶
func (o *AdminGetConfigsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin get configs params
func (*AdminGetConfigsParams) SetLimit ¶
func (o *AdminGetConfigsParams) SetLimit(limit *int64)
SetLimit adds the limit to the admin get configs params
func (*AdminGetConfigsParams) SetNamespace ¶
func (o *AdminGetConfigsParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin get configs params
func (*AdminGetConfigsParams) SetOffset ¶
func (o *AdminGetConfigsParams) SetOffset(offset *int64)
SetOffset adds the offset to the admin get configs params
func (*AdminGetConfigsParams) SetTimeout ¶
func (o *AdminGetConfigsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin get configs params
func (*AdminGetConfigsParams) WithContext ¶
func (o *AdminGetConfigsParams) WithContext(ctx context.Context) *AdminGetConfigsParams
WithContext adds the context to the admin get configs params
func (*AdminGetConfigsParams) WithHTTPClient ¶
func (o *AdminGetConfigsParams) WithHTTPClient(client *http.Client) *AdminGetConfigsParams
WithHTTPClient adds the HTTPClient to the admin get configs params
func (*AdminGetConfigsParams) WithLimit ¶
func (o *AdminGetConfigsParams) WithLimit(limit *int64) *AdminGetConfigsParams
WithLimit adds the limit to the admin get configs params
func (*AdminGetConfigsParams) WithNamespace ¶
func (o *AdminGetConfigsParams) WithNamespace(namespace string) *AdminGetConfigsParams
WithNamespace adds the namespace to the admin get configs params
func (*AdminGetConfigsParams) WithOffset ¶
func (o *AdminGetConfigsParams) WithOffset(offset *int64) *AdminGetConfigsParams
WithOffset adds the offset to the admin get configs params
func (*AdminGetConfigsParams) WithTimeout ¶
func (o *AdminGetConfigsParams) WithTimeout(timeout time.Duration) *AdminGetConfigsParams
WithTimeout adds the timeout to the admin get configs params
func (*AdminGetConfigsParams) WriteToRequest ¶
func (o *AdminGetConfigsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminGetConfigsReader ¶
type AdminGetConfigsReader struct {
// contains filtered or unexported fields
}
AdminGetConfigsReader is a Reader for the AdminGetConfigs structure.
func (*AdminGetConfigsReader) ReadResponse ¶
func (o *AdminGetConfigsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminGetConfigsUnauthorized ¶
type AdminGetConfigsUnauthorized struct {
}AdminGetConfigsUnauthorized handles this case with default header values.
Unauthorized
func NewAdminGetConfigsUnauthorized ¶
func NewAdminGetConfigsUnauthorized() *AdminGetConfigsUnauthorized
NewAdminGetConfigsUnauthorized creates a AdminGetConfigsUnauthorized with default headers values
func (*AdminGetConfigsUnauthorized) Error ¶
func (o *AdminGetConfigsUnauthorized) Error() string
func (*AdminGetConfigsUnauthorized) GetPayload ¶
func (o *AdminGetConfigsUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminGetConfigsUnauthorized) ToJSONString ¶
func (o *AdminGetConfigsUnauthorized) ToJSONString() string
type AdminUpdateConfigBadRequest ¶
type AdminUpdateConfigBadRequest struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateConfigBadRequest handles this case with default header values.
Bad Request
func NewAdminUpdateConfigBadRequest ¶
func NewAdminUpdateConfigBadRequest() *AdminUpdateConfigBadRequest
NewAdminUpdateConfigBadRequest creates a AdminUpdateConfigBadRequest with default headers values
func (*AdminUpdateConfigBadRequest) Error ¶
func (o *AdminUpdateConfigBadRequest) Error() string
func (*AdminUpdateConfigBadRequest) GetPayload ¶
func (o *AdminUpdateConfigBadRequest) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateConfigBadRequest) ToJSONString ¶
func (o *AdminUpdateConfigBadRequest) ToJSONString() string
type AdminUpdateConfigCreated ¶
type AdminUpdateConfigCreated struct { }
AdminUpdateConfigCreated handles this case with default header values.
Created
func NewAdminUpdateConfigCreated ¶
func NewAdminUpdateConfigCreated() *AdminUpdateConfigCreated
NewAdminUpdateConfigCreated creates a AdminUpdateConfigCreated with default headers values
func (*AdminUpdateConfigCreated) Error ¶
func (o *AdminUpdateConfigCreated) Error() string
type AdminUpdateConfigForbidden ¶
type AdminUpdateConfigForbidden struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateConfigForbidden handles this case with default header values.
Forbidden
func NewAdminUpdateConfigForbidden ¶
func NewAdminUpdateConfigForbidden() *AdminUpdateConfigForbidden
NewAdminUpdateConfigForbidden creates a AdminUpdateConfigForbidden with default headers values
func (*AdminUpdateConfigForbidden) Error ¶
func (o *AdminUpdateConfigForbidden) Error() string
func (*AdminUpdateConfigForbidden) GetPayload ¶
func (o *AdminUpdateConfigForbidden) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateConfigForbidden) ToJSONString ¶
func (o *AdminUpdateConfigForbidden) ToJSONString() string
type AdminUpdateConfigInternalServerError ¶
type AdminUpdateConfigInternalServerError struct {
Payload *ugcclientmodels.ResponseError
}
AdminUpdateConfigInternalServerError handles this case with default header values.
Internal Server Error
func NewAdminUpdateConfigInternalServerError ¶
func NewAdminUpdateConfigInternalServerError() *AdminUpdateConfigInternalServerError
NewAdminUpdateConfigInternalServerError creates a AdminUpdateConfigInternalServerError with default headers values
func (*AdminUpdateConfigInternalServerError) Error ¶
func (o *AdminUpdateConfigInternalServerError) Error() string
func (*AdminUpdateConfigInternalServerError) GetPayload ¶
func (o *AdminUpdateConfigInternalServerError) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateConfigInternalServerError) ToJSONString ¶
func (o *AdminUpdateConfigInternalServerError) ToJSONString() string
type AdminUpdateConfigParams ¶
type AdminUpdateConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *ugcclientmodels.ModelsUpdateConfigRequest /*Key config key */ Key string /*Namespace namespace of the game */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
AdminUpdateConfigParams contains all the parameters to send to the API endpoint for the admin update config operation typically these are written to a http.Request
func NewAdminUpdateConfigParams ¶
func NewAdminUpdateConfigParams() *AdminUpdateConfigParams
NewAdminUpdateConfigParams creates a new AdminUpdateConfigParams object with the default values initialized.
func NewAdminUpdateConfigParamsWithContext ¶
func NewAdminUpdateConfigParamsWithContext(ctx context.Context) *AdminUpdateConfigParams
NewAdminUpdateConfigParamsWithContext creates a new AdminUpdateConfigParams object with the default values initialized, and the ability to set a context for a request
func NewAdminUpdateConfigParamsWithHTTPClient ¶
func NewAdminUpdateConfigParamsWithHTTPClient(client *http.Client) *AdminUpdateConfigParams
NewAdminUpdateConfigParamsWithHTTPClient creates a new AdminUpdateConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewAdminUpdateConfigParamsWithTimeout ¶
func NewAdminUpdateConfigParamsWithTimeout(timeout time.Duration) *AdminUpdateConfigParams
NewAdminUpdateConfigParamsWithTimeout creates a new AdminUpdateConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*AdminUpdateConfigParams) SetAuthInfoWriter ¶
func (o *AdminUpdateConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the admin update config params
func (*AdminUpdateConfigParams) SetBody ¶
func (o *AdminUpdateConfigParams) SetBody(body *ugcclientmodels.ModelsUpdateConfigRequest)
SetBody adds the body to the admin update config params
func (*AdminUpdateConfigParams) SetContext ¶
func (o *AdminUpdateConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the admin update config params
func (*AdminUpdateConfigParams) SetHTTPClient ¶
func (o *AdminUpdateConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the admin update config params
func (*AdminUpdateConfigParams) SetHTTPClientTransport ¶
func (o *AdminUpdateConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the admin update config params
func (*AdminUpdateConfigParams) SetKey ¶
func (o *AdminUpdateConfigParams) SetKey(key string)
SetKey adds the key to the admin update config params
func (*AdminUpdateConfigParams) SetNamespace ¶
func (o *AdminUpdateConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the admin update config params
func (*AdminUpdateConfigParams) SetTimeout ¶
func (o *AdminUpdateConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the admin update config params
func (*AdminUpdateConfigParams) WithBody ¶
func (o *AdminUpdateConfigParams) WithBody(body *ugcclientmodels.ModelsUpdateConfigRequest) *AdminUpdateConfigParams
WithBody adds the body to the admin update config params
func (*AdminUpdateConfigParams) WithContext ¶
func (o *AdminUpdateConfigParams) WithContext(ctx context.Context) *AdminUpdateConfigParams
WithContext adds the context to the admin update config params
func (*AdminUpdateConfigParams) WithHTTPClient ¶
func (o *AdminUpdateConfigParams) WithHTTPClient(client *http.Client) *AdminUpdateConfigParams
WithHTTPClient adds the HTTPClient to the admin update config params
func (*AdminUpdateConfigParams) WithKey ¶
func (o *AdminUpdateConfigParams) WithKey(key string) *AdminUpdateConfigParams
WithKey adds the key to the admin update config params
func (*AdminUpdateConfigParams) WithNamespace ¶
func (o *AdminUpdateConfigParams) WithNamespace(namespace string) *AdminUpdateConfigParams
WithNamespace adds the namespace to the admin update config params
func (*AdminUpdateConfigParams) WithTimeout ¶
func (o *AdminUpdateConfigParams) WithTimeout(timeout time.Duration) *AdminUpdateConfigParams
WithTimeout adds the timeout to the admin update config params
func (*AdminUpdateConfigParams) WriteToRequest ¶
func (o *AdminUpdateConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type AdminUpdateConfigReader ¶
type AdminUpdateConfigReader struct {
// contains filtered or unexported fields
}
AdminUpdateConfigReader is a Reader for the AdminUpdateConfig structure.
func (*AdminUpdateConfigReader) ReadResponse ¶
func (o *AdminUpdateConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type AdminUpdateConfigUnauthorized ¶
type AdminUpdateConfigUnauthorized struct {
}AdminUpdateConfigUnauthorized handles this case with default header values.
Unauthorized
func NewAdminUpdateConfigUnauthorized ¶
func NewAdminUpdateConfigUnauthorized() *AdminUpdateConfigUnauthorized
NewAdminUpdateConfigUnauthorized creates a AdminUpdateConfigUnauthorized with default headers values
func (*AdminUpdateConfigUnauthorized) Error ¶
func (o *AdminUpdateConfigUnauthorized) Error() string
func (*AdminUpdateConfigUnauthorized) GetPayload ¶
func (o *AdminUpdateConfigUnauthorized) GetPayload() *ugcclientmodels.ResponseError
func (*AdminUpdateConfigUnauthorized) ToJSONString ¶
func (o *AdminUpdateConfigUnauthorized) ToJSONString() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin config API
func (*Client) AdminGetConfigs
deprecated
func (a *Client) AdminGetConfigs(params *AdminGetConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigsOK, *AdminGetConfigsBadRequest, *AdminGetConfigsUnauthorized, *AdminGetConfigsForbidden, *AdminGetConfigsInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminGetConfigsShort instead.
AdminGetConfigs get configs Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [READ]
func (*Client) AdminGetConfigsShort ¶
func (a *Client) AdminGetConfigsShort(params *AdminGetConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigsOK, error)
AdminGetConfigsShort get configs Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [READ]
func (*Client) AdminUpdateConfig
deprecated
func (a *Client) AdminUpdateConfig(params *AdminUpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigCreated, *AdminUpdateConfigBadRequest, *AdminUpdateConfigUnauthorized, *AdminUpdateConfigForbidden, *AdminUpdateConfigInternalServerError, error)
Deprecated: 2022-08-10 - Use AdminUpdateConfigShort instead.
AdminUpdateConfig update config Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [UPDATE]. It will create a new config if the key doesn't exist. Allowed key value: - contentReview : enabled , disabled
func (*Client) AdminUpdateConfigShort ¶
func (a *Client) AdminUpdateConfigShort(params *AdminUpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigCreated, error)
AdminUpdateConfigShort update config Required permission ADMIN:NAMESPACE:{namespace}:UGCCONFIG [UPDATE]. It will create a new config if the key doesn't exist. Allowed key value: - contentReview : enabled , disabled
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { AdminGetConfigs(params *AdminGetConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigsOK, *AdminGetConfigsBadRequest, *AdminGetConfigsUnauthorized, *AdminGetConfigsForbidden, *AdminGetConfigsInternalServerError, error) AdminGetConfigsShort(params *AdminGetConfigsParams, authInfo runtime.ClientAuthInfoWriter) (*AdminGetConfigsOK, error) AdminUpdateConfig(params *AdminUpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigCreated, *AdminUpdateConfigBadRequest, *AdminUpdateConfigUnauthorized, *AdminUpdateConfigForbidden, *AdminUpdateConfigInternalServerError, error) AdminUpdateConfigShort(params *AdminUpdateConfigParams, authInfo runtime.ClientAuthInfoWriter) (*AdminUpdateConfigCreated, 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 config API client.