slot

package
v0.34.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 16 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 API

func (*Client) GetSlotData deprecated

func (a *Client) GetSlotData(params *GetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*GetSlotDataOK, *GetSlotDataNotFound, error)

Deprecated: Use GetSlotDataShort instead.

GetSlotData returns slot data

Get slot data.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=2 (READ)</li><li><i>Returns</i>: slot data</li></ul>

func (*Client) GetSlotDataShort added in v0.8.0

func (a *Client) GetSlotDataShort(params *GetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*GetSlotDataOK, error)

GetSlotDataShort returns slot data

Get slot data.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=2 (READ)</li><li><i>Returns</i>: slot data</li></ul>

func (*Client) GetUserNamespaceSlots deprecated

func (a *Client) GetUserNamespaceSlots(params *GetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserNamespaceSlotsOK, error)

Deprecated: Use GetUserNamespaceSlotsShort instead.

GetUserNamespaceSlots returns list of slots for given user

Get slots for a given user.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=2 (READ)</li><li><i>Returns</i>: list of slots</li></ul>

func (*Client) GetUserNamespaceSlotsShort added in v0.8.0

func (a *Client) GetUserNamespaceSlotsShort(params *GetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserNamespaceSlotsOK, error)

GetUserNamespaceSlotsShort returns list of slots for given user

Get slots for a given user.<br>Other detail info:<ul><li><i>Required permission</i>: resource="ADMIN:NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=2 (READ)</li><li><i>Returns</i>: list of slots</li></ul>

func (*Client) PublicCreateUserNamespaceSlot deprecated

Deprecated: Use PublicCreateUserNamespaceSlotShort instead.

PublicCreateUserNamespaceSlot creates a slot

Creates a slot.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=1 (CREATE)</li><li><i>Returns</i>: created slot info</li></ul>

func (*Client) PublicCreateUserNamespaceSlotShort added in v0.8.0

func (a *Client) PublicCreateUserNamespaceSlotShort(params *PublicCreateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserNamespaceSlotCreated, error)

PublicCreateUserNamespaceSlotShort creates a slot

Creates a slot.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=1 (CREATE)</li><li><i>Returns</i>: created slot info</li></ul>

func (*Client) PublicDeleteUserNamespaceSlot deprecated

Deprecated: Use PublicDeleteUserNamespaceSlotShort instead.

PublicDeleteUserNamespaceSlot deletes the slot

Deletes the slot.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=8 (DELETE)</li></ul>

func (*Client) PublicDeleteUserNamespaceSlotShort added in v0.8.0

func (a *Client) PublicDeleteUserNamespaceSlotShort(params *PublicDeleteUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteUserNamespaceSlotNoContent, error)

PublicDeleteUserNamespaceSlotShort deletes the slot

Deletes the slot.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=8 (DELETE)</li></ul>

func (*Client) PublicGetSlotData deprecated

Deprecated: Use PublicGetSlotDataShort instead.

PublicGetSlotData returns slot data

Get slot data.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=2 (READ)</li><li><i>Returns</i>: slot data</li></ul>

func (*Client) PublicGetSlotDataShort added in v0.8.0

func (a *Client) PublicGetSlotDataShort(params *PublicGetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*PublicGetSlotDataOK, error)

PublicGetSlotDataShort returns slot data

Get slot data.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=2 (READ)</li><li><i>Returns</i>: slot data</li></ul>

func (*Client) PublicGetUserNamespaceSlots deprecated

func (a *Client) PublicGetUserNamespaceSlots(params *PublicGetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserNamespaceSlotsOK, error)

Deprecated: Use PublicGetUserNamespaceSlotsShort instead.

PublicGetUserNamespaceSlots returns slots for given user

Get list of slots for a given user in namespace.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=2 (READ)</li><li><i>Returns</i>: list of slots</li></ul>

func (*Client) PublicGetUserNamespaceSlotsShort added in v0.8.0

func (a *Client) PublicGetUserNamespaceSlotsShort(params *PublicGetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserNamespaceSlotsOK, error)

PublicGetUserNamespaceSlotsShort returns slots for given user

Get list of slots for a given user in namespace.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=2 (READ)</li><li><i>Returns</i>: list of slots</li></ul>

func (*Client) PublicUpdateUserNamespaceSlot deprecated

Deprecated: Use PublicUpdateUserNamespaceSlotShort instead.

PublicUpdateUserNamespaceSlot updates a slot

Updates a slot.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=4 (UPDATE)</li><li><i>Returns</i>: updated slot</li></ul>

func (*Client) PublicUpdateUserNamespaceSlotMetadata deprecated

Deprecated: Use PublicUpdateUserNamespaceSlotMetadataShort instead.

PublicUpdateUserNamespaceSlotMetadata updates the slot metadata

Updates the slot metadata.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=4 (UPDATE)</li><li><i>Returns</i>: updated slot</li></ul>

func (*Client) PublicUpdateUserNamespaceSlotMetadataShort added in v0.8.0

func (a *Client) PublicUpdateUserNamespaceSlotMetadataShort(params *PublicUpdateUserNamespaceSlotMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotMetadataOK, error)

PublicUpdateUserNamespaceSlotMetadataShort updates the slot metadata

Updates the slot metadata.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=4 (UPDATE)</li><li><i>Returns</i>: updated slot</li></ul>

func (*Client) PublicUpdateUserNamespaceSlotShort added in v0.8.0

func (a *Client) PublicUpdateUserNamespaceSlotShort(params *PublicUpdateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotOK, error)

PublicUpdateUserNamespaceSlotShort updates a slot

Updates a slot.<br>Other detail info:<ul><li><i>Required permission</i>: resource="NAMESPACE:{namespace}:USER:{userId}:SLOTDATA", action=4 (UPDATE)</li><li><i>Returns</i>: updated slot</li></ul>

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetSlotData(params *GetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*GetSlotDataOK, *GetSlotDataNotFound, error)
	GetSlotDataShort(params *GetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*GetSlotDataOK, error)
	GetUserNamespaceSlots(params *GetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserNamespaceSlotsOK, error)
	GetUserNamespaceSlotsShort(params *GetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserNamespaceSlotsOK, error)
	PublicCreateUserNamespaceSlot(params *PublicCreateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserNamespaceSlotCreated, *PublicCreateUserNamespaceSlotBadRequest, *PublicCreateUserNamespaceSlotConflict, error)
	PublicCreateUserNamespaceSlotShort(params *PublicCreateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserNamespaceSlotCreated, error)
	PublicDeleteUserNamespaceSlot(params *PublicDeleteUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteUserNamespaceSlotNoContent, *PublicDeleteUserNamespaceSlotNotFound, error)
	PublicDeleteUserNamespaceSlotShort(params *PublicDeleteUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteUserNamespaceSlotNoContent, error)
	PublicGetSlotData(params *PublicGetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*PublicGetSlotDataOK, *PublicGetSlotDataNotFound, error)
	PublicGetSlotDataShort(params *PublicGetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*PublicGetSlotDataOK, error)
	PublicGetUserNamespaceSlots(params *PublicGetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserNamespaceSlotsOK, error)
	PublicGetUserNamespaceSlotsShort(params *PublicGetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserNamespaceSlotsOK, error)
	PublicUpdateUserNamespaceSlot(params *PublicUpdateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotOK, *PublicUpdateUserNamespaceSlotBadRequest, *PublicUpdateUserNamespaceSlotNotFound, error)
	PublicUpdateUserNamespaceSlotShort(params *PublicUpdateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotOK, error)
	PublicUpdateUserNamespaceSlotMetadata(params *PublicUpdateUserNamespaceSlotMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotMetadataOK, *PublicUpdateUserNamespaceSlotMetadataNotFound, error)
	PublicUpdateUserNamespaceSlotMetadataShort(params *PublicUpdateUserNamespaceSlotMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotMetadataOK, 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 API client.

type GetSlotDataNotFound

type GetSlotDataNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

GetSlotDataNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12141</td><td>Slot [{slotId}] not found in namespace [{namespace}]</td></tr></table>

func NewGetSlotDataNotFound

func NewGetSlotDataNotFound() *GetSlotDataNotFound

NewGetSlotDataNotFound creates a GetSlotDataNotFound with default headers values

func (*GetSlotDataNotFound) Error

func (o *GetSlotDataNotFound) Error() string

func (*GetSlotDataNotFound) GetPayload

func (*GetSlotDataNotFound) ToJSONString added in v0.25.0

func (o *GetSlotDataNotFound) ToJSONString() string

type GetSlotDataOK

type GetSlotDataOK struct {
	Payload io.Writer
}

GetSlotDataOK handles this case with default header values.

Successful operation

func NewGetSlotDataOK

func NewGetSlotDataOK(writer io.Writer) *GetSlotDataOK

NewGetSlotDataOK creates a GetSlotDataOK with default headers values

func (*GetSlotDataOK) Error

func (o *GetSlotDataOK) Error() string

func (*GetSlotDataOK) GetPayload

func (o *GetSlotDataOK) GetPayload() io.Writer

func (*GetSlotDataOK) ToJSONString added in v0.25.0

func (o *GetSlotDataOK) ToJSONString() string

type GetSlotDataParams

type GetSlotDataParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*SlotID
	  Slot ID

	*/
	SlotID string
	/*UserID
	  User ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

GetSlotDataParams contains all the parameters to send to the API endpoint for the get slot data operation typically these are written to a http.Request

func NewGetSlotDataParams

func NewGetSlotDataParams() *GetSlotDataParams

NewGetSlotDataParams creates a new GetSlotDataParams object with the default values initialized.

func NewGetSlotDataParamsWithContext

func NewGetSlotDataParamsWithContext(ctx context.Context) *GetSlotDataParams

NewGetSlotDataParamsWithContext creates a new GetSlotDataParams object with the default values initialized, and the ability to set a context for a request

func NewGetSlotDataParamsWithHTTPClient

func NewGetSlotDataParamsWithHTTPClient(client *http.Client) *GetSlotDataParams

NewGetSlotDataParamsWithHTTPClient creates a new GetSlotDataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetSlotDataParamsWithTimeout

func NewGetSlotDataParamsWithTimeout(timeout time.Duration) *GetSlotDataParams

NewGetSlotDataParamsWithTimeout creates a new GetSlotDataParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetSlotDataParams) SetAuthInfoWriter added in v0.17.0

func (o *GetSlotDataParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get slot data params

func (*GetSlotDataParams) SetContext

func (o *GetSlotDataParams) SetContext(ctx context.Context)

SetContext adds the context to the get slot data params

func (*GetSlotDataParams) SetHTTPClient

func (o *GetSlotDataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get slot data params

func (*GetSlotDataParams) SetHTTPClientTransport added in v0.19.0

func (o *GetSlotDataParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get slot data params

func (*GetSlotDataParams) SetNamespace

func (o *GetSlotDataParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get slot data params

func (*GetSlotDataParams) SetSlotID

func (o *GetSlotDataParams) SetSlotID(slotID string)

SetSlotID adds the slotId to the get slot data params

func (*GetSlotDataParams) SetTimeout

func (o *GetSlotDataParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get slot data params

func (*GetSlotDataParams) SetUserID

func (o *GetSlotDataParams) SetUserID(userID string)

SetUserID adds the userId to the get slot data params

func (*GetSlotDataParams) WithContext

func (o *GetSlotDataParams) WithContext(ctx context.Context) *GetSlotDataParams

WithContext adds the context to the get slot data params

func (*GetSlotDataParams) WithHTTPClient

func (o *GetSlotDataParams) WithHTTPClient(client *http.Client) *GetSlotDataParams

WithHTTPClient adds the HTTPClient to the get slot data params

func (*GetSlotDataParams) WithNamespace

func (o *GetSlotDataParams) WithNamespace(namespace string) *GetSlotDataParams

WithNamespace adds the namespace to the get slot data params

func (*GetSlotDataParams) WithSlotID

func (o *GetSlotDataParams) WithSlotID(slotID string) *GetSlotDataParams

WithSlotID adds the slotID to the get slot data params

func (*GetSlotDataParams) WithTimeout

func (o *GetSlotDataParams) WithTimeout(timeout time.Duration) *GetSlotDataParams

WithTimeout adds the timeout to the get slot data params

func (*GetSlotDataParams) WithUserID

func (o *GetSlotDataParams) WithUserID(userID string) *GetSlotDataParams

WithUserID adds the userID to the get slot data params

func (*GetSlotDataParams) WriteToRequest

func (o *GetSlotDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GetSlotDataReader

type GetSlotDataReader struct {
	// contains filtered or unexported fields
}

GetSlotDataReader is a Reader for the GetSlotData structure.

func (*GetSlotDataReader) ReadResponse

func (o *GetSlotDataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetUserNamespaceSlotsOK

type GetUserNamespaceSlotsOK struct {
	Payload []*socialclientmodels.SlotInfo
}

GetUserNamespaceSlotsOK handles this case with default header values.

successful operation

func NewGetUserNamespaceSlotsOK

func NewGetUserNamespaceSlotsOK() *GetUserNamespaceSlotsOK

NewGetUserNamespaceSlotsOK creates a GetUserNamespaceSlotsOK with default headers values

func (*GetUserNamespaceSlotsOK) Error

func (o *GetUserNamespaceSlotsOK) Error() string

func (*GetUserNamespaceSlotsOK) GetPayload

func (*GetUserNamespaceSlotsOK) ToJSONString added in v0.25.0

func (o *GetUserNamespaceSlotsOK) ToJSONString() string

type GetUserNamespaceSlotsParams

type GetUserNamespaceSlotsParams 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
}

GetUserNamespaceSlotsParams contains all the parameters to send to the API endpoint for the get user namespace slots operation typically these are written to a http.Request

func NewGetUserNamespaceSlotsParams

func NewGetUserNamespaceSlotsParams() *GetUserNamespaceSlotsParams

NewGetUserNamespaceSlotsParams creates a new GetUserNamespaceSlotsParams object with the default values initialized.

func NewGetUserNamespaceSlotsParamsWithContext

func NewGetUserNamespaceSlotsParamsWithContext(ctx context.Context) *GetUserNamespaceSlotsParams

NewGetUserNamespaceSlotsParamsWithContext creates a new GetUserNamespaceSlotsParams object with the default values initialized, and the ability to set a context for a request

func NewGetUserNamespaceSlotsParamsWithHTTPClient

func NewGetUserNamespaceSlotsParamsWithHTTPClient(client *http.Client) *GetUserNamespaceSlotsParams

NewGetUserNamespaceSlotsParamsWithHTTPClient creates a new GetUserNamespaceSlotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetUserNamespaceSlotsParamsWithTimeout

func NewGetUserNamespaceSlotsParamsWithTimeout(timeout time.Duration) *GetUserNamespaceSlotsParams

NewGetUserNamespaceSlotsParamsWithTimeout creates a new GetUserNamespaceSlotsParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetUserNamespaceSlotsParams) SetAuthInfoWriter added in v0.17.0

func (o *GetUserNamespaceSlotsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) SetContext

func (o *GetUserNamespaceSlotsParams) SetContext(ctx context.Context)

SetContext adds the context to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) SetHTTPClient

func (o *GetUserNamespaceSlotsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) SetHTTPClientTransport added in v0.19.0

func (o *GetUserNamespaceSlotsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) SetNamespace

func (o *GetUserNamespaceSlotsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) SetTimeout

func (o *GetUserNamespaceSlotsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) SetUserID

func (o *GetUserNamespaceSlotsParams) SetUserID(userID string)

SetUserID adds the userId to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) WithContext

WithContext adds the context to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) WithNamespace

func (o *GetUserNamespaceSlotsParams) WithNamespace(namespace string) *GetUserNamespaceSlotsParams

WithNamespace adds the namespace to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) WithTimeout

WithTimeout adds the timeout to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) WithUserID

WithUserID adds the userID to the get user namespace slots params

func (*GetUserNamespaceSlotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetUserNamespaceSlotsReader

type GetUserNamespaceSlotsReader struct {
	// contains filtered or unexported fields
}

GetUserNamespaceSlotsReader is a Reader for the GetUserNamespaceSlots structure.

func (*GetUserNamespaceSlotsReader) ReadResponse

func (o *GetUserNamespaceSlotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicCreateUserNamespaceSlotBadRequest

type PublicCreateUserNamespaceSlotBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicCreateUserNamespaceSlotBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12121</td><td>Checksum mismatch for [{filename}]</td></tr><tr><td>12122</td><td>[{filename}] exceeds the upload limit size of [{sizeLimit}] bytes</td></tr></table>

func NewPublicCreateUserNamespaceSlotBadRequest

func NewPublicCreateUserNamespaceSlotBadRequest() *PublicCreateUserNamespaceSlotBadRequest

NewPublicCreateUserNamespaceSlotBadRequest creates a PublicCreateUserNamespaceSlotBadRequest with default headers values

func (*PublicCreateUserNamespaceSlotBadRequest) Error

func (*PublicCreateUserNamespaceSlotBadRequest) GetPayload

func (*PublicCreateUserNamespaceSlotBadRequest) ToJSONString added in v0.25.0

type PublicCreateUserNamespaceSlotConflict

type PublicCreateUserNamespaceSlotConflict struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicCreateUserNamespaceSlotConflict handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12171</td><td>User [{userId}] exceed max slot count [{maxCount}] in namespace [{namespace}]</td></tr></table>

func NewPublicCreateUserNamespaceSlotConflict

func NewPublicCreateUserNamespaceSlotConflict() *PublicCreateUserNamespaceSlotConflict

NewPublicCreateUserNamespaceSlotConflict creates a PublicCreateUserNamespaceSlotConflict with default headers values

func (*PublicCreateUserNamespaceSlotConflict) Error

func (*PublicCreateUserNamespaceSlotConflict) GetPayload

func (*PublicCreateUserNamespaceSlotConflict) ToJSONString added in v0.25.0

type PublicCreateUserNamespaceSlotCreated

type PublicCreateUserNamespaceSlotCreated struct {
}

PublicCreateUserNamespaceSlotCreated handles this case with default header values.

Successful create of a slot

func NewPublicCreateUserNamespaceSlotCreated

func NewPublicCreateUserNamespaceSlotCreated() *PublicCreateUserNamespaceSlotCreated

NewPublicCreateUserNamespaceSlotCreated creates a PublicCreateUserNamespaceSlotCreated with default headers values

func (*PublicCreateUserNamespaceSlotCreated) Error

type PublicCreateUserNamespaceSlotParams

type PublicCreateUserNamespaceSlotParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Checksum
	  File checksum, base64 encoded md5

	*/
	Checksum *string
	/*CustomAttribute
	  Custom attribute

	*/
	CustomAttribute *string
	/*File*/
	File runtime.NamedReadCloser
	/*Label
	  Label

	*/
	Label *string
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*Tags
	  Tags

	*/
	Tags []string
	/*UserID
	  User ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicCreateUserNamespaceSlotParams contains all the parameters to send to the API endpoint for the public create user namespace slot operation typically these are written to a http.Request

func NewPublicCreateUserNamespaceSlotParams

func NewPublicCreateUserNamespaceSlotParams() *PublicCreateUserNamespaceSlotParams

NewPublicCreateUserNamespaceSlotParams creates a new PublicCreateUserNamespaceSlotParams object with the default values initialized.

func NewPublicCreateUserNamespaceSlotParamsWithContext

func NewPublicCreateUserNamespaceSlotParamsWithContext(ctx context.Context) *PublicCreateUserNamespaceSlotParams

NewPublicCreateUserNamespaceSlotParamsWithContext creates a new PublicCreateUserNamespaceSlotParams object with the default values initialized, and the ability to set a context for a request

func NewPublicCreateUserNamespaceSlotParamsWithHTTPClient

func NewPublicCreateUserNamespaceSlotParamsWithHTTPClient(client *http.Client) *PublicCreateUserNamespaceSlotParams

NewPublicCreateUserNamespaceSlotParamsWithHTTPClient creates a new PublicCreateUserNamespaceSlotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicCreateUserNamespaceSlotParamsWithTimeout

func NewPublicCreateUserNamespaceSlotParamsWithTimeout(timeout time.Duration) *PublicCreateUserNamespaceSlotParams

NewPublicCreateUserNamespaceSlotParamsWithTimeout creates a new PublicCreateUserNamespaceSlotParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicCreateUserNamespaceSlotParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicCreateUserNamespaceSlotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetChecksum

func (o *PublicCreateUserNamespaceSlotParams) SetChecksum(checksum *string)

SetChecksum adds the checksum to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetContext

SetContext adds the context to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetCustomAttribute

func (o *PublicCreateUserNamespaceSlotParams) SetCustomAttribute(customAttribute *string)

SetCustomAttribute adds the customAttribute to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetFile

SetFile adds the file to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetHTTPClient

func (o *PublicCreateUserNamespaceSlotParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicCreateUserNamespaceSlotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetLabel

func (o *PublicCreateUserNamespaceSlotParams) SetLabel(label *string)

SetLabel adds the label to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetNamespace

func (o *PublicCreateUserNamespaceSlotParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetTags

func (o *PublicCreateUserNamespaceSlotParams) SetTags(tags []string)

SetTags adds the tags to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetTimeout

func (o *PublicCreateUserNamespaceSlotParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) SetUserID

func (o *PublicCreateUserNamespaceSlotParams) SetUserID(userID string)

SetUserID adds the userId to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithChecksum

WithChecksum adds the checksum to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithContext

WithContext adds the context to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithCustomAttribute

func (o *PublicCreateUserNamespaceSlotParams) WithCustomAttribute(customAttribute *string) *PublicCreateUserNamespaceSlotParams

WithCustomAttribute adds the customAttribute to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithFile

WithFile adds the file to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithLabel

WithLabel adds the label to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithNamespace

WithNamespace adds the namespace to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithTags

WithTags adds the tags to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithTimeout

WithTimeout adds the timeout to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WithUserID

WithUserID adds the userID to the public create user namespace slot params

func (*PublicCreateUserNamespaceSlotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicCreateUserNamespaceSlotReader

type PublicCreateUserNamespaceSlotReader struct {
	// contains filtered or unexported fields
}

PublicCreateUserNamespaceSlotReader is a Reader for the PublicCreateUserNamespaceSlot structure.

func (*PublicCreateUserNamespaceSlotReader) ReadResponse

func (o *PublicCreateUserNamespaceSlotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicDeleteUserNamespaceSlotNoContent

type PublicDeleteUserNamespaceSlotNoContent struct {
}

PublicDeleteUserNamespaceSlotNoContent handles this case with default header values.

Successful delete of a slot

func NewPublicDeleteUserNamespaceSlotNoContent

func NewPublicDeleteUserNamespaceSlotNoContent() *PublicDeleteUserNamespaceSlotNoContent

NewPublicDeleteUserNamespaceSlotNoContent creates a PublicDeleteUserNamespaceSlotNoContent with default headers values

func (*PublicDeleteUserNamespaceSlotNoContent) Error

type PublicDeleteUserNamespaceSlotNotFound

type PublicDeleteUserNamespaceSlotNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicDeleteUserNamespaceSlotNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12141</td><td>Slot [{slotId}] not found in namespace [{namespace}]</td></tr></table>

func NewPublicDeleteUserNamespaceSlotNotFound

func NewPublicDeleteUserNamespaceSlotNotFound() *PublicDeleteUserNamespaceSlotNotFound

NewPublicDeleteUserNamespaceSlotNotFound creates a PublicDeleteUserNamespaceSlotNotFound with default headers values

func (*PublicDeleteUserNamespaceSlotNotFound) Error

func (*PublicDeleteUserNamespaceSlotNotFound) GetPayload

func (*PublicDeleteUserNamespaceSlotNotFound) ToJSONString added in v0.25.0

type PublicDeleteUserNamespaceSlotParams

type PublicDeleteUserNamespaceSlotParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*SlotID
	  Slot ID

	*/
	SlotID string
	/*UserID
	  User ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicDeleteUserNamespaceSlotParams contains all the parameters to send to the API endpoint for the public delete user namespace slot operation typically these are written to a http.Request

func NewPublicDeleteUserNamespaceSlotParams

func NewPublicDeleteUserNamespaceSlotParams() *PublicDeleteUserNamespaceSlotParams

NewPublicDeleteUserNamespaceSlotParams creates a new PublicDeleteUserNamespaceSlotParams object with the default values initialized.

func NewPublicDeleteUserNamespaceSlotParamsWithContext

func NewPublicDeleteUserNamespaceSlotParamsWithContext(ctx context.Context) *PublicDeleteUserNamespaceSlotParams

NewPublicDeleteUserNamespaceSlotParamsWithContext creates a new PublicDeleteUserNamespaceSlotParams object with the default values initialized, and the ability to set a context for a request

func NewPublicDeleteUserNamespaceSlotParamsWithHTTPClient

func NewPublicDeleteUserNamespaceSlotParamsWithHTTPClient(client *http.Client) *PublicDeleteUserNamespaceSlotParams

NewPublicDeleteUserNamespaceSlotParamsWithHTTPClient creates a new PublicDeleteUserNamespaceSlotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicDeleteUserNamespaceSlotParamsWithTimeout

func NewPublicDeleteUserNamespaceSlotParamsWithTimeout(timeout time.Duration) *PublicDeleteUserNamespaceSlotParams

NewPublicDeleteUserNamespaceSlotParamsWithTimeout creates a new PublicDeleteUserNamespaceSlotParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicDeleteUserNamespaceSlotParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicDeleteUserNamespaceSlotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) SetContext

SetContext adds the context to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) SetHTTPClient

func (o *PublicDeleteUserNamespaceSlotParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicDeleteUserNamespaceSlotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) SetNamespace

func (o *PublicDeleteUserNamespaceSlotParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) SetSlotID

func (o *PublicDeleteUserNamespaceSlotParams) SetSlotID(slotID string)

SetSlotID adds the slotId to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) SetTimeout

func (o *PublicDeleteUserNamespaceSlotParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) SetUserID

func (o *PublicDeleteUserNamespaceSlotParams) SetUserID(userID string)

SetUserID adds the userId to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) WithContext

WithContext adds the context to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) WithNamespace

WithNamespace adds the namespace to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) WithSlotID

WithSlotID adds the slotID to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) WithTimeout

WithTimeout adds the timeout to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) WithUserID

WithUserID adds the userID to the public delete user namespace slot params

func (*PublicDeleteUserNamespaceSlotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicDeleteUserNamespaceSlotReader

type PublicDeleteUserNamespaceSlotReader struct {
	// contains filtered or unexported fields
}

PublicDeleteUserNamespaceSlotReader is a Reader for the PublicDeleteUserNamespaceSlot structure.

func (*PublicDeleteUserNamespaceSlotReader) ReadResponse

func (o *PublicDeleteUserNamespaceSlotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetSlotDataNotFound

type PublicGetSlotDataNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicGetSlotDataNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12141</td><td>Slot [{slotId}] not found in namespace [{namespace}]</td></tr></table>

func NewPublicGetSlotDataNotFound

func NewPublicGetSlotDataNotFound() *PublicGetSlotDataNotFound

NewPublicGetSlotDataNotFound creates a PublicGetSlotDataNotFound with default headers values

func (*PublicGetSlotDataNotFound) Error

func (o *PublicGetSlotDataNotFound) Error() string

func (*PublicGetSlotDataNotFound) GetPayload

func (*PublicGetSlotDataNotFound) ToJSONString added in v0.25.0

func (o *PublicGetSlotDataNotFound) ToJSONString() string

type PublicGetSlotDataOK

type PublicGetSlotDataOK struct {
	Payload io.Writer
}

PublicGetSlotDataOK handles this case with default header values.

Successful operation

func NewPublicGetSlotDataOK

func NewPublicGetSlotDataOK(writer io.Writer) *PublicGetSlotDataOK

NewPublicGetSlotDataOK creates a PublicGetSlotDataOK with default headers values

func (*PublicGetSlotDataOK) Error

func (o *PublicGetSlotDataOK) Error() string

func (*PublicGetSlotDataOK) GetPayload

func (o *PublicGetSlotDataOK) GetPayload() io.Writer

func (*PublicGetSlotDataOK) ToJSONString added in v0.25.0

func (o *PublicGetSlotDataOK) ToJSONString() string

type PublicGetSlotDataParams

type PublicGetSlotDataParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*SlotID
	  Slot ID

	*/
	SlotID string
	/*UserID
	  User ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicGetSlotDataParams contains all the parameters to send to the API endpoint for the public get slot data operation typically these are written to a http.Request

func NewPublicGetSlotDataParams

func NewPublicGetSlotDataParams() *PublicGetSlotDataParams

NewPublicGetSlotDataParams creates a new PublicGetSlotDataParams object with the default values initialized.

func NewPublicGetSlotDataParamsWithContext

func NewPublicGetSlotDataParamsWithContext(ctx context.Context) *PublicGetSlotDataParams

NewPublicGetSlotDataParamsWithContext creates a new PublicGetSlotDataParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetSlotDataParamsWithHTTPClient

func NewPublicGetSlotDataParamsWithHTTPClient(client *http.Client) *PublicGetSlotDataParams

NewPublicGetSlotDataParamsWithHTTPClient creates a new PublicGetSlotDataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetSlotDataParamsWithTimeout

func NewPublicGetSlotDataParamsWithTimeout(timeout time.Duration) *PublicGetSlotDataParams

NewPublicGetSlotDataParamsWithTimeout creates a new PublicGetSlotDataParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetSlotDataParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetSlotDataParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get slot data params

func (*PublicGetSlotDataParams) SetContext

func (o *PublicGetSlotDataParams) SetContext(ctx context.Context)

SetContext adds the context to the public get slot data params

func (*PublicGetSlotDataParams) SetHTTPClient

func (o *PublicGetSlotDataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get slot data params

func (*PublicGetSlotDataParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetSlotDataParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get slot data params

func (*PublicGetSlotDataParams) SetNamespace

func (o *PublicGetSlotDataParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get slot data params

func (*PublicGetSlotDataParams) SetSlotID

func (o *PublicGetSlotDataParams) SetSlotID(slotID string)

SetSlotID adds the slotId to the public get slot data params

func (*PublicGetSlotDataParams) SetTimeout

func (o *PublicGetSlotDataParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get slot data params

func (*PublicGetSlotDataParams) SetUserID

func (o *PublicGetSlotDataParams) SetUserID(userID string)

SetUserID adds the userId to the public get slot data params

func (*PublicGetSlotDataParams) WithContext

WithContext adds the context to the public get slot data params

func (*PublicGetSlotDataParams) WithHTTPClient

func (o *PublicGetSlotDataParams) WithHTTPClient(client *http.Client) *PublicGetSlotDataParams

WithHTTPClient adds the HTTPClient to the public get slot data params

func (*PublicGetSlotDataParams) WithNamespace

func (o *PublicGetSlotDataParams) WithNamespace(namespace string) *PublicGetSlotDataParams

WithNamespace adds the namespace to the public get slot data params

func (*PublicGetSlotDataParams) WithSlotID

WithSlotID adds the slotID to the public get slot data params

func (*PublicGetSlotDataParams) WithTimeout

WithTimeout adds the timeout to the public get slot data params

func (*PublicGetSlotDataParams) WithUserID

WithUserID adds the userID to the public get slot data params

func (*PublicGetSlotDataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetSlotDataReader

type PublicGetSlotDataReader struct {
	// contains filtered or unexported fields
}

PublicGetSlotDataReader is a Reader for the PublicGetSlotData structure.

func (*PublicGetSlotDataReader) ReadResponse

func (o *PublicGetSlotDataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicGetUserNamespaceSlotsOK

type PublicGetUserNamespaceSlotsOK struct {
	Payload []*socialclientmodels.SlotInfo
}

PublicGetUserNamespaceSlotsOK handles this case with default header values.

successful operation

func NewPublicGetUserNamespaceSlotsOK

func NewPublicGetUserNamespaceSlotsOK() *PublicGetUserNamespaceSlotsOK

NewPublicGetUserNamespaceSlotsOK creates a PublicGetUserNamespaceSlotsOK with default headers values

func (*PublicGetUserNamespaceSlotsOK) Error

func (*PublicGetUserNamespaceSlotsOK) GetPayload

func (*PublicGetUserNamespaceSlotsOK) ToJSONString added in v0.25.0

func (o *PublicGetUserNamespaceSlotsOK) ToJSONString() string

type PublicGetUserNamespaceSlotsParams

type PublicGetUserNamespaceSlotsParams 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
}

PublicGetUserNamespaceSlotsParams contains all the parameters to send to the API endpoint for the public get user namespace slots operation typically these are written to a http.Request

func NewPublicGetUserNamespaceSlotsParams

func NewPublicGetUserNamespaceSlotsParams() *PublicGetUserNamespaceSlotsParams

NewPublicGetUserNamespaceSlotsParams creates a new PublicGetUserNamespaceSlotsParams object with the default values initialized.

func NewPublicGetUserNamespaceSlotsParamsWithContext

func NewPublicGetUserNamespaceSlotsParamsWithContext(ctx context.Context) *PublicGetUserNamespaceSlotsParams

NewPublicGetUserNamespaceSlotsParamsWithContext creates a new PublicGetUserNamespaceSlotsParams object with the default values initialized, and the ability to set a context for a request

func NewPublicGetUserNamespaceSlotsParamsWithHTTPClient

func NewPublicGetUserNamespaceSlotsParamsWithHTTPClient(client *http.Client) *PublicGetUserNamespaceSlotsParams

NewPublicGetUserNamespaceSlotsParamsWithHTTPClient creates a new PublicGetUserNamespaceSlotsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicGetUserNamespaceSlotsParamsWithTimeout

func NewPublicGetUserNamespaceSlotsParamsWithTimeout(timeout time.Duration) *PublicGetUserNamespaceSlotsParams

NewPublicGetUserNamespaceSlotsParamsWithTimeout creates a new PublicGetUserNamespaceSlotsParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicGetUserNamespaceSlotsParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicGetUserNamespaceSlotsParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) SetContext

SetContext adds the context to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) SetHTTPClient

func (o *PublicGetUserNamespaceSlotsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicGetUserNamespaceSlotsParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) SetNamespace

func (o *PublicGetUserNamespaceSlotsParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) SetTimeout

func (o *PublicGetUserNamespaceSlotsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) SetUserID

func (o *PublicGetUserNamespaceSlotsParams) SetUserID(userID string)

SetUserID adds the userId to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) WithContext

WithContext adds the context to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) WithNamespace

WithNamespace adds the namespace to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) WithTimeout

WithTimeout adds the timeout to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) WithUserID

WithUserID adds the userID to the public get user namespace slots params

func (*PublicGetUserNamespaceSlotsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicGetUserNamespaceSlotsReader

type PublicGetUserNamespaceSlotsReader struct {
	// contains filtered or unexported fields
}

PublicGetUserNamespaceSlotsReader is a Reader for the PublicGetUserNamespaceSlots structure.

func (*PublicGetUserNamespaceSlotsReader) ReadResponse

func (o *PublicGetUserNamespaceSlotsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicUpdateUserNamespaceSlotBadRequest

type PublicUpdateUserNamespaceSlotBadRequest struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateUserNamespaceSlotBadRequest handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12121</td><td>Checksum mismatch for [{filename}]</td></tr><tr><td>12122</td><td>[{filename}] exceeds the upload limit size of [{sizeLimit}] bytes</td></tr></table>

func NewPublicUpdateUserNamespaceSlotBadRequest

func NewPublicUpdateUserNamespaceSlotBadRequest() *PublicUpdateUserNamespaceSlotBadRequest

NewPublicUpdateUserNamespaceSlotBadRequest creates a PublicUpdateUserNamespaceSlotBadRequest with default headers values

func (*PublicUpdateUserNamespaceSlotBadRequest) Error

func (*PublicUpdateUserNamespaceSlotBadRequest) GetPayload

func (*PublicUpdateUserNamespaceSlotBadRequest) ToJSONString added in v0.25.0

type PublicUpdateUserNamespaceSlotMetadataNotFound

type PublicUpdateUserNamespaceSlotMetadataNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateUserNamespaceSlotMetadataNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12141</td><td>Slot [{slotId}] not found in namespace [{namespace}]</td></tr></table>

func NewPublicUpdateUserNamespaceSlotMetadataNotFound

func NewPublicUpdateUserNamespaceSlotMetadataNotFound() *PublicUpdateUserNamespaceSlotMetadataNotFound

NewPublicUpdateUserNamespaceSlotMetadataNotFound creates a PublicUpdateUserNamespaceSlotMetadataNotFound with default headers values

func (*PublicUpdateUserNamespaceSlotMetadataNotFound) Error

func (*PublicUpdateUserNamespaceSlotMetadataNotFound) GetPayload

func (*PublicUpdateUserNamespaceSlotMetadataNotFound) ToJSONString added in v0.25.0

type PublicUpdateUserNamespaceSlotMetadataOK

type PublicUpdateUserNamespaceSlotMetadataOK struct {
	Payload *socialclientmodels.SlotInfo
}

PublicUpdateUserNamespaceSlotMetadataOK handles this case with default header values.

successful operation

func NewPublicUpdateUserNamespaceSlotMetadataOK

func NewPublicUpdateUserNamespaceSlotMetadataOK() *PublicUpdateUserNamespaceSlotMetadataOK

NewPublicUpdateUserNamespaceSlotMetadataOK creates a PublicUpdateUserNamespaceSlotMetadataOK with default headers values

func (*PublicUpdateUserNamespaceSlotMetadataOK) Error

func (*PublicUpdateUserNamespaceSlotMetadataOK) GetPayload

func (*PublicUpdateUserNamespaceSlotMetadataOK) ToJSONString added in v0.25.0

type PublicUpdateUserNamespaceSlotMetadataParams

type PublicUpdateUserNamespaceSlotMetadataParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Body*/
	Body *socialclientmodels.SlotMetadataUpdate
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*SlotID
	  Slot ID

	*/
	SlotID string
	/*UserID
	  User ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicUpdateUserNamespaceSlotMetadataParams contains all the parameters to send to the API endpoint for the public update user namespace slot metadata operation typically these are written to a http.Request

func NewPublicUpdateUserNamespaceSlotMetadataParams

func NewPublicUpdateUserNamespaceSlotMetadataParams() *PublicUpdateUserNamespaceSlotMetadataParams

NewPublicUpdateUserNamespaceSlotMetadataParams creates a new PublicUpdateUserNamespaceSlotMetadataParams object with the default values initialized.

func NewPublicUpdateUserNamespaceSlotMetadataParamsWithContext

func NewPublicUpdateUserNamespaceSlotMetadataParamsWithContext(ctx context.Context) *PublicUpdateUserNamespaceSlotMetadataParams

NewPublicUpdateUserNamespaceSlotMetadataParamsWithContext creates a new PublicUpdateUserNamespaceSlotMetadataParams object with the default values initialized, and the ability to set a context for a request

func NewPublicUpdateUserNamespaceSlotMetadataParamsWithHTTPClient

func NewPublicUpdateUserNamespaceSlotMetadataParamsWithHTTPClient(client *http.Client) *PublicUpdateUserNamespaceSlotMetadataParams

NewPublicUpdateUserNamespaceSlotMetadataParamsWithHTTPClient creates a new PublicUpdateUserNamespaceSlotMetadataParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicUpdateUserNamespaceSlotMetadataParamsWithTimeout

func NewPublicUpdateUserNamespaceSlotMetadataParamsWithTimeout(timeout time.Duration) *PublicUpdateUserNamespaceSlotMetadataParams

NewPublicUpdateUserNamespaceSlotMetadataParamsWithTimeout creates a new PublicUpdateUserNamespaceSlotMetadataParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetBody

SetBody adds the body to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetContext

SetContext adds the context to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetHTTPClient

func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetNamespace

func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetSlotID

SetSlotID adds the slotId to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetTimeout

SetTimeout adds the timeout to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) SetUserID

SetUserID adds the userId to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) WithBody

WithBody adds the body to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) WithContext

WithContext adds the context to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) WithNamespace

WithNamespace adds the namespace to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) WithSlotID

WithSlotID adds the slotID to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) WithTimeout

WithTimeout adds the timeout to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) WithUserID

WithUserID adds the userID to the public update user namespace slot metadata params

func (*PublicUpdateUserNamespaceSlotMetadataParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateUserNamespaceSlotMetadataReader

type PublicUpdateUserNamespaceSlotMetadataReader struct {
	// contains filtered or unexported fields
}

PublicUpdateUserNamespaceSlotMetadataReader is a Reader for the PublicUpdateUserNamespaceSlotMetadata structure.

func (*PublicUpdateUserNamespaceSlotMetadataReader) ReadResponse

func (o *PublicUpdateUserNamespaceSlotMetadataReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type PublicUpdateUserNamespaceSlotNotFound

type PublicUpdateUserNamespaceSlotNotFound struct {
	Payload *socialclientmodels.ErrorEntity
}

PublicUpdateUserNamespaceSlotNotFound handles this case with default header values.

<table><tr><td>ErrorCode</td><td>ErrorMessage</td></tr><tr><td>12141</td><td>Slot [{slotId}] not found in namespace [{namespace}]</td></tr></table>

func NewPublicUpdateUserNamespaceSlotNotFound

func NewPublicUpdateUserNamespaceSlotNotFound() *PublicUpdateUserNamespaceSlotNotFound

NewPublicUpdateUserNamespaceSlotNotFound creates a PublicUpdateUserNamespaceSlotNotFound with default headers values

func (*PublicUpdateUserNamespaceSlotNotFound) Error

func (*PublicUpdateUserNamespaceSlotNotFound) GetPayload

func (*PublicUpdateUserNamespaceSlotNotFound) ToJSONString added in v0.25.0

type PublicUpdateUserNamespaceSlotOK

type PublicUpdateUserNamespaceSlotOK struct {
	Payload *socialclientmodels.SlotInfo
}

PublicUpdateUserNamespaceSlotOK handles this case with default header values.

successful operation

func NewPublicUpdateUserNamespaceSlotOK

func NewPublicUpdateUserNamespaceSlotOK() *PublicUpdateUserNamespaceSlotOK

NewPublicUpdateUserNamespaceSlotOK creates a PublicUpdateUserNamespaceSlotOK with default headers values

func (*PublicUpdateUserNamespaceSlotOK) Error

func (*PublicUpdateUserNamespaceSlotOK) GetPayload

func (*PublicUpdateUserNamespaceSlotOK) ToJSONString added in v0.25.0

func (o *PublicUpdateUserNamespaceSlotOK) ToJSONString() string

type PublicUpdateUserNamespaceSlotParams

type PublicUpdateUserNamespaceSlotParams struct {

	/*RetryPolicy*/
	RetryPolicy *utils.Retry
	/*Checksum
	  File checksum

	*/
	Checksum *string
	/*CustomAttribute
	  Custom attribute

	*/
	CustomAttribute *string
	/*File*/
	File runtime.NamedReadCloser
	/*Label
	  Label

	*/
	Label *string
	/*Namespace
	  Namespace ID

	*/
	Namespace string
	/*SlotID
	  Slot ID

	*/
	SlotID string
	/*Tags
	  Tags

	*/
	Tags []string
	/*UserID
	  User ID

	*/
	UserID string

	AuthInfoWriter runtime.ClientAuthInfoWriter
	Context        context.Context
	HTTPClient     *http.Client
	// contains filtered or unexported fields
}

PublicUpdateUserNamespaceSlotParams contains all the parameters to send to the API endpoint for the public update user namespace slot operation typically these are written to a http.Request

func NewPublicUpdateUserNamespaceSlotParams

func NewPublicUpdateUserNamespaceSlotParams() *PublicUpdateUserNamespaceSlotParams

NewPublicUpdateUserNamespaceSlotParams creates a new PublicUpdateUserNamespaceSlotParams object with the default values initialized.

func NewPublicUpdateUserNamespaceSlotParamsWithContext

func NewPublicUpdateUserNamespaceSlotParamsWithContext(ctx context.Context) *PublicUpdateUserNamespaceSlotParams

NewPublicUpdateUserNamespaceSlotParamsWithContext creates a new PublicUpdateUserNamespaceSlotParams object with the default values initialized, and the ability to set a context for a request

func NewPublicUpdateUserNamespaceSlotParamsWithHTTPClient

func NewPublicUpdateUserNamespaceSlotParamsWithHTTPClient(client *http.Client) *PublicUpdateUserNamespaceSlotParams

NewPublicUpdateUserNamespaceSlotParamsWithHTTPClient creates a new PublicUpdateUserNamespaceSlotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewPublicUpdateUserNamespaceSlotParamsWithTimeout

func NewPublicUpdateUserNamespaceSlotParamsWithTimeout(timeout time.Duration) *PublicUpdateUserNamespaceSlotParams

NewPublicUpdateUserNamespaceSlotParamsWithTimeout creates a new PublicUpdateUserNamespaceSlotParams object with the default values initialized, and the ability to set a timeout on a request

func (*PublicUpdateUserNamespaceSlotParams) SetAuthInfoWriter added in v0.17.0

func (o *PublicUpdateUserNamespaceSlotParams) SetAuthInfoWriter(authInfoWriter runtime.ClientAuthInfoWriter)

SetAuthInfoWriter adds the authInfoWriter to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetChecksum

func (o *PublicUpdateUserNamespaceSlotParams) SetChecksum(checksum *string)

SetChecksum adds the checksum to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetContext

SetContext adds the context to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetCustomAttribute

func (o *PublicUpdateUserNamespaceSlotParams) SetCustomAttribute(customAttribute *string)

SetCustomAttribute adds the customAttribute to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetFile

SetFile adds the file to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetHTTPClient

func (o *PublicUpdateUserNamespaceSlotParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetHTTPClientTransport added in v0.19.0

func (o *PublicUpdateUserNamespaceSlotParams) SetHTTPClientTransport(roundTripper http.RoundTripper)

SetHTTPClient adds the HTTPClient Transport to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetLabel

func (o *PublicUpdateUserNamespaceSlotParams) SetLabel(label *string)

SetLabel adds the label to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetNamespace

func (o *PublicUpdateUserNamespaceSlotParams) SetNamespace(namespace string)

SetNamespace adds the namespace to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetSlotID

func (o *PublicUpdateUserNamespaceSlotParams) SetSlotID(slotID string)

SetSlotID adds the slotId to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetTags

func (o *PublicUpdateUserNamespaceSlotParams) SetTags(tags []string)

SetTags adds the tags to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetTimeout

func (o *PublicUpdateUserNamespaceSlotParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) SetUserID

func (o *PublicUpdateUserNamespaceSlotParams) SetUserID(userID string)

SetUserID adds the userId to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithChecksum

WithChecksum adds the checksum to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithContext

WithContext adds the context to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithCustomAttribute

func (o *PublicUpdateUserNamespaceSlotParams) WithCustomAttribute(customAttribute *string) *PublicUpdateUserNamespaceSlotParams

WithCustomAttribute adds the customAttribute to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithFile

WithFile adds the file to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithLabel

WithLabel adds the label to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithNamespace

WithNamespace adds the namespace to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithSlotID

WithSlotID adds the slotID to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithTags

WithTags adds the tags to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithTimeout

WithTimeout adds the timeout to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WithUserID

WithUserID adds the userID to the public update user namespace slot params

func (*PublicUpdateUserNamespaceSlotParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type PublicUpdateUserNamespaceSlotReader

type PublicUpdateUserNamespaceSlotReader struct {
	// contains filtered or unexported fields
}

PublicUpdateUserNamespaceSlotReader is a Reader for the PublicUpdateUserNamespaceSlot structure.

func (*PublicUpdateUserNamespaceSlotReader) ReadResponse

func (o *PublicUpdateUserNamespaceSlotReader) 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