Documentation ¶
Index ¶
- type Client
- func (a *Client) GetBroadcastsID(params *GetBroadcastsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetBroadcastsIDOK, error)
- func (a *Client) GetBroadcastsYearMonthDay(params *GetBroadcastsYearMonthDayParams, authInfo runtime.ClientAuthInfoWriter) (*GetBroadcastsYearMonthDayOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientService
- type GetBroadcastsIDOK
- type GetBroadcastsIDOKBody
- type GetBroadcastsIDParams
- func NewGetBroadcastsIDParams() *GetBroadcastsIDParams
- func NewGetBroadcastsIDParamsWithContext(ctx context.Context) *GetBroadcastsIDParams
- func NewGetBroadcastsIDParamsWithHTTPClient(client *http.Client) *GetBroadcastsIDParams
- func NewGetBroadcastsIDParamsWithTimeout(timeout time.Duration) *GetBroadcastsIDParams
- func (o *GetBroadcastsIDParams) SetContext(ctx context.Context)
- func (o *GetBroadcastsIDParams) SetHTTPClient(client *http.Client)
- func (o *GetBroadcastsIDParams) SetID(id int64)
- func (o *GetBroadcastsIDParams) SetTimeout(timeout time.Duration)
- func (o *GetBroadcastsIDParams) WithContext(ctx context.Context) *GetBroadcastsIDParams
- func (o *GetBroadcastsIDParams) WithHTTPClient(client *http.Client) *GetBroadcastsIDParams
- func (o *GetBroadcastsIDParams) WithID(id int64) *GetBroadcastsIDParams
- func (o *GetBroadcastsIDParams) WithTimeout(timeout time.Duration) *GetBroadcastsIDParams
- func (o *GetBroadcastsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBroadcastsIDReader
- type GetBroadcastsYearMonthDayOK
- type GetBroadcastsYearMonthDayOKBody
- type GetBroadcastsYearMonthDayParams
- func NewGetBroadcastsYearMonthDayParams() *GetBroadcastsYearMonthDayParams
- func NewGetBroadcastsYearMonthDayParamsWithContext(ctx context.Context) *GetBroadcastsYearMonthDayParams
- func NewGetBroadcastsYearMonthDayParamsWithHTTPClient(client *http.Client) *GetBroadcastsYearMonthDayParams
- func NewGetBroadcastsYearMonthDayParamsWithTimeout(timeout time.Duration) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) SetContext(ctx context.Context)
- func (o *GetBroadcastsYearMonthDayParams) SetDay(day int64)
- func (o *GetBroadcastsYearMonthDayParams) SetHTTPClient(client *http.Client)
- func (o *GetBroadcastsYearMonthDayParams) SetMonth(month int64)
- func (o *GetBroadcastsYearMonthDayParams) SetPageNumber(pageNumber *int64)
- func (o *GetBroadcastsYearMonthDayParams) SetPageSize(pageSize *int64)
- func (o *GetBroadcastsYearMonthDayParams) SetQ(q *string)
- func (o *GetBroadcastsYearMonthDayParams) SetSort(sort *string)
- func (o *GetBroadcastsYearMonthDayParams) SetTimeout(timeout time.Duration)
- func (o *GetBroadcastsYearMonthDayParams) SetYear(year int64)
- func (o *GetBroadcastsYearMonthDayParams) WithContext(ctx context.Context) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithDay(day int64) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithHTTPClient(client *http.Client) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithMonth(month int64) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithPageNumber(pageNumber *int64) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithPageSize(pageSize *int64) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithQ(q *string) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithSort(sort *string) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithTimeout(timeout time.Duration) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WithYear(year int64) *GetBroadcastsYearMonthDayParams
- func (o *GetBroadcastsYearMonthDayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetBroadcastsYearMonthDayReader
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 broadcast API
func (*Client) GetBroadcastsID ¶
func (a *Client) GetBroadcastsID(params *GetBroadcastsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetBroadcastsIDOK, error)
GetBroadcastsID Returns a single broadcast.
func (*Client) GetBroadcastsYearMonthDay ¶
func (a *Client) GetBroadcastsYearMonthDay(params *GetBroadcastsYearMonthDayParams, authInfo runtime.ClientAuthInfoWriter) (*GetBroadcastsYearMonthDayOK, error)
GetBroadcastsYearMonthDay Returns a list of broadcasts at the given date/time span.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
type ClientService ¶
type ClientService interface { GetBroadcastsID(params *GetBroadcastsIDParams, authInfo runtime.ClientAuthInfoWriter) (*GetBroadcastsIDOK, error) GetBroadcastsYearMonthDay(params *GetBroadcastsYearMonthDayParams, authInfo runtime.ClientAuthInfoWriter) (*GetBroadcastsYearMonthDayOK, 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 broadcast API client.
type GetBroadcastsIDOK ¶
type GetBroadcastsIDOK struct {
Payload *GetBroadcastsIDOKBody
}
GetBroadcastsIDOK handles this case with default header values.
successfull operation
func NewGetBroadcastsIDOK ¶
func NewGetBroadcastsIDOK() *GetBroadcastsIDOK
NewGetBroadcastsIDOK creates a GetBroadcastsIDOK with default headers values
func (*GetBroadcastsIDOK) Error ¶
func (o *GetBroadcastsIDOK) Error() string
func (*GetBroadcastsIDOK) GetPayload ¶
func (o *GetBroadcastsIDOK) GetPayload() *GetBroadcastsIDOKBody
type GetBroadcastsIDOKBody ¶
GetBroadcastsIDOKBody get broadcasts ID o k body swagger:model GetBroadcastsIDOKBody
func (*GetBroadcastsIDOKBody) MarshalBinary ¶
func (o *GetBroadcastsIDOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBroadcastsIDOKBody) UnmarshalBinary ¶
func (o *GetBroadcastsIDOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBroadcastsIDParams ¶
type GetBroadcastsIDParams struct { /*ID ID of the broadcast to fetch. */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBroadcastsIDParams contains all the parameters to send to the API endpoint for the get broadcasts ID operation typically these are written to a http.Request
func NewGetBroadcastsIDParams ¶
func NewGetBroadcastsIDParams() *GetBroadcastsIDParams
NewGetBroadcastsIDParams creates a new GetBroadcastsIDParams object with the default values initialized.
func NewGetBroadcastsIDParamsWithContext ¶
func NewGetBroadcastsIDParamsWithContext(ctx context.Context) *GetBroadcastsIDParams
NewGetBroadcastsIDParamsWithContext creates a new GetBroadcastsIDParams object with the default values initialized, and the ability to set a context for a request
func NewGetBroadcastsIDParamsWithHTTPClient ¶
func NewGetBroadcastsIDParamsWithHTTPClient(client *http.Client) *GetBroadcastsIDParams
NewGetBroadcastsIDParamsWithHTTPClient creates a new GetBroadcastsIDParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBroadcastsIDParamsWithTimeout ¶
func NewGetBroadcastsIDParamsWithTimeout(timeout time.Duration) *GetBroadcastsIDParams
NewGetBroadcastsIDParamsWithTimeout creates a new GetBroadcastsIDParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBroadcastsIDParams) SetContext ¶
func (o *GetBroadcastsIDParams) SetContext(ctx context.Context)
SetContext adds the context to the get broadcasts ID params
func (*GetBroadcastsIDParams) SetHTTPClient ¶
func (o *GetBroadcastsIDParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get broadcasts ID params
func (*GetBroadcastsIDParams) SetID ¶
func (o *GetBroadcastsIDParams) SetID(id int64)
SetID adds the id to the get broadcasts ID params
func (*GetBroadcastsIDParams) SetTimeout ¶
func (o *GetBroadcastsIDParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get broadcasts ID params
func (*GetBroadcastsIDParams) WithContext ¶
func (o *GetBroadcastsIDParams) WithContext(ctx context.Context) *GetBroadcastsIDParams
WithContext adds the context to the get broadcasts ID params
func (*GetBroadcastsIDParams) WithHTTPClient ¶
func (o *GetBroadcastsIDParams) WithHTTPClient(client *http.Client) *GetBroadcastsIDParams
WithHTTPClient adds the HTTPClient to the get broadcasts ID params
func (*GetBroadcastsIDParams) WithID ¶
func (o *GetBroadcastsIDParams) WithID(id int64) *GetBroadcastsIDParams
WithID adds the id to the get broadcasts ID params
func (*GetBroadcastsIDParams) WithTimeout ¶
func (o *GetBroadcastsIDParams) WithTimeout(timeout time.Duration) *GetBroadcastsIDParams
WithTimeout adds the timeout to the get broadcasts ID params
func (*GetBroadcastsIDParams) WriteToRequest ¶
func (o *GetBroadcastsIDParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBroadcastsIDReader ¶
type GetBroadcastsIDReader struct {
// contains filtered or unexported fields
}
GetBroadcastsIDReader is a Reader for the GetBroadcastsID structure.
func (*GetBroadcastsIDReader) ReadResponse ¶
func (o *GetBroadcastsIDReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetBroadcastsYearMonthDayOK ¶
type GetBroadcastsYearMonthDayOK struct {
Payload *GetBroadcastsYearMonthDayOKBody
}
GetBroadcastsYearMonthDayOK handles this case with default header values.
successfull operation
func NewGetBroadcastsYearMonthDayOK ¶
func NewGetBroadcastsYearMonthDayOK() *GetBroadcastsYearMonthDayOK
NewGetBroadcastsYearMonthDayOK creates a GetBroadcastsYearMonthDayOK with default headers values
func (*GetBroadcastsYearMonthDayOK) Error ¶
func (o *GetBroadcastsYearMonthDayOK) Error() string
func (*GetBroadcastsYearMonthDayOK) GetPayload ¶
func (o *GetBroadcastsYearMonthDayOK) GetPayload() *GetBroadcastsYearMonthDayOKBody
type GetBroadcastsYearMonthDayOKBody ¶
type GetBroadcastsYearMonthDayOKBody struct { // data Data []*models.Broadcast `json:"data"` // included Included []*models.Show `json:"included"` }
GetBroadcastsYearMonthDayOKBody get broadcasts year month day o k body swagger:model GetBroadcastsYearMonthDayOKBody
func (*GetBroadcastsYearMonthDayOKBody) MarshalBinary ¶
func (o *GetBroadcastsYearMonthDayOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetBroadcastsYearMonthDayOKBody) UnmarshalBinary ¶
func (o *GetBroadcastsYearMonthDayOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetBroadcastsYearMonthDayParams ¶
type GetBroadcastsYearMonthDayParams struct { /*Day Optional two-digit day to get the broadcasts for. Requires all preceeding parameters. */ Day int64 /*Month Optional two-digit month to get the broadcasts for. Requires all preceeding parameters. */ Month 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 /*Q Query string to search for. */ Q *string /*Sort Name of the sort field, optionally prefixed with a `-` for descending order. */ Sort *string /*Year The four-digit year to get the broadcasts for. */ Year int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetBroadcastsYearMonthDayParams contains all the parameters to send to the API endpoint for the get broadcasts year month day operation typically these are written to a http.Request
func NewGetBroadcastsYearMonthDayParams ¶
func NewGetBroadcastsYearMonthDayParams() *GetBroadcastsYearMonthDayParams
NewGetBroadcastsYearMonthDayParams creates a new GetBroadcastsYearMonthDayParams object with the default values initialized.
func NewGetBroadcastsYearMonthDayParamsWithContext ¶
func NewGetBroadcastsYearMonthDayParamsWithContext(ctx context.Context) *GetBroadcastsYearMonthDayParams
NewGetBroadcastsYearMonthDayParamsWithContext creates a new GetBroadcastsYearMonthDayParams object with the default values initialized, and the ability to set a context for a request
func NewGetBroadcastsYearMonthDayParamsWithHTTPClient ¶
func NewGetBroadcastsYearMonthDayParamsWithHTTPClient(client *http.Client) *GetBroadcastsYearMonthDayParams
NewGetBroadcastsYearMonthDayParamsWithHTTPClient creates a new GetBroadcastsYearMonthDayParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetBroadcastsYearMonthDayParamsWithTimeout ¶
func NewGetBroadcastsYearMonthDayParamsWithTimeout(timeout time.Duration) *GetBroadcastsYearMonthDayParams
NewGetBroadcastsYearMonthDayParamsWithTimeout creates a new GetBroadcastsYearMonthDayParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetBroadcastsYearMonthDayParams) SetContext ¶
func (o *GetBroadcastsYearMonthDayParams) SetContext(ctx context.Context)
SetContext adds the context to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetDay ¶
func (o *GetBroadcastsYearMonthDayParams) SetDay(day int64)
SetDay adds the day to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetHTTPClient ¶
func (o *GetBroadcastsYearMonthDayParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetMonth ¶
func (o *GetBroadcastsYearMonthDayParams) SetMonth(month int64)
SetMonth adds the month to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetPageNumber ¶
func (o *GetBroadcastsYearMonthDayParams) SetPageNumber(pageNumber *int64)
SetPageNumber adds the pageNumber to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetPageSize ¶
func (o *GetBroadcastsYearMonthDayParams) SetPageSize(pageSize *int64)
SetPageSize adds the pageSize to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetQ ¶
func (o *GetBroadcastsYearMonthDayParams) SetQ(q *string)
SetQ adds the q to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetSort ¶
func (o *GetBroadcastsYearMonthDayParams) SetSort(sort *string)
SetSort adds the sort to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetTimeout ¶
func (o *GetBroadcastsYearMonthDayParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) SetYear ¶
func (o *GetBroadcastsYearMonthDayParams) SetYear(year int64)
SetYear adds the year to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithContext ¶
func (o *GetBroadcastsYearMonthDayParams) WithContext(ctx context.Context) *GetBroadcastsYearMonthDayParams
WithContext adds the context to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithDay ¶
func (o *GetBroadcastsYearMonthDayParams) WithDay(day int64) *GetBroadcastsYearMonthDayParams
WithDay adds the day to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithHTTPClient ¶
func (o *GetBroadcastsYearMonthDayParams) WithHTTPClient(client *http.Client) *GetBroadcastsYearMonthDayParams
WithHTTPClient adds the HTTPClient to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithMonth ¶
func (o *GetBroadcastsYearMonthDayParams) WithMonth(month int64) *GetBroadcastsYearMonthDayParams
WithMonth adds the month to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithPageNumber ¶
func (o *GetBroadcastsYearMonthDayParams) WithPageNumber(pageNumber *int64) *GetBroadcastsYearMonthDayParams
WithPageNumber adds the pageNumber to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithPageSize ¶
func (o *GetBroadcastsYearMonthDayParams) WithPageSize(pageSize *int64) *GetBroadcastsYearMonthDayParams
WithPageSize adds the pageSize to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithQ ¶
func (o *GetBroadcastsYearMonthDayParams) WithQ(q *string) *GetBroadcastsYearMonthDayParams
WithQ adds the q to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithSort ¶
func (o *GetBroadcastsYearMonthDayParams) WithSort(sort *string) *GetBroadcastsYearMonthDayParams
WithSort adds the sort to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithTimeout ¶
func (o *GetBroadcastsYearMonthDayParams) WithTimeout(timeout time.Duration) *GetBroadcastsYearMonthDayParams
WithTimeout adds the timeout to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WithYear ¶
func (o *GetBroadcastsYearMonthDayParams) WithYear(year int64) *GetBroadcastsYearMonthDayParams
WithYear adds the year to the get broadcasts year month day params
func (*GetBroadcastsYearMonthDayParams) WriteToRequest ¶
func (o *GetBroadcastsYearMonthDayParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetBroadcastsYearMonthDayReader ¶
type GetBroadcastsYearMonthDayReader struct {
// contains filtered or unexported fields
}
GetBroadcastsYearMonthDayReader is a Reader for the GetBroadcastsYearMonthDay structure.
func (*GetBroadcastsYearMonthDayReader) ReadResponse ¶
func (o *GetBroadcastsYearMonthDayReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.