slot

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 13 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

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

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

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

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

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

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

type GetSlotDataOK

type GetSlotDataOK struct {
	Payload io.Writer
}

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

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

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

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

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 {

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

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) 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

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

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

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

type PublicGetSlotDataOK

type PublicGetSlotDataOK struct {
	Payload io.Writer
}

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

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

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

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

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

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

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

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

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) 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

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

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

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) 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