slot_config

package
v0.26.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2022 License: MIT Imports: 14 Imported by: 1

Documentation

Index

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

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

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

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

WithContext adds the context to the delete namespace slot config params

func (*DeleteNamespaceSlotConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the delete namespace slot config params

func (*DeleteNamespaceSlotConfigParams) WithNamespace

WithNamespace adds the namespace to the delete namespace slot config params

func (*DeleteNamespaceSlotConfigParams) WithTimeout

WithTimeout adds the timeout to the delete namespace slot config params

func (*DeleteNamespaceSlotConfigParams) WriteToRequest

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

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

WithContext adds the context to the delete user slot config params

func (*DeleteUserSlotConfigParams) WithHTTPClient

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

WithTimeout adds the timeout to the delete user slot config params

func (*DeleteUserSlotConfigParams) WithUserID

WithUserID adds the userID to the delete user slot config params

func (*DeleteUserSlotConfigParams) WriteToRequest

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 (*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

WithContext adds the context to the get namespace slot config params

func (*GetNamespaceSlotConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get namespace slot config params

func (*GetNamespaceSlotConfigParams) WithNamespace

WithNamespace adds the namespace to the get namespace slot config params

func (*GetNamespaceSlotConfigParams) WithTimeout

WithTimeout adds the timeout to the get namespace slot config params

func (*GetNamespaceSlotConfigParams) WriteToRequest

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 (*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

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

WithTimeout adds the timeout to the get user slot config params

func (*GetUserSlotConfigParams) WithUserID

WithUserID adds the userID to the get user slot config params

func (*GetUserSlotConfigParams) WriteToRequest

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 (*UpdateNamespaceSlotConfigOK) GetPayload

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

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

WithBody adds the body to the update namespace slot config params

func (*UpdateNamespaceSlotConfigParams) WithContext

WithContext adds the context to the update namespace slot config params

func (*UpdateNamespaceSlotConfigParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the update namespace slot config params

func (*UpdateNamespaceSlotConfigParams) WithNamespace

WithNamespace adds the namespace to the update namespace slot config params

func (*UpdateNamespaceSlotConfigParams) WithTimeout

WithTimeout adds the timeout to the update namespace slot config params

func (*UpdateNamespaceSlotConfigParams) WriteToRequest

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 (*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

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

WithBody adds the body to the update user slot config params

func (*UpdateUserSlotConfigParams) WithContext

WithContext adds the context to the update user slot config params

func (*UpdateUserSlotConfigParams) WithHTTPClient

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

WithTimeout adds the timeout to the update user slot config params

func (*UpdateUserSlotConfigParams) WithUserID

WithUserID adds the userID to the update user slot config params

func (*UpdateUserSlotConfigParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL