Documentation ¶
Index ¶
- type Client
- func (a *Client) PlaylistsCreate(params *PlaylistsCreateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PlaylistsCreateCreated, error)
- func (a *Client) PlaylistsDelete(params *PlaylistsDeleteParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PlaylistsDeleteOK, error)
- func (a *Client) PlaylistsList(params *PlaylistsListParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PlaylistsListOK, error)
- func (a *Client) PlaylistsPartialUpdate(params *PlaylistsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PlaylistsPartialUpdateOK, error)
- func (a *Client) PlaylistsRead(params *PlaylistsReadParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PlaylistsReadOK, error)
- func (a *Client) PlaylistsUpdate(params *PlaylistsUpdateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*PlaylistsUpdateOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type PlaylistsCreateBadRequest
- type PlaylistsCreateCreated
- type PlaylistsCreateParams
- func NewPlaylistsCreateParams() *PlaylistsCreateParams
- func NewPlaylistsCreateParamsWithContext(ctx context.Context) *PlaylistsCreateParams
- func NewPlaylistsCreateParamsWithHTTPClient(client *http.Client) *PlaylistsCreateParams
- func NewPlaylistsCreateParamsWithTimeout(timeout time.Duration) *PlaylistsCreateParams
- func (o *PlaylistsCreateParams) SetContext(ctx context.Context)
- func (o *PlaylistsCreateParams) SetData(data *models.PlaylistWrite)
- func (o *PlaylistsCreateParams) SetDefaults()
- func (o *PlaylistsCreateParams) SetHTTPClient(client *http.Client)
- func (o *PlaylistsCreateParams) SetTimeout(timeout time.Duration)
- func (o *PlaylistsCreateParams) WithContext(ctx context.Context) *PlaylistsCreateParams
- func (o *PlaylistsCreateParams) WithData(data *models.PlaylistWrite) *PlaylistsCreateParams
- func (o *PlaylistsCreateParams) WithDefaults() *PlaylistsCreateParams
- func (o *PlaylistsCreateParams) WithHTTPClient(client *http.Client) *PlaylistsCreateParams
- func (o *PlaylistsCreateParams) WithTimeout(timeout time.Duration) *PlaylistsCreateParams
- func (o *PlaylistsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlaylistsCreateReader
- type PlaylistsCreateUnauthorized
- type PlaylistsDeleteOK
- type PlaylistsDeleteParams
- func NewPlaylistsDeleteParams() *PlaylistsDeleteParams
- func NewPlaylistsDeleteParamsWithContext(ctx context.Context) *PlaylistsDeleteParams
- func NewPlaylistsDeleteParamsWithHTTPClient(client *http.Client) *PlaylistsDeleteParams
- func NewPlaylistsDeleteParamsWithTimeout(timeout time.Duration) *PlaylistsDeleteParams
- func (o *PlaylistsDeleteParams) SetContext(ctx context.Context)
- func (o *PlaylistsDeleteParams) SetDefaults()
- func (o *PlaylistsDeleteParams) SetHTTPClient(client *http.Client)
- func (o *PlaylistsDeleteParams) SetID(id string)
- func (o *PlaylistsDeleteParams) SetTimeout(timeout time.Duration)
- func (o *PlaylistsDeleteParams) WithContext(ctx context.Context) *PlaylistsDeleteParams
- func (o *PlaylistsDeleteParams) WithDefaults() *PlaylistsDeleteParams
- func (o *PlaylistsDeleteParams) WithHTTPClient(client *http.Client) *PlaylistsDeleteParams
- func (o *PlaylistsDeleteParams) WithID(id string) *PlaylistsDeleteParams
- func (o *PlaylistsDeleteParams) WithTimeout(timeout time.Duration) *PlaylistsDeleteParams
- func (o *PlaylistsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlaylistsDeleteReader
- type PlaylistsDeleteUnauthorized
- type PlaylistsListOK
- type PlaylistsListParams
- func (o *PlaylistsListParams) SetContext(ctx context.Context)
- func (o *PlaylistsListParams) SetDefaults()
- func (o *PlaylistsListParams) SetHTTPClient(client *http.Client)
- func (o *PlaylistsListParams) SetTimeout(timeout time.Duration)
- func (o *PlaylistsListParams) WithContext(ctx context.Context) *PlaylistsListParams
- func (o *PlaylistsListParams) WithDefaults() *PlaylistsListParams
- func (o *PlaylistsListParams) WithHTTPClient(client *http.Client) *PlaylistsListParams
- func (o *PlaylistsListParams) WithTimeout(timeout time.Duration) *PlaylistsListParams
- func (o *PlaylistsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlaylistsListReader
- type PlaylistsListUnauthorized
- type PlaylistsPartialUpdateOK
- type PlaylistsPartialUpdateParams
- func NewPlaylistsPartialUpdateParams() *PlaylistsPartialUpdateParams
- func NewPlaylistsPartialUpdateParamsWithContext(ctx context.Context) *PlaylistsPartialUpdateParams
- func NewPlaylistsPartialUpdateParamsWithHTTPClient(client *http.Client) *PlaylistsPartialUpdateParams
- func NewPlaylistsPartialUpdateParamsWithTimeout(timeout time.Duration) *PlaylistsPartialUpdateParams
- func (o *PlaylistsPartialUpdateParams) SetContext(ctx context.Context)
- func (o *PlaylistsPartialUpdateParams) SetData(data *models.PlaylistWrite)
- func (o *PlaylistsPartialUpdateParams) SetDefaults()
- func (o *PlaylistsPartialUpdateParams) SetHTTPClient(client *http.Client)
- func (o *PlaylistsPartialUpdateParams) SetID(id string)
- func (o *PlaylistsPartialUpdateParams) SetTimeout(timeout time.Duration)
- func (o *PlaylistsPartialUpdateParams) WithContext(ctx context.Context) *PlaylistsPartialUpdateParams
- func (o *PlaylistsPartialUpdateParams) WithData(data *models.PlaylistWrite) *PlaylistsPartialUpdateParams
- func (o *PlaylistsPartialUpdateParams) WithDefaults() *PlaylistsPartialUpdateParams
- func (o *PlaylistsPartialUpdateParams) WithHTTPClient(client *http.Client) *PlaylistsPartialUpdateParams
- func (o *PlaylistsPartialUpdateParams) WithID(id string) *PlaylistsPartialUpdateParams
- func (o *PlaylistsPartialUpdateParams) WithTimeout(timeout time.Duration) *PlaylistsPartialUpdateParams
- func (o *PlaylistsPartialUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlaylistsPartialUpdateReader
- type PlaylistsPartialUpdateUnauthorized
- type PlaylistsReadOK
- type PlaylistsReadParams
- func (o *PlaylistsReadParams) SetContext(ctx context.Context)
- func (o *PlaylistsReadParams) SetDefaults()
- func (o *PlaylistsReadParams) SetHTTPClient(client *http.Client)
- func (o *PlaylistsReadParams) SetID(id string)
- func (o *PlaylistsReadParams) SetTimeout(timeout time.Duration)
- func (o *PlaylistsReadParams) WithContext(ctx context.Context) *PlaylistsReadParams
- func (o *PlaylistsReadParams) WithDefaults() *PlaylistsReadParams
- func (o *PlaylistsReadParams) WithHTTPClient(client *http.Client) *PlaylistsReadParams
- func (o *PlaylistsReadParams) WithID(id string) *PlaylistsReadParams
- func (o *PlaylistsReadParams) WithTimeout(timeout time.Duration) *PlaylistsReadParams
- func (o *PlaylistsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlaylistsReadReader
- type PlaylistsReadUnauthorized
- type PlaylistsUpdateBadRequest
- type PlaylistsUpdateOK
- type PlaylistsUpdateParams
- func NewPlaylistsUpdateParams() *PlaylistsUpdateParams
- func NewPlaylistsUpdateParamsWithContext(ctx context.Context) *PlaylistsUpdateParams
- func NewPlaylistsUpdateParamsWithHTTPClient(client *http.Client) *PlaylistsUpdateParams
- func NewPlaylistsUpdateParamsWithTimeout(timeout time.Duration) *PlaylistsUpdateParams
- func (o *PlaylistsUpdateParams) SetContext(ctx context.Context)
- func (o *PlaylistsUpdateParams) SetData(data *models.PlaylistWrite)
- func (o *PlaylistsUpdateParams) SetDefaults()
- func (o *PlaylistsUpdateParams) SetHTTPClient(client *http.Client)
- func (o *PlaylistsUpdateParams) SetID(id string)
- func (o *PlaylistsUpdateParams) SetTimeout(timeout time.Duration)
- func (o *PlaylistsUpdateParams) WithContext(ctx context.Context) *PlaylistsUpdateParams
- func (o *PlaylistsUpdateParams) WithData(data *models.PlaylistWrite) *PlaylistsUpdateParams
- func (o *PlaylistsUpdateParams) WithDefaults() *PlaylistsUpdateParams
- func (o *PlaylistsUpdateParams) WithHTTPClient(client *http.Client) *PlaylistsUpdateParams
- func (o *PlaylistsUpdateParams) WithID(id string) *PlaylistsUpdateParams
- func (o *PlaylistsUpdateParams) WithTimeout(timeout time.Duration) *PlaylistsUpdateParams
- func (o *PlaylistsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type PlaylistsUpdateReader
- type PlaylistsUpdateUnauthorized
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) PlaylistsCreate ¶
func (a *Client) PlaylistsCreate(params *PlaylistsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsCreateCreated, error)
PlaylistsCreate creates playlist
Define a new playlist. Playlists describe what assets to display and when. Once a playlist has been defined it can be scheduled on groups of screens.
func (*Client) PlaylistsDelete ¶
func (a *Client) PlaylistsDelete(params *PlaylistsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsDeleteOK, error)
PlaylistsDelete deletes playlist
Delete a specific playlist. Playlists describe what assets to display and when. Once a playlist has been defined it can be scheduled on groups of screens.
func (*Client) PlaylistsList ¶
func (a *Client) PlaylistsList(params *PlaylistsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsListOK, error)
PlaylistsList gets playlist list
Get a list of playlists. Playlists describe what assets to display and when. Once a playlist has been defined it can be scheduled on groups of screens.
func (*Client) PlaylistsPartialUpdate ¶
func (a *Client) PlaylistsPartialUpdate(params *PlaylistsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsPartialUpdateOK, error)
PlaylistsPartialUpdate updates playlist partially
Change specific fields of a playlist. Playlists describe what assets to display and when. Once a playlist has been defined it can be scheduled on groups of screens.
func (*Client) PlaylistsRead ¶
func (a *Client) PlaylistsRead(params *PlaylistsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsReadOK, error)
PlaylistsRead gets playlist
Get the details of a specific playlist. Playlists describe what assets to display and when. Once a playlist has been defined it can be scheduled on groups of screens.
func (*Client) PlaylistsUpdate ¶
func (a *Client) PlaylistsUpdate(params *PlaylistsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsUpdateOK, error)
PlaylistsUpdate updates playlist
Change a playlist. Playlists describe what assets to display and when. Once a playlist has been defined it can be scheduled on groups of screens.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { PlaylistsCreate(params *PlaylistsCreateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsCreateCreated, error) PlaylistsDelete(params *PlaylistsDeleteParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsDeleteOK, error) PlaylistsList(params *PlaylistsListParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsListOK, error) PlaylistsPartialUpdate(params *PlaylistsPartialUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsPartialUpdateOK, error) PlaylistsRead(params *PlaylistsReadParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsReadOK, error) PlaylistsUpdate(params *PlaylistsUpdateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*PlaylistsUpdateOK, 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 PlaylistsCreateBadRequest ¶
type PlaylistsCreateBadRequest struct { }
PlaylistsCreateBadRequest describes a response with status code 400, with default header values.
You sent a malformed or bad request.
func NewPlaylistsCreateBadRequest ¶
func NewPlaylistsCreateBadRequest() *PlaylistsCreateBadRequest
NewPlaylistsCreateBadRequest creates a PlaylistsCreateBadRequest with default headers values
func (*PlaylistsCreateBadRequest) Error ¶
func (o *PlaylistsCreateBadRequest) Error() string
type PlaylistsCreateCreated ¶
type PlaylistsCreateCreated struct {
Payload *models.PlaylistRead
}
PlaylistsCreateCreated describes a response with status code 201, with default header values.
PlaylistsCreateCreated playlists create created
func NewPlaylistsCreateCreated ¶
func NewPlaylistsCreateCreated() *PlaylistsCreateCreated
NewPlaylistsCreateCreated creates a PlaylistsCreateCreated with default headers values
func (*PlaylistsCreateCreated) Error ¶
func (o *PlaylistsCreateCreated) Error() string
func (*PlaylistsCreateCreated) GetPayload ¶
func (o *PlaylistsCreateCreated) GetPayload() *models.PlaylistRead
type PlaylistsCreateParams ¶
type PlaylistsCreateParams struct { // Data. Data *models.PlaylistWrite Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlaylistsCreateParams contains all the parameters to send to the API endpoint
for the playlists create operation. Typically these are written to a http.Request.
func NewPlaylistsCreateParams ¶
func NewPlaylistsCreateParams() *PlaylistsCreateParams
NewPlaylistsCreateParams creates a new PlaylistsCreateParams 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 NewPlaylistsCreateParamsWithContext ¶
func NewPlaylistsCreateParamsWithContext(ctx context.Context) *PlaylistsCreateParams
NewPlaylistsCreateParamsWithContext creates a new PlaylistsCreateParams object with the ability to set a context for a request.
func NewPlaylistsCreateParamsWithHTTPClient ¶
func NewPlaylistsCreateParamsWithHTTPClient(client *http.Client) *PlaylistsCreateParams
NewPlaylistsCreateParamsWithHTTPClient creates a new PlaylistsCreateParams object with the ability to set a custom HTTPClient for a request.
func NewPlaylistsCreateParamsWithTimeout ¶
func NewPlaylistsCreateParamsWithTimeout(timeout time.Duration) *PlaylistsCreateParams
NewPlaylistsCreateParamsWithTimeout creates a new PlaylistsCreateParams object with the ability to set a timeout on a request.
func (*PlaylistsCreateParams) SetContext ¶
func (o *PlaylistsCreateParams) SetContext(ctx context.Context)
SetContext adds the context to the playlists create params
func (*PlaylistsCreateParams) SetData ¶
func (o *PlaylistsCreateParams) SetData(data *models.PlaylistWrite)
SetData adds the data to the playlists create params
func (*PlaylistsCreateParams) SetDefaults ¶
func (o *PlaylistsCreateParams) SetDefaults()
SetDefaults hydrates default values in the playlists create params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsCreateParams) SetHTTPClient ¶
func (o *PlaylistsCreateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the playlists create params
func (*PlaylistsCreateParams) SetTimeout ¶
func (o *PlaylistsCreateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the playlists create params
func (*PlaylistsCreateParams) WithContext ¶
func (o *PlaylistsCreateParams) WithContext(ctx context.Context) *PlaylistsCreateParams
WithContext adds the context to the playlists create params
func (*PlaylistsCreateParams) WithData ¶
func (o *PlaylistsCreateParams) WithData(data *models.PlaylistWrite) *PlaylistsCreateParams
WithData adds the data to the playlists create params
func (*PlaylistsCreateParams) WithDefaults ¶
func (o *PlaylistsCreateParams) WithDefaults() *PlaylistsCreateParams
WithDefaults hydrates default values in the playlists create params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsCreateParams) WithHTTPClient ¶
func (o *PlaylistsCreateParams) WithHTTPClient(client *http.Client) *PlaylistsCreateParams
WithHTTPClient adds the HTTPClient to the playlists create params
func (*PlaylistsCreateParams) WithTimeout ¶
func (o *PlaylistsCreateParams) WithTimeout(timeout time.Duration) *PlaylistsCreateParams
WithTimeout adds the timeout to the playlists create params
func (*PlaylistsCreateParams) WriteToRequest ¶
func (o *PlaylistsCreateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlaylistsCreateReader ¶
type PlaylistsCreateReader struct {
// contains filtered or unexported fields
}
PlaylistsCreateReader is a Reader for the PlaylistsCreate structure.
func (*PlaylistsCreateReader) ReadResponse ¶
func (o *PlaylistsCreateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlaylistsCreateUnauthorized ¶
type PlaylistsCreateUnauthorized struct { }
PlaylistsCreateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewPlaylistsCreateUnauthorized ¶
func NewPlaylistsCreateUnauthorized() *PlaylistsCreateUnauthorized
NewPlaylistsCreateUnauthorized creates a PlaylistsCreateUnauthorized with default headers values
func (*PlaylistsCreateUnauthorized) Error ¶
func (o *PlaylistsCreateUnauthorized) Error() string
type PlaylistsDeleteOK ¶
type PlaylistsDeleteOK struct { }
PlaylistsDeleteOK describes a response with status code 200, with default header values.
PlaylistsDeleteOK playlists delete o k
func NewPlaylistsDeleteOK ¶
func NewPlaylistsDeleteOK() *PlaylistsDeleteOK
NewPlaylistsDeleteOK creates a PlaylistsDeleteOK with default headers values
func (*PlaylistsDeleteOK) Error ¶
func (o *PlaylistsDeleteOK) Error() string
type PlaylistsDeleteParams ¶
type PlaylistsDeleteParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlaylistsDeleteParams contains all the parameters to send to the API endpoint
for the playlists delete operation. Typically these are written to a http.Request.
func NewPlaylistsDeleteParams ¶
func NewPlaylistsDeleteParams() *PlaylistsDeleteParams
NewPlaylistsDeleteParams creates a new PlaylistsDeleteParams 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 NewPlaylistsDeleteParamsWithContext ¶
func NewPlaylistsDeleteParamsWithContext(ctx context.Context) *PlaylistsDeleteParams
NewPlaylistsDeleteParamsWithContext creates a new PlaylistsDeleteParams object with the ability to set a context for a request.
func NewPlaylistsDeleteParamsWithHTTPClient ¶
func NewPlaylistsDeleteParamsWithHTTPClient(client *http.Client) *PlaylistsDeleteParams
NewPlaylistsDeleteParamsWithHTTPClient creates a new PlaylistsDeleteParams object with the ability to set a custom HTTPClient for a request.
func NewPlaylistsDeleteParamsWithTimeout ¶
func NewPlaylistsDeleteParamsWithTimeout(timeout time.Duration) *PlaylistsDeleteParams
NewPlaylistsDeleteParamsWithTimeout creates a new PlaylistsDeleteParams object with the ability to set a timeout on a request.
func (*PlaylistsDeleteParams) SetContext ¶
func (o *PlaylistsDeleteParams) SetContext(ctx context.Context)
SetContext adds the context to the playlists delete params
func (*PlaylistsDeleteParams) SetDefaults ¶
func (o *PlaylistsDeleteParams) SetDefaults()
SetDefaults hydrates default values in the playlists delete params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsDeleteParams) SetHTTPClient ¶
func (o *PlaylistsDeleteParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the playlists delete params
func (*PlaylistsDeleteParams) SetID ¶
func (o *PlaylistsDeleteParams) SetID(id string)
SetID adds the id to the playlists delete params
func (*PlaylistsDeleteParams) SetTimeout ¶
func (o *PlaylistsDeleteParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the playlists delete params
func (*PlaylistsDeleteParams) WithContext ¶
func (o *PlaylistsDeleteParams) WithContext(ctx context.Context) *PlaylistsDeleteParams
WithContext adds the context to the playlists delete params
func (*PlaylistsDeleteParams) WithDefaults ¶
func (o *PlaylistsDeleteParams) WithDefaults() *PlaylistsDeleteParams
WithDefaults hydrates default values in the playlists delete params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsDeleteParams) WithHTTPClient ¶
func (o *PlaylistsDeleteParams) WithHTTPClient(client *http.Client) *PlaylistsDeleteParams
WithHTTPClient adds the HTTPClient to the playlists delete params
func (*PlaylistsDeleteParams) WithID ¶
func (o *PlaylistsDeleteParams) WithID(id string) *PlaylistsDeleteParams
WithID adds the id to the playlists delete params
func (*PlaylistsDeleteParams) WithTimeout ¶
func (o *PlaylistsDeleteParams) WithTimeout(timeout time.Duration) *PlaylistsDeleteParams
WithTimeout adds the timeout to the playlists delete params
func (*PlaylistsDeleteParams) WriteToRequest ¶
func (o *PlaylistsDeleteParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlaylistsDeleteReader ¶
type PlaylistsDeleteReader struct {
// contains filtered or unexported fields
}
PlaylistsDeleteReader is a Reader for the PlaylistsDelete structure.
func (*PlaylistsDeleteReader) ReadResponse ¶
func (o *PlaylistsDeleteReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlaylistsDeleteUnauthorized ¶
type PlaylistsDeleteUnauthorized struct { }
PlaylistsDeleteUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewPlaylistsDeleteUnauthorized ¶
func NewPlaylistsDeleteUnauthorized() *PlaylistsDeleteUnauthorized
NewPlaylistsDeleteUnauthorized creates a PlaylistsDeleteUnauthorized with default headers values
func (*PlaylistsDeleteUnauthorized) Error ¶
func (o *PlaylistsDeleteUnauthorized) Error() string
type PlaylistsListOK ¶
type PlaylistsListOK struct {
Payload []*models.PlaylistListRead
}
PlaylistsListOK describes a response with status code 200, with default header values.
PlaylistsListOK playlists list o k
func NewPlaylistsListOK ¶
func NewPlaylistsListOK() *PlaylistsListOK
NewPlaylistsListOK creates a PlaylistsListOK with default headers values
func (*PlaylistsListOK) Error ¶
func (o *PlaylistsListOK) Error() string
func (*PlaylistsListOK) GetPayload ¶
func (o *PlaylistsListOK) GetPayload() []*models.PlaylistListRead
type PlaylistsListParams ¶
type PlaylistsListParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlaylistsListParams contains all the parameters to send to the API endpoint
for the playlists list operation. Typically these are written to a http.Request.
func NewPlaylistsListParams ¶
func NewPlaylistsListParams() *PlaylistsListParams
NewPlaylistsListParams creates a new PlaylistsListParams 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 NewPlaylistsListParamsWithContext ¶
func NewPlaylistsListParamsWithContext(ctx context.Context) *PlaylistsListParams
NewPlaylistsListParamsWithContext creates a new PlaylistsListParams object with the ability to set a context for a request.
func NewPlaylistsListParamsWithHTTPClient ¶
func NewPlaylistsListParamsWithHTTPClient(client *http.Client) *PlaylistsListParams
NewPlaylistsListParamsWithHTTPClient creates a new PlaylistsListParams object with the ability to set a custom HTTPClient for a request.
func NewPlaylistsListParamsWithTimeout ¶
func NewPlaylistsListParamsWithTimeout(timeout time.Duration) *PlaylistsListParams
NewPlaylistsListParamsWithTimeout creates a new PlaylistsListParams object with the ability to set a timeout on a request.
func (*PlaylistsListParams) SetContext ¶
func (o *PlaylistsListParams) SetContext(ctx context.Context)
SetContext adds the context to the playlists list params
func (*PlaylistsListParams) SetDefaults ¶
func (o *PlaylistsListParams) SetDefaults()
SetDefaults hydrates default values in the playlists list params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsListParams) SetHTTPClient ¶
func (o *PlaylistsListParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the playlists list params
func (*PlaylistsListParams) SetTimeout ¶
func (o *PlaylistsListParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the playlists list params
func (*PlaylistsListParams) WithContext ¶
func (o *PlaylistsListParams) WithContext(ctx context.Context) *PlaylistsListParams
WithContext adds the context to the playlists list params
func (*PlaylistsListParams) WithDefaults ¶
func (o *PlaylistsListParams) WithDefaults() *PlaylistsListParams
WithDefaults hydrates default values in the playlists list params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsListParams) WithHTTPClient ¶
func (o *PlaylistsListParams) WithHTTPClient(client *http.Client) *PlaylistsListParams
WithHTTPClient adds the HTTPClient to the playlists list params
func (*PlaylistsListParams) WithTimeout ¶
func (o *PlaylistsListParams) WithTimeout(timeout time.Duration) *PlaylistsListParams
WithTimeout adds the timeout to the playlists list params
func (*PlaylistsListParams) WriteToRequest ¶
func (o *PlaylistsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlaylistsListReader ¶
type PlaylistsListReader struct {
// contains filtered or unexported fields
}
PlaylistsListReader is a Reader for the PlaylistsList structure.
func (*PlaylistsListReader) ReadResponse ¶
func (o *PlaylistsListReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlaylistsListUnauthorized ¶
type PlaylistsListUnauthorized struct { }
PlaylistsListUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewPlaylistsListUnauthorized ¶
func NewPlaylistsListUnauthorized() *PlaylistsListUnauthorized
NewPlaylistsListUnauthorized creates a PlaylistsListUnauthorized with default headers values
func (*PlaylistsListUnauthorized) Error ¶
func (o *PlaylistsListUnauthorized) Error() string
type PlaylistsPartialUpdateOK ¶
type PlaylistsPartialUpdateOK struct {
Payload *models.PlaylistRead
}
PlaylistsPartialUpdateOK describes a response with status code 200, with default header values.
PlaylistsPartialUpdateOK playlists partial update o k
func NewPlaylistsPartialUpdateOK ¶
func NewPlaylistsPartialUpdateOK() *PlaylistsPartialUpdateOK
NewPlaylistsPartialUpdateOK creates a PlaylistsPartialUpdateOK with default headers values
func (*PlaylistsPartialUpdateOK) Error ¶
func (o *PlaylistsPartialUpdateOK) Error() string
func (*PlaylistsPartialUpdateOK) GetPayload ¶
func (o *PlaylistsPartialUpdateOK) GetPayload() *models.PlaylistRead
type PlaylistsPartialUpdateParams ¶
type PlaylistsPartialUpdateParams struct { // Data. Data *models.PlaylistWrite // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlaylistsPartialUpdateParams contains all the parameters to send to the API endpoint
for the playlists partial update operation. Typically these are written to a http.Request.
func NewPlaylistsPartialUpdateParams ¶
func NewPlaylistsPartialUpdateParams() *PlaylistsPartialUpdateParams
NewPlaylistsPartialUpdateParams creates a new PlaylistsPartialUpdateParams 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 NewPlaylistsPartialUpdateParamsWithContext ¶
func NewPlaylistsPartialUpdateParamsWithContext(ctx context.Context) *PlaylistsPartialUpdateParams
NewPlaylistsPartialUpdateParamsWithContext creates a new PlaylistsPartialUpdateParams object with the ability to set a context for a request.
func NewPlaylistsPartialUpdateParamsWithHTTPClient ¶
func NewPlaylistsPartialUpdateParamsWithHTTPClient(client *http.Client) *PlaylistsPartialUpdateParams
NewPlaylistsPartialUpdateParamsWithHTTPClient creates a new PlaylistsPartialUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewPlaylistsPartialUpdateParamsWithTimeout ¶
func NewPlaylistsPartialUpdateParamsWithTimeout(timeout time.Duration) *PlaylistsPartialUpdateParams
NewPlaylistsPartialUpdateParamsWithTimeout creates a new PlaylistsPartialUpdateParams object with the ability to set a timeout on a request.
func (*PlaylistsPartialUpdateParams) SetContext ¶
func (o *PlaylistsPartialUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the playlists partial update params
func (*PlaylistsPartialUpdateParams) SetData ¶
func (o *PlaylistsPartialUpdateParams) SetData(data *models.PlaylistWrite)
SetData adds the data to the playlists partial update params
func (*PlaylistsPartialUpdateParams) SetDefaults ¶
func (o *PlaylistsPartialUpdateParams) SetDefaults()
SetDefaults hydrates default values in the playlists partial update params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsPartialUpdateParams) SetHTTPClient ¶
func (o *PlaylistsPartialUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the playlists partial update params
func (*PlaylistsPartialUpdateParams) SetID ¶
func (o *PlaylistsPartialUpdateParams) SetID(id string)
SetID adds the id to the playlists partial update params
func (*PlaylistsPartialUpdateParams) SetTimeout ¶
func (o *PlaylistsPartialUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the playlists partial update params
func (*PlaylistsPartialUpdateParams) WithContext ¶
func (o *PlaylistsPartialUpdateParams) WithContext(ctx context.Context) *PlaylistsPartialUpdateParams
WithContext adds the context to the playlists partial update params
func (*PlaylistsPartialUpdateParams) WithData ¶
func (o *PlaylistsPartialUpdateParams) WithData(data *models.PlaylistWrite) *PlaylistsPartialUpdateParams
WithData adds the data to the playlists partial update params
func (*PlaylistsPartialUpdateParams) WithDefaults ¶
func (o *PlaylistsPartialUpdateParams) WithDefaults() *PlaylistsPartialUpdateParams
WithDefaults hydrates default values in the playlists partial update params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsPartialUpdateParams) WithHTTPClient ¶
func (o *PlaylistsPartialUpdateParams) WithHTTPClient(client *http.Client) *PlaylistsPartialUpdateParams
WithHTTPClient adds the HTTPClient to the playlists partial update params
func (*PlaylistsPartialUpdateParams) WithID ¶
func (o *PlaylistsPartialUpdateParams) WithID(id string) *PlaylistsPartialUpdateParams
WithID adds the id to the playlists partial update params
func (*PlaylistsPartialUpdateParams) WithTimeout ¶
func (o *PlaylistsPartialUpdateParams) WithTimeout(timeout time.Duration) *PlaylistsPartialUpdateParams
WithTimeout adds the timeout to the playlists partial update params
func (*PlaylistsPartialUpdateParams) WriteToRequest ¶
func (o *PlaylistsPartialUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlaylistsPartialUpdateReader ¶
type PlaylistsPartialUpdateReader struct {
// contains filtered or unexported fields
}
PlaylistsPartialUpdateReader is a Reader for the PlaylistsPartialUpdate structure.
func (*PlaylistsPartialUpdateReader) ReadResponse ¶
func (o *PlaylistsPartialUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlaylistsPartialUpdateUnauthorized ¶
type PlaylistsPartialUpdateUnauthorized struct { }
PlaylistsPartialUpdateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewPlaylistsPartialUpdateUnauthorized ¶
func NewPlaylistsPartialUpdateUnauthorized() *PlaylistsPartialUpdateUnauthorized
NewPlaylistsPartialUpdateUnauthorized creates a PlaylistsPartialUpdateUnauthorized with default headers values
func (*PlaylistsPartialUpdateUnauthorized) Error ¶
func (o *PlaylistsPartialUpdateUnauthorized) Error() string
type PlaylistsReadOK ¶
type PlaylistsReadOK struct {
Payload *models.PlaylistRead
}
PlaylistsReadOK describes a response with status code 200, with default header values.
PlaylistsReadOK playlists read o k
func NewPlaylistsReadOK ¶
func NewPlaylistsReadOK() *PlaylistsReadOK
NewPlaylistsReadOK creates a PlaylistsReadOK with default headers values
func (*PlaylistsReadOK) Error ¶
func (o *PlaylistsReadOK) Error() string
func (*PlaylistsReadOK) GetPayload ¶
func (o *PlaylistsReadOK) GetPayload() *models.PlaylistRead
type PlaylistsReadParams ¶
type PlaylistsReadParams struct { // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlaylistsReadParams contains all the parameters to send to the API endpoint
for the playlists read operation. Typically these are written to a http.Request.
func NewPlaylistsReadParams ¶
func NewPlaylistsReadParams() *PlaylistsReadParams
NewPlaylistsReadParams creates a new PlaylistsReadParams 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 NewPlaylistsReadParamsWithContext ¶
func NewPlaylistsReadParamsWithContext(ctx context.Context) *PlaylistsReadParams
NewPlaylistsReadParamsWithContext creates a new PlaylistsReadParams object with the ability to set a context for a request.
func NewPlaylistsReadParamsWithHTTPClient ¶
func NewPlaylistsReadParamsWithHTTPClient(client *http.Client) *PlaylistsReadParams
NewPlaylistsReadParamsWithHTTPClient creates a new PlaylistsReadParams object with the ability to set a custom HTTPClient for a request.
func NewPlaylistsReadParamsWithTimeout ¶
func NewPlaylistsReadParamsWithTimeout(timeout time.Duration) *PlaylistsReadParams
NewPlaylistsReadParamsWithTimeout creates a new PlaylistsReadParams object with the ability to set a timeout on a request.
func (*PlaylistsReadParams) SetContext ¶
func (o *PlaylistsReadParams) SetContext(ctx context.Context)
SetContext adds the context to the playlists read params
func (*PlaylistsReadParams) SetDefaults ¶
func (o *PlaylistsReadParams) SetDefaults()
SetDefaults hydrates default values in the playlists read params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsReadParams) SetHTTPClient ¶
func (o *PlaylistsReadParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the playlists read params
func (*PlaylistsReadParams) SetID ¶
func (o *PlaylistsReadParams) SetID(id string)
SetID adds the id to the playlists read params
func (*PlaylistsReadParams) SetTimeout ¶
func (o *PlaylistsReadParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the playlists read params
func (*PlaylistsReadParams) WithContext ¶
func (o *PlaylistsReadParams) WithContext(ctx context.Context) *PlaylistsReadParams
WithContext adds the context to the playlists read params
func (*PlaylistsReadParams) WithDefaults ¶
func (o *PlaylistsReadParams) WithDefaults() *PlaylistsReadParams
WithDefaults hydrates default values in the playlists read params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsReadParams) WithHTTPClient ¶
func (o *PlaylistsReadParams) WithHTTPClient(client *http.Client) *PlaylistsReadParams
WithHTTPClient adds the HTTPClient to the playlists read params
func (*PlaylistsReadParams) WithID ¶
func (o *PlaylistsReadParams) WithID(id string) *PlaylistsReadParams
WithID adds the id to the playlists read params
func (*PlaylistsReadParams) WithTimeout ¶
func (o *PlaylistsReadParams) WithTimeout(timeout time.Duration) *PlaylistsReadParams
WithTimeout adds the timeout to the playlists read params
func (*PlaylistsReadParams) WriteToRequest ¶
func (o *PlaylistsReadParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlaylistsReadReader ¶
type PlaylistsReadReader struct {
// contains filtered or unexported fields
}
PlaylistsReadReader is a Reader for the PlaylistsRead structure.
func (*PlaylistsReadReader) ReadResponse ¶
func (o *PlaylistsReadReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlaylistsReadUnauthorized ¶
type PlaylistsReadUnauthorized struct { }
PlaylistsReadUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewPlaylistsReadUnauthorized ¶
func NewPlaylistsReadUnauthorized() *PlaylistsReadUnauthorized
NewPlaylistsReadUnauthorized creates a PlaylistsReadUnauthorized with default headers values
func (*PlaylistsReadUnauthorized) Error ¶
func (o *PlaylistsReadUnauthorized) Error() string
type PlaylistsUpdateBadRequest ¶
type PlaylistsUpdateBadRequest struct { }
PlaylistsUpdateBadRequest describes a response with status code 400, with default header values.
You sent a malformed or bad request.
func NewPlaylistsUpdateBadRequest ¶
func NewPlaylistsUpdateBadRequest() *PlaylistsUpdateBadRequest
NewPlaylistsUpdateBadRequest creates a PlaylistsUpdateBadRequest with default headers values
func (*PlaylistsUpdateBadRequest) Error ¶
func (o *PlaylistsUpdateBadRequest) Error() string
type PlaylistsUpdateOK ¶
type PlaylistsUpdateOK struct {
Payload *models.PlaylistRead
}
PlaylistsUpdateOK describes a response with status code 200, with default header values.
PlaylistsUpdateOK playlists update o k
func NewPlaylistsUpdateOK ¶
func NewPlaylistsUpdateOK() *PlaylistsUpdateOK
NewPlaylistsUpdateOK creates a PlaylistsUpdateOK with default headers values
func (*PlaylistsUpdateOK) Error ¶
func (o *PlaylistsUpdateOK) Error() string
func (*PlaylistsUpdateOK) GetPayload ¶
func (o *PlaylistsUpdateOK) GetPayload() *models.PlaylistRead
type PlaylistsUpdateParams ¶
type PlaylistsUpdateParams struct { // Data. Data *models.PlaylistWrite // ID. ID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
PlaylistsUpdateParams contains all the parameters to send to the API endpoint
for the playlists update operation. Typically these are written to a http.Request.
func NewPlaylistsUpdateParams ¶
func NewPlaylistsUpdateParams() *PlaylistsUpdateParams
NewPlaylistsUpdateParams creates a new PlaylistsUpdateParams 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 NewPlaylistsUpdateParamsWithContext ¶
func NewPlaylistsUpdateParamsWithContext(ctx context.Context) *PlaylistsUpdateParams
NewPlaylistsUpdateParamsWithContext creates a new PlaylistsUpdateParams object with the ability to set a context for a request.
func NewPlaylistsUpdateParamsWithHTTPClient ¶
func NewPlaylistsUpdateParamsWithHTTPClient(client *http.Client) *PlaylistsUpdateParams
NewPlaylistsUpdateParamsWithHTTPClient creates a new PlaylistsUpdateParams object with the ability to set a custom HTTPClient for a request.
func NewPlaylistsUpdateParamsWithTimeout ¶
func NewPlaylistsUpdateParamsWithTimeout(timeout time.Duration) *PlaylistsUpdateParams
NewPlaylistsUpdateParamsWithTimeout creates a new PlaylistsUpdateParams object with the ability to set a timeout on a request.
func (*PlaylistsUpdateParams) SetContext ¶
func (o *PlaylistsUpdateParams) SetContext(ctx context.Context)
SetContext adds the context to the playlists update params
func (*PlaylistsUpdateParams) SetData ¶
func (o *PlaylistsUpdateParams) SetData(data *models.PlaylistWrite)
SetData adds the data to the playlists update params
func (*PlaylistsUpdateParams) SetDefaults ¶
func (o *PlaylistsUpdateParams) SetDefaults()
SetDefaults hydrates default values in the playlists update params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsUpdateParams) SetHTTPClient ¶
func (o *PlaylistsUpdateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the playlists update params
func (*PlaylistsUpdateParams) SetID ¶
func (o *PlaylistsUpdateParams) SetID(id string)
SetID adds the id to the playlists update params
func (*PlaylistsUpdateParams) SetTimeout ¶
func (o *PlaylistsUpdateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the playlists update params
func (*PlaylistsUpdateParams) WithContext ¶
func (o *PlaylistsUpdateParams) WithContext(ctx context.Context) *PlaylistsUpdateParams
WithContext adds the context to the playlists update params
func (*PlaylistsUpdateParams) WithData ¶
func (o *PlaylistsUpdateParams) WithData(data *models.PlaylistWrite) *PlaylistsUpdateParams
WithData adds the data to the playlists update params
func (*PlaylistsUpdateParams) WithDefaults ¶
func (o *PlaylistsUpdateParams) WithDefaults() *PlaylistsUpdateParams
WithDefaults hydrates default values in the playlists update params (not the query body).
All values with no default are reset to their zero value.
func (*PlaylistsUpdateParams) WithHTTPClient ¶
func (o *PlaylistsUpdateParams) WithHTTPClient(client *http.Client) *PlaylistsUpdateParams
WithHTTPClient adds the HTTPClient to the playlists update params
func (*PlaylistsUpdateParams) WithID ¶
func (o *PlaylistsUpdateParams) WithID(id string) *PlaylistsUpdateParams
WithID adds the id to the playlists update params
func (*PlaylistsUpdateParams) WithTimeout ¶
func (o *PlaylistsUpdateParams) WithTimeout(timeout time.Duration) *PlaylistsUpdateParams
WithTimeout adds the timeout to the playlists update params
func (*PlaylistsUpdateParams) WriteToRequest ¶
func (o *PlaylistsUpdateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type PlaylistsUpdateReader ¶
type PlaylistsUpdateReader struct {
// contains filtered or unexported fields
}
PlaylistsUpdateReader is a Reader for the PlaylistsUpdate structure.
func (*PlaylistsUpdateReader) ReadResponse ¶
func (o *PlaylistsUpdateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type PlaylistsUpdateUnauthorized ¶
type PlaylistsUpdateUnauthorized struct { }
PlaylistsUpdateUnauthorized describes a response with status code 401, with default header values.
You provided invalid credentials.
func NewPlaylistsUpdateUnauthorized ¶
func NewPlaylistsUpdateUnauthorized() *PlaylistsUpdateUnauthorized
NewPlaylistsUpdateUnauthorized creates a PlaylistsUpdateUnauthorized with default headers values
func (*PlaylistsUpdateUnauthorized) Error ¶
func (o *PlaylistsUpdateUnauthorized) Error() string
Source Files ¶
- playlists_client.go
- playlists_create_parameters.go
- playlists_create_responses.go
- playlists_delete_parameters.go
- playlists_delete_responses.go
- playlists_list_parameters.go
- playlists_list_responses.go
- playlists_partial_update_parameters.go
- playlists_partial_update_responses.go
- playlists_read_parameters.go
- playlists_read_responses.go
- playlists_update_parameters.go
- playlists_update_responses.go