Documentation ¶
Index ¶
- type Client
- type ClientService
- type GetBroadcastsBroadcastIDAudioFilesOK
- type GetBroadcastsBroadcastIDAudioFilesOKBody
- type GetBroadcastsBroadcastIDAudioFilesParams
- func NewGetBroadcastsBroadcastIDAudioFilesParams() *GetBroadcastsBroadcastIDAudioFilesParams
- func NewGetBroadcastsBroadcastIDAudioFilesParamsWithContext(ctx context.Context) *GetBroadcastsBroadcastIDAudioFilesParams
- func NewGetBroadcastsBroadcastIDAudioFilesParamsWithHTTPClient(client *http.Client) *GetBroadcastsBroadcastIDAudioFilesParams
- func NewGetBroadcastsBroadcastIDAudioFilesParamsWithTimeout(timeout time.Duration) *GetBroadcastsBroadcastIDAudioFilesParams
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetBroadcastID(broadcastID int64)
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetContext(ctx context.Context)
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetHTTPClient(client *http.Client)
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetPageNumber(pageNumber *int64)
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetPageSize(pageSize *int64)
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetSort(sort *string)
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetTimeout(timeout time.Duration)
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithBroadcastID(broadcastID int64) *GetBroadcastsBroadcastIDAudioFilesParams
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithContext(ctx context.Context) *GetBroadcastsBroadcastIDAudioFilesParams
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithHTTPClient(client *http.Client) *GetBroadcastsBroadcastIDAudioFilesParams
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithPageNumber(pageNumber *int64) *GetBroadcastsBroadcastIDAudioFilesParams
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithPageSize(pageSize *int64) *GetBroadcastsBroadcastIDAudioFilesParams
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithSort(sort *string) *GetBroadcastsBroadcastIDAudioFilesParams
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithTimeout(timeout time.Duration) *GetBroadcastsBroadcastIDAudioFilesParams
- func (o *GetBroadcastsBroadcastIDAudioFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBroadcastsBroadcastIDAudioFilesReader
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 audio file API
func (*Client) GetBroadcastsBroadcastIDAudioFiles ¶
func (a *Client) GetBroadcastsBroadcastIDAudioFiles(params *GetBroadcastsBroadcastIDAudioFilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetBroadcastsBroadcastIDAudioFilesOK, error)
GetBroadcastsBroadcastIDAudioFiles Returns a list of available audio files for a given broadcast.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetBroadcastsBroadcastIDAudioFiles(params *GetBroadcastsBroadcastIDAudioFilesParams, authInfo runtime.ClientAuthInfoWriter) (*GetBroadcastsBroadcastIDAudioFilesOK, 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 audio file API client.
type GetBroadcastsBroadcastIDAudioFilesOK ¶
type GetBroadcastsBroadcastIDAudioFilesOK struct {
Payload *GetBroadcastsBroadcastIDAudioFilesOKBody
}
GetBroadcastsBroadcastIDAudioFilesOK handles this case with default header values.
successfull operation
func NewGetBroadcastsBroadcastIDAudioFilesOK ¶
func NewGetBroadcastsBroadcastIDAudioFilesOK() *GetBroadcastsBroadcastIDAudioFilesOK
NewGetBroadcastsBroadcastIDAudioFilesOK creates a GetBroadcastsBroadcastIDAudioFilesOK with default headers values
func (*GetBroadcastsBroadcastIDAudioFilesOK) Error ¶
func (o *GetBroadcastsBroadcastIDAudioFilesOK) Error() string
func (*GetBroadcastsBroadcastIDAudioFilesOK) GetPayload ¶
func (o *GetBroadcastsBroadcastIDAudioFilesOK) GetPayload() *GetBroadcastsBroadcastIDAudioFilesOKBody
type GetBroadcastsBroadcastIDAudioFilesOKBody ¶
type GetBroadcastsBroadcastIDAudioFilesOKBody struct { // data Data []*models.AudioFile `json:"data"` }
GetBroadcastsBroadcastIDAudioFilesOKBody get broadcasts broadcast ID audio files o k body swagger:model GetBroadcastsBroadcastIDAudioFilesOKBody
func (*GetBroadcastsBroadcastIDAudioFilesOKBody) MarshalBinary ¶
func (o *GetBroadcastsBroadcastIDAudioFilesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBroadcastsBroadcastIDAudioFilesOKBody) UnmarshalBinary ¶
func (o *GetBroadcastsBroadcastIDAudioFilesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBroadcastsBroadcastIDAudioFilesParams ¶
type GetBroadcastsBroadcastIDAudioFilesParams struct { /*BroadcastID Id of the broadcast to list the audio files for. */ BroadcastID int64 /*PageNumber The page number of the list. */ PageNumber *int64 /*PageSize Maximum number of entries that are returned per page. Defaults to 50, maximum is 500. */ PageSize *int64 /*Sort Name of the sort field, optionally prefixed with a `-` for descending order. */ Sort *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBroadcastsBroadcastIDAudioFilesParams contains all the parameters to send to the API endpoint for the get broadcasts broadcast ID audio files operation typically these are written to a http.Request
func NewGetBroadcastsBroadcastIDAudioFilesParams ¶
func NewGetBroadcastsBroadcastIDAudioFilesParams() *GetBroadcastsBroadcastIDAudioFilesParams
NewGetBroadcastsBroadcastIDAudioFilesParams creates a new GetBroadcastsBroadcastIDAudioFilesParams object with the default values initialized.
func NewGetBroadcastsBroadcastIDAudioFilesParamsWithContext ¶
func NewGetBroadcastsBroadcastIDAudioFilesParamsWithContext(ctx context.Context) *GetBroadcastsBroadcastIDAudioFilesParams
NewGetBroadcastsBroadcastIDAudioFilesParamsWithContext creates a new GetBroadcastsBroadcastIDAudioFilesParams object with the default values initialized, and the ability to set a context for a request
func NewGetBroadcastsBroadcastIDAudioFilesParamsWithHTTPClient ¶
func NewGetBroadcastsBroadcastIDAudioFilesParamsWithHTTPClient(client *http.Client) *GetBroadcastsBroadcastIDAudioFilesParams
NewGetBroadcastsBroadcastIDAudioFilesParamsWithHTTPClient creates a new GetBroadcastsBroadcastIDAudioFilesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBroadcastsBroadcastIDAudioFilesParamsWithTimeout ¶
func NewGetBroadcastsBroadcastIDAudioFilesParamsWithTimeout(timeout time.Duration) *GetBroadcastsBroadcastIDAudioFilesParams
NewGetBroadcastsBroadcastIDAudioFilesParamsWithTimeout creates a new GetBroadcastsBroadcastIDAudioFilesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBroadcastsBroadcastIDAudioFilesParams) SetBroadcastID ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetBroadcastID(broadcastID int64)
SetBroadcastID adds the broadcastId to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) SetContext ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetContext(ctx context.Context)
SetContext adds the context to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) SetHTTPClient ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) SetPageNumber ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetPageNumber(pageNumber *int64)
SetPageNumber adds the pageNumber to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) SetPageSize ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) SetSort ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetSort(sort *string)
SetSort adds the sort to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) SetTimeout ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) WithBroadcastID ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithBroadcastID(broadcastID int64) *GetBroadcastsBroadcastIDAudioFilesParams
WithBroadcastID adds the broadcastID to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) WithContext ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithContext(ctx context.Context) *GetBroadcastsBroadcastIDAudioFilesParams
WithContext adds the context to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) WithHTTPClient ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithHTTPClient(client *http.Client) *GetBroadcastsBroadcastIDAudioFilesParams
WithHTTPClient adds the HTTPClient to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) WithPageNumber ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithPageNumber(pageNumber *int64) *GetBroadcastsBroadcastIDAudioFilesParams
WithPageNumber adds the pageNumber to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) WithPageSize ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithPageSize(pageSize *int64) *GetBroadcastsBroadcastIDAudioFilesParams
WithPageSize adds the pageSize to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) WithSort ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithSort(sort *string) *GetBroadcastsBroadcastIDAudioFilesParams
WithSort adds the sort to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) WithTimeout ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) WithTimeout(timeout time.Duration) *GetBroadcastsBroadcastIDAudioFilesParams
WithTimeout adds the timeout to the get broadcasts broadcast ID audio files params
func (*GetBroadcastsBroadcastIDAudioFilesParams) WriteToRequest ¶
func (o *GetBroadcastsBroadcastIDAudioFilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBroadcastsBroadcastIDAudioFilesReader ¶
type GetBroadcastsBroadcastIDAudioFilesReader struct {
// contains filtered or unexported fields
}
GetBroadcastsBroadcastIDAudioFilesReader is a Reader for the GetBroadcastsBroadcastIDAudioFiles structure.
func (*GetBroadcastsBroadcastIDAudioFilesReader) ReadResponse ¶
func (o *GetBroadcastsBroadcastIDAudioFilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.