playlists

package
v0.0.0-...-4958bdd Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: Apache-2.0 Imports: 12 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(body *models.CreatePlaylistCommand, opts ...ClientOption) (*CreatePlaylistOK, error)

CreatePlaylist creates playlist

func (*Client) CreatePlaylistWithParams

func (a *Client) CreatePlaylistWithParams(params *CreatePlaylistParams, opts ...ClientOption) (*CreatePlaylistOK, error)

func (*Client) DeletePlaylist

func (a *Client) DeletePlaylist(uid string, opts ...ClientOption) (*DeletePlaylistOK, error)

DeletePlaylist deletes playlist

func (*Client) DeletePlaylistWithParams

func (a *Client) DeletePlaylistWithParams(params *DeletePlaylistParams, opts ...ClientOption) (*DeletePlaylistOK, error)

func (*Client) GetPlaylist

func (a *Client) GetPlaylist(uid string, opts ...ClientOption) (*GetPlaylistOK, error)

GetPlaylist gets playlist

func (*Client) GetPlaylistItems

func (a *Client) GetPlaylistItems(uid string, opts ...ClientOption) (*GetPlaylistItemsOK, error)

GetPlaylistItems gets playlist items

func (*Client) GetPlaylistItemsWithParams

func (a *Client) GetPlaylistItemsWithParams(params *GetPlaylistItemsParams, opts ...ClientOption) (*GetPlaylistItemsOK, error)

func (*Client) GetPlaylistWithParams

func (a *Client) GetPlaylistWithParams(params *GetPlaylistParams, opts ...ClientOption) (*GetPlaylistOK, error)

func (*Client) SearchPlaylists

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

func (*Client) SetTransport

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

SetTransport changes the transport on the client

func (*Client) UpdatePlaylist

func (a *Client) UpdatePlaylist(uid string, body *models.UpdatePlaylistCommand, opts ...ClientOption) (*UpdatePlaylistOK, error)

UpdatePlaylist updates playlist

func (*Client) UpdatePlaylistWithParams

func (a *Client) UpdatePlaylistWithParams(params *UpdatePlaylistParams, opts ...ClientOption) (*UpdatePlaylistOK, error)

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

func WithAuthInfo

func WithAuthInfo(authInfo runtime.ClientAuthInfoWriter) ClientOption

WithAuthInfo changes the transport on the client

type ClientService

type ClientService interface {
	CreatePlaylist(body *models.CreatePlaylistCommand, opts ...ClientOption) (*CreatePlaylistOK, error)
	CreatePlaylistWithParams(params *CreatePlaylistParams, opts ...ClientOption) (*CreatePlaylistOK, error)

	DeletePlaylist(uid string, opts ...ClientOption) (*DeletePlaylistOK, error)
	DeletePlaylistWithParams(params *DeletePlaylistParams, opts ...ClientOption) (*DeletePlaylistOK, error)

	GetPlaylist(uid string, opts ...ClientOption) (*GetPlaylistOK, error)
	GetPlaylistWithParams(params *GetPlaylistParams, opts ...ClientOption) (*GetPlaylistOK, error)

	GetPlaylistItems(uid string, opts ...ClientOption) (*GetPlaylistItemsOK, error)
	GetPlaylistItemsWithParams(params *GetPlaylistItemsParams, opts ...ClientOption) (*GetPlaylistItemsOK, error)

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

	UpdatePlaylist(uid string, body *models.UpdatePlaylistCommand, opts ...ClientOption) (*UpdatePlaylistOK, error)
	UpdatePlaylistWithParams(params *UpdatePlaylistParams, 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) Code

func (o *CreatePlaylistForbidden) Code() int

Code gets the status code for the create playlist forbidden response

func (*CreatePlaylistForbidden) Error

func (o *CreatePlaylistForbidden) Error() string

func (*CreatePlaylistForbidden) GetPayload

func (*CreatePlaylistForbidden) IsClientError

func (o *CreatePlaylistForbidden) IsClientError() bool

IsClientError returns true when this create playlist forbidden response has a 4xx status code

func (*CreatePlaylistForbidden) IsCode

func (o *CreatePlaylistForbidden) IsCode(code int) bool

IsCode returns true when this create playlist forbidden response a status code equal to that given

func (*CreatePlaylistForbidden) IsRedirect

func (o *CreatePlaylistForbidden) IsRedirect() bool

IsRedirect returns true when this create playlist forbidden response has a 3xx status code

func (*CreatePlaylistForbidden) IsServerError

func (o *CreatePlaylistForbidden) IsServerError() bool

IsServerError returns true when this create playlist forbidden response has a 5xx status code

func (*CreatePlaylistForbidden) IsSuccess

func (o *CreatePlaylistForbidden) IsSuccess() bool

IsSuccess returns true when this create playlist forbidden response has a 2xx status code

func (*CreatePlaylistForbidden) String

func (o *CreatePlaylistForbidden) String() string

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

Code gets the status code for the create playlist internal server error response

func (*CreatePlaylistInternalServerError) Error

func (*CreatePlaylistInternalServerError) GetPayload

func (*CreatePlaylistInternalServerError) IsClientError

func (o *CreatePlaylistInternalServerError) IsClientError() bool

IsClientError returns true when this create playlist internal server error response has a 4xx status code

func (*CreatePlaylistInternalServerError) IsCode

func (o *CreatePlaylistInternalServerError) IsCode(code int) bool

IsCode returns true when this create playlist internal server error response a status code equal to that given

func (*CreatePlaylistInternalServerError) IsRedirect

func (o *CreatePlaylistInternalServerError) IsRedirect() bool

IsRedirect returns true when this create playlist internal server error response has a 3xx status code

func (*CreatePlaylistInternalServerError) IsServerError

func (o *CreatePlaylistInternalServerError) IsServerError() bool

IsServerError returns true when this create playlist internal server error response has a 5xx status code

func (*CreatePlaylistInternalServerError) IsSuccess

func (o *CreatePlaylistInternalServerError) IsSuccess() bool

IsSuccess returns true when this create playlist internal server error response has a 2xx status code

func (*CreatePlaylistInternalServerError) String

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

func (o *CreatePlaylistNotFound) Code() int

Code gets the status code for the create playlist not found response

func (*CreatePlaylistNotFound) Error

func (o *CreatePlaylistNotFound) Error() string

func (*CreatePlaylistNotFound) GetPayload

func (*CreatePlaylistNotFound) IsClientError

func (o *CreatePlaylistNotFound) IsClientError() bool

IsClientError returns true when this create playlist not found response has a 4xx status code

func (*CreatePlaylistNotFound) IsCode

func (o *CreatePlaylistNotFound) IsCode(code int) bool

IsCode returns true when this create playlist not found response a status code equal to that given

func (*CreatePlaylistNotFound) IsRedirect

func (o *CreatePlaylistNotFound) IsRedirect() bool

IsRedirect returns true when this create playlist not found response has a 3xx status code

func (*CreatePlaylistNotFound) IsServerError

func (o *CreatePlaylistNotFound) IsServerError() bool

IsServerError returns true when this create playlist not found response has a 5xx status code

func (*CreatePlaylistNotFound) IsSuccess

func (o *CreatePlaylistNotFound) IsSuccess() bool

IsSuccess returns true when this create playlist not found response has a 2xx status code

func (*CreatePlaylistNotFound) String

func (o *CreatePlaylistNotFound) String() string

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

func (o *CreatePlaylistOK) Code() int

Code gets the status code for the create playlist Ok response

func (*CreatePlaylistOK) Error

func (o *CreatePlaylistOK) Error() string

func (*CreatePlaylistOK) GetPayload

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

func (*CreatePlaylistOK) IsClientError

func (o *CreatePlaylistOK) IsClientError() bool

IsClientError returns true when this create playlist Ok response has a 4xx status code

func (*CreatePlaylistOK) IsCode

func (o *CreatePlaylistOK) IsCode(code int) bool

IsCode returns true when this create playlist Ok response a status code equal to that given

func (*CreatePlaylistOK) IsRedirect

func (o *CreatePlaylistOK) IsRedirect() bool

IsRedirect returns true when this create playlist Ok response has a 3xx status code

func (*CreatePlaylistOK) IsServerError

func (o *CreatePlaylistOK) IsServerError() bool

IsServerError returns true when this create playlist Ok response has a 5xx status code

func (*CreatePlaylistOK) IsSuccess

func (o *CreatePlaylistOK) IsSuccess() bool

IsSuccess returns true when this create playlist Ok response has a 2xx status code

func (*CreatePlaylistOK) String

func (o *CreatePlaylistOK) String() string

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

func (o *CreatePlaylistUnauthorized) Code() int

Code gets the status code for the create playlist unauthorized response

func (*CreatePlaylistUnauthorized) Error

func (*CreatePlaylistUnauthorized) GetPayload

func (*CreatePlaylistUnauthorized) IsClientError

func (o *CreatePlaylistUnauthorized) IsClientError() bool

IsClientError returns true when this create playlist unauthorized response has a 4xx status code

func (*CreatePlaylistUnauthorized) IsCode

func (o *CreatePlaylistUnauthorized) IsCode(code int) bool

IsCode returns true when this create playlist unauthorized response a status code equal to that given

func (*CreatePlaylistUnauthorized) IsRedirect

func (o *CreatePlaylistUnauthorized) IsRedirect() bool

IsRedirect returns true when this create playlist unauthorized response has a 3xx status code

func (*CreatePlaylistUnauthorized) IsServerError

func (o *CreatePlaylistUnauthorized) IsServerError() bool

IsServerError returns true when this create playlist unauthorized response has a 5xx status code

func (*CreatePlaylistUnauthorized) IsSuccess

func (o *CreatePlaylistUnauthorized) IsSuccess() bool

IsSuccess returns true when this create playlist unauthorized response has a 2xx status code

func (*CreatePlaylistUnauthorized) String

func (o *CreatePlaylistUnauthorized) String() string

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

func (o *DeletePlaylistForbidden) Code() int

Code gets the status code for the delete playlist forbidden response

func (*DeletePlaylistForbidden) Error

func (o *DeletePlaylistForbidden) Error() string

func (*DeletePlaylistForbidden) GetPayload

func (*DeletePlaylistForbidden) IsClientError

func (o *DeletePlaylistForbidden) IsClientError() bool

IsClientError returns true when this delete playlist forbidden response has a 4xx status code

func (*DeletePlaylistForbidden) IsCode

func (o *DeletePlaylistForbidden) IsCode(code int) bool

IsCode returns true when this delete playlist forbidden response a status code equal to that given

func (*DeletePlaylistForbidden) IsRedirect

func (o *DeletePlaylistForbidden) IsRedirect() bool

IsRedirect returns true when this delete playlist forbidden response has a 3xx status code

func (*DeletePlaylistForbidden) IsServerError

func (o *DeletePlaylistForbidden) IsServerError() bool

IsServerError returns true when this delete playlist forbidden response has a 5xx status code

func (*DeletePlaylistForbidden) IsSuccess

func (o *DeletePlaylistForbidden) IsSuccess() bool

IsSuccess returns true when this delete playlist forbidden response has a 2xx status code

func (*DeletePlaylistForbidden) String

func (o *DeletePlaylistForbidden) String() string

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

Code gets the status code for the delete playlist internal server error response

func (*DeletePlaylistInternalServerError) Error

func (*DeletePlaylistInternalServerError) GetPayload

func (*DeletePlaylistInternalServerError) IsClientError

func (o *DeletePlaylistInternalServerError) IsClientError() bool

IsClientError returns true when this delete playlist internal server error response has a 4xx status code

func (*DeletePlaylistInternalServerError) IsCode

func (o *DeletePlaylistInternalServerError) IsCode(code int) bool

IsCode returns true when this delete playlist internal server error response a status code equal to that given

func (*DeletePlaylistInternalServerError) IsRedirect

func (o *DeletePlaylistInternalServerError) IsRedirect() bool

IsRedirect returns true when this delete playlist internal server error response has a 3xx status code

func (*DeletePlaylistInternalServerError) IsServerError

func (o *DeletePlaylistInternalServerError) IsServerError() bool

IsServerError returns true when this delete playlist internal server error response has a 5xx status code

func (*DeletePlaylistInternalServerError) IsSuccess

func (o *DeletePlaylistInternalServerError) IsSuccess() bool

IsSuccess returns true when this delete playlist internal server error response has a 2xx status code

func (*DeletePlaylistInternalServerError) String

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

func (o *DeletePlaylistNotFound) Code() int

Code gets the status code for the delete playlist not found response

func (*DeletePlaylistNotFound) Error

func (o *DeletePlaylistNotFound) Error() string

func (*DeletePlaylistNotFound) GetPayload

func (*DeletePlaylistNotFound) IsClientError

func (o *DeletePlaylistNotFound) IsClientError() bool

IsClientError returns true when this delete playlist not found response has a 4xx status code

func (*DeletePlaylistNotFound) IsCode

func (o *DeletePlaylistNotFound) IsCode(code int) bool

IsCode returns true when this delete playlist not found response a status code equal to that given

func (*DeletePlaylistNotFound) IsRedirect

func (o *DeletePlaylistNotFound) IsRedirect() bool

IsRedirect returns true when this delete playlist not found response has a 3xx status code

func (*DeletePlaylistNotFound) IsServerError

func (o *DeletePlaylistNotFound) IsServerError() bool

IsServerError returns true when this delete playlist not found response has a 5xx status code

func (*DeletePlaylistNotFound) IsSuccess

func (o *DeletePlaylistNotFound) IsSuccess() bool

IsSuccess returns true when this delete playlist not found response has a 2xx status code

func (*DeletePlaylistNotFound) String

func (o *DeletePlaylistNotFound) String() string

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

func (o *DeletePlaylistOK) Code() int

Code gets the status code for the delete playlist Ok response

func (*DeletePlaylistOK) Error

func (o *DeletePlaylistOK) Error() string

func (*DeletePlaylistOK) GetPayload

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

func (*DeletePlaylistOK) IsClientError

func (o *DeletePlaylistOK) IsClientError() bool

IsClientError returns true when this delete playlist Ok response has a 4xx status code

func (*DeletePlaylistOK) IsCode

func (o *DeletePlaylistOK) IsCode(code int) bool

IsCode returns true when this delete playlist Ok response a status code equal to that given

func (*DeletePlaylistOK) IsRedirect

func (o *DeletePlaylistOK) IsRedirect() bool

IsRedirect returns true when this delete playlist Ok response has a 3xx status code

func (*DeletePlaylistOK) IsServerError

func (o *DeletePlaylistOK) IsServerError() bool

IsServerError returns true when this delete playlist Ok response has a 5xx status code

func (*DeletePlaylistOK) IsSuccess

func (o *DeletePlaylistOK) IsSuccess() bool

IsSuccess returns true when this delete playlist Ok response has a 2xx status code

func (*DeletePlaylistOK) String

func (o *DeletePlaylistOK) String() string

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

func (o *DeletePlaylistUnauthorized) Code() int

Code gets the status code for the delete playlist unauthorized response

func (*DeletePlaylistUnauthorized) Error

func (*DeletePlaylistUnauthorized) GetPayload

func (*DeletePlaylistUnauthorized) IsClientError

func (o *DeletePlaylistUnauthorized) IsClientError() bool

IsClientError returns true when this delete playlist unauthorized response has a 4xx status code

func (*DeletePlaylistUnauthorized) IsCode

func (o *DeletePlaylistUnauthorized) IsCode(code int) bool

IsCode returns true when this delete playlist unauthorized response a status code equal to that given

func (*DeletePlaylistUnauthorized) IsRedirect

func (o *DeletePlaylistUnauthorized) IsRedirect() bool

IsRedirect returns true when this delete playlist unauthorized response has a 3xx status code

func (*DeletePlaylistUnauthorized) IsServerError

func (o *DeletePlaylistUnauthorized) IsServerError() bool

IsServerError returns true when this delete playlist unauthorized response has a 5xx status code

func (*DeletePlaylistUnauthorized) IsSuccess

func (o *DeletePlaylistUnauthorized) IsSuccess() bool

IsSuccess returns true when this delete playlist unauthorized response has a 2xx status code

func (*DeletePlaylistUnauthorized) String

func (o *DeletePlaylistUnauthorized) String() string

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

func (o *GetPlaylistForbidden) Code() int

Code gets the status code for the get playlist forbidden response

func (*GetPlaylistForbidden) Error

func (o *GetPlaylistForbidden) Error() string

func (*GetPlaylistForbidden) GetPayload

func (*GetPlaylistForbidden) IsClientError

func (o *GetPlaylistForbidden) IsClientError() bool

IsClientError returns true when this get playlist forbidden response has a 4xx status code

func (*GetPlaylistForbidden) IsCode

func (o *GetPlaylistForbidden) IsCode(code int) bool

IsCode returns true when this get playlist forbidden response a status code equal to that given

func (*GetPlaylistForbidden) IsRedirect

func (o *GetPlaylistForbidden) IsRedirect() bool

IsRedirect returns true when this get playlist forbidden response has a 3xx status code

func (*GetPlaylistForbidden) IsServerError

func (o *GetPlaylistForbidden) IsServerError() bool

IsServerError returns true when this get playlist forbidden response has a 5xx status code

func (*GetPlaylistForbidden) IsSuccess

func (o *GetPlaylistForbidden) IsSuccess() bool

IsSuccess returns true when this get playlist forbidden response has a 2xx status code

func (*GetPlaylistForbidden) String

func (o *GetPlaylistForbidden) String() string

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

Code gets the status code for the get playlist internal server error response

func (*GetPlaylistInternalServerError) Error

func (*GetPlaylistInternalServerError) GetPayload

func (*GetPlaylistInternalServerError) IsClientError

func (o *GetPlaylistInternalServerError) IsClientError() bool

IsClientError returns true when this get playlist internal server error response has a 4xx status code

func (*GetPlaylistInternalServerError) IsCode

func (o *GetPlaylistInternalServerError) IsCode(code int) bool

IsCode returns true when this get playlist internal server error response a status code equal to that given

func (*GetPlaylistInternalServerError) IsRedirect

func (o *GetPlaylistInternalServerError) IsRedirect() bool

IsRedirect returns true when this get playlist internal server error response has a 3xx status code

func (*GetPlaylistInternalServerError) IsServerError

func (o *GetPlaylistInternalServerError) IsServerError() bool

IsServerError returns true when this get playlist internal server error response has a 5xx status code

func (*GetPlaylistInternalServerError) IsSuccess

func (o *GetPlaylistInternalServerError) IsSuccess() bool

IsSuccess returns true when this get playlist internal server error response has a 2xx status code

func (*GetPlaylistInternalServerError) String

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

func (o *GetPlaylistItemsForbidden) Code() int

Code gets the status code for the get playlist items forbidden response

func (*GetPlaylistItemsForbidden) Error

func (o *GetPlaylistItemsForbidden) Error() string

func (*GetPlaylistItemsForbidden) GetPayload

func (*GetPlaylistItemsForbidden) IsClientError

func (o *GetPlaylistItemsForbidden) IsClientError() bool

IsClientError returns true when this get playlist items forbidden response has a 4xx status code

func (*GetPlaylistItemsForbidden) IsCode

func (o *GetPlaylistItemsForbidden) IsCode(code int) bool

IsCode returns true when this get playlist items forbidden response a status code equal to that given

func (*GetPlaylistItemsForbidden) IsRedirect

func (o *GetPlaylistItemsForbidden) IsRedirect() bool

IsRedirect returns true when this get playlist items forbidden response has a 3xx status code

func (*GetPlaylistItemsForbidden) IsServerError

func (o *GetPlaylistItemsForbidden) IsServerError() bool

IsServerError returns true when this get playlist items forbidden response has a 5xx status code

func (*GetPlaylistItemsForbidden) IsSuccess

func (o *GetPlaylistItemsForbidden) IsSuccess() bool

IsSuccess returns true when this get playlist items forbidden response has a 2xx status code

func (*GetPlaylistItemsForbidden) String

func (o *GetPlaylistItemsForbidden) String() string

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

Code gets the status code for the get playlist items internal server error response

func (*GetPlaylistItemsInternalServerError) Error

func (*GetPlaylistItemsInternalServerError) GetPayload

func (*GetPlaylistItemsInternalServerError) IsClientError

func (o *GetPlaylistItemsInternalServerError) IsClientError() bool

IsClientError returns true when this get playlist items internal server error response has a 4xx status code

func (*GetPlaylistItemsInternalServerError) IsCode

IsCode returns true when this get playlist items internal server error response a status code equal to that given

func (*GetPlaylistItemsInternalServerError) IsRedirect

func (o *GetPlaylistItemsInternalServerError) IsRedirect() bool

IsRedirect returns true when this get playlist items internal server error response has a 3xx status code

func (*GetPlaylistItemsInternalServerError) IsServerError

func (o *GetPlaylistItemsInternalServerError) IsServerError() bool

IsServerError returns true when this get playlist items internal server error response has a 5xx status code

func (*GetPlaylistItemsInternalServerError) IsSuccess

IsSuccess returns true when this get playlist items internal server error response has a 2xx status code

func (*GetPlaylistItemsInternalServerError) String

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

func (o *GetPlaylistItemsNotFound) Code() int

Code gets the status code for the get playlist items not found response

func (*GetPlaylistItemsNotFound) Error

func (o *GetPlaylistItemsNotFound) Error() string

func (*GetPlaylistItemsNotFound) GetPayload

func (*GetPlaylistItemsNotFound) IsClientError

func (o *GetPlaylistItemsNotFound) IsClientError() bool

IsClientError returns true when this get playlist items not found response has a 4xx status code

func (*GetPlaylistItemsNotFound) IsCode

func (o *GetPlaylistItemsNotFound) IsCode(code int) bool

IsCode returns true when this get playlist items not found response a status code equal to that given

func (*GetPlaylistItemsNotFound) IsRedirect

func (o *GetPlaylistItemsNotFound) IsRedirect() bool

IsRedirect returns true when this get playlist items not found response has a 3xx status code

func (*GetPlaylistItemsNotFound) IsServerError

func (o *GetPlaylistItemsNotFound) IsServerError() bool

IsServerError returns true when this get playlist items not found response has a 5xx status code

func (*GetPlaylistItemsNotFound) IsSuccess

func (o *GetPlaylistItemsNotFound) IsSuccess() bool

IsSuccess returns true when this get playlist items not found response has a 2xx status code

func (*GetPlaylistItemsNotFound) String

func (o *GetPlaylistItemsNotFound) String() string

type GetPlaylistItemsOK

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

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

func (o *GetPlaylistItemsOK) Code() int

Code gets the status code for the get playlist items Ok response

func (*GetPlaylistItemsOK) Error

func (o *GetPlaylistItemsOK) Error() string

func (*GetPlaylistItemsOK) GetPayload

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

func (*GetPlaylistItemsOK) IsClientError

func (o *GetPlaylistItemsOK) IsClientError() bool

IsClientError returns true when this get playlist items Ok response has a 4xx status code

func (*GetPlaylistItemsOK) IsCode

func (o *GetPlaylistItemsOK) IsCode(code int) bool

IsCode returns true when this get playlist items Ok response a status code equal to that given

func (*GetPlaylistItemsOK) IsRedirect

func (o *GetPlaylistItemsOK) IsRedirect() bool

IsRedirect returns true when this get playlist items Ok response has a 3xx status code

func (*GetPlaylistItemsOK) IsServerError

func (o *GetPlaylistItemsOK) IsServerError() bool

IsServerError returns true when this get playlist items Ok response has a 5xx status code

func (*GetPlaylistItemsOK) IsSuccess

func (o *GetPlaylistItemsOK) IsSuccess() bool

IsSuccess returns true when this get playlist items Ok response has a 2xx status code

func (*GetPlaylistItemsOK) String

func (o *GetPlaylistItemsOK) String() string

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

Code gets the status code for the get playlist items unauthorized response

func (*GetPlaylistItemsUnauthorized) Error

func (*GetPlaylistItemsUnauthorized) GetPayload

func (*GetPlaylistItemsUnauthorized) IsClientError

func (o *GetPlaylistItemsUnauthorized) IsClientError() bool

IsClientError returns true when this get playlist items unauthorized response has a 4xx status code

func (*GetPlaylistItemsUnauthorized) IsCode

func (o *GetPlaylistItemsUnauthorized) IsCode(code int) bool

IsCode returns true when this get playlist items unauthorized response a status code equal to that given

func (*GetPlaylistItemsUnauthorized) IsRedirect

func (o *GetPlaylistItemsUnauthorized) IsRedirect() bool

IsRedirect returns true when this get playlist items unauthorized response has a 3xx status code

func (*GetPlaylistItemsUnauthorized) IsServerError

func (o *GetPlaylistItemsUnauthorized) IsServerError() bool

IsServerError returns true when this get playlist items unauthorized response has a 5xx status code

func (*GetPlaylistItemsUnauthorized) IsSuccess

func (o *GetPlaylistItemsUnauthorized) IsSuccess() bool

IsSuccess returns true when this get playlist items unauthorized response has a 2xx status code

func (*GetPlaylistItemsUnauthorized) String

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

func (o *GetPlaylistNotFound) Code() int

Code gets the status code for the get playlist not found response

func (*GetPlaylistNotFound) Error

func (o *GetPlaylistNotFound) Error() string

func (*GetPlaylistNotFound) GetPayload

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

func (*GetPlaylistNotFound) IsClientError

func (o *GetPlaylistNotFound) IsClientError() bool

IsClientError returns true when this get playlist not found response has a 4xx status code

func (*GetPlaylistNotFound) IsCode

func (o *GetPlaylistNotFound) IsCode(code int) bool

IsCode returns true when this get playlist not found response a status code equal to that given

func (*GetPlaylistNotFound) IsRedirect

func (o *GetPlaylistNotFound) IsRedirect() bool

IsRedirect returns true when this get playlist not found response has a 3xx status code

func (*GetPlaylistNotFound) IsServerError

func (o *GetPlaylistNotFound) IsServerError() bool

IsServerError returns true when this get playlist not found response has a 5xx status code

func (*GetPlaylistNotFound) IsSuccess

func (o *GetPlaylistNotFound) IsSuccess() bool

IsSuccess returns true when this get playlist not found response has a 2xx status code

func (*GetPlaylistNotFound) String

func (o *GetPlaylistNotFound) String() string

type GetPlaylistOK

type GetPlaylistOK struct {
	Payload *models.Playlist
}

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

func (o *GetPlaylistOK) Code() int

Code gets the status code for the get playlist Ok response

func (*GetPlaylistOK) Error

func (o *GetPlaylistOK) Error() string

func (*GetPlaylistOK) GetPayload

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

func (*GetPlaylistOK) IsClientError

func (o *GetPlaylistOK) IsClientError() bool

IsClientError returns true when this get playlist Ok response has a 4xx status code

func (*GetPlaylistOK) IsCode

func (o *GetPlaylistOK) IsCode(code int) bool

IsCode returns true when this get playlist Ok response a status code equal to that given

func (*GetPlaylistOK) IsRedirect

func (o *GetPlaylistOK) IsRedirect() bool

IsRedirect returns true when this get playlist Ok response has a 3xx status code

func (*GetPlaylistOK) IsServerError

func (o *GetPlaylistOK) IsServerError() bool

IsServerError returns true when this get playlist Ok response has a 5xx status code

func (*GetPlaylistOK) IsSuccess

func (o *GetPlaylistOK) IsSuccess() bool

IsSuccess returns true when this get playlist Ok response has a 2xx status code

func (*GetPlaylistOK) String

func (o *GetPlaylistOK) String() string

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

func (o *GetPlaylistUnauthorized) Code() int

Code gets the status code for the get playlist unauthorized response

func (*GetPlaylistUnauthorized) Error

func (o *GetPlaylistUnauthorized) Error() string

func (*GetPlaylistUnauthorized) GetPayload

func (*GetPlaylistUnauthorized) IsClientError

func (o *GetPlaylistUnauthorized) IsClientError() bool

IsClientError returns true when this get playlist unauthorized response has a 4xx status code

func (*GetPlaylistUnauthorized) IsCode

func (o *GetPlaylistUnauthorized) IsCode(code int) bool

IsCode returns true when this get playlist unauthorized response a status code equal to that given

func (*GetPlaylistUnauthorized) IsRedirect

func (o *GetPlaylistUnauthorized) IsRedirect() bool

IsRedirect returns true when this get playlist unauthorized response has a 3xx status code

func (*GetPlaylistUnauthorized) IsServerError

func (o *GetPlaylistUnauthorized) IsServerError() bool

IsServerError returns true when this get playlist unauthorized response has a 5xx status code

func (*GetPlaylistUnauthorized) IsSuccess

func (o *GetPlaylistUnauthorized) IsSuccess() bool

IsSuccess returns true when this get playlist unauthorized response has a 2xx status code

func (*GetPlaylistUnauthorized) String

func (o *GetPlaylistUnauthorized) String() string

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

Code gets the status code for the search playlists internal server error response

func (*SearchPlaylistsInternalServerError) Error

func (*SearchPlaylistsInternalServerError) GetPayload

func (*SearchPlaylistsInternalServerError) IsClientError

func (o *SearchPlaylistsInternalServerError) IsClientError() bool

IsClientError returns true when this search playlists internal server error response has a 4xx status code

func (*SearchPlaylistsInternalServerError) IsCode

IsCode returns true when this search playlists internal server error response a status code equal to that given

func (*SearchPlaylistsInternalServerError) IsRedirect

func (o *SearchPlaylistsInternalServerError) IsRedirect() bool

IsRedirect returns true when this search playlists internal server error response has a 3xx status code

func (*SearchPlaylistsInternalServerError) IsServerError

func (o *SearchPlaylistsInternalServerError) IsServerError() bool

IsServerError returns true when this search playlists internal server error response has a 5xx status code

func (*SearchPlaylistsInternalServerError) IsSuccess

IsSuccess returns true when this search playlists internal server error response has a 2xx status code

func (*SearchPlaylistsInternalServerError) String

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

func (o *SearchPlaylistsOK) Code() int

Code gets the status code for the search playlists Ok response

func (*SearchPlaylistsOK) Error

func (o *SearchPlaylistsOK) Error() string

func (*SearchPlaylistsOK) GetPayload

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

func (*SearchPlaylistsOK) IsClientError

func (o *SearchPlaylistsOK) IsClientError() bool

IsClientError returns true when this search playlists Ok response has a 4xx status code

func (*SearchPlaylistsOK) IsCode

func (o *SearchPlaylistsOK) IsCode(code int) bool

IsCode returns true when this search playlists Ok response a status code equal to that given

func (*SearchPlaylistsOK) IsRedirect

func (o *SearchPlaylistsOK) IsRedirect() bool

IsRedirect returns true when this search playlists Ok response has a 3xx status code

func (*SearchPlaylistsOK) IsServerError

func (o *SearchPlaylistsOK) IsServerError() bool

IsServerError returns true when this search playlists Ok response has a 5xx status code

func (*SearchPlaylistsOK) IsSuccess

func (o *SearchPlaylistsOK) IsSuccess() bool

IsSuccess returns true when this search playlists Ok response has a 2xx status code

func (*SearchPlaylistsOK) String

func (o *SearchPlaylistsOK) String() string

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

func (o *UpdatePlaylistForbidden) Code() int

Code gets the status code for the update playlist forbidden response

func (*UpdatePlaylistForbidden) Error

func (o *UpdatePlaylistForbidden) Error() string

func (*UpdatePlaylistForbidden) GetPayload

func (*UpdatePlaylistForbidden) IsClientError

func (o *UpdatePlaylistForbidden) IsClientError() bool

IsClientError returns true when this update playlist forbidden response has a 4xx status code

func (*UpdatePlaylistForbidden) IsCode

func (o *UpdatePlaylistForbidden) IsCode(code int) bool

IsCode returns true when this update playlist forbidden response a status code equal to that given

func (*UpdatePlaylistForbidden) IsRedirect

func (o *UpdatePlaylistForbidden) IsRedirect() bool

IsRedirect returns true when this update playlist forbidden response has a 3xx status code

func (*UpdatePlaylistForbidden) IsServerError

func (o *UpdatePlaylistForbidden) IsServerError() bool

IsServerError returns true when this update playlist forbidden response has a 5xx status code

func (*UpdatePlaylistForbidden) IsSuccess

func (o *UpdatePlaylistForbidden) IsSuccess() bool

IsSuccess returns true when this update playlist forbidden response has a 2xx status code

func (*UpdatePlaylistForbidden) String

func (o *UpdatePlaylistForbidden) String() string

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

Code gets the status code for the update playlist internal server error response

func (*UpdatePlaylistInternalServerError) Error

func (*UpdatePlaylistInternalServerError) GetPayload

func (*UpdatePlaylistInternalServerError) IsClientError

func (o *UpdatePlaylistInternalServerError) IsClientError() bool

IsClientError returns true when this update playlist internal server error response has a 4xx status code

func (*UpdatePlaylistInternalServerError) IsCode

func (o *UpdatePlaylistInternalServerError) IsCode(code int) bool

IsCode returns true when this update playlist internal server error response a status code equal to that given

func (*UpdatePlaylistInternalServerError) IsRedirect

func (o *UpdatePlaylistInternalServerError) IsRedirect() bool

IsRedirect returns true when this update playlist internal server error response has a 3xx status code

func (*UpdatePlaylistInternalServerError) IsServerError

func (o *UpdatePlaylistInternalServerError) IsServerError() bool

IsServerError returns true when this update playlist internal server error response has a 5xx status code

func (*UpdatePlaylistInternalServerError) IsSuccess

func (o *UpdatePlaylistInternalServerError) IsSuccess() bool

IsSuccess returns true when this update playlist internal server error response has a 2xx status code

func (*UpdatePlaylistInternalServerError) String

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

func (o *UpdatePlaylistNotFound) Code() int

Code gets the status code for the update playlist not found response

func (*UpdatePlaylistNotFound) Error

func (o *UpdatePlaylistNotFound) Error() string

func (*UpdatePlaylistNotFound) GetPayload

func (*UpdatePlaylistNotFound) IsClientError

func (o *UpdatePlaylistNotFound) IsClientError() bool

IsClientError returns true when this update playlist not found response has a 4xx status code

func (*UpdatePlaylistNotFound) IsCode

func (o *UpdatePlaylistNotFound) IsCode(code int) bool

IsCode returns true when this update playlist not found response a status code equal to that given

func (*UpdatePlaylistNotFound) IsRedirect

func (o *UpdatePlaylistNotFound) IsRedirect() bool

IsRedirect returns true when this update playlist not found response has a 3xx status code

func (*UpdatePlaylistNotFound) IsServerError

func (o *UpdatePlaylistNotFound) IsServerError() bool

IsServerError returns true when this update playlist not found response has a 5xx status code

func (*UpdatePlaylistNotFound) IsSuccess

func (o *UpdatePlaylistNotFound) IsSuccess() bool

IsSuccess returns true when this update playlist not found response has a 2xx status code

func (*UpdatePlaylistNotFound) String

func (o *UpdatePlaylistNotFound) String() string

type UpdatePlaylistOK

type UpdatePlaylistOK struct {
	Payload *models.Playlist
}

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

func (o *UpdatePlaylistOK) Code() int

Code gets the status code for the update playlist Ok response

func (*UpdatePlaylistOK) Error

func (o *UpdatePlaylistOK) Error() string

func (*UpdatePlaylistOK) GetPayload

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

func (*UpdatePlaylistOK) IsClientError

func (o *UpdatePlaylistOK) IsClientError() bool

IsClientError returns true when this update playlist Ok response has a 4xx status code

func (*UpdatePlaylistOK) IsCode

func (o *UpdatePlaylistOK) IsCode(code int) bool

IsCode returns true when this update playlist Ok response a status code equal to that given

func (*UpdatePlaylistOK) IsRedirect

func (o *UpdatePlaylistOK) IsRedirect() bool

IsRedirect returns true when this update playlist Ok response has a 3xx status code

func (*UpdatePlaylistOK) IsServerError

func (o *UpdatePlaylistOK) IsServerError() bool

IsServerError returns true when this update playlist Ok response has a 5xx status code

func (*UpdatePlaylistOK) IsSuccess

func (o *UpdatePlaylistOK) IsSuccess() bool

IsSuccess returns true when this update playlist Ok response has a 2xx status code

func (*UpdatePlaylistOK) String

func (o *UpdatePlaylistOK) String() string

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

func (o *UpdatePlaylistUnauthorized) Code() int

Code gets the status code for the update playlist unauthorized response

func (*UpdatePlaylistUnauthorized) Error

func (*UpdatePlaylistUnauthorized) GetPayload

func (*UpdatePlaylistUnauthorized) IsClientError

func (o *UpdatePlaylistUnauthorized) IsClientError() bool

IsClientError returns true when this update playlist unauthorized response has a 4xx status code

func (*UpdatePlaylistUnauthorized) IsCode

func (o *UpdatePlaylistUnauthorized) IsCode(code int) bool

IsCode returns true when this update playlist unauthorized response a status code equal to that given

func (*UpdatePlaylistUnauthorized) IsRedirect

func (o *UpdatePlaylistUnauthorized) IsRedirect() bool

IsRedirect returns true when this update playlist unauthorized response has a 3xx status code

func (*UpdatePlaylistUnauthorized) IsServerError

func (o *UpdatePlaylistUnauthorized) IsServerError() bool

IsServerError returns true when this update playlist unauthorized response has a 5xx status code

func (*UpdatePlaylistUnauthorized) IsSuccess

func (o *UpdatePlaylistUnauthorized) IsSuccess() bool

IsSuccess returns true when this update playlist unauthorized response has a 2xx status code

func (*UpdatePlaylistUnauthorized) String

func (o *UpdatePlaylistUnauthorized) String() string

Jump to

Keyboard shortcuts

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