Documentation ¶
Index ¶
- type Client
- func (a *Client) CreatePlaylist(params *CreatePlaylistParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreatePlaylistOK, error)
- func (a *Client) DeletePlaylist(params *DeletePlaylistParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeletePlaylistOK, error)
- func (a *Client) GetPlaylist(params *GetPlaylistParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPlaylistOK, error)
- func (a *Client) GetPlaylistDashboards(params *GetPlaylistDashboardsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPlaylistDashboardsOK, error)
- func (a *Client) GetPlaylistItems(params *GetPlaylistItemsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetPlaylistItemsOK, error)
- func (a *Client) SearchPlaylists(params *SearchPlaylistsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*SearchPlaylistsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdatePlaylist(params *UpdatePlaylistParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdatePlaylistOK, error)
- type ClientOption
- type ClientService
- type CreatePlaylistForbidden
- type CreatePlaylistInternalServerError
- type CreatePlaylistNotFound
- type CreatePlaylistOK
- type CreatePlaylistParams
- func NewCreatePlaylistParams() *CreatePlaylistParams
- func NewCreatePlaylistParamsWithContext(ctx context.Context) *CreatePlaylistParams
- func NewCreatePlaylistParamsWithHTTPClient(client *http.Client) *CreatePlaylistParams
- func NewCreatePlaylistParamsWithTimeout(timeout time.Duration) *CreatePlaylistParams
- func (o *CreatePlaylistParams) SetBody(body *models.CreatePlaylistCommand)
- func (o *CreatePlaylistParams) SetContext(ctx context.Context)
- func (o *CreatePlaylistParams) SetDefaults()
- func (o *CreatePlaylistParams) SetHTTPClient(client *http.Client)
- func (o *CreatePlaylistParams) SetTimeout(timeout time.Duration)
- func (o *CreatePlaylistParams) WithBody(body *models.CreatePlaylistCommand) *CreatePlaylistParams
- func (o *CreatePlaylistParams) WithContext(ctx context.Context) *CreatePlaylistParams
- func (o *CreatePlaylistParams) WithDefaults() *CreatePlaylistParams
- func (o *CreatePlaylistParams) WithHTTPClient(client *http.Client) *CreatePlaylistParams
- func (o *CreatePlaylistParams) WithTimeout(timeout time.Duration) *CreatePlaylistParams
- func (o *CreatePlaylistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreatePlaylistReader
- type CreatePlaylistUnauthorized
- type DeletePlaylistForbidden
- type DeletePlaylistInternalServerError
- type DeletePlaylistNotFound
- type DeletePlaylistOK
- type DeletePlaylistParams
- func NewDeletePlaylistParams() *DeletePlaylistParams
- func NewDeletePlaylistParamsWithContext(ctx context.Context) *DeletePlaylistParams
- func NewDeletePlaylistParamsWithHTTPClient(client *http.Client) *DeletePlaylistParams
- func NewDeletePlaylistParamsWithTimeout(timeout time.Duration) *DeletePlaylistParams
- func (o *DeletePlaylistParams) SetContext(ctx context.Context)
- func (o *DeletePlaylistParams) SetDefaults()
- func (o *DeletePlaylistParams) SetHTTPClient(client *http.Client)
- func (o *DeletePlaylistParams) SetTimeout(timeout time.Duration)
- func (o *DeletePlaylistParams) SetUID(uid string)
- func (o *DeletePlaylistParams) WithContext(ctx context.Context) *DeletePlaylistParams
- func (o *DeletePlaylistParams) WithDefaults() *DeletePlaylistParams
- func (o *DeletePlaylistParams) WithHTTPClient(client *http.Client) *DeletePlaylistParams
- func (o *DeletePlaylistParams) WithTimeout(timeout time.Duration) *DeletePlaylistParams
- func (o *DeletePlaylistParams) WithUID(uid string) *DeletePlaylistParams
- func (o *DeletePlaylistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeletePlaylistReader
- type DeletePlaylistUnauthorized
- type GetPlaylistDashboardsForbidden
- type GetPlaylistDashboardsInternalServerError
- type GetPlaylistDashboardsNotFound
- type GetPlaylistDashboardsOK
- type GetPlaylistDashboardsParams
- func NewGetPlaylistDashboardsParams() *GetPlaylistDashboardsParams
- func NewGetPlaylistDashboardsParamsWithContext(ctx context.Context) *GetPlaylistDashboardsParams
- func NewGetPlaylistDashboardsParamsWithHTTPClient(client *http.Client) *GetPlaylistDashboardsParams
- func NewGetPlaylistDashboardsParamsWithTimeout(timeout time.Duration) *GetPlaylistDashboardsParams
- func (o *GetPlaylistDashboardsParams) SetContext(ctx context.Context)
- func (o *GetPlaylistDashboardsParams) SetDefaults()
- func (o *GetPlaylistDashboardsParams) SetHTTPClient(client *http.Client)
- func (o *GetPlaylistDashboardsParams) SetTimeout(timeout time.Duration)
- func (o *GetPlaylistDashboardsParams) SetUID(uid string)
- func (o *GetPlaylistDashboardsParams) WithContext(ctx context.Context) *GetPlaylistDashboardsParams
- func (o *GetPlaylistDashboardsParams) WithDefaults() *GetPlaylistDashboardsParams
- func (o *GetPlaylistDashboardsParams) WithHTTPClient(client *http.Client) *GetPlaylistDashboardsParams
- func (o *GetPlaylistDashboardsParams) WithTimeout(timeout time.Duration) *GetPlaylistDashboardsParams
- func (o *GetPlaylistDashboardsParams) WithUID(uid string) *GetPlaylistDashboardsParams
- func (o *GetPlaylistDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlaylistDashboardsReader
- type GetPlaylistDashboardsUnauthorized
- type GetPlaylistForbidden
- type GetPlaylistInternalServerError
- type GetPlaylistItemsForbidden
- type GetPlaylistItemsInternalServerError
- type GetPlaylistItemsNotFound
- type GetPlaylistItemsOK
- type GetPlaylistItemsParams
- func NewGetPlaylistItemsParams() *GetPlaylistItemsParams
- func NewGetPlaylistItemsParamsWithContext(ctx context.Context) *GetPlaylistItemsParams
- func NewGetPlaylistItemsParamsWithHTTPClient(client *http.Client) *GetPlaylistItemsParams
- func NewGetPlaylistItemsParamsWithTimeout(timeout time.Duration) *GetPlaylistItemsParams
- func (o *GetPlaylistItemsParams) SetContext(ctx context.Context)
- func (o *GetPlaylistItemsParams) SetDefaults()
- func (o *GetPlaylistItemsParams) SetHTTPClient(client *http.Client)
- func (o *GetPlaylistItemsParams) SetTimeout(timeout time.Duration)
- func (o *GetPlaylistItemsParams) SetUID(uid string)
- func (o *GetPlaylistItemsParams) WithContext(ctx context.Context) *GetPlaylistItemsParams
- func (o *GetPlaylistItemsParams) WithDefaults() *GetPlaylistItemsParams
- func (o *GetPlaylistItemsParams) WithHTTPClient(client *http.Client) *GetPlaylistItemsParams
- func (o *GetPlaylistItemsParams) WithTimeout(timeout time.Duration) *GetPlaylistItemsParams
- func (o *GetPlaylistItemsParams) WithUID(uid string) *GetPlaylistItemsParams
- func (o *GetPlaylistItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlaylistItemsReader
- type GetPlaylistItemsUnauthorized
- type GetPlaylistNotFound
- type GetPlaylistOK
- type GetPlaylistParams
- func (o *GetPlaylistParams) SetContext(ctx context.Context)
- func (o *GetPlaylistParams) SetDefaults()
- func (o *GetPlaylistParams) SetHTTPClient(client *http.Client)
- func (o *GetPlaylistParams) SetTimeout(timeout time.Duration)
- func (o *GetPlaylistParams) SetUID(uid string)
- func (o *GetPlaylistParams) WithContext(ctx context.Context) *GetPlaylistParams
- func (o *GetPlaylistParams) WithDefaults() *GetPlaylistParams
- func (o *GetPlaylistParams) WithHTTPClient(client *http.Client) *GetPlaylistParams
- func (o *GetPlaylistParams) WithTimeout(timeout time.Duration) *GetPlaylistParams
- func (o *GetPlaylistParams) WithUID(uid string) *GetPlaylistParams
- func (o *GetPlaylistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPlaylistReader
- type GetPlaylistUnauthorized
- type SearchPlaylistsInternalServerError
- type SearchPlaylistsOK
- type SearchPlaylistsParams
- func NewSearchPlaylistsParams() *SearchPlaylistsParams
- func NewSearchPlaylistsParamsWithContext(ctx context.Context) *SearchPlaylistsParams
- func NewSearchPlaylistsParamsWithHTTPClient(client *http.Client) *SearchPlaylistsParams
- func NewSearchPlaylistsParamsWithTimeout(timeout time.Duration) *SearchPlaylistsParams
- func (o *SearchPlaylistsParams) SetContext(ctx context.Context)
- func (o *SearchPlaylistsParams) SetDefaults()
- func (o *SearchPlaylistsParams) SetHTTPClient(client *http.Client)
- func (o *SearchPlaylistsParams) SetLimit(limit *int64)
- func (o *SearchPlaylistsParams) SetQuery(query *string)
- func (o *SearchPlaylistsParams) SetTimeout(timeout time.Duration)
- func (o *SearchPlaylistsParams) WithContext(ctx context.Context) *SearchPlaylistsParams
- func (o *SearchPlaylistsParams) WithDefaults() *SearchPlaylistsParams
- func (o *SearchPlaylistsParams) WithHTTPClient(client *http.Client) *SearchPlaylistsParams
- func (o *SearchPlaylistsParams) WithLimit(limit *int64) *SearchPlaylistsParams
- func (o *SearchPlaylistsParams) WithQuery(query *string) *SearchPlaylistsParams
- func (o *SearchPlaylistsParams) WithTimeout(timeout time.Duration) *SearchPlaylistsParams
- func (o *SearchPlaylistsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type SearchPlaylistsReader
- type UpdatePlaylistForbidden
- type UpdatePlaylistInternalServerError
- type UpdatePlaylistNotFound
- type UpdatePlaylistOK
- type UpdatePlaylistParams
- func NewUpdatePlaylistParams() *UpdatePlaylistParams
- func NewUpdatePlaylistParamsWithContext(ctx context.Context) *UpdatePlaylistParams
- func NewUpdatePlaylistParamsWithHTTPClient(client *http.Client) *UpdatePlaylistParams
- func NewUpdatePlaylistParamsWithTimeout(timeout time.Duration) *UpdatePlaylistParams
- func (o *UpdatePlaylistParams) SetBody(body *models.UpdatePlaylistCommand)
- func (o *UpdatePlaylistParams) SetContext(ctx context.Context)
- func (o *UpdatePlaylistParams) SetDefaults()
- func (o *UpdatePlaylistParams) SetHTTPClient(client *http.Client)
- func (o *UpdatePlaylistParams) SetTimeout(timeout time.Duration)
- func (o *UpdatePlaylistParams) SetUID(uid string)
- func (o *UpdatePlaylistParams) WithBody(body *models.UpdatePlaylistCommand) *UpdatePlaylistParams
- func (o *UpdatePlaylistParams) WithContext(ctx context.Context) *UpdatePlaylistParams
- func (o *UpdatePlaylistParams) WithDefaults() *UpdatePlaylistParams
- func (o *UpdatePlaylistParams) WithHTTPClient(client *http.Client) *UpdatePlaylistParams
- func (o *UpdatePlaylistParams) WithTimeout(timeout time.Duration) *UpdatePlaylistParams
- func (o *UpdatePlaylistParams) WithUID(uid string) *UpdatePlaylistParams
- func (o *UpdatePlaylistParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdatePlaylistReader
- type UpdatePlaylistUnauthorized
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 ¶
func (o *CreatePlaylistForbidden) GetPayload() *models.ErrorResponseBody
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 (o *CreatePlaylistInternalServerError) Error() string
func (*CreatePlaylistInternalServerError) GetPayload ¶
func (o *CreatePlaylistInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *CreatePlaylistNotFound) GetPayload() *models.ErrorResponseBody
type CreatePlaylistOK ¶
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 ¶
func (o *CreatePlaylistParams) SetBody(body *models.CreatePlaylistCommand)
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 ¶
func (o *CreatePlaylistParams) WithBody(body *models.CreatePlaylistCommand) *CreatePlaylistParams
WithBody adds the body to the create playlist params
func (*CreatePlaylistParams) WithContext ¶
func (o *CreatePlaylistParams) WithContext(ctx context.Context) *CreatePlaylistParams
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 {
}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 (o *CreatePlaylistUnauthorized) Error() string
func (*CreatePlaylistUnauthorized) GetPayload ¶
func (o *CreatePlaylistUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *DeletePlaylistForbidden) GetPayload() *models.ErrorResponseBody
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 (o *DeletePlaylistInternalServerError) Error() string
func (*DeletePlaylistInternalServerError) GetPayload ¶
func (o *DeletePlaylistInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *DeletePlaylistNotFound) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *DeletePlaylistParams) WithContext(ctx context.Context) *DeletePlaylistParams
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 ¶
func (o *DeletePlaylistParams) WithUID(uid string) *DeletePlaylistParams
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 {
}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 (o *DeletePlaylistUnauthorized) Error() string
func (*DeletePlaylistUnauthorized) GetPayload ¶
func (o *DeletePlaylistUnauthorized) GetPayload() *models.ErrorResponseBody
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 (o *GetPlaylistDashboardsForbidden) Error() string
func (*GetPlaylistDashboardsForbidden) GetPayload ¶
func (o *GetPlaylistDashboardsForbidden) GetPayload() *models.ErrorResponseBody
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 (o *GetPlaylistDashboardsInternalServerError) Error() string
func (*GetPlaylistDashboardsInternalServerError) GetPayload ¶
func (o *GetPlaylistDashboardsInternalServerError) GetPayload() *models.ErrorResponseBody
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 (o *GetPlaylistDashboardsNotFound) Error() string
func (*GetPlaylistDashboardsNotFound) GetPayload ¶
func (o *GetPlaylistDashboardsNotFound) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetPlaylistDashboardsOK) GetPayload() models.PlaylistDashboardsSlice
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 ¶
func (o *GetPlaylistDashboardsParams) WithContext(ctx context.Context) *GetPlaylistDashboardsParams
WithContext adds the context to the get playlist dashboards params
func (*GetPlaylistDashboardsParams) WithDefaults ¶
func (o *GetPlaylistDashboardsParams) WithDefaults() *GetPlaylistDashboardsParams
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 ¶
func (o *GetPlaylistDashboardsParams) WithHTTPClient(client *http.Client) *GetPlaylistDashboardsParams
WithHTTPClient adds the HTTPClient to the get playlist dashboards params
func (*GetPlaylistDashboardsParams) WithTimeout ¶
func (o *GetPlaylistDashboardsParams) WithTimeout(timeout time.Duration) *GetPlaylistDashboardsParams
WithTimeout adds the timeout to the get playlist dashboards params
func (*GetPlaylistDashboardsParams) WithUID ¶
func (o *GetPlaylistDashboardsParams) WithUID(uid string) *GetPlaylistDashboardsParams
WithUID adds the uid to the get playlist dashboards params
func (*GetPlaylistDashboardsParams) WriteToRequest ¶
func (o *GetPlaylistDashboardsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetPlaylistDashboardsUnauthorized) Error() string
func (*GetPlaylistDashboardsUnauthorized) GetPayload ¶
func (o *GetPlaylistDashboardsUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetPlaylistForbidden) GetPayload() *models.ErrorResponseBody
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 (o *GetPlaylistInternalServerError) Error() string
func (*GetPlaylistInternalServerError) GetPayload ¶
func (o *GetPlaylistInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetPlaylistItemsForbidden) GetPayload() *models.ErrorResponseBody
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 (o *GetPlaylistItemsInternalServerError) Error() string
func (*GetPlaylistItemsInternalServerError) GetPayload ¶
func (o *GetPlaylistItemsInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *GetPlaylistItemsNotFound) GetPayload() *models.ErrorResponseBody
type GetPlaylistItemsOK ¶
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 ¶
func (o *GetPlaylistItemsParams) WithContext(ctx context.Context) *GetPlaylistItemsParams
WithContext adds the context to the get playlist items params
func (*GetPlaylistItemsParams) WithDefaults ¶
func (o *GetPlaylistItemsParams) WithDefaults() *GetPlaylistItemsParams
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 ¶
func (o *GetPlaylistItemsParams) WithTimeout(timeout time.Duration) *GetPlaylistItemsParams
WithTimeout adds the timeout to the get playlist items params
func (*GetPlaylistItemsParams) WithUID ¶
func (o *GetPlaylistItemsParams) WithUID(uid string) *GetPlaylistItemsParams
WithUID adds the uid to the get playlist items params
func (*GetPlaylistItemsParams) WriteToRequest ¶
func (o *GetPlaylistItemsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
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 {
}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 (o *GetPlaylistItemsUnauthorized) Error() string
func (*GetPlaylistItemsUnauthorized) GetPayload ¶
func (o *GetPlaylistItemsUnauthorized) GetPayload() *models.ErrorResponseBody
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 ¶
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 {
}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 ¶
func (o *GetPlaylistUnauthorized) GetPayload() *models.ErrorResponseBody
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 (o *SearchPlaylistsInternalServerError) Error() string
func (*SearchPlaylistsInternalServerError) GetPayload ¶
func (o *SearchPlaylistsInternalServerError) GetPayload() *models.ErrorResponseBody
type SearchPlaylistsOK ¶
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 ¶
func (o *SearchPlaylistsParams) WithContext(ctx context.Context) *SearchPlaylistsParams
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 ¶
func (o *UpdatePlaylistForbidden) GetPayload() *models.ErrorResponseBody
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 (o *UpdatePlaylistInternalServerError) Error() string
func (*UpdatePlaylistInternalServerError) GetPayload ¶
func (o *UpdatePlaylistInternalServerError) GetPayload() *models.ErrorResponseBody
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 ¶
func (o *UpdatePlaylistNotFound) GetPayload() *models.ErrorResponseBody
type UpdatePlaylistOK ¶
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 ¶
func (o *UpdatePlaylistParams) SetBody(body *models.UpdatePlaylistCommand)
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 ¶
func (o *UpdatePlaylistParams) WithBody(body *models.UpdatePlaylistCommand) *UpdatePlaylistParams
WithBody adds the body to the update playlist params
func (*UpdatePlaylistParams) WithContext ¶
func (o *UpdatePlaylistParams) WithContext(ctx context.Context) *UpdatePlaylistParams
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 ¶
func (o *UpdatePlaylistParams) WithUID(uid string) *UpdatePlaylistParams
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 {
}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 (o *UpdatePlaylistUnauthorized) Error() string
func (*UpdatePlaylistUnauthorized) GetPayload ¶
func (o *UpdatePlaylistUnauthorized) GetPayload() *models.ErrorResponseBody
Source Files ¶
- create_playlist_parameters.go
- create_playlist_responses.go
- delete_playlist_parameters.go
- delete_playlist_responses.go
- get_playlist_dashboards_parameters.go
- get_playlist_dashboards_responses.go
- get_playlist_items_parameters.go
- get_playlist_items_responses.go
- get_playlist_parameters.go
- get_playlist_responses.go
- playlists_client.go
- search_playlists_parameters.go
- search_playlists_responses.go
- update_playlist_parameters.go
- update_playlist_responses.go