Documentation ¶
Index ¶
- type Client
- func (a *Client) DeleteNamespaceSlotConfig(params *DeleteNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceSlotConfigNoContent, error)deprecated
- func (a *Client) DeleteNamespaceSlotConfigShort(params *DeleteNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceSlotConfigNoContent, error)
- func (a *Client) DeleteUserSlotConfig(params *DeleteUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSlotConfigNoContent, error)deprecated
- func (a *Client) DeleteUserSlotConfigShort(params *DeleteUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSlotConfigNoContent, error)
- func (a *Client) GetNamespaceSlotConfig(params *GetNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceSlotConfigOK, error)deprecated
- func (a *Client) GetNamespaceSlotConfigShort(params *GetNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceSlotConfigOK, error)
- func (a *Client) GetUserSlotConfig(params *GetUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSlotConfigOK, error)deprecated
- func (a *Client) GetUserSlotConfigShort(params *GetUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSlotConfigOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateNamespaceSlotConfig(params *UpdateNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceSlotConfigOK, error)deprecated
- func (a *Client) UpdateNamespaceSlotConfigShort(params *UpdateNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceSlotConfigOK, error)
- func (a *Client) UpdateUserSlotConfig(params *UpdateUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserSlotConfigOK, error)deprecated
- func (a *Client) UpdateUserSlotConfigShort(params *UpdateUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserSlotConfigOK, error)
- type ClientService
- type DeleteNamespaceSlotConfigNoContent
- type DeleteNamespaceSlotConfigParams
- func NewDeleteNamespaceSlotConfigParams() *DeleteNamespaceSlotConfigParams
- func NewDeleteNamespaceSlotConfigParamsWithContext(ctx context.Context) *DeleteNamespaceSlotConfigParams
- func NewDeleteNamespaceSlotConfigParamsWithHTTPClient(client *http.Client) *DeleteNamespaceSlotConfigParams
- func NewDeleteNamespaceSlotConfigParamsWithTimeout(timeout time.Duration) *DeleteNamespaceSlotConfigParams
- func (o *DeleteNamespaceSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteNamespaceSlotConfigParams) SetContext(ctx context.Context)
- func (o *DeleteNamespaceSlotConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNamespaceSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteNamespaceSlotConfigParams) SetNamespace(namespace string)
- func (o *DeleteNamespaceSlotConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNamespaceSlotConfigParams) WithContext(ctx context.Context) *DeleteNamespaceSlotConfigParams
- func (o *DeleteNamespaceSlotConfigParams) WithHTTPClient(client *http.Client) *DeleteNamespaceSlotConfigParams
- func (o *DeleteNamespaceSlotConfigParams) WithNamespace(namespace string) *DeleteNamespaceSlotConfigParams
- func (o *DeleteNamespaceSlotConfigParams) WithTimeout(timeout time.Duration) *DeleteNamespaceSlotConfigParams
- func (o *DeleteNamespaceSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNamespaceSlotConfigReader
- type DeleteUserSlotConfigNoContent
- type DeleteUserSlotConfigParams
- func NewDeleteUserSlotConfigParams() *DeleteUserSlotConfigParams
- func NewDeleteUserSlotConfigParamsWithContext(ctx context.Context) *DeleteUserSlotConfigParams
- func NewDeleteUserSlotConfigParamsWithHTTPClient(client *http.Client) *DeleteUserSlotConfigParams
- func NewDeleteUserSlotConfigParamsWithTimeout(timeout time.Duration) *DeleteUserSlotConfigParams
- func (o *DeleteUserSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *DeleteUserSlotConfigParams) SetContext(ctx context.Context)
- func (o *DeleteUserSlotConfigParams) SetHTTPClient(client *http.Client)
- func (o *DeleteUserSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *DeleteUserSlotConfigParams) SetNamespace(namespace string)
- func (o *DeleteUserSlotConfigParams) SetTimeout(timeout time.Duration)
- func (o *DeleteUserSlotConfigParams) SetUserID(userID string)
- func (o *DeleteUserSlotConfigParams) WithContext(ctx context.Context) *DeleteUserSlotConfigParams
- func (o *DeleteUserSlotConfigParams) WithHTTPClient(client *http.Client) *DeleteUserSlotConfigParams
- func (o *DeleteUserSlotConfigParams) WithNamespace(namespace string) *DeleteUserSlotConfigParams
- func (o *DeleteUserSlotConfigParams) WithTimeout(timeout time.Duration) *DeleteUserSlotConfigParams
- func (o *DeleteUserSlotConfigParams) WithUserID(userID string) *DeleteUserSlotConfigParams
- func (o *DeleteUserSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteUserSlotConfigReader
- type GetNamespaceSlotConfigOK
- type GetNamespaceSlotConfigParams
- func NewGetNamespaceSlotConfigParams() *GetNamespaceSlotConfigParams
- func NewGetNamespaceSlotConfigParamsWithContext(ctx context.Context) *GetNamespaceSlotConfigParams
- func NewGetNamespaceSlotConfigParamsWithHTTPClient(client *http.Client) *GetNamespaceSlotConfigParams
- func NewGetNamespaceSlotConfigParamsWithTimeout(timeout time.Duration) *GetNamespaceSlotConfigParams
- func (o *GetNamespaceSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetNamespaceSlotConfigParams) SetContext(ctx context.Context)
- func (o *GetNamespaceSlotConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetNamespaceSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetNamespaceSlotConfigParams) SetNamespace(namespace string)
- func (o *GetNamespaceSlotConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetNamespaceSlotConfigParams) WithContext(ctx context.Context) *GetNamespaceSlotConfigParams
- func (o *GetNamespaceSlotConfigParams) WithHTTPClient(client *http.Client) *GetNamespaceSlotConfigParams
- func (o *GetNamespaceSlotConfigParams) WithNamespace(namespace string) *GetNamespaceSlotConfigParams
- func (o *GetNamespaceSlotConfigParams) WithTimeout(timeout time.Duration) *GetNamespaceSlotConfigParams
- func (o *GetNamespaceSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNamespaceSlotConfigReader
- type GetUserSlotConfigOK
- type GetUserSlotConfigParams
- func NewGetUserSlotConfigParams() *GetUserSlotConfigParams
- func NewGetUserSlotConfigParamsWithContext(ctx context.Context) *GetUserSlotConfigParams
- func NewGetUserSlotConfigParamsWithHTTPClient(client *http.Client) *GetUserSlotConfigParams
- func NewGetUserSlotConfigParamsWithTimeout(timeout time.Duration) *GetUserSlotConfigParams
- func (o *GetUserSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *GetUserSlotConfigParams) SetContext(ctx context.Context)
- func (o *GetUserSlotConfigParams) SetHTTPClient(client *http.Client)
- func (o *GetUserSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *GetUserSlotConfigParams) SetNamespace(namespace string)
- func (o *GetUserSlotConfigParams) SetTimeout(timeout time.Duration)
- func (o *GetUserSlotConfigParams) SetUserID(userID string)
- func (o *GetUserSlotConfigParams) WithContext(ctx context.Context) *GetUserSlotConfigParams
- func (o *GetUserSlotConfigParams) WithHTTPClient(client *http.Client) *GetUserSlotConfigParams
- func (o *GetUserSlotConfigParams) WithNamespace(namespace string) *GetUserSlotConfigParams
- func (o *GetUserSlotConfigParams) WithTimeout(timeout time.Duration) *GetUserSlotConfigParams
- func (o *GetUserSlotConfigParams) WithUserID(userID string) *GetUserSlotConfigParams
- func (o *GetUserSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserSlotConfigReader
- type UpdateNamespaceSlotConfigOK
- type UpdateNamespaceSlotConfigParams
- func NewUpdateNamespaceSlotConfigParams() *UpdateNamespaceSlotConfigParams
- func NewUpdateNamespaceSlotConfigParamsWithContext(ctx context.Context) *UpdateNamespaceSlotConfigParams
- func NewUpdateNamespaceSlotConfigParamsWithHTTPClient(client *http.Client) *UpdateNamespaceSlotConfigParams
- func NewUpdateNamespaceSlotConfigParamsWithTimeout(timeout time.Duration) *UpdateNamespaceSlotConfigParams
- func (o *UpdateNamespaceSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateNamespaceSlotConfigParams) SetBody(body *socialclientmodels.SlotConfigUpdate)
- func (o *UpdateNamespaceSlotConfigParams) SetContext(ctx context.Context)
- func (o *UpdateNamespaceSlotConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNamespaceSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateNamespaceSlotConfigParams) SetNamespace(namespace string)
- func (o *UpdateNamespaceSlotConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNamespaceSlotConfigParams) WithBody(body *socialclientmodels.SlotConfigUpdate) *UpdateNamespaceSlotConfigParams
- func (o *UpdateNamespaceSlotConfigParams) WithContext(ctx context.Context) *UpdateNamespaceSlotConfigParams
- func (o *UpdateNamespaceSlotConfigParams) WithHTTPClient(client *http.Client) *UpdateNamespaceSlotConfigParams
- func (o *UpdateNamespaceSlotConfigParams) WithNamespace(namespace string) *UpdateNamespaceSlotConfigParams
- func (o *UpdateNamespaceSlotConfigParams) WithTimeout(timeout time.Duration) *UpdateNamespaceSlotConfigParams
- func (o *UpdateNamespaceSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNamespaceSlotConfigReader
- type UpdateUserSlotConfigOK
- type UpdateUserSlotConfigParams
- func NewUpdateUserSlotConfigParams() *UpdateUserSlotConfigParams
- func NewUpdateUserSlotConfigParamsWithContext(ctx context.Context) *UpdateUserSlotConfigParams
- func NewUpdateUserSlotConfigParamsWithHTTPClient(client *http.Client) *UpdateUserSlotConfigParams
- func NewUpdateUserSlotConfigParamsWithTimeout(timeout time.Duration) *UpdateUserSlotConfigParams
- func (o *UpdateUserSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
- func (o *UpdateUserSlotConfigParams) SetBody(body *socialclientmodels.SlotConfigUpdate)
- func (o *UpdateUserSlotConfigParams) SetContext(ctx context.Context)
- func (o *UpdateUserSlotConfigParams) SetHTTPClient(client *http.Client)
- func (o *UpdateUserSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
- func (o *UpdateUserSlotConfigParams) SetNamespace(namespace string)
- func (o *UpdateUserSlotConfigParams) SetTimeout(timeout time.Duration)
- func (o *UpdateUserSlotConfigParams) SetUserID(userID string)
- func (o *UpdateUserSlotConfigParams) WithBody(body *socialclientmodels.SlotConfigUpdate) *UpdateUserSlotConfigParams
- func (o *UpdateUserSlotConfigParams) WithContext(ctx context.Context) *UpdateUserSlotConfigParams
- func (o *UpdateUserSlotConfigParams) WithHTTPClient(client *http.Client) *UpdateUserSlotConfigParams
- func (o *UpdateUserSlotConfigParams) WithNamespace(namespace string) *UpdateUserSlotConfigParams
- func (o *UpdateUserSlotConfigParams) WithTimeout(timeout time.Duration) *UpdateUserSlotConfigParams
- func (o *UpdateUserSlotConfigParams) WithUserID(userID string) *UpdateUserSlotConfigParams
- func (o *UpdateUserSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateUserSlotConfigReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for slot config API
func (*Client) DeleteNamespaceSlotConfig
deprecated
func (a *Client) DeleteNamespaceSlotConfig(params *DeleteNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceSlotConfigNoContent, error)
Deprecated: Use DeleteNamespaceSlotConfigShort instead.
DeleteNamespaceSlotConfig deletes a namespace slot configuration Deletes a namespace slot configuration, the configuration will be default after delete.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SLOTCONFIG", action=8 (DELETE)</li></ul>
func (*Client) DeleteNamespaceSlotConfigShort ¶ added in v0.8.0
func (a *Client) DeleteNamespaceSlotConfigShort(params *DeleteNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceSlotConfigNoContent, error)
DeleteNamespaceSlotConfigShort deletes a namespace slot configuration
Deletes a namespace slot configuration, the configuration will be default after delete.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SLOTCONFIG", action=8 (DELETE)</li></ul>
func (*Client) DeleteUserSlotConfig
deprecated
func (a *Client) DeleteUserSlotConfig(params *DeleteUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSlotConfigNoContent, error)
Deprecated: Use DeleteUserSlotConfigShort instead.
DeleteUserSlotConfig deletes a user slot configuration Deletes a user slot configuration in given namespace, the namespace slot configuration will be returned after delete.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTCONFIG", action=8 (DELETE)</li></li>
func (*Client) DeleteUserSlotConfigShort ¶ added in v0.8.0
func (a *Client) DeleteUserSlotConfigShort(params *DeleteUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSlotConfigNoContent, error)
DeleteUserSlotConfigShort deletes a user slot configuration
Deletes a user slot configuration in given namespace, the namespace slot configuration will be returned after delete.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTCONFIG", action=8 (DELETE)</li></li>
func (*Client) GetNamespaceSlotConfig
deprecated
func (a *Client) GetNamespaceSlotConfig(params *GetNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceSlotConfigOK, error)
Deprecated: Use GetNamespaceSlotConfigShort instead.
GetNamespaceSlotConfig returns a namespace slot configuration Get slot configuration for a given namespace. In case slot configuration is not set, the default will be returned.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SLOTCONFIG", action=2 (READ)</li><li><i>Returns</i>: namespace slot config info</li></ul>
func (*Client) GetNamespaceSlotConfigShort ¶ added in v0.8.0
func (a *Client) GetNamespaceSlotConfigShort(params *GetNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceSlotConfigOK, error)
GetNamespaceSlotConfigShort returns a namespace slot configuration
Get slot configuration for a given namespace. In case slot configuration is not set, the default will be returned.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SLOTCONFIG", action=2 (READ)</li><li><i>Returns</i>: namespace slot config info</li></ul>
func (*Client) GetUserSlotConfig
deprecated
func (a *Client) GetUserSlotConfig(params *GetUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSlotConfigOK, error)
Deprecated: Use GetUserSlotConfigShort instead.
GetUserSlotConfig returns a user slot configuration Get a user slot configuration in given namespace. In case the user slot configuration is not set, the namespace configuration will be returned.<br>Other detail info:<ul><li>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTCONFIG", action=2 (READ)</li><li>Returns</i>: slot config info</li>
func (*Client) GetUserSlotConfigShort ¶ added in v0.8.0
func (a *Client) GetUserSlotConfigShort(params *GetUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSlotConfigOK, error)
GetUserSlotConfigShort returns a user slot configuration
Get a user slot configuration in given namespace. In case the user slot configuration is not set, the namespace configuration will be returned.<br>Other detail info:<ul><li>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTCONFIG", action=2 (READ)</li><li>Returns</i>: slot config info</li>
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateNamespaceSlotConfig
deprecated
func (a *Client) UpdateNamespaceSlotConfig(params *UpdateNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceSlotConfigOK, error)
Deprecated: Use UpdateNamespaceSlotConfigShort instead.
UpdateNamespaceSlotConfig updates a namespace slot configuration Update a slot namespace configuration.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SLOTCONFIG", action=4 (UPDATE)</li><li><i>Returns</i>: updated namespace slot config</li></ul>
func (*Client) UpdateNamespaceSlotConfigShort ¶ added in v0.8.0
func (a *Client) UpdateNamespaceSlotConfigShort(params *UpdateNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceSlotConfigOK, error)
UpdateNamespaceSlotConfigShort updates a namespace slot configuration
Update a slot namespace configuration.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:SLOTCONFIG", action=4 (UPDATE)</li><li><i>Returns</i>: updated namespace slot config</li></ul>
func (*Client) UpdateUserSlotConfig
deprecated
func (a *Client) UpdateUserSlotConfig(params *UpdateUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserSlotConfigOK, error)
Deprecated: Use UpdateUserSlotConfigShort instead.
UpdateUserSlotConfig updates a user slot configuration Update a user slot configuration in given namespace.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTCONFIG", action=4 (UPDATE)</li><li><i>Returns</i>: updated slot config</li>
func (*Client) UpdateUserSlotConfigShort ¶ added in v0.8.0
func (a *Client) UpdateUserSlotConfigShort(params *UpdateUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserSlotConfigOK, error)
UpdateUserSlotConfigShort updates a user slot configuration
Update a user slot configuration in given namespace.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTCONFIG", action=4 (UPDATE)</li><li><i>Returns</i>: updated slot config</li>
type ClientService ¶
type ClientService interface { DeleteNamespaceSlotConfig(params *DeleteNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceSlotConfigNoContent, error) DeleteNamespaceSlotConfigShort(params *DeleteNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteNamespaceSlotConfigNoContent, error) DeleteUserSlotConfig(params *DeleteUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSlotConfigNoContent, error) DeleteUserSlotConfigShort(params *DeleteUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*DeleteUserSlotConfigNoContent, error) GetNamespaceSlotConfig(params *GetNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceSlotConfigOK, error) GetNamespaceSlotConfigShort(params *GetNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetNamespaceSlotConfigOK, error) GetUserSlotConfig(params *GetUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSlotConfigOK, error) GetUserSlotConfigShort(params *GetUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserSlotConfigOK, error) UpdateNamespaceSlotConfig(params *UpdateNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceSlotConfigOK, error) UpdateNamespaceSlotConfigShort(params *UpdateNamespaceSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateNamespaceSlotConfigOK, error) UpdateUserSlotConfig(params *UpdateUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserSlotConfigOK, error) UpdateUserSlotConfigShort(params *UpdateUserSlotConfigParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateUserSlotConfigOK, 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 slot config API client.
type DeleteNamespaceSlotConfigNoContent ¶
type DeleteNamespaceSlotConfigNoContent struct { }
DeleteNamespaceSlotConfigNoContent handles this case with default header values.
Successful delete of namespace slot config
func NewDeleteNamespaceSlotConfigNoContent ¶
func NewDeleteNamespaceSlotConfigNoContent() *DeleteNamespaceSlotConfigNoContent
NewDeleteNamespaceSlotConfigNoContent creates a DeleteNamespaceSlotConfigNoContent with default headers values
func (*DeleteNamespaceSlotConfigNoContent) Error ¶
func (o *DeleteNamespaceSlotConfigNoContent) Error() string
type DeleteNamespaceSlotConfigParams ¶
type DeleteNamespaceSlotConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNamespaceSlotConfigParams contains all the parameters to send to the API endpoint for the delete namespace slot config operation typically these are written to a http.Request
func NewDeleteNamespaceSlotConfigParams ¶
func NewDeleteNamespaceSlotConfigParams() *DeleteNamespaceSlotConfigParams
NewDeleteNamespaceSlotConfigParams creates a new DeleteNamespaceSlotConfigParams object with the default values initialized.
func NewDeleteNamespaceSlotConfigParamsWithContext ¶
func NewDeleteNamespaceSlotConfigParamsWithContext(ctx context.Context) *DeleteNamespaceSlotConfigParams
NewDeleteNamespaceSlotConfigParamsWithContext creates a new DeleteNamespaceSlotConfigParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteNamespaceSlotConfigParamsWithHTTPClient ¶
func NewDeleteNamespaceSlotConfigParamsWithHTTPClient(client *http.Client) *DeleteNamespaceSlotConfigParams
NewDeleteNamespaceSlotConfigParamsWithHTTPClient creates a new DeleteNamespaceSlotConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteNamespaceSlotConfigParamsWithTimeout ¶
func NewDeleteNamespaceSlotConfigParamsWithTimeout(timeout time.Duration) *DeleteNamespaceSlotConfigParams
NewDeleteNamespaceSlotConfigParamsWithTimeout creates a new DeleteNamespaceSlotConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteNamespaceSlotConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteNamespaceSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) SetContext ¶
func (o *DeleteNamespaceSlotConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) SetHTTPClient ¶
func (o *DeleteNamespaceSlotConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteNamespaceSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) SetNamespace ¶
func (o *DeleteNamespaceSlotConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) SetTimeout ¶
func (o *DeleteNamespaceSlotConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) WithContext ¶
func (o *DeleteNamespaceSlotConfigParams) WithContext(ctx context.Context) *DeleteNamespaceSlotConfigParams
WithContext adds the context to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) WithHTTPClient ¶
func (o *DeleteNamespaceSlotConfigParams) WithHTTPClient(client *http.Client) *DeleteNamespaceSlotConfigParams
WithHTTPClient adds the HTTPClient to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) WithNamespace ¶
func (o *DeleteNamespaceSlotConfigParams) WithNamespace(namespace string) *DeleteNamespaceSlotConfigParams
WithNamespace adds the namespace to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) WithTimeout ¶
func (o *DeleteNamespaceSlotConfigParams) WithTimeout(timeout time.Duration) *DeleteNamespaceSlotConfigParams
WithTimeout adds the timeout to the delete namespace slot config params
func (*DeleteNamespaceSlotConfigParams) WriteToRequest ¶
func (o *DeleteNamespaceSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNamespaceSlotConfigReader ¶
type DeleteNamespaceSlotConfigReader struct {
// contains filtered or unexported fields
}
DeleteNamespaceSlotConfigReader is a Reader for the DeleteNamespaceSlotConfig structure.
func (*DeleteNamespaceSlotConfigReader) ReadResponse ¶
func (o *DeleteNamespaceSlotConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteUserSlotConfigNoContent ¶
type DeleteUserSlotConfigNoContent struct { }
DeleteUserSlotConfigNoContent handles this case with default header values.
Successful delete of user/namespace slot config
func NewDeleteUserSlotConfigNoContent ¶
func NewDeleteUserSlotConfigNoContent() *DeleteUserSlotConfigNoContent
NewDeleteUserSlotConfigNoContent creates a DeleteUserSlotConfigNoContent with default headers values
func (*DeleteUserSlotConfigNoContent) Error ¶
func (o *DeleteUserSlotConfigNoContent) Error() string
type DeleteUserSlotConfigParams ¶
type DeleteUserSlotConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace ID */ Namespace string /*UserID User ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteUserSlotConfigParams contains all the parameters to send to the API endpoint for the delete user slot config operation typically these are written to a http.Request
func NewDeleteUserSlotConfigParams ¶
func NewDeleteUserSlotConfigParams() *DeleteUserSlotConfigParams
NewDeleteUserSlotConfigParams creates a new DeleteUserSlotConfigParams object with the default values initialized.
func NewDeleteUserSlotConfigParamsWithContext ¶
func NewDeleteUserSlotConfigParamsWithContext(ctx context.Context) *DeleteUserSlotConfigParams
NewDeleteUserSlotConfigParamsWithContext creates a new DeleteUserSlotConfigParams object with the default values initialized, and the ability to set a context for a request
func NewDeleteUserSlotConfigParamsWithHTTPClient ¶
func NewDeleteUserSlotConfigParamsWithHTTPClient(client *http.Client) *DeleteUserSlotConfigParams
NewDeleteUserSlotConfigParamsWithHTTPClient creates a new DeleteUserSlotConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewDeleteUserSlotConfigParamsWithTimeout ¶
func NewDeleteUserSlotConfigParamsWithTimeout(timeout time.Duration) *DeleteUserSlotConfigParams
NewDeleteUserSlotConfigParamsWithTimeout creates a new DeleteUserSlotConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*DeleteUserSlotConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *DeleteUserSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the delete user slot config params
func (*DeleteUserSlotConfigParams) SetContext ¶
func (o *DeleteUserSlotConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the delete user slot config params
func (*DeleteUserSlotConfigParams) SetHTTPClient ¶
func (o *DeleteUserSlotConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete user slot config params
func (*DeleteUserSlotConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *DeleteUserSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the delete user slot config params
func (*DeleteUserSlotConfigParams) SetNamespace ¶
func (o *DeleteUserSlotConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the delete user slot config params
func (*DeleteUserSlotConfigParams) SetTimeout ¶
func (o *DeleteUserSlotConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete user slot config params
func (*DeleteUserSlotConfigParams) SetUserID ¶
func (o *DeleteUserSlotConfigParams) SetUserID(userID string)
SetUserID adds the userId to the delete user slot config params
func (*DeleteUserSlotConfigParams) WithContext ¶
func (o *DeleteUserSlotConfigParams) WithContext(ctx context.Context) *DeleteUserSlotConfigParams
WithContext adds the context to the delete user slot config params
func (*DeleteUserSlotConfigParams) WithHTTPClient ¶
func (o *DeleteUserSlotConfigParams) WithHTTPClient(client *http.Client) *DeleteUserSlotConfigParams
WithHTTPClient adds the HTTPClient to the delete user slot config params
func (*DeleteUserSlotConfigParams) WithNamespace ¶
func (o *DeleteUserSlotConfigParams) WithNamespace(namespace string) *DeleteUserSlotConfigParams
WithNamespace adds the namespace to the delete user slot config params
func (*DeleteUserSlotConfigParams) WithTimeout ¶
func (o *DeleteUserSlotConfigParams) WithTimeout(timeout time.Duration) *DeleteUserSlotConfigParams
WithTimeout adds the timeout to the delete user slot config params
func (*DeleteUserSlotConfigParams) WithUserID ¶
func (o *DeleteUserSlotConfigParams) WithUserID(userID string) *DeleteUserSlotConfigParams
WithUserID adds the userID to the delete user slot config params
func (*DeleteUserSlotConfigParams) WriteToRequest ¶
func (o *DeleteUserSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteUserSlotConfigReader ¶
type DeleteUserSlotConfigReader struct {
// contains filtered or unexported fields
}
DeleteUserSlotConfigReader is a Reader for the DeleteUserSlotConfig structure.
func (*DeleteUserSlotConfigReader) ReadResponse ¶
func (o *DeleteUserSlotConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNamespaceSlotConfigOK ¶
type GetNamespaceSlotConfigOK struct {
Payload *socialclientmodels.NamespaceSlotConfigInfo
}
GetNamespaceSlotConfigOK handles this case with default header values.
successful operation
func NewGetNamespaceSlotConfigOK ¶
func NewGetNamespaceSlotConfigOK() *GetNamespaceSlotConfigOK
NewGetNamespaceSlotConfigOK creates a GetNamespaceSlotConfigOK with default headers values
func (*GetNamespaceSlotConfigOK) Error ¶
func (o *GetNamespaceSlotConfigOK) Error() string
func (*GetNamespaceSlotConfigOK) GetPayload ¶
func (o *GetNamespaceSlotConfigOK) GetPayload() *socialclientmodels.NamespaceSlotConfigInfo
func (*GetNamespaceSlotConfigOK) ToJSONString ¶ added in v0.25.0
func (o *GetNamespaceSlotConfigOK) ToJSONString() string
type GetNamespaceSlotConfigParams ¶
type GetNamespaceSlotConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNamespaceSlotConfigParams contains all the parameters to send to the API endpoint for the get namespace slot config operation typically these are written to a http.Request
func NewGetNamespaceSlotConfigParams ¶
func NewGetNamespaceSlotConfigParams() *GetNamespaceSlotConfigParams
NewGetNamespaceSlotConfigParams creates a new GetNamespaceSlotConfigParams object with the default values initialized.
func NewGetNamespaceSlotConfigParamsWithContext ¶
func NewGetNamespaceSlotConfigParamsWithContext(ctx context.Context) *GetNamespaceSlotConfigParams
NewGetNamespaceSlotConfigParamsWithContext creates a new GetNamespaceSlotConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetNamespaceSlotConfigParamsWithHTTPClient ¶
func NewGetNamespaceSlotConfigParamsWithHTTPClient(client *http.Client) *GetNamespaceSlotConfigParams
NewGetNamespaceSlotConfigParamsWithHTTPClient creates a new GetNamespaceSlotConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNamespaceSlotConfigParamsWithTimeout ¶
func NewGetNamespaceSlotConfigParamsWithTimeout(timeout time.Duration) *GetNamespaceSlotConfigParams
NewGetNamespaceSlotConfigParamsWithTimeout creates a new GetNamespaceSlotConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNamespaceSlotConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetNamespaceSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) SetContext ¶
func (o *GetNamespaceSlotConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) SetHTTPClient ¶
func (o *GetNamespaceSlotConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetNamespaceSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) SetNamespace ¶
func (o *GetNamespaceSlotConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) SetTimeout ¶
func (o *GetNamespaceSlotConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) WithContext ¶
func (o *GetNamespaceSlotConfigParams) WithContext(ctx context.Context) *GetNamespaceSlotConfigParams
WithContext adds the context to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) WithHTTPClient ¶
func (o *GetNamespaceSlotConfigParams) WithHTTPClient(client *http.Client) *GetNamespaceSlotConfigParams
WithHTTPClient adds the HTTPClient to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) WithNamespace ¶
func (o *GetNamespaceSlotConfigParams) WithNamespace(namespace string) *GetNamespaceSlotConfigParams
WithNamespace adds the namespace to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) WithTimeout ¶
func (o *GetNamespaceSlotConfigParams) WithTimeout(timeout time.Duration) *GetNamespaceSlotConfigParams
WithTimeout adds the timeout to the get namespace slot config params
func (*GetNamespaceSlotConfigParams) WriteToRequest ¶
func (o *GetNamespaceSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNamespaceSlotConfigReader ¶
type GetNamespaceSlotConfigReader struct {
// contains filtered or unexported fields
}
GetNamespaceSlotConfigReader is a Reader for the GetNamespaceSlotConfig structure.
func (*GetNamespaceSlotConfigReader) ReadResponse ¶
func (o *GetNamespaceSlotConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetUserSlotConfigOK ¶
type GetUserSlotConfigOK struct {
Payload *socialclientmodels.UserSlotConfigInfo
}
GetUserSlotConfigOK handles this case with default header values.
successful operation
func NewGetUserSlotConfigOK ¶
func NewGetUserSlotConfigOK() *GetUserSlotConfigOK
NewGetUserSlotConfigOK creates a GetUserSlotConfigOK with default headers values
func (*GetUserSlotConfigOK) Error ¶
func (o *GetUserSlotConfigOK) Error() string
func (*GetUserSlotConfigOK) GetPayload ¶
func (o *GetUserSlotConfigOK) GetPayload() *socialclientmodels.UserSlotConfigInfo
func (*GetUserSlotConfigOK) ToJSONString ¶ added in v0.25.0
func (o *GetUserSlotConfigOK) ToJSONString() string
type GetUserSlotConfigParams ¶
type GetUserSlotConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Namespace Namespace ID */ Namespace string /*UserID User ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetUserSlotConfigParams contains all the parameters to send to the API endpoint for the get user slot config operation typically these are written to a http.Request
func NewGetUserSlotConfigParams ¶
func NewGetUserSlotConfigParams() *GetUserSlotConfigParams
NewGetUserSlotConfigParams creates a new GetUserSlotConfigParams object with the default values initialized.
func NewGetUserSlotConfigParamsWithContext ¶
func NewGetUserSlotConfigParamsWithContext(ctx context.Context) *GetUserSlotConfigParams
NewGetUserSlotConfigParamsWithContext creates a new GetUserSlotConfigParams object with the default values initialized, and the ability to set a context for a request
func NewGetUserSlotConfigParamsWithHTTPClient ¶
func NewGetUserSlotConfigParamsWithHTTPClient(client *http.Client) *GetUserSlotConfigParams
NewGetUserSlotConfigParamsWithHTTPClient creates a new GetUserSlotConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetUserSlotConfigParamsWithTimeout ¶
func NewGetUserSlotConfigParamsWithTimeout(timeout time.Duration) *GetUserSlotConfigParams
NewGetUserSlotConfigParamsWithTimeout creates a new GetUserSlotConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetUserSlotConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *GetUserSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the get user slot config params
func (*GetUserSlotConfigParams) SetContext ¶
func (o *GetUserSlotConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the get user slot config params
func (*GetUserSlotConfigParams) SetHTTPClient ¶
func (o *GetUserSlotConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get user slot config params
func (*GetUserSlotConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *GetUserSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the get user slot config params
func (*GetUserSlotConfigParams) SetNamespace ¶
func (o *GetUserSlotConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the get user slot config params
func (*GetUserSlotConfigParams) SetTimeout ¶
func (o *GetUserSlotConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get user slot config params
func (*GetUserSlotConfigParams) SetUserID ¶
func (o *GetUserSlotConfigParams) SetUserID(userID string)
SetUserID adds the userId to the get user slot config params
func (*GetUserSlotConfigParams) WithContext ¶
func (o *GetUserSlotConfigParams) WithContext(ctx context.Context) *GetUserSlotConfigParams
WithContext adds the context to the get user slot config params
func (*GetUserSlotConfigParams) WithHTTPClient ¶
func (o *GetUserSlotConfigParams) WithHTTPClient(client *http.Client) *GetUserSlotConfigParams
WithHTTPClient adds the HTTPClient to the get user slot config params
func (*GetUserSlotConfigParams) WithNamespace ¶
func (o *GetUserSlotConfigParams) WithNamespace(namespace string) *GetUserSlotConfigParams
WithNamespace adds the namespace to the get user slot config params
func (*GetUserSlotConfigParams) WithTimeout ¶
func (o *GetUserSlotConfigParams) WithTimeout(timeout time.Duration) *GetUserSlotConfigParams
WithTimeout adds the timeout to the get user slot config params
func (*GetUserSlotConfigParams) WithUserID ¶
func (o *GetUserSlotConfigParams) WithUserID(userID string) *GetUserSlotConfigParams
WithUserID adds the userID to the get user slot config params
func (*GetUserSlotConfigParams) WriteToRequest ¶
func (o *GetUserSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetUserSlotConfigReader ¶
type GetUserSlotConfigReader struct {
// contains filtered or unexported fields
}
GetUserSlotConfigReader is a Reader for the GetUserSlotConfig structure.
func (*GetUserSlotConfigReader) ReadResponse ¶
func (o *GetUserSlotConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNamespaceSlotConfigOK ¶
type UpdateNamespaceSlotConfigOK struct {
Payload *socialclientmodels.NamespaceSlotConfigInfo
}
UpdateNamespaceSlotConfigOK handles this case with default header values.
successful operation
func NewUpdateNamespaceSlotConfigOK ¶
func NewUpdateNamespaceSlotConfigOK() *UpdateNamespaceSlotConfigOK
NewUpdateNamespaceSlotConfigOK creates a UpdateNamespaceSlotConfigOK with default headers values
func (*UpdateNamespaceSlotConfigOK) Error ¶
func (o *UpdateNamespaceSlotConfigOK) Error() string
func (*UpdateNamespaceSlotConfigOK) GetPayload ¶
func (o *UpdateNamespaceSlotConfigOK) GetPayload() *socialclientmodels.NamespaceSlotConfigInfo
func (*UpdateNamespaceSlotConfigOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateNamespaceSlotConfigOK) ToJSONString() string
type UpdateNamespaceSlotConfigParams ¶
type UpdateNamespaceSlotConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *socialclientmodels.SlotConfigUpdate /*Namespace Namespace */ Namespace string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNamespaceSlotConfigParams contains all the parameters to send to the API endpoint for the update namespace slot config operation typically these are written to a http.Request
func NewUpdateNamespaceSlotConfigParams ¶
func NewUpdateNamespaceSlotConfigParams() *UpdateNamespaceSlotConfigParams
NewUpdateNamespaceSlotConfigParams creates a new UpdateNamespaceSlotConfigParams object with the default values initialized.
func NewUpdateNamespaceSlotConfigParamsWithContext ¶
func NewUpdateNamespaceSlotConfigParamsWithContext(ctx context.Context) *UpdateNamespaceSlotConfigParams
NewUpdateNamespaceSlotConfigParamsWithContext creates a new UpdateNamespaceSlotConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateNamespaceSlotConfigParamsWithHTTPClient ¶
func NewUpdateNamespaceSlotConfigParamsWithHTTPClient(client *http.Client) *UpdateNamespaceSlotConfigParams
NewUpdateNamespaceSlotConfigParamsWithHTTPClient creates a new UpdateNamespaceSlotConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateNamespaceSlotConfigParamsWithTimeout ¶
func NewUpdateNamespaceSlotConfigParamsWithTimeout(timeout time.Duration) *UpdateNamespaceSlotConfigParams
NewUpdateNamespaceSlotConfigParamsWithTimeout creates a new UpdateNamespaceSlotConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateNamespaceSlotConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateNamespaceSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) SetBody ¶
func (o *UpdateNamespaceSlotConfigParams) SetBody(body *socialclientmodels.SlotConfigUpdate)
SetBody adds the body to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) SetContext ¶
func (o *UpdateNamespaceSlotConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) SetHTTPClient ¶
func (o *UpdateNamespaceSlotConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateNamespaceSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) SetNamespace ¶
func (o *UpdateNamespaceSlotConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) SetTimeout ¶
func (o *UpdateNamespaceSlotConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) WithBody ¶
func (o *UpdateNamespaceSlotConfigParams) WithBody(body *socialclientmodels.SlotConfigUpdate) *UpdateNamespaceSlotConfigParams
WithBody adds the body to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) WithContext ¶
func (o *UpdateNamespaceSlotConfigParams) WithContext(ctx context.Context) *UpdateNamespaceSlotConfigParams
WithContext adds the context to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) WithHTTPClient ¶
func (o *UpdateNamespaceSlotConfigParams) WithHTTPClient(client *http.Client) *UpdateNamespaceSlotConfigParams
WithHTTPClient adds the HTTPClient to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) WithNamespace ¶
func (o *UpdateNamespaceSlotConfigParams) WithNamespace(namespace string) *UpdateNamespaceSlotConfigParams
WithNamespace adds the namespace to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) WithTimeout ¶
func (o *UpdateNamespaceSlotConfigParams) WithTimeout(timeout time.Duration) *UpdateNamespaceSlotConfigParams
WithTimeout adds the timeout to the update namespace slot config params
func (*UpdateNamespaceSlotConfigParams) WriteToRequest ¶
func (o *UpdateNamespaceSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNamespaceSlotConfigReader ¶
type UpdateNamespaceSlotConfigReader struct {
// contains filtered or unexported fields
}
UpdateNamespaceSlotConfigReader is a Reader for the UpdateNamespaceSlotConfig structure.
func (*UpdateNamespaceSlotConfigReader) ReadResponse ¶
func (o *UpdateNamespaceSlotConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateUserSlotConfigOK ¶
type UpdateUserSlotConfigOK struct {
Payload *socialclientmodels.UserSlotConfigInfo
}
UpdateUserSlotConfigOK handles this case with default header values.
successful operation
func NewUpdateUserSlotConfigOK ¶
func NewUpdateUserSlotConfigOK() *UpdateUserSlotConfigOK
NewUpdateUserSlotConfigOK creates a UpdateUserSlotConfigOK with default headers values
func (*UpdateUserSlotConfigOK) Error ¶
func (o *UpdateUserSlotConfigOK) Error() string
func (*UpdateUserSlotConfigOK) GetPayload ¶
func (o *UpdateUserSlotConfigOK) GetPayload() *socialclientmodels.UserSlotConfigInfo
func (*UpdateUserSlotConfigOK) ToJSONString ¶ added in v0.25.0
func (o *UpdateUserSlotConfigOK) ToJSONString() string
type UpdateUserSlotConfigParams ¶
type UpdateUserSlotConfigParams struct { /*RetryPolicy*/ RetryPolicy *utils.Retry /*Body*/ Body *socialclientmodels.SlotConfigUpdate /*Namespace Namespace ID */ Namespace string /*UserID User ID */ UserID string AuthInfoWriter runtime.ClientAuthInfoWriter Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateUserSlotConfigParams contains all the parameters to send to the API endpoint for the update user slot config operation typically these are written to a http.Request
func NewUpdateUserSlotConfigParams ¶
func NewUpdateUserSlotConfigParams() *UpdateUserSlotConfigParams
NewUpdateUserSlotConfigParams creates a new UpdateUserSlotConfigParams object with the default values initialized.
func NewUpdateUserSlotConfigParamsWithContext ¶
func NewUpdateUserSlotConfigParamsWithContext(ctx context.Context) *UpdateUserSlotConfigParams
NewUpdateUserSlotConfigParamsWithContext creates a new UpdateUserSlotConfigParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateUserSlotConfigParamsWithHTTPClient ¶
func NewUpdateUserSlotConfigParamsWithHTTPClient(client *http.Client) *UpdateUserSlotConfigParams
NewUpdateUserSlotConfigParamsWithHTTPClient creates a new UpdateUserSlotConfigParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateUserSlotConfigParamsWithTimeout ¶
func NewUpdateUserSlotConfigParamsWithTimeout(timeout time.Duration) *UpdateUserSlotConfigParams
NewUpdateUserSlotConfigParamsWithTimeout creates a new UpdateUserSlotConfigParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateUserSlotConfigParams) SetAuthInfoWriter ¶ added in v0.17.0
func (o *UpdateUserSlotConfigParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)
SetAuthInfoWriter adds the authInfoWriter to the update user slot config params
func (*UpdateUserSlotConfigParams) SetBody ¶
func (o *UpdateUserSlotConfigParams) SetBody(body *socialclientmodels.SlotConfigUpdate)
SetBody adds the body to the update user slot config params
func (*UpdateUserSlotConfigParams) SetContext ¶
func (o *UpdateUserSlotConfigParams) SetContext(ctx context.Context)
SetContext adds the context to the update user slot config params
func (*UpdateUserSlotConfigParams) SetHTTPClient ¶
func (o *UpdateUserSlotConfigParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update user slot config params
func (*UpdateUserSlotConfigParams) SetHTTPClientTransport ¶ added in v0.19.0
func (o *UpdateUserSlotConfigParams) SetHTTPClientTransport(roundTripper http.RoundTripper)
SetHTTPClient adds the HTTPClient Transport to the update user slot config params
func (*UpdateUserSlotConfigParams) SetNamespace ¶
func (o *UpdateUserSlotConfigParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the update user slot config params
func (*UpdateUserSlotConfigParams) SetTimeout ¶
func (o *UpdateUserSlotConfigParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update user slot config params
func (*UpdateUserSlotConfigParams) SetUserID ¶
func (o *UpdateUserSlotConfigParams) SetUserID(userID string)
SetUserID adds the userId to the update user slot config params
func (*UpdateUserSlotConfigParams) WithBody ¶
func (o *UpdateUserSlotConfigParams) WithBody(body *socialclientmodels.SlotConfigUpdate) *UpdateUserSlotConfigParams
WithBody adds the body to the update user slot config params
func (*UpdateUserSlotConfigParams) WithContext ¶
func (o *UpdateUserSlotConfigParams) WithContext(ctx context.Context) *UpdateUserSlotConfigParams
WithContext adds the context to the update user slot config params
func (*UpdateUserSlotConfigParams) WithHTTPClient ¶
func (o *UpdateUserSlotConfigParams) WithHTTPClient(client *http.Client) *UpdateUserSlotConfigParams
WithHTTPClient adds the HTTPClient to the update user slot config params
func (*UpdateUserSlotConfigParams) WithNamespace ¶
func (o *UpdateUserSlotConfigParams) WithNamespace(namespace string) *UpdateUserSlotConfigParams
WithNamespace adds the namespace to the update user slot config params
func (*UpdateUserSlotConfigParams) WithTimeout ¶
func (o *UpdateUserSlotConfigParams) WithTimeout(timeout time.Duration) *UpdateUserSlotConfigParams
WithTimeout adds the timeout to the update user slot config params
func (*UpdateUserSlotConfigParams) WithUserID ¶
func (o *UpdateUserSlotConfigParams) WithUserID(userID string) *UpdateUserSlotConfigParams
WithUserID adds the userID to the update user slot config params
func (*UpdateUserSlotConfigParams) WriteToRequest ¶
func (o *UpdateUserSlotConfigParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateUserSlotConfigReader ¶
type UpdateUserSlotConfigReader struct {
// contains filtered or unexported fields
}
UpdateUserSlotConfigReader is a Reader for the UpdateUserSlotConfig structure.
func (*UpdateUserSlotConfigReader) ReadResponse ¶
func (o *UpdateUserSlotConfigReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- delete_namespace_slot_config_parameters.go
- delete_namespace_slot_config_responses.go
- delete_user_slot_config_parameters.go
- delete_user_slot_config_responses.go
- get_namespace_slot_config_parameters.go
- get_namespace_slot_config_responses.go
- get_user_slot_config_parameters.go
- get_user_slot_config_responses.go
- slot_config_client.go
- update_namespace_slot_config_parameters.go
- update_namespace_slot_config_responses.go
- update_user_slot_config_parameters.go
- update_user_slot_config_responses.go