Documentation ¶
Index ¶
- Constants
- type GetCustomStream
- type GetCustomStreamBadRequest
- type GetCustomStreamHandler
- type GetCustomStreamHandlerFunc
- type GetCustomStreamInternalServerError
- type GetCustomStreamOK
- type GetCustomStreamParams
- type GetCustomStreamURL
- func (o *GetCustomStreamURL) Build() (*url.URL, error)
- func (o *GetCustomStreamURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *GetCustomStreamURL) Must(u *url.URL, err error) *url.URL
- func (o *GetCustomStreamURL) SetBasePath(bp string)
- func (o *GetCustomStreamURL) String() string
- func (o *GetCustomStreamURL) StringFull(scheme, host string) string
- func (o *GetCustomStreamURL) WithBasePath(bp string) *GetCustomStreamURL
Constants ¶
const GetCustomStreamBadRequestCode int = 400
GetCustomStreamBadRequestCode is the HTTP code returned for type GetCustomStreamBadRequest
const GetCustomStreamInternalServerErrorCode int = 500
GetCustomStreamInternalServerErrorCode is the HTTP code returned for type GetCustomStreamInternalServerError
const GetCustomStreamOKCode int = 200
GetCustomStreamOKCode is the HTTP code returned for type GetCustomStreamOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetCustomStream ¶
type GetCustomStream struct { Context *middleware.Context Handler GetCustomStreamHandler }
GetCustomStream swagger:route GET /v1/monitor-streams/{streamId}/results compat getCustomStream
ACRCloud Custom Streams Full Day Endpoint ¶
This endpoint implements the same API as upstream ACRCloud does.
func NewGetCustomStream ¶
func NewGetCustomStream(ctx *middleware.Context, handler GetCustomStreamHandler) *GetCustomStream
NewGetCustomStream creates a new http.Handler for the get custom stream operation
func (*GetCustomStream) ServeHTTP ¶
func (o *GetCustomStream) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type GetCustomStreamBadRequest ¶
type GetCustomStreamBadRequest struct { }
GetCustomStreamBadRequest Bad Request
swagger:response getCustomStreamBadRequest
func NewGetCustomStreamBadRequest ¶
func NewGetCustomStreamBadRequest() *GetCustomStreamBadRequest
NewGetCustomStreamBadRequest creates GetCustomStreamBadRequest with default headers values
func (*GetCustomStreamBadRequest) WriteResponse ¶
func (o *GetCustomStreamBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCustomStreamHandler ¶
type GetCustomStreamHandler interface {
Handle(GetCustomStreamParams) middleware.Responder
}
GetCustomStreamHandler interface for that can handle valid get custom stream params
type GetCustomStreamHandlerFunc ¶
type GetCustomStreamHandlerFunc func(GetCustomStreamParams) middleware.Responder
GetCustomStreamHandlerFunc turns a function with the right signature into a get custom stream handler
func (GetCustomStreamHandlerFunc) Handle ¶
func (fn GetCustomStreamHandlerFunc) Handle(params GetCustomStreamParams) middleware.Responder
Handle executing the request and returning a response
type GetCustomStreamInternalServerError ¶
type GetCustomStreamInternalServerError struct { }
GetCustomStreamInternalServerError Server Error
swagger:response getCustomStreamInternalServerError
func NewGetCustomStreamInternalServerError ¶
func NewGetCustomStreamInternalServerError() *GetCustomStreamInternalServerError
NewGetCustomStreamInternalServerError creates GetCustomStreamInternalServerError with default headers values
func (*GetCustomStreamInternalServerError) WriteResponse ¶
func (o *GetCustomStreamInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCustomStreamOK ¶
GetCustomStreamOK Results without local ID
swagger:response getCustomStreamOK
func NewGetCustomStreamOK ¶
func NewGetCustomStreamOK() *GetCustomStreamOK
NewGetCustomStreamOK creates GetCustomStreamOK with default headers values
func (*GetCustomStreamOK) SetPayload ¶
func (o *GetCustomStreamOK) SetPayload(payload []*models.Data)
SetPayload sets the payload to the get custom stream o k response
func (*GetCustomStreamOK) WithPayload ¶
func (o *GetCustomStreamOK) WithPayload(payload []*models.Data) *GetCustomStreamOK
WithPayload adds the payload to the get custom stream o k response
func (*GetCustomStreamOK) WriteResponse ¶
func (o *GetCustomStreamOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type GetCustomStreamParams ¶
type GetCustomStreamParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` /* In: header */ XRequestID *string /*Ignored but available for compatibility with upstream. In: query */ AccessKey *string /*The UTC date in the format 'YYYYMMDD' Required: true In: query */ Date string /*Stream ID, default is the non-realtime RaBe program. Required: true In: path Default: "s-qXuJARB" */ StreamID string }
GetCustomStreamParams contains all the bound params for the get custom stream operation typically these are obtained from a http.Request
swagger:parameters getCustomStream
func NewGetCustomStreamParams ¶
func NewGetCustomStreamParams() GetCustomStreamParams
NewGetCustomStreamParams creates a new GetCustomStreamParams object with the default values initialized.
func (*GetCustomStreamParams) BindRequest ¶
func (o *GetCustomStreamParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewGetCustomStreamParams() beforehand.
type GetCustomStreamURL ¶
type GetCustomStreamURL struct { StreamID string AccessKey *string Date string // contains filtered or unexported fields }
GetCustomStreamURL generates an URL for the get custom stream operation
func (*GetCustomStreamURL) Build ¶
func (o *GetCustomStreamURL) Build() (*url.URL, error)
Build a url path and query string
func (*GetCustomStreamURL) BuildFull ¶
func (o *GetCustomStreamURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*GetCustomStreamURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*GetCustomStreamURL) SetBasePath ¶
func (o *GetCustomStreamURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*GetCustomStreamURL) String ¶
func (o *GetCustomStreamURL) String() string
String returns the string representation of the path with query string
func (*GetCustomStreamURL) StringFull ¶
func (o *GetCustomStreamURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*GetCustomStreamURL) WithBasePath ¶
func (o *GetCustomStreamURL) WithBasePath(bp string) *GetCustomStreamURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string