Documentation ¶
Index ¶
- type Client
- func (a *Client) GetSlotData(params *GetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSlotDataOK, *GetSlotDataNotFound, error)
- func (a *Client) GetUserNamespaceSlots(params *GetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserNamespaceSlotsOK, error)
- func (a *Client) PublicCreateUserNamespaceSlot(params *PublicCreateUserNamespaceSlotParams, ...) (*PublicCreateUserNamespaceSlotCreated, ...)
- func (a *Client) PublicDeleteUserNamespaceSlot(params *PublicDeleteUserNamespaceSlotParams, ...) (*PublicDeleteUserNamespaceSlotNoContent, ...)
- func (a *Client) PublicGetSlotData(params *PublicGetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PublicGetSlotDataOK, *PublicGetSlotDataNotFound, error)
- func (a *Client) PublicGetUserNamespaceSlots(params *PublicGetUserNamespaceSlotsParams, ...) (*PublicGetUserNamespaceSlotsOK, error)
- func (a *Client) PublicUpdateUserNamespaceSlot(params *PublicUpdateUserNamespaceSlotParams, ...) (*PublicUpdateUserNamespaceSlotOK, *PublicUpdateUserNamespaceSlotBadRequest, ...)
- func (a *Client) PublicUpdateUserNamespaceSlotMetadata(params *PublicUpdateUserNamespaceSlotMetadataParams, ...) (*PublicUpdateUserNamespaceSlotMetadataOK, ...)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetSlotDataNotFound
- type GetSlotDataOK
- type GetSlotDataParams
- func (o *GetSlotDataParams) SetContext(ctx context.Context)
- func (o *GetSlotDataParams) SetHTTPClient(client *http.Client)
- func (o *GetSlotDataParams) SetNamespace(namespace string)
- func (o *GetSlotDataParams) SetSlotID(slotID string)
- func (o *GetSlotDataParams) SetTimeout(timeout time.Duration)
- func (o *GetSlotDataParams) SetUserID(userID string)
- func (o *GetSlotDataParams) WithContext(ctx context.Context) *GetSlotDataParams
- func (o *GetSlotDataParams) WithHTTPClient(client *http.Client) *GetSlotDataParams
- func (o *GetSlotDataParams) WithNamespace(namespace string) *GetSlotDataParams
- func (o *GetSlotDataParams) WithSlotID(slotID string) *GetSlotDataParams
- func (o *GetSlotDataParams) WithTimeout(timeout time.Duration) *GetSlotDataParams
- func (o *GetSlotDataParams) WithUserID(userID string) *GetSlotDataParams
- func (o *GetSlotDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSlotDataReader
- type GetUserNamespaceSlotsOK
- type GetUserNamespaceSlotsParams
- func NewGetUserNamespaceSlotsParams() *GetUserNamespaceSlotsParams
- func NewGetUserNamespaceSlotsParamsWithContext(ctx context.Context) *GetUserNamespaceSlotsParams
- func NewGetUserNamespaceSlotsParamsWithHTTPClient(client *http.Client) *GetUserNamespaceSlotsParams
- func NewGetUserNamespaceSlotsParamsWithTimeout(timeout time.Duration) *GetUserNamespaceSlotsParams
- func (o *GetUserNamespaceSlotsParams) SetContext(ctx context.Context)
- func (o *GetUserNamespaceSlotsParams) SetHTTPClient(client *http.Client)
- func (o *GetUserNamespaceSlotsParams) SetNamespace(namespace string)
- func (o *GetUserNamespaceSlotsParams) SetTimeout(timeout time.Duration)
- func (o *GetUserNamespaceSlotsParams) SetUserID(userID string)
- func (o *GetUserNamespaceSlotsParams) WithContext(ctx context.Context) *GetUserNamespaceSlotsParams
- func (o *GetUserNamespaceSlotsParams) WithHTTPClient(client *http.Client) *GetUserNamespaceSlotsParams
- func (o *GetUserNamespaceSlotsParams) WithNamespace(namespace string) *GetUserNamespaceSlotsParams
- func (o *GetUserNamespaceSlotsParams) WithTimeout(timeout time.Duration) *GetUserNamespaceSlotsParams
- func (o *GetUserNamespaceSlotsParams) WithUserID(userID string) *GetUserNamespaceSlotsParams
- func (o *GetUserNamespaceSlotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetUserNamespaceSlotsReader
- type PublicCreateUserNamespaceSlotBadRequest
- type PublicCreateUserNamespaceSlotConflict
- type PublicCreateUserNamespaceSlotCreated
- type PublicCreateUserNamespaceSlotParams
- func NewPublicCreateUserNamespaceSlotParams() *PublicCreateUserNamespaceSlotParams
- func NewPublicCreateUserNamespaceSlotParamsWithContext(ctx context.Context) *PublicCreateUserNamespaceSlotParams
- func NewPublicCreateUserNamespaceSlotParamsWithHTTPClient(client *http.Client) *PublicCreateUserNamespaceSlotParams
- func NewPublicCreateUserNamespaceSlotParamsWithTimeout(timeout time.Duration) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) SetChecksum(checksum *string)
- func (o *PublicCreateUserNamespaceSlotParams) SetContext(ctx context.Context)
- func (o *PublicCreateUserNamespaceSlotParams) SetCustomAttribute(customAttribute *string)
- func (o *PublicCreateUserNamespaceSlotParams) SetFile(file runtime.NamedReadCloser)
- func (o *PublicCreateUserNamespaceSlotParams) SetHTTPClient(client *http.Client)
- func (o *PublicCreateUserNamespaceSlotParams) SetLabel(label *string)
- func (o *PublicCreateUserNamespaceSlotParams) SetNamespace(namespace string)
- func (o *PublicCreateUserNamespaceSlotParams) SetTags(tags []string)
- func (o *PublicCreateUserNamespaceSlotParams) SetTimeout(timeout time.Duration)
- func (o *PublicCreateUserNamespaceSlotParams) SetUserID(userID string)
- func (o *PublicCreateUserNamespaceSlotParams) WithChecksum(checksum *string) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithContext(ctx context.Context) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithCustomAttribute(customAttribute *string) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithFile(file runtime.NamedReadCloser) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithHTTPClient(client *http.Client) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithLabel(label *string) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithNamespace(namespace string) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithTags(tags []string) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithTimeout(timeout time.Duration) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WithUserID(userID string) *PublicCreateUserNamespaceSlotParams
- func (o *PublicCreateUserNamespaceSlotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicCreateUserNamespaceSlotReader
- type PublicDeleteUserNamespaceSlotNoContent
- type PublicDeleteUserNamespaceSlotNotFound
- type PublicDeleteUserNamespaceSlotParams
- func NewPublicDeleteUserNamespaceSlotParams() *PublicDeleteUserNamespaceSlotParams
- func NewPublicDeleteUserNamespaceSlotParamsWithContext(ctx context.Context) *PublicDeleteUserNamespaceSlotParams
- func NewPublicDeleteUserNamespaceSlotParamsWithHTTPClient(client *http.Client) *PublicDeleteUserNamespaceSlotParams
- func NewPublicDeleteUserNamespaceSlotParamsWithTimeout(timeout time.Duration) *PublicDeleteUserNamespaceSlotParams
- func (o *PublicDeleteUserNamespaceSlotParams) SetContext(ctx context.Context)
- func (o *PublicDeleteUserNamespaceSlotParams) SetHTTPClient(client *http.Client)
- func (o *PublicDeleteUserNamespaceSlotParams) SetNamespace(namespace string)
- func (o *PublicDeleteUserNamespaceSlotParams) SetSlotID(slotID string)
- func (o *PublicDeleteUserNamespaceSlotParams) SetTimeout(timeout time.Duration)
- func (o *PublicDeleteUserNamespaceSlotParams) SetUserID(userID string)
- func (o *PublicDeleteUserNamespaceSlotParams) WithContext(ctx context.Context) *PublicDeleteUserNamespaceSlotParams
- func (o *PublicDeleteUserNamespaceSlotParams) WithHTTPClient(client *http.Client) *PublicDeleteUserNamespaceSlotParams
- func (o *PublicDeleteUserNamespaceSlotParams) WithNamespace(namespace string) *PublicDeleteUserNamespaceSlotParams
- func (o *PublicDeleteUserNamespaceSlotParams) WithSlotID(slotID string) *PublicDeleteUserNamespaceSlotParams
- func (o *PublicDeleteUserNamespaceSlotParams) WithTimeout(timeout time.Duration) *PublicDeleteUserNamespaceSlotParams
- func (o *PublicDeleteUserNamespaceSlotParams) WithUserID(userID string) *PublicDeleteUserNamespaceSlotParams
- func (o *PublicDeleteUserNamespaceSlotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicDeleteUserNamespaceSlotReader
- type PublicGetSlotDataNotFound
- type PublicGetSlotDataOK
- type PublicGetSlotDataParams
- func NewPublicGetSlotDataParams() *PublicGetSlotDataParams
- func NewPublicGetSlotDataParamsWithContext(ctx context.Context) *PublicGetSlotDataParams
- func NewPublicGetSlotDataParamsWithHTTPClient(client *http.Client) *PublicGetSlotDataParams
- func NewPublicGetSlotDataParamsWithTimeout(timeout time.Duration) *PublicGetSlotDataParams
- func (o *PublicGetSlotDataParams) SetContext(ctx context.Context)
- func (o *PublicGetSlotDataParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetSlotDataParams) SetNamespace(namespace string)
- func (o *PublicGetSlotDataParams) SetSlotID(slotID string)
- func (o *PublicGetSlotDataParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetSlotDataParams) SetUserID(userID string)
- func (o *PublicGetSlotDataParams) WithContext(ctx context.Context) *PublicGetSlotDataParams
- func (o *PublicGetSlotDataParams) WithHTTPClient(client *http.Client) *PublicGetSlotDataParams
- func (o *PublicGetSlotDataParams) WithNamespace(namespace string) *PublicGetSlotDataParams
- func (o *PublicGetSlotDataParams) WithSlotID(slotID string) *PublicGetSlotDataParams
- func (o *PublicGetSlotDataParams) WithTimeout(timeout time.Duration) *PublicGetSlotDataParams
- func (o *PublicGetSlotDataParams) WithUserID(userID string) *PublicGetSlotDataParams
- func (o *PublicGetSlotDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetSlotDataReader
- type PublicGetUserNamespaceSlotsOK
- type PublicGetUserNamespaceSlotsParams
- func NewPublicGetUserNamespaceSlotsParams() *PublicGetUserNamespaceSlotsParams
- func NewPublicGetUserNamespaceSlotsParamsWithContext(ctx context.Context) *PublicGetUserNamespaceSlotsParams
- func NewPublicGetUserNamespaceSlotsParamsWithHTTPClient(client *http.Client) *PublicGetUserNamespaceSlotsParams
- func NewPublicGetUserNamespaceSlotsParamsWithTimeout(timeout time.Duration) *PublicGetUserNamespaceSlotsParams
- func (o *PublicGetUserNamespaceSlotsParams) SetContext(ctx context.Context)
- func (o *PublicGetUserNamespaceSlotsParams) SetHTTPClient(client *http.Client)
- func (o *PublicGetUserNamespaceSlotsParams) SetNamespace(namespace string)
- func (o *PublicGetUserNamespaceSlotsParams) SetTimeout(timeout time.Duration)
- func (o *PublicGetUserNamespaceSlotsParams) SetUserID(userID string)
- func (o *PublicGetUserNamespaceSlotsParams) WithContext(ctx context.Context) *PublicGetUserNamespaceSlotsParams
- func (o *PublicGetUserNamespaceSlotsParams) WithHTTPClient(client *http.Client) *PublicGetUserNamespaceSlotsParams
- func (o *PublicGetUserNamespaceSlotsParams) WithNamespace(namespace string) *PublicGetUserNamespaceSlotsParams
- func (o *PublicGetUserNamespaceSlotsParams) WithTimeout(timeout time.Duration) *PublicGetUserNamespaceSlotsParams
- func (o *PublicGetUserNamespaceSlotsParams) WithUserID(userID string) *PublicGetUserNamespaceSlotsParams
- func (o *PublicGetUserNamespaceSlotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicGetUserNamespaceSlotsReader
- type PublicUpdateUserNamespaceSlotBadRequest
- type PublicUpdateUserNamespaceSlotMetadataNotFound
- type PublicUpdateUserNamespaceSlotMetadataOK
- type PublicUpdateUserNamespaceSlotMetadataParams
- func NewPublicUpdateUserNamespaceSlotMetadataParams() *PublicUpdateUserNamespaceSlotMetadataParams
- func NewPublicUpdateUserNamespaceSlotMetadataParamsWithContext(ctx context.Context) *PublicUpdateUserNamespaceSlotMetadataParams
- func NewPublicUpdateUserNamespaceSlotMetadataParamsWithHTTPClient(client *http.Client) *PublicUpdateUserNamespaceSlotMetadataParams
- func NewPublicUpdateUserNamespaceSlotMetadataParamsWithTimeout(timeout time.Duration) *PublicUpdateUserNamespaceSlotMetadataParams
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetBody(body *socialclientmodels.SlotMetadataUpdate)
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetContext(ctx context.Context)
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetHTTPClient(client *http.Client)
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetNamespace(namespace string)
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetSlotID(slotID string)
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetTimeout(timeout time.Duration)
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetUserID(userID string)
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithBody(body *socialclientmodels.SlotMetadataUpdate) *PublicUpdateUserNamespaceSlotMetadataParams
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithContext(ctx context.Context) *PublicUpdateUserNamespaceSlotMetadataParams
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithHTTPClient(client *http.Client) *PublicUpdateUserNamespaceSlotMetadataParams
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithNamespace(namespace string) *PublicUpdateUserNamespaceSlotMetadataParams
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithSlotID(slotID string) *PublicUpdateUserNamespaceSlotMetadataParams
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithTimeout(timeout time.Duration) *PublicUpdateUserNamespaceSlotMetadataParams
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithUserID(userID string) *PublicUpdateUserNamespaceSlotMetadataParams
- func (o *PublicUpdateUserNamespaceSlotMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUpdateUserNamespaceSlotMetadataReader
- type PublicUpdateUserNamespaceSlotNotFound
- type PublicUpdateUserNamespaceSlotOK
- type PublicUpdateUserNamespaceSlotParams
- func NewPublicUpdateUserNamespaceSlotParams() *PublicUpdateUserNamespaceSlotParams
- func NewPublicUpdateUserNamespaceSlotParamsWithContext(ctx context.Context) *PublicUpdateUserNamespaceSlotParams
- func NewPublicUpdateUserNamespaceSlotParamsWithHTTPClient(client *http.Client) *PublicUpdateUserNamespaceSlotParams
- func NewPublicUpdateUserNamespaceSlotParamsWithTimeout(timeout time.Duration) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) SetChecksum(checksum *string)
- func (o *PublicUpdateUserNamespaceSlotParams) SetContext(ctx context.Context)
- func (o *PublicUpdateUserNamespaceSlotParams) SetCustomAttribute(customAttribute *string)
- func (o *PublicUpdateUserNamespaceSlotParams) SetFile(file runtime.NamedReadCloser)
- func (o *PublicUpdateUserNamespaceSlotParams) SetHTTPClient(client *http.Client)
- func (o *PublicUpdateUserNamespaceSlotParams) SetLabel(label *string)
- func (o *PublicUpdateUserNamespaceSlotParams) SetNamespace(namespace string)
- func (o *PublicUpdateUserNamespaceSlotParams) SetSlotID(slotID string)
- func (o *PublicUpdateUserNamespaceSlotParams) SetTags(tags []string)
- func (o *PublicUpdateUserNamespaceSlotParams) SetTimeout(timeout time.Duration)
- func (o *PublicUpdateUserNamespaceSlotParams) SetUserID(userID string)
- func (o *PublicUpdateUserNamespaceSlotParams) WithChecksum(checksum *string) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithContext(ctx context.Context) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithCustomAttribute(customAttribute *string) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithFile(file runtime.NamedReadCloser) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithHTTPClient(client *http.Client) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithLabel(label *string) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithNamespace(namespace string) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithSlotID(slotID string) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithTags(tags []string) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithTimeout(timeout time.Duration) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WithUserID(userID string) *PublicUpdateUserNamespaceSlotParams
- func (o *PublicUpdateUserNamespaceSlotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PublicUpdateUserNamespaceSlotReader
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 ¶
func (a *Client) GetSlotData(params *GetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*GetSlotDataOK, *GetSlotDataNotFound, error)
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) GetUserNamespaceSlots ¶
func (a *Client) GetUserNamespaceSlots(params *GetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserNamespaceSlotsOK, error)
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) PublicCreateUserNamespaceSlot ¶
func (a *Client) PublicCreateUserNamespaceSlot(params *PublicCreateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserNamespaceSlotCreated, *PublicCreateUserNamespaceSlotBadRequest, *PublicCreateUserNamespaceSlotConflict, error)
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) PublicDeleteUserNamespaceSlot ¶
func (a *Client) PublicDeleteUserNamespaceSlot(params *PublicDeleteUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteUserNamespaceSlotNoContent, *PublicDeleteUserNamespaceSlotNotFound, error)
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) PublicGetSlotData ¶
func (a *Client) PublicGetSlotData(params *PublicGetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*PublicGetSlotDataOK, *PublicGetSlotDataNotFound, error)
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) PublicGetUserNamespaceSlots ¶
func (a *Client) PublicGetUserNamespaceSlots(params *PublicGetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserNamespaceSlotsOK, error)
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) PublicUpdateUserNamespaceSlot ¶
func (a *Client) PublicUpdateUserNamespaceSlot(params *PublicUpdateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotOK, *PublicUpdateUserNamespaceSlotBadRequest, *PublicUpdateUserNamespaceSlotNotFound, error)
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 ¶
func (a *Client) PublicUpdateUserNamespaceSlotMetadata(params *PublicUpdateUserNamespaceSlotMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotMetadataOK, *PublicUpdateUserNamespaceSlotMetadataNotFound, error)
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) 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) GetUserNamespaceSlots(params *GetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*GetUserNamespaceSlotsOK, error) PublicCreateUserNamespaceSlot(params *PublicCreateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicCreateUserNamespaceSlotCreated, *PublicCreateUserNamespaceSlotBadRequest, *PublicCreateUserNamespaceSlotConflict, error) PublicDeleteUserNamespaceSlot(params *PublicDeleteUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicDeleteUserNamespaceSlotNoContent, *PublicDeleteUserNamespaceSlotNotFound, error) PublicGetSlotData(params *PublicGetSlotDataParams, authInfo runtime.ClientAuthInfoWriter, writer io.Writer) (*PublicGetSlotDataOK, *PublicGetSlotDataNotFound, error) PublicGetUserNamespaceSlots(params *PublicGetUserNamespaceSlotsParams, authInfo runtime.ClientAuthInfoWriter) (*PublicGetUserNamespaceSlotsOK, error) PublicUpdateUserNamespaceSlot(params *PublicUpdateUserNamespaceSlotParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotOK, *PublicUpdateUserNamespaceSlotBadRequest, *PublicUpdateUserNamespaceSlotNotFound, error) PublicUpdateUserNamespaceSlotMetadata(params *PublicUpdateUserNamespaceSlotMetadataParams, authInfo runtime.ClientAuthInfoWriter) (*PublicUpdateUserNamespaceSlotMetadataOK, *PublicUpdateUserNamespaceSlotMetadataNotFound, 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 (o *GetSlotDataNotFound) GetPayload() *socialclientmodels.ErrorEntity
type GetSlotDataOK ¶
GetSlotDataOK handles this case with default header values.
Slot data
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
type GetSlotDataParams ¶
type GetSlotDataParams struct { /*Namespace Namespace ID */ Namespace string /*SlotID Slot ID */ SlotID string /*UserID User ID */ UserID string 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) 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) 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 (o *GetUserNamespaceSlotsOK) GetPayload() []*socialclientmodels.SlotInfo
type GetUserNamespaceSlotsParams ¶
type GetUserNamespaceSlotsParams struct { /*Namespace Namespace ID */ Namespace string /*UserID User ID */ UserID string 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) 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) 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 ¶
func (o *GetUserNamespaceSlotsParams) WithContext(ctx context.Context) *GetUserNamespaceSlotsParams
WithContext adds the context to the get user namespace slots params
func (*GetUserNamespaceSlotsParams) WithHTTPClient ¶
func (o *GetUserNamespaceSlotsParams) WithHTTPClient(client *http.Client) *GetUserNamespaceSlotsParams
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 ¶
func (o *GetUserNamespaceSlotsParams) WithTimeout(timeout time.Duration) *GetUserNamespaceSlotsParams
WithTimeout adds the timeout to the get user namespace slots params
func (*GetUserNamespaceSlotsParams) WithUserID ¶
func (o *GetUserNamespaceSlotsParams) WithUserID(userID string) *GetUserNamespaceSlotsParams
WithUserID adds the userID to the get user namespace slots params
func (*GetUserNamespaceSlotsParams) WriteToRequest ¶
func (o *GetUserNamespaceSlotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicCreateUserNamespaceSlotBadRequest) Error() string
func (*PublicCreateUserNamespaceSlotBadRequest) GetPayload ¶
func (o *PublicCreateUserNamespaceSlotBadRequest) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicCreateUserNamespaceSlotConflict) Error() string
func (*PublicCreateUserNamespaceSlotConflict) GetPayload ¶
func (o *PublicCreateUserNamespaceSlotConflict) GetPayload() *socialclientmodels.ErrorEntity
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 ¶
func (o *PublicCreateUserNamespaceSlotCreated) Error() string
type PublicCreateUserNamespaceSlotParams ¶
type PublicCreateUserNamespaceSlotParams struct { /*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 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) SetChecksum ¶
func (o *PublicCreateUserNamespaceSlotParams) SetChecksum(checksum *string)
SetChecksum adds the checksum to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) SetContext ¶
func (o *PublicCreateUserNamespaceSlotParams) SetContext(ctx context.Context)
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 ¶
func (o *PublicCreateUserNamespaceSlotParams) SetFile(file runtime.NamedReadCloser)
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) 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 ¶
func (o *PublicCreateUserNamespaceSlotParams) WithChecksum(checksum *string) *PublicCreateUserNamespaceSlotParams
WithChecksum adds the checksum to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) WithContext ¶
func (o *PublicCreateUserNamespaceSlotParams) WithContext(ctx context.Context) *PublicCreateUserNamespaceSlotParams
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 ¶
func (o *PublicCreateUserNamespaceSlotParams) WithFile(file runtime.NamedReadCloser) *PublicCreateUserNamespaceSlotParams
WithFile adds the file to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) WithHTTPClient ¶
func (o *PublicCreateUserNamespaceSlotParams) WithHTTPClient(client *http.Client) *PublicCreateUserNamespaceSlotParams
WithHTTPClient adds the HTTPClient to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) WithLabel ¶
func (o *PublicCreateUserNamespaceSlotParams) WithLabel(label *string) *PublicCreateUserNamespaceSlotParams
WithLabel adds the label to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) WithNamespace ¶
func (o *PublicCreateUserNamespaceSlotParams) WithNamespace(namespace string) *PublicCreateUserNamespaceSlotParams
WithNamespace adds the namespace to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) WithTags ¶
func (o *PublicCreateUserNamespaceSlotParams) WithTags(tags []string) *PublicCreateUserNamespaceSlotParams
WithTags adds the tags to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) WithTimeout ¶
func (o *PublicCreateUserNamespaceSlotParams) WithTimeout(timeout time.Duration) *PublicCreateUserNamespaceSlotParams
WithTimeout adds the timeout to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) WithUserID ¶
func (o *PublicCreateUserNamespaceSlotParams) WithUserID(userID string) *PublicCreateUserNamespaceSlotParams
WithUserID adds the userID to the public create user namespace slot params
func (*PublicCreateUserNamespaceSlotParams) WriteToRequest ¶
func (o *PublicCreateUserNamespaceSlotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 ¶
func (o *PublicDeleteUserNamespaceSlotNoContent) Error() string
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 (o *PublicDeleteUserNamespaceSlotNotFound) Error() string
func (*PublicDeleteUserNamespaceSlotNotFound) GetPayload ¶
func (o *PublicDeleteUserNamespaceSlotNotFound) GetPayload() *socialclientmodels.ErrorEntity
type PublicDeleteUserNamespaceSlotParams ¶
type PublicDeleteUserNamespaceSlotParams struct { /*Namespace Namespace ID */ Namespace string /*SlotID Slot ID */ SlotID string /*UserID User ID */ UserID string 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) SetContext ¶
func (o *PublicDeleteUserNamespaceSlotParams) SetContext(ctx context.Context)
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) 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 ¶
func (o *PublicDeleteUserNamespaceSlotParams) WithContext(ctx context.Context) *PublicDeleteUserNamespaceSlotParams
WithContext adds the context to the public delete user namespace slot params
func (*PublicDeleteUserNamespaceSlotParams) WithHTTPClient ¶
func (o *PublicDeleteUserNamespaceSlotParams) WithHTTPClient(client *http.Client) *PublicDeleteUserNamespaceSlotParams
WithHTTPClient adds the HTTPClient to the public delete user namespace slot params
func (*PublicDeleteUserNamespaceSlotParams) WithNamespace ¶
func (o *PublicDeleteUserNamespaceSlotParams) WithNamespace(namespace string) *PublicDeleteUserNamespaceSlotParams
WithNamespace adds the namespace to the public delete user namespace slot params
func (*PublicDeleteUserNamespaceSlotParams) WithSlotID ¶
func (o *PublicDeleteUserNamespaceSlotParams) WithSlotID(slotID string) *PublicDeleteUserNamespaceSlotParams
WithSlotID adds the slotID to the public delete user namespace slot params
func (*PublicDeleteUserNamespaceSlotParams) WithTimeout ¶
func (o *PublicDeleteUserNamespaceSlotParams) WithTimeout(timeout time.Duration) *PublicDeleteUserNamespaceSlotParams
WithTimeout adds the timeout to the public delete user namespace slot params
func (*PublicDeleteUserNamespaceSlotParams) WithUserID ¶
func (o *PublicDeleteUserNamespaceSlotParams) WithUserID(userID string) *PublicDeleteUserNamespaceSlotParams
WithUserID adds the userID to the public delete user namespace slot params
func (*PublicDeleteUserNamespaceSlotParams) WriteToRequest ¶
func (o *PublicDeleteUserNamespaceSlotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicGetSlotDataNotFound) GetPayload() *socialclientmodels.ErrorEntity
type PublicGetSlotDataOK ¶
PublicGetSlotDataOK handles this case with default header values.
suscessfull 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
type PublicGetSlotDataParams ¶
type PublicGetSlotDataParams struct { /*Namespace Namespace ID */ Namespace string /*SlotID Slot ID */ SlotID string /*UserID User ID */ UserID string 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) 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) 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 ¶
func (o *PublicGetSlotDataParams) WithContext(ctx context.Context) *PublicGetSlotDataParams
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 ¶
func (o *PublicGetSlotDataParams) WithSlotID(slotID string) *PublicGetSlotDataParams
WithSlotID adds the slotID to the public get slot data params
func (*PublicGetSlotDataParams) WithTimeout ¶
func (o *PublicGetSlotDataParams) WithTimeout(timeout time.Duration) *PublicGetSlotDataParams
WithTimeout adds the timeout to the public get slot data params
func (*PublicGetSlotDataParams) WithUserID ¶
func (o *PublicGetSlotDataParams) WithUserID(userID string) *PublicGetSlotDataParams
WithUserID adds the userID to the public get slot data params
func (*PublicGetSlotDataParams) WriteToRequest ¶
func (o *PublicGetSlotDataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicGetUserNamespaceSlotsOK) Error() string
func (*PublicGetUserNamespaceSlotsOK) GetPayload ¶
func (o *PublicGetUserNamespaceSlotsOK) GetPayload() []*socialclientmodels.SlotInfo
type PublicGetUserNamespaceSlotsParams ¶
type PublicGetUserNamespaceSlotsParams struct { /*Namespace Namespace ID */ Namespace string /*UserID User ID */ UserID string 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) SetContext ¶
func (o *PublicGetUserNamespaceSlotsParams) SetContext(ctx context.Context)
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) 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 ¶
func (o *PublicGetUserNamespaceSlotsParams) WithContext(ctx context.Context) *PublicGetUserNamespaceSlotsParams
WithContext adds the context to the public get user namespace slots params
func (*PublicGetUserNamespaceSlotsParams) WithHTTPClient ¶
func (o *PublicGetUserNamespaceSlotsParams) WithHTTPClient(client *http.Client) *PublicGetUserNamespaceSlotsParams
WithHTTPClient adds the HTTPClient to the public get user namespace slots params
func (*PublicGetUserNamespaceSlotsParams) WithNamespace ¶
func (o *PublicGetUserNamespaceSlotsParams) WithNamespace(namespace string) *PublicGetUserNamespaceSlotsParams
WithNamespace adds the namespace to the public get user namespace slots params
func (*PublicGetUserNamespaceSlotsParams) WithTimeout ¶
func (o *PublicGetUserNamespaceSlotsParams) WithTimeout(timeout time.Duration) *PublicGetUserNamespaceSlotsParams
WithTimeout adds the timeout to the public get user namespace slots params
func (*PublicGetUserNamespaceSlotsParams) WithUserID ¶
func (o *PublicGetUserNamespaceSlotsParams) WithUserID(userID string) *PublicGetUserNamespaceSlotsParams
WithUserID adds the userID to the public get user namespace slots params
func (*PublicGetUserNamespaceSlotsParams) WriteToRequest ¶
func (o *PublicGetUserNamespaceSlotsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicUpdateUserNamespaceSlotBadRequest) Error() string
func (*PublicUpdateUserNamespaceSlotBadRequest) GetPayload ¶
func (o *PublicUpdateUserNamespaceSlotBadRequest) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicUpdateUserNamespaceSlotMetadataNotFound) Error() string
func (*PublicUpdateUserNamespaceSlotMetadataNotFound) GetPayload ¶
func (o *PublicUpdateUserNamespaceSlotMetadataNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicUpdateUserNamespaceSlotMetadataOK) Error() string
func (*PublicUpdateUserNamespaceSlotMetadataOK) GetPayload ¶
func (o *PublicUpdateUserNamespaceSlotMetadataOK) GetPayload() *socialclientmodels.SlotInfo
type PublicUpdateUserNamespaceSlotMetadataParams ¶
type PublicUpdateUserNamespaceSlotMetadataParams struct { /*Body*/ Body *socialclientmodels.SlotMetadataUpdate /*Namespace Namespace ID */ Namespace string /*SlotID Slot ID */ SlotID string /*UserID User ID */ UserID string 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) SetBody ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetBody(body *socialclientmodels.SlotMetadataUpdate)
SetBody adds the body to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) SetContext ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetContext(ctx context.Context)
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) SetNamespace ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetNamespace(namespace string)
SetNamespace adds the namespace to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) SetSlotID ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetSlotID(slotID string)
SetSlotID adds the slotId to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) SetTimeout ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) SetUserID ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) SetUserID(userID string)
SetUserID adds the userId to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) WithBody ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithBody(body *socialclientmodels.SlotMetadataUpdate) *PublicUpdateUserNamespaceSlotMetadataParams
WithBody adds the body to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) WithContext ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithContext(ctx context.Context) *PublicUpdateUserNamespaceSlotMetadataParams
WithContext adds the context to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) WithHTTPClient ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithHTTPClient(client *http.Client) *PublicUpdateUserNamespaceSlotMetadataParams
WithHTTPClient adds the HTTPClient to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) WithNamespace ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithNamespace(namespace string) *PublicUpdateUserNamespaceSlotMetadataParams
WithNamespace adds the namespace to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) WithSlotID ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithSlotID(slotID string) *PublicUpdateUserNamespaceSlotMetadataParams
WithSlotID adds the slotID to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) WithTimeout ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithTimeout(timeout time.Duration) *PublicUpdateUserNamespaceSlotMetadataParams
WithTimeout adds the timeout to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) WithUserID ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) WithUserID(userID string) *PublicUpdateUserNamespaceSlotMetadataParams
WithUserID adds the userID to the public update user namespace slot metadata params
func (*PublicUpdateUserNamespaceSlotMetadataParams) WriteToRequest ¶
func (o *PublicUpdateUserNamespaceSlotMetadataParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 (o *PublicUpdateUserNamespaceSlotNotFound) Error() string
func (*PublicUpdateUserNamespaceSlotNotFound) GetPayload ¶
func (o *PublicUpdateUserNamespaceSlotNotFound) GetPayload() *socialclientmodels.ErrorEntity
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 (o *PublicUpdateUserNamespaceSlotOK) Error() string
func (*PublicUpdateUserNamespaceSlotOK) GetPayload ¶
func (o *PublicUpdateUserNamespaceSlotOK) GetPayload() *socialclientmodels.SlotInfo
type PublicUpdateUserNamespaceSlotParams ¶
type PublicUpdateUserNamespaceSlotParams struct { /*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 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) SetChecksum ¶
func (o *PublicUpdateUserNamespaceSlotParams) SetChecksum(checksum *string)
SetChecksum adds the checksum to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) SetContext ¶
func (o *PublicUpdateUserNamespaceSlotParams) SetContext(ctx context.Context)
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 ¶
func (o *PublicUpdateUserNamespaceSlotParams) SetFile(file runtime.NamedReadCloser)
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) 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 ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithChecksum(checksum *string) *PublicUpdateUserNamespaceSlotParams
WithChecksum adds the checksum to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WithContext ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithContext(ctx context.Context) *PublicUpdateUserNamespaceSlotParams
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 ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithFile(file runtime.NamedReadCloser) *PublicUpdateUserNamespaceSlotParams
WithFile adds the file to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WithHTTPClient ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithHTTPClient(client *http.Client) *PublicUpdateUserNamespaceSlotParams
WithHTTPClient adds the HTTPClient to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WithLabel ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithLabel(label *string) *PublicUpdateUserNamespaceSlotParams
WithLabel adds the label to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WithNamespace ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithNamespace(namespace string) *PublicUpdateUserNamespaceSlotParams
WithNamespace adds the namespace to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WithSlotID ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithSlotID(slotID string) *PublicUpdateUserNamespaceSlotParams
WithSlotID adds the slotID to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WithTags ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithTags(tags []string) *PublicUpdateUserNamespaceSlotParams
WithTags adds the tags to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WithTimeout ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithTimeout(timeout time.Duration) *PublicUpdateUserNamespaceSlotParams
WithTimeout adds the timeout to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WithUserID ¶
func (o *PublicUpdateUserNamespaceSlotParams) WithUserID(userID string) *PublicUpdateUserNamespaceSlotParams
WithUserID adds the userID to the public update user namespace slot params
func (*PublicUpdateUserNamespaceSlotParams) WriteToRequest ¶
func (o *PublicUpdateUserNamespaceSlotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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.
Source Files ¶
- get_slot_data_parameters.go
- get_slot_data_responses.go
- get_user_namespace_slots_parameters.go
- get_user_namespace_slots_responses.go
- public_create_user_namespace_slot_parameters.go
- public_create_user_namespace_slot_responses.go
- public_delete_user_namespace_slot_parameters.go
- public_delete_user_namespace_slot_responses.go
- public_get_slot_data_parameters.go
- public_get_slot_data_responses.go
- public_get_user_namespace_slots_parameters.go
- public_get_user_namespace_slots_responses.go
- public_update_user_namespace_slot_metadata_parameters.go
- public_update_user_namespace_slot_metadata_responses.go
- public_update_user_namespace_slot_parameters.go
- public_update_user_namespace_slot_responses.go
- slot_client.go