Documentation ¶
Index ¶
- type Client
- func (a *Client) GetActivityStreams(params *GetActivityStreamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetActivityStreamsOK, error)
- func (a *Client) GetRouteStreams(params *GetRouteStreamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetRouteStreamsOK, error)
- func (a *Client) GetSegmentEffortStreams(params *GetSegmentEffortStreamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSegmentEffortStreamsOK, error)
- func (a *Client) GetSegmentStreams(params *GetSegmentStreamsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetSegmentStreamsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetActivityStreamsDefault
- func (o *GetActivityStreamsDefault) Code() int
- func (o *GetActivityStreamsDefault) Error() string
- func (o *GetActivityStreamsDefault) GetPayload() *models.Fault
- func (o *GetActivityStreamsDefault) IsClientError() bool
- func (o *GetActivityStreamsDefault) IsCode(code int) bool
- func (o *GetActivityStreamsDefault) IsRedirect() bool
- func (o *GetActivityStreamsDefault) IsServerError() bool
- func (o *GetActivityStreamsDefault) IsSuccess() bool
- func (o *GetActivityStreamsDefault) String() string
- type GetActivityStreamsOK
- func (o *GetActivityStreamsOK) Code() int
- func (o *GetActivityStreamsOK) Error() string
- func (o *GetActivityStreamsOK) GetPayload() *models.StreamSet
- func (o *GetActivityStreamsOK) IsClientError() bool
- func (o *GetActivityStreamsOK) IsCode(code int) bool
- func (o *GetActivityStreamsOK) IsRedirect() bool
- func (o *GetActivityStreamsOK) IsServerError() bool
- func (o *GetActivityStreamsOK) IsSuccess() bool
- func (o *GetActivityStreamsOK) String() string
- type GetActivityStreamsParams
- func NewGetActivityStreamsParams() *GetActivityStreamsParams
- func NewGetActivityStreamsParamsWithContext(ctx context.Context) *GetActivityStreamsParams
- func NewGetActivityStreamsParamsWithHTTPClient(client *http.Client) *GetActivityStreamsParams
- func NewGetActivityStreamsParamsWithTimeout(timeout time.Duration) *GetActivityStreamsParams
- func (o *GetActivityStreamsParams) SetContext(ctx context.Context)
- func (o *GetActivityStreamsParams) SetDefaults()
- func (o *GetActivityStreamsParams) SetHTTPClient(client *http.Client)
- func (o *GetActivityStreamsParams) SetID(id int64)
- func (o *GetActivityStreamsParams) SetKeyByType(keyByType bool)
- func (o *GetActivityStreamsParams) SetKeys(keys []string)
- func (o *GetActivityStreamsParams) SetTimeout(timeout time.Duration)
- func (o *GetActivityStreamsParams) WithContext(ctx context.Context) *GetActivityStreamsParams
- func (o *GetActivityStreamsParams) WithDefaults() *GetActivityStreamsParams
- func (o *GetActivityStreamsParams) WithHTTPClient(client *http.Client) *GetActivityStreamsParams
- func (o *GetActivityStreamsParams) WithID(id int64) *GetActivityStreamsParams
- func (o *GetActivityStreamsParams) WithKeyByType(keyByType bool) *GetActivityStreamsParams
- func (o *GetActivityStreamsParams) WithKeys(keys []string) *GetActivityStreamsParams
- func (o *GetActivityStreamsParams) WithTimeout(timeout time.Duration) *GetActivityStreamsParams
- func (o *GetActivityStreamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetActivityStreamsReader
- type GetRouteStreamsDefault
- func (o *GetRouteStreamsDefault) Code() int
- func (o *GetRouteStreamsDefault) Error() string
- func (o *GetRouteStreamsDefault) GetPayload() *models.Fault
- func (o *GetRouteStreamsDefault) IsClientError() bool
- func (o *GetRouteStreamsDefault) IsCode(code int) bool
- func (o *GetRouteStreamsDefault) IsRedirect() bool
- func (o *GetRouteStreamsDefault) IsServerError() bool
- func (o *GetRouteStreamsDefault) IsSuccess() bool
- func (o *GetRouteStreamsDefault) String() string
- type GetRouteStreamsOK
- func (o *GetRouteStreamsOK) Code() int
- func (o *GetRouteStreamsOK) Error() string
- func (o *GetRouteStreamsOK) GetPayload() *models.StreamSet
- func (o *GetRouteStreamsOK) IsClientError() bool
- func (o *GetRouteStreamsOK) IsCode(code int) bool
- func (o *GetRouteStreamsOK) IsRedirect() bool
- func (o *GetRouteStreamsOK) IsServerError() bool
- func (o *GetRouteStreamsOK) IsSuccess() bool
- func (o *GetRouteStreamsOK) String() string
- type GetRouteStreamsParams
- func NewGetRouteStreamsParams() *GetRouteStreamsParams
- func NewGetRouteStreamsParamsWithContext(ctx context.Context) *GetRouteStreamsParams
- func NewGetRouteStreamsParamsWithHTTPClient(client *http.Client) *GetRouteStreamsParams
- func NewGetRouteStreamsParamsWithTimeout(timeout time.Duration) *GetRouteStreamsParams
- func (o *GetRouteStreamsParams) SetContext(ctx context.Context)
- func (o *GetRouteStreamsParams) SetDefaults()
- func (o *GetRouteStreamsParams) SetHTTPClient(client *http.Client)
- func (o *GetRouteStreamsParams) SetID(id int64)
- func (o *GetRouteStreamsParams) SetTimeout(timeout time.Duration)
- func (o *GetRouteStreamsParams) WithContext(ctx context.Context) *GetRouteStreamsParams
- func (o *GetRouteStreamsParams) WithDefaults() *GetRouteStreamsParams
- func (o *GetRouteStreamsParams) WithHTTPClient(client *http.Client) *GetRouteStreamsParams
- func (o *GetRouteStreamsParams) WithID(id int64) *GetRouteStreamsParams
- func (o *GetRouteStreamsParams) WithTimeout(timeout time.Duration) *GetRouteStreamsParams
- func (o *GetRouteStreamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetRouteStreamsReader
- type GetSegmentEffortStreamsDefault
- func (o *GetSegmentEffortStreamsDefault) Code() int
- func (o *GetSegmentEffortStreamsDefault) Error() string
- func (o *GetSegmentEffortStreamsDefault) GetPayload() *models.Fault
- func (o *GetSegmentEffortStreamsDefault) IsClientError() bool
- func (o *GetSegmentEffortStreamsDefault) IsCode(code int) bool
- func (o *GetSegmentEffortStreamsDefault) IsRedirect() bool
- func (o *GetSegmentEffortStreamsDefault) IsServerError() bool
- func (o *GetSegmentEffortStreamsDefault) IsSuccess() bool
- func (o *GetSegmentEffortStreamsDefault) String() string
- type GetSegmentEffortStreamsOK
- func (o *GetSegmentEffortStreamsOK) Code() int
- func (o *GetSegmentEffortStreamsOK) Error() string
- func (o *GetSegmentEffortStreamsOK) GetPayload() *models.StreamSet
- func (o *GetSegmentEffortStreamsOK) IsClientError() bool
- func (o *GetSegmentEffortStreamsOK) IsCode(code int) bool
- func (o *GetSegmentEffortStreamsOK) IsRedirect() bool
- func (o *GetSegmentEffortStreamsOK) IsServerError() bool
- func (o *GetSegmentEffortStreamsOK) IsSuccess() bool
- func (o *GetSegmentEffortStreamsOK) String() string
- type GetSegmentEffortStreamsParams
- func NewGetSegmentEffortStreamsParams() *GetSegmentEffortStreamsParams
- func NewGetSegmentEffortStreamsParamsWithContext(ctx context.Context) *GetSegmentEffortStreamsParams
- func NewGetSegmentEffortStreamsParamsWithHTTPClient(client *http.Client) *GetSegmentEffortStreamsParams
- func NewGetSegmentEffortStreamsParamsWithTimeout(timeout time.Duration) *GetSegmentEffortStreamsParams
- func (o *GetSegmentEffortStreamsParams) SetContext(ctx context.Context)
- func (o *GetSegmentEffortStreamsParams) SetDefaults()
- func (o *GetSegmentEffortStreamsParams) SetHTTPClient(client *http.Client)
- func (o *GetSegmentEffortStreamsParams) SetID(id int64)
- func (o *GetSegmentEffortStreamsParams) SetKeyByType(keyByType bool)
- func (o *GetSegmentEffortStreamsParams) SetKeys(keys []string)
- func (o *GetSegmentEffortStreamsParams) SetTimeout(timeout time.Duration)
- func (o *GetSegmentEffortStreamsParams) WithContext(ctx context.Context) *GetSegmentEffortStreamsParams
- func (o *GetSegmentEffortStreamsParams) WithDefaults() *GetSegmentEffortStreamsParams
- func (o *GetSegmentEffortStreamsParams) WithHTTPClient(client *http.Client) *GetSegmentEffortStreamsParams
- func (o *GetSegmentEffortStreamsParams) WithID(id int64) *GetSegmentEffortStreamsParams
- func (o *GetSegmentEffortStreamsParams) WithKeyByType(keyByType bool) *GetSegmentEffortStreamsParams
- func (o *GetSegmentEffortStreamsParams) WithKeys(keys []string) *GetSegmentEffortStreamsParams
- func (o *GetSegmentEffortStreamsParams) WithTimeout(timeout time.Duration) *GetSegmentEffortStreamsParams
- func (o *GetSegmentEffortStreamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSegmentEffortStreamsReader
- type GetSegmentStreamsDefault
- func (o *GetSegmentStreamsDefault) Code() int
- func (o *GetSegmentStreamsDefault) Error() string
- func (o *GetSegmentStreamsDefault) GetPayload() *models.Fault
- func (o *GetSegmentStreamsDefault) IsClientError() bool
- func (o *GetSegmentStreamsDefault) IsCode(code int) bool
- func (o *GetSegmentStreamsDefault) IsRedirect() bool
- func (o *GetSegmentStreamsDefault) IsServerError() bool
- func (o *GetSegmentStreamsDefault) IsSuccess() bool
- func (o *GetSegmentStreamsDefault) String() string
- type GetSegmentStreamsOK
- func (o *GetSegmentStreamsOK) Code() int
- func (o *GetSegmentStreamsOK) Error() string
- func (o *GetSegmentStreamsOK) GetPayload() *models.StreamSet
- func (o *GetSegmentStreamsOK) IsClientError() bool
- func (o *GetSegmentStreamsOK) IsCode(code int) bool
- func (o *GetSegmentStreamsOK) IsRedirect() bool
- func (o *GetSegmentStreamsOK) IsServerError() bool
- func (o *GetSegmentStreamsOK) IsSuccess() bool
- func (o *GetSegmentStreamsOK) String() string
- type GetSegmentStreamsParams
- func NewGetSegmentStreamsParams() *GetSegmentStreamsParams
- func NewGetSegmentStreamsParamsWithContext(ctx context.Context) *GetSegmentStreamsParams
- func NewGetSegmentStreamsParamsWithHTTPClient(client *http.Client) *GetSegmentStreamsParams
- func NewGetSegmentStreamsParamsWithTimeout(timeout time.Duration) *GetSegmentStreamsParams
- func (o *GetSegmentStreamsParams) SetContext(ctx context.Context)
- func (o *GetSegmentStreamsParams) SetDefaults()
- func (o *GetSegmentStreamsParams) SetHTTPClient(client *http.Client)
- func (o *GetSegmentStreamsParams) SetID(id int64)
- func (o *GetSegmentStreamsParams) SetKeyByType(keyByType bool)
- func (o *GetSegmentStreamsParams) SetKeys(keys []string)
- func (o *GetSegmentStreamsParams) SetTimeout(timeout time.Duration)
- func (o *GetSegmentStreamsParams) WithContext(ctx context.Context) *GetSegmentStreamsParams
- func (o *GetSegmentStreamsParams) WithDefaults() *GetSegmentStreamsParams
- func (o *GetSegmentStreamsParams) WithHTTPClient(client *http.Client) *GetSegmentStreamsParams
- func (o *GetSegmentStreamsParams) WithID(id int64) *GetSegmentStreamsParams
- func (o *GetSegmentStreamsParams) WithKeyByType(keyByType bool) *GetSegmentStreamsParams
- func (o *GetSegmentStreamsParams) WithKeys(keys []string) *GetSegmentStreamsParams
- func (o *GetSegmentStreamsParams) WithTimeout(timeout time.Duration) *GetSegmentStreamsParams
- func (o *GetSegmentStreamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetSegmentStreamsReader
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 streams API
func (*Client) GetActivityStreams ¶
func (a *Client) GetActivityStreams(params *GetActivityStreamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetActivityStreamsOK, error)
GetActivityStreams gets activity streams
Returns the given activity's streams. Requires activity:read scope. Requires activity:read_all scope for Only Me activities.
func (*Client) GetRouteStreams ¶
func (a *Client) GetRouteStreams(params *GetRouteStreamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRouteStreamsOK, error)
GetRouteStreams gets route streams
Returns the given route's streams. Requires read_all scope for private routes.
func (*Client) GetSegmentEffortStreams ¶
func (a *Client) GetSegmentEffortStreams(params *GetSegmentEffortStreamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSegmentEffortStreamsOK, error)
GetSegmentEffortStreams gets segment effort streams
Returns a set of streams for a segment effort completed by the authenticated athlete. Requires read_all scope.
func (*Client) GetSegmentStreams ¶
func (a *Client) GetSegmentStreams(params *GetSegmentStreamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSegmentStreamsOK, error)
GetSegmentStreams gets segment streams
Returns the given segment's streams. Requires read_all scope for private segments.
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 { GetActivityStreams(params *GetActivityStreamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetActivityStreamsOK, error) GetRouteStreams(params *GetRouteStreamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetRouteStreamsOK, error) GetSegmentEffortStreams(params *GetSegmentEffortStreamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSegmentEffortStreamsOK, error) GetSegmentStreams(params *GetSegmentStreamsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetSegmentStreamsOK, 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 streams API client.
type GetActivityStreamsDefault ¶
type GetActivityStreamsDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetActivityStreamsDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetActivityStreamsDefault ¶
func NewGetActivityStreamsDefault(code int) *GetActivityStreamsDefault
NewGetActivityStreamsDefault creates a GetActivityStreamsDefault with default headers values
func (*GetActivityStreamsDefault) Code ¶
func (o *GetActivityStreamsDefault) Code() int
Code gets the status code for the get activity streams default response
func (*GetActivityStreamsDefault) Error ¶
func (o *GetActivityStreamsDefault) Error() string
func (*GetActivityStreamsDefault) GetPayload ¶
func (o *GetActivityStreamsDefault) GetPayload() *models.Fault
func (*GetActivityStreamsDefault) IsClientError ¶ added in v0.0.5
func (o *GetActivityStreamsDefault) IsClientError() bool
IsClientError returns true when this get activity streams default response has a 4xx status code
func (*GetActivityStreamsDefault) IsCode ¶ added in v0.0.5
func (o *GetActivityStreamsDefault) IsCode(code int) bool
IsCode returns true when this get activity streams default response a status code equal to that given
func (*GetActivityStreamsDefault) IsRedirect ¶ added in v0.0.5
func (o *GetActivityStreamsDefault) IsRedirect() bool
IsRedirect returns true when this get activity streams default response has a 3xx status code
func (*GetActivityStreamsDefault) IsServerError ¶ added in v0.0.5
func (o *GetActivityStreamsDefault) IsServerError() bool
IsServerError returns true when this get activity streams default response has a 5xx status code
func (*GetActivityStreamsDefault) IsSuccess ¶ added in v0.0.5
func (o *GetActivityStreamsDefault) IsSuccess() bool
IsSuccess returns true when this get activity streams default response has a 2xx status code
func (*GetActivityStreamsDefault) String ¶ added in v0.0.5
func (o *GetActivityStreamsDefault) String() string
type GetActivityStreamsOK ¶
GetActivityStreamsOK describes a response with status code 200, with default header values.
The set of requested streams.
func NewGetActivityStreamsOK ¶
func NewGetActivityStreamsOK() *GetActivityStreamsOK
NewGetActivityStreamsOK creates a GetActivityStreamsOK with default headers values
func (*GetActivityStreamsOK) Code ¶ added in v0.0.7
func (o *GetActivityStreamsOK) Code() int
Code gets the status code for the get activity streams o k response
func (*GetActivityStreamsOK) Error ¶
func (o *GetActivityStreamsOK) Error() string
func (*GetActivityStreamsOK) GetPayload ¶
func (o *GetActivityStreamsOK) GetPayload() *models.StreamSet
func (*GetActivityStreamsOK) IsClientError ¶ added in v0.0.5
func (o *GetActivityStreamsOK) IsClientError() bool
IsClientError returns true when this get activity streams o k response has a 4xx status code
func (*GetActivityStreamsOK) IsCode ¶ added in v0.0.5
func (o *GetActivityStreamsOK) IsCode(code int) bool
IsCode returns true when this get activity streams o k response a status code equal to that given
func (*GetActivityStreamsOK) IsRedirect ¶ added in v0.0.5
func (o *GetActivityStreamsOK) IsRedirect() bool
IsRedirect returns true when this get activity streams o k response has a 3xx status code
func (*GetActivityStreamsOK) IsServerError ¶ added in v0.0.5
func (o *GetActivityStreamsOK) IsServerError() bool
IsServerError returns true when this get activity streams o k response has a 5xx status code
func (*GetActivityStreamsOK) IsSuccess ¶ added in v0.0.5
func (o *GetActivityStreamsOK) IsSuccess() bool
IsSuccess returns true when this get activity streams o k response has a 2xx status code
func (*GetActivityStreamsOK) String ¶ added in v0.0.5
func (o *GetActivityStreamsOK) String() string
type GetActivityStreamsParams ¶
type GetActivityStreamsParams struct { /* ID. The identifier of the activity. Format: int64 */ ID int64 /* KeyByType. Must be true. Default: true */ KeyByType bool /* Keys. Desired stream types. */ Keys []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetActivityStreamsParams contains all the parameters to send to the API endpoint
for the get activity streams operation. Typically these are written to a http.Request.
func NewGetActivityStreamsParams ¶
func NewGetActivityStreamsParams() *GetActivityStreamsParams
NewGetActivityStreamsParams creates a new GetActivityStreamsParams 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 NewGetActivityStreamsParamsWithContext ¶
func NewGetActivityStreamsParamsWithContext(ctx context.Context) *GetActivityStreamsParams
NewGetActivityStreamsParamsWithContext creates a new GetActivityStreamsParams object with the ability to set a context for a request.
func NewGetActivityStreamsParamsWithHTTPClient ¶
func NewGetActivityStreamsParamsWithHTTPClient(client *http.Client) *GetActivityStreamsParams
NewGetActivityStreamsParamsWithHTTPClient creates a new GetActivityStreamsParams object with the ability to set a custom HTTPClient for a request.
func NewGetActivityStreamsParamsWithTimeout ¶
func NewGetActivityStreamsParamsWithTimeout(timeout time.Duration) *GetActivityStreamsParams
NewGetActivityStreamsParamsWithTimeout creates a new GetActivityStreamsParams object with the ability to set a timeout on a request.
func (*GetActivityStreamsParams) SetContext ¶
func (o *GetActivityStreamsParams) SetContext(ctx context.Context)
SetContext adds the context to the get activity streams params
func (*GetActivityStreamsParams) SetDefaults ¶
func (o *GetActivityStreamsParams) SetDefaults()
SetDefaults hydrates default values in the get activity streams params (not the query body).
All values with no default are reset to their zero value.
func (*GetActivityStreamsParams) SetHTTPClient ¶
func (o *GetActivityStreamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get activity streams params
func (*GetActivityStreamsParams) SetID ¶
func (o *GetActivityStreamsParams) SetID(id int64)
SetID adds the id to the get activity streams params
func (*GetActivityStreamsParams) SetKeyByType ¶
func (o *GetActivityStreamsParams) SetKeyByType(keyByType bool)
SetKeyByType adds the keyByType to the get activity streams params
func (*GetActivityStreamsParams) SetKeys ¶
func (o *GetActivityStreamsParams) SetKeys(keys []string)
SetKeys adds the keys to the get activity streams params
func (*GetActivityStreamsParams) SetTimeout ¶
func (o *GetActivityStreamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get activity streams params
func (*GetActivityStreamsParams) WithContext ¶
func (o *GetActivityStreamsParams) WithContext(ctx context.Context) *GetActivityStreamsParams
WithContext adds the context to the get activity streams params
func (*GetActivityStreamsParams) WithDefaults ¶
func (o *GetActivityStreamsParams) WithDefaults() *GetActivityStreamsParams
WithDefaults hydrates default values in the get activity streams params (not the query body).
All values with no default are reset to their zero value.
func (*GetActivityStreamsParams) WithHTTPClient ¶
func (o *GetActivityStreamsParams) WithHTTPClient(client *http.Client) *GetActivityStreamsParams
WithHTTPClient adds the HTTPClient to the get activity streams params
func (*GetActivityStreamsParams) WithID ¶
func (o *GetActivityStreamsParams) WithID(id int64) *GetActivityStreamsParams
WithID adds the id to the get activity streams params
func (*GetActivityStreamsParams) WithKeyByType ¶
func (o *GetActivityStreamsParams) WithKeyByType(keyByType bool) *GetActivityStreamsParams
WithKeyByType adds the keyByType to the get activity streams params
func (*GetActivityStreamsParams) WithKeys ¶
func (o *GetActivityStreamsParams) WithKeys(keys []string) *GetActivityStreamsParams
WithKeys adds the keys to the get activity streams params
func (*GetActivityStreamsParams) WithTimeout ¶
func (o *GetActivityStreamsParams) WithTimeout(timeout time.Duration) *GetActivityStreamsParams
WithTimeout adds the timeout to the get activity streams params
func (*GetActivityStreamsParams) WriteToRequest ¶
func (o *GetActivityStreamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetActivityStreamsReader ¶
type GetActivityStreamsReader struct {
// contains filtered or unexported fields
}
GetActivityStreamsReader is a Reader for the GetActivityStreams structure.
func (*GetActivityStreamsReader) ReadResponse ¶
func (o *GetActivityStreamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetRouteStreamsDefault ¶
type GetRouteStreamsDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetRouteStreamsDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetRouteStreamsDefault ¶
func NewGetRouteStreamsDefault(code int) *GetRouteStreamsDefault
NewGetRouteStreamsDefault creates a GetRouteStreamsDefault with default headers values
func (*GetRouteStreamsDefault) Code ¶
func (o *GetRouteStreamsDefault) Code() int
Code gets the status code for the get route streams default response
func (*GetRouteStreamsDefault) Error ¶
func (o *GetRouteStreamsDefault) Error() string
func (*GetRouteStreamsDefault) GetPayload ¶
func (o *GetRouteStreamsDefault) GetPayload() *models.Fault
func (*GetRouteStreamsDefault) IsClientError ¶ added in v0.0.5
func (o *GetRouteStreamsDefault) IsClientError() bool
IsClientError returns true when this get route streams default response has a 4xx status code
func (*GetRouteStreamsDefault) IsCode ¶ added in v0.0.5
func (o *GetRouteStreamsDefault) IsCode(code int) bool
IsCode returns true when this get route streams default response a status code equal to that given
func (*GetRouteStreamsDefault) IsRedirect ¶ added in v0.0.5
func (o *GetRouteStreamsDefault) IsRedirect() bool
IsRedirect returns true when this get route streams default response has a 3xx status code
func (*GetRouteStreamsDefault) IsServerError ¶ added in v0.0.5
func (o *GetRouteStreamsDefault) IsServerError() bool
IsServerError returns true when this get route streams default response has a 5xx status code
func (*GetRouteStreamsDefault) IsSuccess ¶ added in v0.0.5
func (o *GetRouteStreamsDefault) IsSuccess() bool
IsSuccess returns true when this get route streams default response has a 2xx status code
func (*GetRouteStreamsDefault) String ¶ added in v0.0.5
func (o *GetRouteStreamsDefault) String() string
type GetRouteStreamsOK ¶
GetRouteStreamsOK describes a response with status code 200, with default header values.
The set of requested streams.
func NewGetRouteStreamsOK ¶
func NewGetRouteStreamsOK() *GetRouteStreamsOK
NewGetRouteStreamsOK creates a GetRouteStreamsOK with default headers values
func (*GetRouteStreamsOK) Code ¶ added in v0.0.7
func (o *GetRouteStreamsOK) Code() int
Code gets the status code for the get route streams o k response
func (*GetRouteStreamsOK) Error ¶
func (o *GetRouteStreamsOK) Error() string
func (*GetRouteStreamsOK) GetPayload ¶
func (o *GetRouteStreamsOK) GetPayload() *models.StreamSet
func (*GetRouteStreamsOK) IsClientError ¶ added in v0.0.5
func (o *GetRouteStreamsOK) IsClientError() bool
IsClientError returns true when this get route streams o k response has a 4xx status code
func (*GetRouteStreamsOK) IsCode ¶ added in v0.0.5
func (o *GetRouteStreamsOK) IsCode(code int) bool
IsCode returns true when this get route streams o k response a status code equal to that given
func (*GetRouteStreamsOK) IsRedirect ¶ added in v0.0.5
func (o *GetRouteStreamsOK) IsRedirect() bool
IsRedirect returns true when this get route streams o k response has a 3xx status code
func (*GetRouteStreamsOK) IsServerError ¶ added in v0.0.5
func (o *GetRouteStreamsOK) IsServerError() bool
IsServerError returns true when this get route streams o k response has a 5xx status code
func (*GetRouteStreamsOK) IsSuccess ¶ added in v0.0.5
func (o *GetRouteStreamsOK) IsSuccess() bool
IsSuccess returns true when this get route streams o k response has a 2xx status code
func (*GetRouteStreamsOK) String ¶ added in v0.0.5
func (o *GetRouteStreamsOK) String() string
type GetRouteStreamsParams ¶
type GetRouteStreamsParams struct { /* ID. The identifier of the route. Format: int64 */ ID int64 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetRouteStreamsParams contains all the parameters to send to the API endpoint
for the get route streams operation. Typically these are written to a http.Request.
func NewGetRouteStreamsParams ¶
func NewGetRouteStreamsParams() *GetRouteStreamsParams
NewGetRouteStreamsParams creates a new GetRouteStreamsParams 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 NewGetRouteStreamsParamsWithContext ¶
func NewGetRouteStreamsParamsWithContext(ctx context.Context) *GetRouteStreamsParams
NewGetRouteStreamsParamsWithContext creates a new GetRouteStreamsParams object with the ability to set a context for a request.
func NewGetRouteStreamsParamsWithHTTPClient ¶
func NewGetRouteStreamsParamsWithHTTPClient(client *http.Client) *GetRouteStreamsParams
NewGetRouteStreamsParamsWithHTTPClient creates a new GetRouteStreamsParams object with the ability to set a custom HTTPClient for a request.
func NewGetRouteStreamsParamsWithTimeout ¶
func NewGetRouteStreamsParamsWithTimeout(timeout time.Duration) *GetRouteStreamsParams
NewGetRouteStreamsParamsWithTimeout creates a new GetRouteStreamsParams object with the ability to set a timeout on a request.
func (*GetRouteStreamsParams) SetContext ¶
func (o *GetRouteStreamsParams) SetContext(ctx context.Context)
SetContext adds the context to the get route streams params
func (*GetRouteStreamsParams) SetDefaults ¶
func (o *GetRouteStreamsParams) SetDefaults()
SetDefaults hydrates default values in the get route streams params (not the query body).
All values with no default are reset to their zero value.
func (*GetRouteStreamsParams) SetHTTPClient ¶
func (o *GetRouteStreamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get route streams params
func (*GetRouteStreamsParams) SetID ¶
func (o *GetRouteStreamsParams) SetID(id int64)
SetID adds the id to the get route streams params
func (*GetRouteStreamsParams) SetTimeout ¶
func (o *GetRouteStreamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get route streams params
func (*GetRouteStreamsParams) WithContext ¶
func (o *GetRouteStreamsParams) WithContext(ctx context.Context) *GetRouteStreamsParams
WithContext adds the context to the get route streams params
func (*GetRouteStreamsParams) WithDefaults ¶
func (o *GetRouteStreamsParams) WithDefaults() *GetRouteStreamsParams
WithDefaults hydrates default values in the get route streams params (not the query body).
All values with no default are reset to their zero value.
func (*GetRouteStreamsParams) WithHTTPClient ¶
func (o *GetRouteStreamsParams) WithHTTPClient(client *http.Client) *GetRouteStreamsParams
WithHTTPClient adds the HTTPClient to the get route streams params
func (*GetRouteStreamsParams) WithID ¶
func (o *GetRouteStreamsParams) WithID(id int64) *GetRouteStreamsParams
WithID adds the id to the get route streams params
func (*GetRouteStreamsParams) WithTimeout ¶
func (o *GetRouteStreamsParams) WithTimeout(timeout time.Duration) *GetRouteStreamsParams
WithTimeout adds the timeout to the get route streams params
func (*GetRouteStreamsParams) WriteToRequest ¶
func (o *GetRouteStreamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetRouteStreamsReader ¶
type GetRouteStreamsReader struct {
// contains filtered or unexported fields
}
GetRouteStreamsReader is a Reader for the GetRouteStreams structure.
func (*GetRouteStreamsReader) ReadResponse ¶
func (o *GetRouteStreamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSegmentEffortStreamsDefault ¶
type GetSegmentEffortStreamsDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetSegmentEffortStreamsDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetSegmentEffortStreamsDefault ¶
func NewGetSegmentEffortStreamsDefault(code int) *GetSegmentEffortStreamsDefault
NewGetSegmentEffortStreamsDefault creates a GetSegmentEffortStreamsDefault with default headers values
func (*GetSegmentEffortStreamsDefault) Code ¶
func (o *GetSegmentEffortStreamsDefault) Code() int
Code gets the status code for the get segment effort streams default response
func (*GetSegmentEffortStreamsDefault) Error ¶
func (o *GetSegmentEffortStreamsDefault) Error() string
func (*GetSegmentEffortStreamsDefault) GetPayload ¶
func (o *GetSegmentEffortStreamsDefault) GetPayload() *models.Fault
func (*GetSegmentEffortStreamsDefault) IsClientError ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsDefault) IsClientError() bool
IsClientError returns true when this get segment effort streams default response has a 4xx status code
func (*GetSegmentEffortStreamsDefault) IsCode ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsDefault) IsCode(code int) bool
IsCode returns true when this get segment effort streams default response a status code equal to that given
func (*GetSegmentEffortStreamsDefault) IsRedirect ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsDefault) IsRedirect() bool
IsRedirect returns true when this get segment effort streams default response has a 3xx status code
func (*GetSegmentEffortStreamsDefault) IsServerError ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsDefault) IsServerError() bool
IsServerError returns true when this get segment effort streams default response has a 5xx status code
func (*GetSegmentEffortStreamsDefault) IsSuccess ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsDefault) IsSuccess() bool
IsSuccess returns true when this get segment effort streams default response has a 2xx status code
func (*GetSegmentEffortStreamsDefault) String ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsDefault) String() string
type GetSegmentEffortStreamsOK ¶
GetSegmentEffortStreamsOK describes a response with status code 200, with default header values.
The set of requested streams.
func NewGetSegmentEffortStreamsOK ¶
func NewGetSegmentEffortStreamsOK() *GetSegmentEffortStreamsOK
NewGetSegmentEffortStreamsOK creates a GetSegmentEffortStreamsOK with default headers values
func (*GetSegmentEffortStreamsOK) Code ¶ added in v0.0.7
func (o *GetSegmentEffortStreamsOK) Code() int
Code gets the status code for the get segment effort streams o k response
func (*GetSegmentEffortStreamsOK) Error ¶
func (o *GetSegmentEffortStreamsOK) Error() string
func (*GetSegmentEffortStreamsOK) GetPayload ¶
func (o *GetSegmentEffortStreamsOK) GetPayload() *models.StreamSet
func (*GetSegmentEffortStreamsOK) IsClientError ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsOK) IsClientError() bool
IsClientError returns true when this get segment effort streams o k response has a 4xx status code
func (*GetSegmentEffortStreamsOK) IsCode ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsOK) IsCode(code int) bool
IsCode returns true when this get segment effort streams o k response a status code equal to that given
func (*GetSegmentEffortStreamsOK) IsRedirect ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsOK) IsRedirect() bool
IsRedirect returns true when this get segment effort streams o k response has a 3xx status code
func (*GetSegmentEffortStreamsOK) IsServerError ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsOK) IsServerError() bool
IsServerError returns true when this get segment effort streams o k response has a 5xx status code
func (*GetSegmentEffortStreamsOK) IsSuccess ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsOK) IsSuccess() bool
IsSuccess returns true when this get segment effort streams o k response has a 2xx status code
func (*GetSegmentEffortStreamsOK) String ¶ added in v0.0.5
func (o *GetSegmentEffortStreamsOK) String() string
type GetSegmentEffortStreamsParams ¶
type GetSegmentEffortStreamsParams struct { /* ID. The identifier of the segment effort. Format: int64 */ ID int64 /* KeyByType. Must be true. Default: true */ KeyByType bool /* Keys. The types of streams to return. */ Keys []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSegmentEffortStreamsParams contains all the parameters to send to the API endpoint
for the get segment effort streams operation. Typically these are written to a http.Request.
func NewGetSegmentEffortStreamsParams ¶
func NewGetSegmentEffortStreamsParams() *GetSegmentEffortStreamsParams
NewGetSegmentEffortStreamsParams creates a new GetSegmentEffortStreamsParams 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 NewGetSegmentEffortStreamsParamsWithContext ¶
func NewGetSegmentEffortStreamsParamsWithContext(ctx context.Context) *GetSegmentEffortStreamsParams
NewGetSegmentEffortStreamsParamsWithContext creates a new GetSegmentEffortStreamsParams object with the ability to set a context for a request.
func NewGetSegmentEffortStreamsParamsWithHTTPClient ¶
func NewGetSegmentEffortStreamsParamsWithHTTPClient(client *http.Client) *GetSegmentEffortStreamsParams
NewGetSegmentEffortStreamsParamsWithHTTPClient creates a new GetSegmentEffortStreamsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSegmentEffortStreamsParamsWithTimeout ¶
func NewGetSegmentEffortStreamsParamsWithTimeout(timeout time.Duration) *GetSegmentEffortStreamsParams
NewGetSegmentEffortStreamsParamsWithTimeout creates a new GetSegmentEffortStreamsParams object with the ability to set a timeout on a request.
func (*GetSegmentEffortStreamsParams) SetContext ¶
func (o *GetSegmentEffortStreamsParams) SetContext(ctx context.Context)
SetContext adds the context to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) SetDefaults ¶
func (o *GetSegmentEffortStreamsParams) SetDefaults()
SetDefaults hydrates default values in the get segment effort streams params (not the query body).
All values with no default are reset to their zero value.
func (*GetSegmentEffortStreamsParams) SetHTTPClient ¶
func (o *GetSegmentEffortStreamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) SetID ¶
func (o *GetSegmentEffortStreamsParams) SetID(id int64)
SetID adds the id to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) SetKeyByType ¶
func (o *GetSegmentEffortStreamsParams) SetKeyByType(keyByType bool)
SetKeyByType adds the keyByType to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) SetKeys ¶
func (o *GetSegmentEffortStreamsParams) SetKeys(keys []string)
SetKeys adds the keys to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) SetTimeout ¶
func (o *GetSegmentEffortStreamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) WithContext ¶
func (o *GetSegmentEffortStreamsParams) WithContext(ctx context.Context) *GetSegmentEffortStreamsParams
WithContext adds the context to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) WithDefaults ¶
func (o *GetSegmentEffortStreamsParams) WithDefaults() *GetSegmentEffortStreamsParams
WithDefaults hydrates default values in the get segment effort streams params (not the query body).
All values with no default are reset to their zero value.
func (*GetSegmentEffortStreamsParams) WithHTTPClient ¶
func (o *GetSegmentEffortStreamsParams) WithHTTPClient(client *http.Client) *GetSegmentEffortStreamsParams
WithHTTPClient adds the HTTPClient to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) WithID ¶
func (o *GetSegmentEffortStreamsParams) WithID(id int64) *GetSegmentEffortStreamsParams
WithID adds the id to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) WithKeyByType ¶
func (o *GetSegmentEffortStreamsParams) WithKeyByType(keyByType bool) *GetSegmentEffortStreamsParams
WithKeyByType adds the keyByType to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) WithKeys ¶
func (o *GetSegmentEffortStreamsParams) WithKeys(keys []string) *GetSegmentEffortStreamsParams
WithKeys adds the keys to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) WithTimeout ¶
func (o *GetSegmentEffortStreamsParams) WithTimeout(timeout time.Duration) *GetSegmentEffortStreamsParams
WithTimeout adds the timeout to the get segment effort streams params
func (*GetSegmentEffortStreamsParams) WriteToRequest ¶
func (o *GetSegmentEffortStreamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSegmentEffortStreamsReader ¶
type GetSegmentEffortStreamsReader struct {
// contains filtered or unexported fields
}
GetSegmentEffortStreamsReader is a Reader for the GetSegmentEffortStreams structure.
func (*GetSegmentEffortStreamsReader) ReadResponse ¶
func (o *GetSegmentEffortStreamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetSegmentStreamsDefault ¶
type GetSegmentStreamsDefault struct { Payload *models.Fault // contains filtered or unexported fields }
GetSegmentStreamsDefault describes a response with status code -1, with default header values.
Unexpected error.
func NewGetSegmentStreamsDefault ¶
func NewGetSegmentStreamsDefault(code int) *GetSegmentStreamsDefault
NewGetSegmentStreamsDefault creates a GetSegmentStreamsDefault with default headers values
func (*GetSegmentStreamsDefault) Code ¶
func (o *GetSegmentStreamsDefault) Code() int
Code gets the status code for the get segment streams default response
func (*GetSegmentStreamsDefault) Error ¶
func (o *GetSegmentStreamsDefault) Error() string
func (*GetSegmentStreamsDefault) GetPayload ¶
func (o *GetSegmentStreamsDefault) GetPayload() *models.Fault
func (*GetSegmentStreamsDefault) IsClientError ¶ added in v0.0.5
func (o *GetSegmentStreamsDefault) IsClientError() bool
IsClientError returns true when this get segment streams default response has a 4xx status code
func (*GetSegmentStreamsDefault) IsCode ¶ added in v0.0.5
func (o *GetSegmentStreamsDefault) IsCode(code int) bool
IsCode returns true when this get segment streams default response a status code equal to that given
func (*GetSegmentStreamsDefault) IsRedirect ¶ added in v0.0.5
func (o *GetSegmentStreamsDefault) IsRedirect() bool
IsRedirect returns true when this get segment streams default response has a 3xx status code
func (*GetSegmentStreamsDefault) IsServerError ¶ added in v0.0.5
func (o *GetSegmentStreamsDefault) IsServerError() bool
IsServerError returns true when this get segment streams default response has a 5xx status code
func (*GetSegmentStreamsDefault) IsSuccess ¶ added in v0.0.5
func (o *GetSegmentStreamsDefault) IsSuccess() bool
IsSuccess returns true when this get segment streams default response has a 2xx status code
func (*GetSegmentStreamsDefault) String ¶ added in v0.0.5
func (o *GetSegmentStreamsDefault) String() string
type GetSegmentStreamsOK ¶
GetSegmentStreamsOK describes a response with status code 200, with default header values.
The set of requested streams.
func NewGetSegmentStreamsOK ¶
func NewGetSegmentStreamsOK() *GetSegmentStreamsOK
NewGetSegmentStreamsOK creates a GetSegmentStreamsOK with default headers values
func (*GetSegmentStreamsOK) Code ¶ added in v0.0.7
func (o *GetSegmentStreamsOK) Code() int
Code gets the status code for the get segment streams o k response
func (*GetSegmentStreamsOK) Error ¶
func (o *GetSegmentStreamsOK) Error() string
func (*GetSegmentStreamsOK) GetPayload ¶
func (o *GetSegmentStreamsOK) GetPayload() *models.StreamSet
func (*GetSegmentStreamsOK) IsClientError ¶ added in v0.0.5
func (o *GetSegmentStreamsOK) IsClientError() bool
IsClientError returns true when this get segment streams o k response has a 4xx status code
func (*GetSegmentStreamsOK) IsCode ¶ added in v0.0.5
func (o *GetSegmentStreamsOK) IsCode(code int) bool
IsCode returns true when this get segment streams o k response a status code equal to that given
func (*GetSegmentStreamsOK) IsRedirect ¶ added in v0.0.5
func (o *GetSegmentStreamsOK) IsRedirect() bool
IsRedirect returns true when this get segment streams o k response has a 3xx status code
func (*GetSegmentStreamsOK) IsServerError ¶ added in v0.0.5
func (o *GetSegmentStreamsOK) IsServerError() bool
IsServerError returns true when this get segment streams o k response has a 5xx status code
func (*GetSegmentStreamsOK) IsSuccess ¶ added in v0.0.5
func (o *GetSegmentStreamsOK) IsSuccess() bool
IsSuccess returns true when this get segment streams o k response has a 2xx status code
func (*GetSegmentStreamsOK) String ¶ added in v0.0.5
func (o *GetSegmentStreamsOK) String() string
type GetSegmentStreamsParams ¶
type GetSegmentStreamsParams struct { /* ID. The identifier of the segment. Format: int64 */ ID int64 /* KeyByType. Must be true. Default: true */ KeyByType bool /* Keys. The types of streams to return. */ Keys []string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetSegmentStreamsParams contains all the parameters to send to the API endpoint
for the get segment streams operation. Typically these are written to a http.Request.
func NewGetSegmentStreamsParams ¶
func NewGetSegmentStreamsParams() *GetSegmentStreamsParams
NewGetSegmentStreamsParams creates a new GetSegmentStreamsParams 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 NewGetSegmentStreamsParamsWithContext ¶
func NewGetSegmentStreamsParamsWithContext(ctx context.Context) *GetSegmentStreamsParams
NewGetSegmentStreamsParamsWithContext creates a new GetSegmentStreamsParams object with the ability to set a context for a request.
func NewGetSegmentStreamsParamsWithHTTPClient ¶
func NewGetSegmentStreamsParamsWithHTTPClient(client *http.Client) *GetSegmentStreamsParams
NewGetSegmentStreamsParamsWithHTTPClient creates a new GetSegmentStreamsParams object with the ability to set a custom HTTPClient for a request.
func NewGetSegmentStreamsParamsWithTimeout ¶
func NewGetSegmentStreamsParamsWithTimeout(timeout time.Duration) *GetSegmentStreamsParams
NewGetSegmentStreamsParamsWithTimeout creates a new GetSegmentStreamsParams object with the ability to set a timeout on a request.
func (*GetSegmentStreamsParams) SetContext ¶
func (o *GetSegmentStreamsParams) SetContext(ctx context.Context)
SetContext adds the context to the get segment streams params
func (*GetSegmentStreamsParams) SetDefaults ¶
func (o *GetSegmentStreamsParams) SetDefaults()
SetDefaults hydrates default values in the get segment streams params (not the query body).
All values with no default are reset to their zero value.
func (*GetSegmentStreamsParams) SetHTTPClient ¶
func (o *GetSegmentStreamsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get segment streams params
func (*GetSegmentStreamsParams) SetID ¶
func (o *GetSegmentStreamsParams) SetID(id int64)
SetID adds the id to the get segment streams params
func (*GetSegmentStreamsParams) SetKeyByType ¶
func (o *GetSegmentStreamsParams) SetKeyByType(keyByType bool)
SetKeyByType adds the keyByType to the get segment streams params
func (*GetSegmentStreamsParams) SetKeys ¶
func (o *GetSegmentStreamsParams) SetKeys(keys []string)
SetKeys adds the keys to the get segment streams params
func (*GetSegmentStreamsParams) SetTimeout ¶
func (o *GetSegmentStreamsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get segment streams params
func (*GetSegmentStreamsParams) WithContext ¶
func (o *GetSegmentStreamsParams) WithContext(ctx context.Context) *GetSegmentStreamsParams
WithContext adds the context to the get segment streams params
func (*GetSegmentStreamsParams) WithDefaults ¶
func (o *GetSegmentStreamsParams) WithDefaults() *GetSegmentStreamsParams
WithDefaults hydrates default values in the get segment streams params (not the query body).
All values with no default are reset to their zero value.
func (*GetSegmentStreamsParams) WithHTTPClient ¶
func (o *GetSegmentStreamsParams) WithHTTPClient(client *http.Client) *GetSegmentStreamsParams
WithHTTPClient adds the HTTPClient to the get segment streams params
func (*GetSegmentStreamsParams) WithID ¶
func (o *GetSegmentStreamsParams) WithID(id int64) *GetSegmentStreamsParams
WithID adds the id to the get segment streams params
func (*GetSegmentStreamsParams) WithKeyByType ¶
func (o *GetSegmentStreamsParams) WithKeyByType(keyByType bool) *GetSegmentStreamsParams
WithKeyByType adds the keyByType to the get segment streams params
func (*GetSegmentStreamsParams) WithKeys ¶
func (o *GetSegmentStreamsParams) WithKeys(keys []string) *GetSegmentStreamsParams
WithKeys adds the keys to the get segment streams params
func (*GetSegmentStreamsParams) WithTimeout ¶
func (o *GetSegmentStreamsParams) WithTimeout(timeout time.Duration) *GetSegmentStreamsParams
WithTimeout adds the timeout to the get segment streams params
func (*GetSegmentStreamsParams) WriteToRequest ¶
func (o *GetSegmentStreamsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetSegmentStreamsReader ¶
type GetSegmentStreamsReader struct {
// contains filtered or unexported fields
}
GetSegmentStreamsReader is a Reader for the GetSegmentStreams structure.
func (*GetSegmentStreamsReader) ReadResponse ¶
func (o *GetSegmentStreamsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.