playlists

package
v0.0.0-...-d4d7cce Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

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 playlists API

func (*Client) CreatePlaylist

func (a *Client) CreatePlaylist(params *CreatePlaylistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePlaylistOK, error)

CreatePlaylist creates playlist

func (*Client) DeletePlaylist

func (a *Client) DeletePlaylist(params *DeletePlaylistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePlaylistOK, error)

DeletePlaylist deletes playlist

func (*Client) GetPlaylist

func (a *Client) GetPlaylist(params *GetPlaylistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlaylistOK, error)

GetPlaylist gets playlist

func (*Client) GetPlaylistDashboards

func (a *Client) GetPlaylistDashboards(params *GetPlaylistDashboardsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlaylistDashboardsOK, error)

GetPlaylistDashboards gets playlist dashboards

func (*Client) GetPlaylistItems

func (a *Client) GetPlaylistItems(params *GetPlaylistItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlaylistItemsOK, error)

GetPlaylistItems gets playlist items

func (*Client) SearchPlaylists

func (a *Client) SearchPlaylists(params *SearchPlaylistsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchPlaylistsOK, error)

SearchPlaylists gets playlists

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePlaylist

func (a *Client) UpdatePlaylist(params *UpdatePlaylistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePlaylistOK, error)

UpdatePlaylist updates playlist

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	CreatePlaylist(params *CreatePlaylistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreatePlaylistOK, error)

	DeletePlaylist(params *DeletePlaylistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeletePlaylistOK, error)

	GetPlaylist(params *GetPlaylistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlaylistOK, error)

	GetPlaylistDashboards(params *GetPlaylistDashboardsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlaylistDashboardsOK, error)

	GetPlaylistItems(params *GetPlaylistItemsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPlaylistItemsOK, error)

	SearchPlaylists(params *SearchPlaylistsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*SearchPlaylistsOK, error)

	UpdatePlaylist(params *UpdatePlaylistParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdatePlaylistOK, 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 playlists API client.

type CreatePlaylistForbidden

type CreatePlaylistForbidden struct {
	Payload *models.ErrorResponseBody
}

CreatePlaylistForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewCreatePlaylistForbidden

func NewCreatePlaylistForbidden() *CreatePlaylistForbidden

NewCreatePlaylistForbidden creates a CreatePlaylistForbidden with default headers values

func (*CreatePlaylistForbidden) Error

func (o *CreatePlaylistForbidden) Error() string

func (*CreatePlaylistForbidden) GetPayload

type CreatePlaylistInternalServerError

type CreatePlaylistInternalServerError struct {
	Payload *models.ErrorResponseBody
}

CreatePlaylistInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewCreatePlaylistInternalServerError

func NewCreatePlaylistInternalServerError() *CreatePlaylistInternalServerError

NewCreatePlaylistInternalServerError creates a CreatePlaylistInternalServerError with default headers values

func (*CreatePlaylistInternalServerError) Error

func (*CreatePlaylistInternalServerError) GetPayload

type CreatePlaylistNotFound

type CreatePlaylistNotFound struct {
	Payload *models.ErrorResponseBody
}

CreatePlaylistNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewCreatePlaylistNotFound

func NewCreatePlaylistNotFound() *CreatePlaylistNotFound

NewCreatePlaylistNotFound creates a CreatePlaylistNotFound with default headers values

func (*CreatePlaylistNotFound) Error

func (o *CreatePlaylistNotFound) Error() string

func (*CreatePlaylistNotFound) GetPayload

type CreatePlaylistOK

type CreatePlaylistOK struct {
	Payload *models.Playlist
}

CreatePlaylistOK describes a response with status code 200, with default header values.

(empty)

func NewCreatePlaylistOK

func NewCreatePlaylistOK() *CreatePlaylistOK

NewCreatePlaylistOK creates a CreatePlaylistOK with default headers values

func (*CreatePlaylistOK) Error

func (o *CreatePlaylistOK) Error() string

func (*CreatePlaylistOK) GetPayload

func (o *CreatePlaylistOK) GetPayload() *models.Playlist

type CreatePlaylistParams

type CreatePlaylistParams struct {

	// Body.
	Body *models.CreatePlaylistCommand

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

CreatePlaylistParams contains all the parameters to send to the API endpoint

for the create playlist operation.

Typically these are written to a http.Request.

func NewCreatePlaylistParams

func NewCreatePlaylistParams() *CreatePlaylistParams

NewCreatePlaylistParams creates a new CreatePlaylistParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewCreatePlaylistParamsWithContext

func NewCreatePlaylistParamsWithContext(ctx context.Context) *CreatePlaylistParams

NewCreatePlaylistParamsWithContext creates a new CreatePlaylistParams object with the ability to set a context for a request.

func NewCreatePlaylistParamsWithHTTPClient

func NewCreatePlaylistParamsWithHTTPClient(client *http.Client) *CreatePlaylistParams

NewCreatePlaylistParamsWithHTTPClient creates a new CreatePlaylistParams object with the ability to set a custom HTTPClient for a request.

func NewCreatePlaylistParamsWithTimeout

func NewCreatePlaylistParamsWithTimeout(timeout time.Duration) *CreatePlaylistParams

NewCreatePlaylistParamsWithTimeout creates a new CreatePlaylistParams object with the ability to set a timeout on a request.

func (*CreatePlaylistParams) SetBody

SetBody adds the body to the create playlist params

func (*CreatePlaylistParams) SetContext

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

SetContext adds the context to the create playlist params

func (*CreatePlaylistParams) SetDefaults

func (o *CreatePlaylistParams) SetDefaults()

SetDefaults hydrates default values in the create playlist params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePlaylistParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the create playlist params

func (*CreatePlaylistParams) SetTimeout

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

SetTimeout adds the timeout to the create playlist params

func (*CreatePlaylistParams) WithBody

WithBody adds the body to the create playlist params

func (*CreatePlaylistParams) WithContext

WithContext adds the context to the create playlist params

func (*CreatePlaylistParams) WithDefaults

func (o *CreatePlaylistParams) WithDefaults() *CreatePlaylistParams

WithDefaults hydrates default values in the create playlist params (not the query body).

All values with no default are reset to their zero value.

func (*CreatePlaylistParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the create playlist params

func (*CreatePlaylistParams) WithTimeout

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

WithTimeout adds the timeout to the create playlist params

func (*CreatePlaylistParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type CreatePlaylistReader

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

CreatePlaylistReader is a Reader for the CreatePlaylist structure.

func (*CreatePlaylistReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type CreatePlaylistUnauthorized

type CreatePlaylistUnauthorized struct {
	Payload *models.ErrorResponseBody
}

CreatePlaylistUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewCreatePlaylistUnauthorized

func NewCreatePlaylistUnauthorized() *CreatePlaylistUnauthorized

NewCreatePlaylistUnauthorized creates a CreatePlaylistUnauthorized with default headers values

func (*CreatePlaylistUnauthorized) Error

func (*CreatePlaylistUnauthorized) GetPayload

type DeletePlaylistForbidden

type DeletePlaylistForbidden struct {
	Payload *models.ErrorResponseBody
}

DeletePlaylistForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewDeletePlaylistForbidden

func NewDeletePlaylistForbidden() *DeletePlaylistForbidden

NewDeletePlaylistForbidden creates a DeletePlaylistForbidden with default headers values

func (*DeletePlaylistForbidden) Error

func (o *DeletePlaylistForbidden) Error() string

func (*DeletePlaylistForbidden) GetPayload

type DeletePlaylistInternalServerError

type DeletePlaylistInternalServerError struct {
	Payload *models.ErrorResponseBody
}

DeletePlaylistInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewDeletePlaylistInternalServerError

func NewDeletePlaylistInternalServerError() *DeletePlaylistInternalServerError

NewDeletePlaylistInternalServerError creates a DeletePlaylistInternalServerError with default headers values

func (*DeletePlaylistInternalServerError) Error

func (*DeletePlaylistInternalServerError) GetPayload

type DeletePlaylistNotFound

type DeletePlaylistNotFound struct {
	Payload *models.ErrorResponseBody
}

DeletePlaylistNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewDeletePlaylistNotFound

func NewDeletePlaylistNotFound() *DeletePlaylistNotFound

NewDeletePlaylistNotFound creates a DeletePlaylistNotFound with default headers values

func (*DeletePlaylistNotFound) Error

func (o *DeletePlaylistNotFound) Error() string

func (*DeletePlaylistNotFound) GetPayload

type DeletePlaylistOK

type DeletePlaylistOK struct {
	Payload *models.SuccessResponseBody
}

DeletePlaylistOK describes a response with status code 200, with default header values.

An OKResponse is returned if the request was successful.

func NewDeletePlaylistOK

func NewDeletePlaylistOK() *DeletePlaylistOK

NewDeletePlaylistOK creates a DeletePlaylistOK with default headers values

func (*DeletePlaylistOK) Error

func (o *DeletePlaylistOK) Error() string

func (*DeletePlaylistOK) GetPayload

func (o *DeletePlaylistOK) GetPayload() *models.SuccessResponseBody

type DeletePlaylistParams

type DeletePlaylistParams struct {

	// UID.
	UID string

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

DeletePlaylistParams contains all the parameters to send to the API endpoint

for the delete playlist operation.

Typically these are written to a http.Request.

func NewDeletePlaylistParams

func NewDeletePlaylistParams() *DeletePlaylistParams

NewDeletePlaylistParams creates a new DeletePlaylistParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewDeletePlaylistParamsWithContext

func NewDeletePlaylistParamsWithContext(ctx context.Context) *DeletePlaylistParams

NewDeletePlaylistParamsWithContext creates a new DeletePlaylistParams object with the ability to set a context for a request.

func NewDeletePlaylistParamsWithHTTPClient

func NewDeletePlaylistParamsWithHTTPClient(client *http.Client) *DeletePlaylistParams

NewDeletePlaylistParamsWithHTTPClient creates a new DeletePlaylistParams object with the ability to set a custom HTTPClient for a request.

func NewDeletePlaylistParamsWithTimeout

func NewDeletePlaylistParamsWithTimeout(timeout time.Duration) *DeletePlaylistParams

NewDeletePlaylistParamsWithTimeout creates a new DeletePlaylistParams object with the ability to set a timeout on a request.

func (*DeletePlaylistParams) SetContext

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

SetContext adds the context to the delete playlist params

func (*DeletePlaylistParams) SetDefaults

func (o *DeletePlaylistParams) SetDefaults()

SetDefaults hydrates default values in the delete playlist params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePlaylistParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the delete playlist params

func (*DeletePlaylistParams) SetTimeout

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

SetTimeout adds the timeout to the delete playlist params

func (*DeletePlaylistParams) SetUID

func (o *DeletePlaylistParams) SetUID(uid string)

SetUID adds the uid to the delete playlist params

func (*DeletePlaylistParams) WithContext

WithContext adds the context to the delete playlist params

func (*DeletePlaylistParams) WithDefaults

func (o *DeletePlaylistParams) WithDefaults() *DeletePlaylistParams

WithDefaults hydrates default values in the delete playlist params (not the query body).

All values with no default are reset to their zero value.

func (*DeletePlaylistParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the delete playlist params

func (*DeletePlaylistParams) WithTimeout

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

WithTimeout adds the timeout to the delete playlist params

func (*DeletePlaylistParams) WithUID

WithUID adds the uid to the delete playlist params

func (*DeletePlaylistParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type DeletePlaylistReader

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

DeletePlaylistReader is a Reader for the DeletePlaylist structure.

func (*DeletePlaylistReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type DeletePlaylistUnauthorized

type DeletePlaylistUnauthorized struct {
	Payload *models.ErrorResponseBody
}

DeletePlaylistUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewDeletePlaylistUnauthorized

func NewDeletePlaylistUnauthorized() *DeletePlaylistUnauthorized

NewDeletePlaylistUnauthorized creates a DeletePlaylistUnauthorized with default headers values

func (*DeletePlaylistUnauthorized) Error

func (*DeletePlaylistUnauthorized) GetPayload

type GetPlaylistDashboardsForbidden

type GetPlaylistDashboardsForbidden struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistDashboardsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetPlaylistDashboardsForbidden

func NewGetPlaylistDashboardsForbidden() *GetPlaylistDashboardsForbidden

NewGetPlaylistDashboardsForbidden creates a GetPlaylistDashboardsForbidden with default headers values

func (*GetPlaylistDashboardsForbidden) Error

func (*GetPlaylistDashboardsForbidden) GetPayload

type GetPlaylistDashboardsInternalServerError

type GetPlaylistDashboardsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistDashboardsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetPlaylistDashboardsInternalServerError

func NewGetPlaylistDashboardsInternalServerError() *GetPlaylistDashboardsInternalServerError

NewGetPlaylistDashboardsInternalServerError creates a GetPlaylistDashboardsInternalServerError with default headers values

func (*GetPlaylistDashboardsInternalServerError) Error

func (*GetPlaylistDashboardsInternalServerError) GetPayload

type GetPlaylistDashboardsNotFound

type GetPlaylistDashboardsNotFound struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistDashboardsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetPlaylistDashboardsNotFound

func NewGetPlaylistDashboardsNotFound() *GetPlaylistDashboardsNotFound

NewGetPlaylistDashboardsNotFound creates a GetPlaylistDashboardsNotFound with default headers values

func (*GetPlaylistDashboardsNotFound) Error

func (*GetPlaylistDashboardsNotFound) GetPayload

type GetPlaylistDashboardsOK

type GetPlaylistDashboardsOK struct {
	Payload models.PlaylistDashboardsSlice
}

GetPlaylistDashboardsOK describes a response with status code 200, with default header values.

(empty)

func NewGetPlaylistDashboardsOK

func NewGetPlaylistDashboardsOK() *GetPlaylistDashboardsOK

NewGetPlaylistDashboardsOK creates a GetPlaylistDashboardsOK with default headers values

func (*GetPlaylistDashboardsOK) Error

func (o *GetPlaylistDashboardsOK) Error() string

func (*GetPlaylistDashboardsOK) GetPayload

type GetPlaylistDashboardsParams

type GetPlaylistDashboardsParams struct {

	// UID.
	UID string

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

GetPlaylistDashboardsParams contains all the parameters to send to the API endpoint

for the get playlist dashboards operation.

Typically these are written to a http.Request.

func NewGetPlaylistDashboardsParams

func NewGetPlaylistDashboardsParams() *GetPlaylistDashboardsParams

NewGetPlaylistDashboardsParams creates a new GetPlaylistDashboardsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPlaylistDashboardsParamsWithContext

func NewGetPlaylistDashboardsParamsWithContext(ctx context.Context) *GetPlaylistDashboardsParams

NewGetPlaylistDashboardsParamsWithContext creates a new GetPlaylistDashboardsParams object with the ability to set a context for a request.

func NewGetPlaylistDashboardsParamsWithHTTPClient

func NewGetPlaylistDashboardsParamsWithHTTPClient(client *http.Client) *GetPlaylistDashboardsParams

NewGetPlaylistDashboardsParamsWithHTTPClient creates a new GetPlaylistDashboardsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlaylistDashboardsParamsWithTimeout

func NewGetPlaylistDashboardsParamsWithTimeout(timeout time.Duration) *GetPlaylistDashboardsParams

NewGetPlaylistDashboardsParamsWithTimeout creates a new GetPlaylistDashboardsParams object with the ability to set a timeout on a request.

func (*GetPlaylistDashboardsParams) SetContext

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

SetContext adds the context to the get playlist dashboards params

func (*GetPlaylistDashboardsParams) SetDefaults

func (o *GetPlaylistDashboardsParams) SetDefaults()

SetDefaults hydrates default values in the get playlist dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlaylistDashboardsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get playlist dashboards params

func (*GetPlaylistDashboardsParams) SetTimeout

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

SetTimeout adds the timeout to the get playlist dashboards params

func (*GetPlaylistDashboardsParams) SetUID

func (o *GetPlaylistDashboardsParams) SetUID(uid string)

SetUID adds the uid to the get playlist dashboards params

func (*GetPlaylistDashboardsParams) WithContext

WithContext adds the context to the get playlist dashboards params

func (*GetPlaylistDashboardsParams) WithDefaults

WithDefaults hydrates default values in the get playlist dashboards params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlaylistDashboardsParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get playlist dashboards params

func (*GetPlaylistDashboardsParams) WithTimeout

WithTimeout adds the timeout to the get playlist dashboards params

func (*GetPlaylistDashboardsParams) WithUID

WithUID adds the uid to the get playlist dashboards params

func (*GetPlaylistDashboardsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlaylistDashboardsReader

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

GetPlaylistDashboardsReader is a Reader for the GetPlaylistDashboards structure.

func (*GetPlaylistDashboardsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPlaylistDashboardsUnauthorized

type GetPlaylistDashboardsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistDashboardsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetPlaylistDashboardsUnauthorized

func NewGetPlaylistDashboardsUnauthorized() *GetPlaylistDashboardsUnauthorized

NewGetPlaylistDashboardsUnauthorized creates a GetPlaylistDashboardsUnauthorized with default headers values

func (*GetPlaylistDashboardsUnauthorized) Error

func (*GetPlaylistDashboardsUnauthorized) GetPayload

type GetPlaylistForbidden

type GetPlaylistForbidden struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetPlaylistForbidden

func NewGetPlaylistForbidden() *GetPlaylistForbidden

NewGetPlaylistForbidden creates a GetPlaylistForbidden with default headers values

func (*GetPlaylistForbidden) Error

func (o *GetPlaylistForbidden) Error() string

func (*GetPlaylistForbidden) GetPayload

type GetPlaylistInternalServerError

type GetPlaylistInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetPlaylistInternalServerError

func NewGetPlaylistInternalServerError() *GetPlaylistInternalServerError

NewGetPlaylistInternalServerError creates a GetPlaylistInternalServerError with default headers values

func (*GetPlaylistInternalServerError) Error

func (*GetPlaylistInternalServerError) GetPayload

type GetPlaylistItemsForbidden

type GetPlaylistItemsForbidden struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistItemsForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewGetPlaylistItemsForbidden

func NewGetPlaylistItemsForbidden() *GetPlaylistItemsForbidden

NewGetPlaylistItemsForbidden creates a GetPlaylistItemsForbidden with default headers values

func (*GetPlaylistItemsForbidden) Error

func (o *GetPlaylistItemsForbidden) Error() string

func (*GetPlaylistItemsForbidden) GetPayload

type GetPlaylistItemsInternalServerError

type GetPlaylistItemsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistItemsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewGetPlaylistItemsInternalServerError

func NewGetPlaylistItemsInternalServerError() *GetPlaylistItemsInternalServerError

NewGetPlaylistItemsInternalServerError creates a GetPlaylistItemsInternalServerError with default headers values

func (*GetPlaylistItemsInternalServerError) Error

func (*GetPlaylistItemsInternalServerError) GetPayload

type GetPlaylistItemsNotFound

type GetPlaylistItemsNotFound struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistItemsNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetPlaylistItemsNotFound

func NewGetPlaylistItemsNotFound() *GetPlaylistItemsNotFound

NewGetPlaylistItemsNotFound creates a GetPlaylistItemsNotFound with default headers values

func (*GetPlaylistItemsNotFound) Error

func (o *GetPlaylistItemsNotFound) Error() string

func (*GetPlaylistItemsNotFound) GetPayload

type GetPlaylistItemsOK

type GetPlaylistItemsOK struct {
	Payload []*models.Item
}

GetPlaylistItemsOK describes a response with status code 200, with default header values.

(empty)

func NewGetPlaylistItemsOK

func NewGetPlaylistItemsOK() *GetPlaylistItemsOK

NewGetPlaylistItemsOK creates a GetPlaylistItemsOK with default headers values

func (*GetPlaylistItemsOK) Error

func (o *GetPlaylistItemsOK) Error() string

func (*GetPlaylistItemsOK) GetPayload

func (o *GetPlaylistItemsOK) GetPayload() []*models.Item

type GetPlaylistItemsParams

type GetPlaylistItemsParams struct {

	// UID.
	UID string

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

GetPlaylistItemsParams contains all the parameters to send to the API endpoint

for the get playlist items operation.

Typically these are written to a http.Request.

func NewGetPlaylistItemsParams

func NewGetPlaylistItemsParams() *GetPlaylistItemsParams

NewGetPlaylistItemsParams creates a new GetPlaylistItemsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPlaylistItemsParamsWithContext

func NewGetPlaylistItemsParamsWithContext(ctx context.Context) *GetPlaylistItemsParams

NewGetPlaylistItemsParamsWithContext creates a new GetPlaylistItemsParams object with the ability to set a context for a request.

func NewGetPlaylistItemsParamsWithHTTPClient

func NewGetPlaylistItemsParamsWithHTTPClient(client *http.Client) *GetPlaylistItemsParams

NewGetPlaylistItemsParamsWithHTTPClient creates a new GetPlaylistItemsParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlaylistItemsParamsWithTimeout

func NewGetPlaylistItemsParamsWithTimeout(timeout time.Duration) *GetPlaylistItemsParams

NewGetPlaylistItemsParamsWithTimeout creates a new GetPlaylistItemsParams object with the ability to set a timeout on a request.

func (*GetPlaylistItemsParams) SetContext

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

SetContext adds the context to the get playlist items params

func (*GetPlaylistItemsParams) SetDefaults

func (o *GetPlaylistItemsParams) SetDefaults()

SetDefaults hydrates default values in the get playlist items params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlaylistItemsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get playlist items params

func (*GetPlaylistItemsParams) SetTimeout

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

SetTimeout adds the timeout to the get playlist items params

func (*GetPlaylistItemsParams) SetUID

func (o *GetPlaylistItemsParams) SetUID(uid string)

SetUID adds the uid to the get playlist items params

func (*GetPlaylistItemsParams) WithContext

WithContext adds the context to the get playlist items params

func (*GetPlaylistItemsParams) WithDefaults

WithDefaults hydrates default values in the get playlist items params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlaylistItemsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get playlist items params

func (*GetPlaylistItemsParams) WithTimeout

WithTimeout adds the timeout to the get playlist items params

func (*GetPlaylistItemsParams) WithUID

WithUID adds the uid to the get playlist items params

func (*GetPlaylistItemsParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetPlaylistItemsReader

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

GetPlaylistItemsReader is a Reader for the GetPlaylistItems structure.

func (*GetPlaylistItemsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPlaylistItemsUnauthorized

type GetPlaylistItemsUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistItemsUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetPlaylistItemsUnauthorized

func NewGetPlaylistItemsUnauthorized() *GetPlaylistItemsUnauthorized

NewGetPlaylistItemsUnauthorized creates a GetPlaylistItemsUnauthorized with default headers values

func (*GetPlaylistItemsUnauthorized) Error

func (*GetPlaylistItemsUnauthorized) GetPayload

type GetPlaylistNotFound

type GetPlaylistNotFound struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewGetPlaylistNotFound

func NewGetPlaylistNotFound() *GetPlaylistNotFound

NewGetPlaylistNotFound creates a GetPlaylistNotFound with default headers values

func (*GetPlaylistNotFound) Error

func (o *GetPlaylistNotFound) Error() string

func (*GetPlaylistNotFound) GetPayload

func (o *GetPlaylistNotFound) GetPayload() *models.ErrorResponseBody

type GetPlaylistOK

type GetPlaylistOK struct {
	Payload *models.Spec
}

GetPlaylistOK describes a response with status code 200, with default header values.

(empty)

func NewGetPlaylistOK

func NewGetPlaylistOK() *GetPlaylistOK

NewGetPlaylistOK creates a GetPlaylistOK with default headers values

func (*GetPlaylistOK) Error

func (o *GetPlaylistOK) Error() string

func (*GetPlaylistOK) GetPayload

func (o *GetPlaylistOK) GetPayload() *models.Spec

type GetPlaylistParams

type GetPlaylistParams struct {

	// UID.
	UID string

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

GetPlaylistParams contains all the parameters to send to the API endpoint

for the get playlist operation.

Typically these are written to a http.Request.

func NewGetPlaylistParams

func NewGetPlaylistParams() *GetPlaylistParams

NewGetPlaylistParams creates a new GetPlaylistParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewGetPlaylistParamsWithContext

func NewGetPlaylistParamsWithContext(ctx context.Context) *GetPlaylistParams

NewGetPlaylistParamsWithContext creates a new GetPlaylistParams object with the ability to set a context for a request.

func NewGetPlaylistParamsWithHTTPClient

func NewGetPlaylistParamsWithHTTPClient(client *http.Client) *GetPlaylistParams

NewGetPlaylistParamsWithHTTPClient creates a new GetPlaylistParams object with the ability to set a custom HTTPClient for a request.

func NewGetPlaylistParamsWithTimeout

func NewGetPlaylistParamsWithTimeout(timeout time.Duration) *GetPlaylistParams

NewGetPlaylistParamsWithTimeout creates a new GetPlaylistParams object with the ability to set a timeout on a request.

func (*GetPlaylistParams) SetContext

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

SetContext adds the context to the get playlist params

func (*GetPlaylistParams) SetDefaults

func (o *GetPlaylistParams) SetDefaults()

SetDefaults hydrates default values in the get playlist params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlaylistParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get playlist params

func (*GetPlaylistParams) SetTimeout

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

SetTimeout adds the timeout to the get playlist params

func (*GetPlaylistParams) SetUID

func (o *GetPlaylistParams) SetUID(uid string)

SetUID adds the uid to the get playlist params

func (*GetPlaylistParams) WithContext

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

WithContext adds the context to the get playlist params

func (*GetPlaylistParams) WithDefaults

func (o *GetPlaylistParams) WithDefaults() *GetPlaylistParams

WithDefaults hydrates default values in the get playlist params (not the query body).

All values with no default are reset to their zero value.

func (*GetPlaylistParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the get playlist params

func (*GetPlaylistParams) WithTimeout

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

WithTimeout adds the timeout to the get playlist params

func (*GetPlaylistParams) WithUID

func (o *GetPlaylistParams) WithUID(uid string) *GetPlaylistParams

WithUID adds the uid to the get playlist params

func (*GetPlaylistParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type GetPlaylistReader

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

GetPlaylistReader is a Reader for the GetPlaylist structure.

func (*GetPlaylistReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetPlaylistUnauthorized

type GetPlaylistUnauthorized struct {
	Payload *models.ErrorResponseBody
}

GetPlaylistUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewGetPlaylistUnauthorized

func NewGetPlaylistUnauthorized() *GetPlaylistUnauthorized

NewGetPlaylistUnauthorized creates a GetPlaylistUnauthorized with default headers values

func (*GetPlaylistUnauthorized) Error

func (o *GetPlaylistUnauthorized) Error() string

func (*GetPlaylistUnauthorized) GetPayload

type SearchPlaylistsInternalServerError

type SearchPlaylistsInternalServerError struct {
	Payload *models.ErrorResponseBody
}

SearchPlaylistsInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewSearchPlaylistsInternalServerError

func NewSearchPlaylistsInternalServerError() *SearchPlaylistsInternalServerError

NewSearchPlaylistsInternalServerError creates a SearchPlaylistsInternalServerError with default headers values

func (*SearchPlaylistsInternalServerError) Error

func (*SearchPlaylistsInternalServerError) GetPayload

type SearchPlaylistsOK

type SearchPlaylistsOK struct {
	Payload models.Playlists
}

SearchPlaylistsOK describes a response with status code 200, with default header values.

(empty)

func NewSearchPlaylistsOK

func NewSearchPlaylistsOK() *SearchPlaylistsOK

NewSearchPlaylistsOK creates a SearchPlaylistsOK with default headers values

func (*SearchPlaylistsOK) Error

func (o *SearchPlaylistsOK) Error() string

func (*SearchPlaylistsOK) GetPayload

func (o *SearchPlaylistsOK) GetPayload() models.Playlists

type SearchPlaylistsParams

type SearchPlaylistsParams struct {

	/* Limit.

	   in:limit

	   Format: int64
	*/
	Limit *int64

	// Query.
	Query *string

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

SearchPlaylistsParams contains all the parameters to send to the API endpoint

for the search playlists operation.

Typically these are written to a http.Request.

func NewSearchPlaylistsParams

func NewSearchPlaylistsParams() *SearchPlaylistsParams

NewSearchPlaylistsParams creates a new SearchPlaylistsParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewSearchPlaylistsParamsWithContext

func NewSearchPlaylistsParamsWithContext(ctx context.Context) *SearchPlaylistsParams

NewSearchPlaylistsParamsWithContext creates a new SearchPlaylistsParams object with the ability to set a context for a request.

func NewSearchPlaylistsParamsWithHTTPClient

func NewSearchPlaylistsParamsWithHTTPClient(client *http.Client) *SearchPlaylistsParams

NewSearchPlaylistsParamsWithHTTPClient creates a new SearchPlaylistsParams object with the ability to set a custom HTTPClient for a request.

func NewSearchPlaylistsParamsWithTimeout

func NewSearchPlaylistsParamsWithTimeout(timeout time.Duration) *SearchPlaylistsParams

NewSearchPlaylistsParamsWithTimeout creates a new SearchPlaylistsParams object with the ability to set a timeout on a request.

func (*SearchPlaylistsParams) SetContext

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

SetContext adds the context to the search playlists params

func (*SearchPlaylistsParams) SetDefaults

func (o *SearchPlaylistsParams) SetDefaults()

SetDefaults hydrates default values in the search playlists params (not the query body).

All values with no default are reset to their zero value.

func (*SearchPlaylistsParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the search playlists params

func (*SearchPlaylistsParams) SetLimit

func (o *SearchPlaylistsParams) SetLimit(limit *int64)

SetLimit adds the limit to the search playlists params

func (*SearchPlaylistsParams) SetQuery

func (o *SearchPlaylistsParams) SetQuery(query *string)

SetQuery adds the query to the search playlists params

func (*SearchPlaylistsParams) SetTimeout

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

SetTimeout adds the timeout to the search playlists params

func (*SearchPlaylistsParams) WithContext

WithContext adds the context to the search playlists params

func (*SearchPlaylistsParams) WithDefaults

func (o *SearchPlaylistsParams) WithDefaults() *SearchPlaylistsParams

WithDefaults hydrates default values in the search playlists params (not the query body).

All values with no default are reset to their zero value.

func (*SearchPlaylistsParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the search playlists params

func (*SearchPlaylistsParams) WithLimit

func (o *SearchPlaylistsParams) WithLimit(limit *int64) *SearchPlaylistsParams

WithLimit adds the limit to the search playlists params

func (*SearchPlaylistsParams) WithQuery

func (o *SearchPlaylistsParams) WithQuery(query *string) *SearchPlaylistsParams

WithQuery adds the query to the search playlists params

func (*SearchPlaylistsParams) WithTimeout

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

WithTimeout adds the timeout to the search playlists params

func (*SearchPlaylistsParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type SearchPlaylistsReader

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

SearchPlaylistsReader is a Reader for the SearchPlaylists structure.

func (*SearchPlaylistsReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePlaylistForbidden

type UpdatePlaylistForbidden struct {
	Payload *models.ErrorResponseBody
}

UpdatePlaylistForbidden describes a response with status code 403, with default header values.

ForbiddenError is returned if the user/token has insufficient permissions to access the requested resource.

func NewUpdatePlaylistForbidden

func NewUpdatePlaylistForbidden() *UpdatePlaylistForbidden

NewUpdatePlaylistForbidden creates a UpdatePlaylistForbidden with default headers values

func (*UpdatePlaylistForbidden) Error

func (o *UpdatePlaylistForbidden) Error() string

func (*UpdatePlaylistForbidden) GetPayload

type UpdatePlaylistInternalServerError

type UpdatePlaylistInternalServerError struct {
	Payload *models.ErrorResponseBody
}

UpdatePlaylistInternalServerError describes a response with status code 500, with default header values.

InternalServerError is a general error indicating something went wrong internally.

func NewUpdatePlaylistInternalServerError

func NewUpdatePlaylistInternalServerError() *UpdatePlaylistInternalServerError

NewUpdatePlaylistInternalServerError creates a UpdatePlaylistInternalServerError with default headers values

func (*UpdatePlaylistInternalServerError) Error

func (*UpdatePlaylistInternalServerError) GetPayload

type UpdatePlaylistNotFound

type UpdatePlaylistNotFound struct {
	Payload *models.ErrorResponseBody
}

UpdatePlaylistNotFound describes a response with status code 404, with default header values.

NotFoundError is returned when the requested resource was not found.

func NewUpdatePlaylistNotFound

func NewUpdatePlaylistNotFound() *UpdatePlaylistNotFound

NewUpdatePlaylistNotFound creates a UpdatePlaylistNotFound with default headers values

func (*UpdatePlaylistNotFound) Error

func (o *UpdatePlaylistNotFound) Error() string

func (*UpdatePlaylistNotFound) GetPayload

type UpdatePlaylistOK

type UpdatePlaylistOK struct {
	Payload *models.Spec
}

UpdatePlaylistOK describes a response with status code 200, with default header values.

(empty)

func NewUpdatePlaylistOK

func NewUpdatePlaylistOK() *UpdatePlaylistOK

NewUpdatePlaylistOK creates a UpdatePlaylistOK with default headers values

func (*UpdatePlaylistOK) Error

func (o *UpdatePlaylistOK) Error() string

func (*UpdatePlaylistOK) GetPayload

func (o *UpdatePlaylistOK) GetPayload() *models.Spec

type UpdatePlaylistParams

type UpdatePlaylistParams struct {

	// Body.
	Body *models.UpdatePlaylistCommand

	// UID.
	UID string

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

UpdatePlaylistParams contains all the parameters to send to the API endpoint

for the update playlist operation.

Typically these are written to a http.Request.

func NewUpdatePlaylistParams

func NewUpdatePlaylistParams() *UpdatePlaylistParams

NewUpdatePlaylistParams creates a new UpdatePlaylistParams object, with the default timeout for this client.

Default values are not hydrated, since defaults are normally applied by the API server side.

To enforce default values in parameter, use SetDefaults or WithDefaults.

func NewUpdatePlaylistParamsWithContext

func NewUpdatePlaylistParamsWithContext(ctx context.Context) *UpdatePlaylistParams

NewUpdatePlaylistParamsWithContext creates a new UpdatePlaylistParams object with the ability to set a context for a request.

func NewUpdatePlaylistParamsWithHTTPClient

func NewUpdatePlaylistParamsWithHTTPClient(client *http.Client) *UpdatePlaylistParams

NewUpdatePlaylistParamsWithHTTPClient creates a new UpdatePlaylistParams object with the ability to set a custom HTTPClient for a request.

func NewUpdatePlaylistParamsWithTimeout

func NewUpdatePlaylistParamsWithTimeout(timeout time.Duration) *UpdatePlaylistParams

NewUpdatePlaylistParamsWithTimeout creates a new UpdatePlaylistParams object with the ability to set a timeout on a request.

func (*UpdatePlaylistParams) SetBody

SetBody adds the body to the update playlist params

func (*UpdatePlaylistParams) SetContext

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

SetContext adds the context to the update playlist params

func (*UpdatePlaylistParams) SetDefaults

func (o *UpdatePlaylistParams) SetDefaults()

SetDefaults hydrates default values in the update playlist params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePlaylistParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the update playlist params

func (*UpdatePlaylistParams) SetTimeout

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

SetTimeout adds the timeout to the update playlist params

func (*UpdatePlaylistParams) SetUID

func (o *UpdatePlaylistParams) SetUID(uid string)

SetUID adds the uid to the update playlist params

func (*UpdatePlaylistParams) WithBody

WithBody adds the body to the update playlist params

func (*UpdatePlaylistParams) WithContext

WithContext adds the context to the update playlist params

func (*UpdatePlaylistParams) WithDefaults

func (o *UpdatePlaylistParams) WithDefaults() *UpdatePlaylistParams

WithDefaults hydrates default values in the update playlist params (not the query body).

All values with no default are reset to their zero value.

func (*UpdatePlaylistParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the update playlist params

func (*UpdatePlaylistParams) WithTimeout

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

WithTimeout adds the timeout to the update playlist params

func (*UpdatePlaylistParams) WithUID

WithUID adds the uid to the update playlist params

func (*UpdatePlaylistParams) WriteToRequest

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

WriteToRequest writes these params to a swagger request

type UpdatePlaylistReader

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

UpdatePlaylistReader is a Reader for the UpdatePlaylist structure.

func (*UpdatePlaylistReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type UpdatePlaylistUnauthorized

type UpdatePlaylistUnauthorized struct {
	Payload *models.ErrorResponseBody
}

UpdatePlaylistUnauthorized describes a response with status code 401, with default header values.

UnauthorizedError is returned when the request is not authenticated.

func NewUpdatePlaylistUnauthorized

func NewUpdatePlaylistUnauthorized() *UpdatePlaylistUnauthorized

NewUpdatePlaylistUnauthorized creates a UpdatePlaylistUnauthorized with default headers values

func (*UpdatePlaylistUnauthorized) Error

func (*UpdatePlaylistUnauthorized) GetPayload

Jump to

Keyboard shortcuts

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