audio_file

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2020 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for audio file API

func (*Client) GetBroadcastsBroadcastIDAudioFiles

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 (*GetBroadcastsBroadcastIDAudioFilesOK) GetPayload

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

func (*GetBroadcastsBroadcastIDAudioFilesOKBody) Validate

Validate validates this get broadcasts broadcast ID audio files o k body

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

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

SetSort adds the sort to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) SetTimeout

SetTimeout adds the timeout to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) WithBroadcastID

WithBroadcastID adds the broadcastID to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) WithContext

WithContext adds the context to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) WithPageNumber

WithPageNumber adds the pageNumber to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) WithPageSize

WithPageSize adds the pageSize to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) WithSort

WithSort adds the sort to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) WithTimeout

WithTimeout adds the timeout to the get broadcasts broadcast ID audio files params

func (*GetBroadcastsBroadcastIDAudioFilesParams) WriteToRequest

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.

Jump to

Keyboard shortcuts

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