Documentation ¶
Index ¶
- type Client
- func (a *Client) GenerateNetworkCameraSnapshot(params *GenerateNetworkCameraSnapshotParams, ...) (*GenerateNetworkCameraSnapshotAccepted, error)
- func (a *Client) GetDeviceCameraQualityAndRetentionSettings(params *GetDeviceCameraQualityAndRetentionSettingsParams, ...) (*GetDeviceCameraQualityAndRetentionSettingsOK, error)
- func (a *Client) GetNetworkCameraSchedules(params *GetNetworkCameraSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkCameraSchedulesOK, error)
- func (a *Client) GetNetworkCameraVideoLink(params *GetNetworkCameraVideoLinkParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkCameraVideoLinkOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeviceCameraQualityAndRetentionSettings(params *UpdateDeviceCameraQualityAndRetentionSettingsParams, ...) (*UpdateDeviceCameraQualityAndRetentionSettingsOK, error)
- type ClientService
- type GenerateNetworkCameraSnapshotAccepted
- type GenerateNetworkCameraSnapshotParams
- func NewGenerateNetworkCameraSnapshotParams() *GenerateNetworkCameraSnapshotParams
- func NewGenerateNetworkCameraSnapshotParamsWithContext(ctx context.Context) *GenerateNetworkCameraSnapshotParams
- func NewGenerateNetworkCameraSnapshotParamsWithHTTPClient(client *http.Client) *GenerateNetworkCameraSnapshotParams
- func NewGenerateNetworkCameraSnapshotParamsWithTimeout(timeout time.Duration) *GenerateNetworkCameraSnapshotParams
- func (o *GenerateNetworkCameraSnapshotParams) SetContext(ctx context.Context)
- func (o *GenerateNetworkCameraSnapshotParams) SetGenerateNetworkCameraSnapshot(generateNetworkCameraSnapshot *models.GenerateNetworkCameraSnapshot)
- func (o *GenerateNetworkCameraSnapshotParams) SetHTTPClient(client *http.Client)
- func (o *GenerateNetworkCameraSnapshotParams) SetNetworkID(networkID string)
- func (o *GenerateNetworkCameraSnapshotParams) SetSerial(serial string)
- func (o *GenerateNetworkCameraSnapshotParams) SetTimeout(timeout time.Duration)
- func (o *GenerateNetworkCameraSnapshotParams) WithContext(ctx context.Context) *GenerateNetworkCameraSnapshotParams
- func (o *GenerateNetworkCameraSnapshotParams) WithGenerateNetworkCameraSnapshot(generateNetworkCameraSnapshot *models.GenerateNetworkCameraSnapshot) *GenerateNetworkCameraSnapshotParams
- func (o *GenerateNetworkCameraSnapshotParams) WithHTTPClient(client *http.Client) *GenerateNetworkCameraSnapshotParams
- func (o *GenerateNetworkCameraSnapshotParams) WithNetworkID(networkID string) *GenerateNetworkCameraSnapshotParams
- func (o *GenerateNetworkCameraSnapshotParams) WithSerial(serial string) *GenerateNetworkCameraSnapshotParams
- func (o *GenerateNetworkCameraSnapshotParams) WithTimeout(timeout time.Duration) *GenerateNetworkCameraSnapshotParams
- func (o *GenerateNetworkCameraSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GenerateNetworkCameraSnapshotReader
- type GetDeviceCameraQualityAndRetentionSettingsOK
- type GetDeviceCameraQualityAndRetentionSettingsParams
- func NewGetDeviceCameraQualityAndRetentionSettingsParams() *GetDeviceCameraQualityAndRetentionSettingsParams
- func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithContext(ctx context.Context) *GetDeviceCameraQualityAndRetentionSettingsParams
- func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithHTTPClient(client *http.Client) *GetDeviceCameraQualityAndRetentionSettingsParams
- func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithTimeout(timeout time.Duration) *GetDeviceCameraQualityAndRetentionSettingsParams
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) SetContext(ctx context.Context)
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) SetSerial(serial string)
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WithContext(ctx context.Context) *GetDeviceCameraQualityAndRetentionSettingsParams
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WithHTTPClient(client *http.Client) *GetDeviceCameraQualityAndRetentionSettingsParams
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WithSerial(serial string) *GetDeviceCameraQualityAndRetentionSettingsParams
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WithTimeout(timeout time.Duration) *GetDeviceCameraQualityAndRetentionSettingsParams
- func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceCameraQualityAndRetentionSettingsReader
- type GetNetworkCameraSchedulesOK
- type GetNetworkCameraSchedulesParams
- func NewGetNetworkCameraSchedulesParams() *GetNetworkCameraSchedulesParams
- func NewGetNetworkCameraSchedulesParamsWithContext(ctx context.Context) *GetNetworkCameraSchedulesParams
- func NewGetNetworkCameraSchedulesParamsWithHTTPClient(client *http.Client) *GetNetworkCameraSchedulesParams
- func NewGetNetworkCameraSchedulesParamsWithTimeout(timeout time.Duration) *GetNetworkCameraSchedulesParams
- func (o *GetNetworkCameraSchedulesParams) SetContext(ctx context.Context)
- func (o *GetNetworkCameraSchedulesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkCameraSchedulesParams) SetNetworkID(networkID string)
- func (o *GetNetworkCameraSchedulesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkCameraSchedulesParams) WithContext(ctx context.Context) *GetNetworkCameraSchedulesParams
- func (o *GetNetworkCameraSchedulesParams) WithHTTPClient(client *http.Client) *GetNetworkCameraSchedulesParams
- func (o *GetNetworkCameraSchedulesParams) WithNetworkID(networkID string) *GetNetworkCameraSchedulesParams
- func (o *GetNetworkCameraSchedulesParams) WithTimeout(timeout time.Duration) *GetNetworkCameraSchedulesParams
- func (o *GetNetworkCameraSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkCameraSchedulesReader
- type GetNetworkCameraVideoLinkOK
- type GetNetworkCameraVideoLinkParams
- func NewGetNetworkCameraVideoLinkParams() *GetNetworkCameraVideoLinkParams
- func NewGetNetworkCameraVideoLinkParamsWithContext(ctx context.Context) *GetNetworkCameraVideoLinkParams
- func NewGetNetworkCameraVideoLinkParamsWithHTTPClient(client *http.Client) *GetNetworkCameraVideoLinkParams
- func NewGetNetworkCameraVideoLinkParamsWithTimeout(timeout time.Duration) *GetNetworkCameraVideoLinkParams
- func (o *GetNetworkCameraVideoLinkParams) SetContext(ctx context.Context)
- func (o *GetNetworkCameraVideoLinkParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkCameraVideoLinkParams) SetNetworkID(networkID string)
- func (o *GetNetworkCameraVideoLinkParams) SetSerial(serial string)
- func (o *GetNetworkCameraVideoLinkParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkCameraVideoLinkParams) SetTimestamp(timestamp *string)
- func (o *GetNetworkCameraVideoLinkParams) WithContext(ctx context.Context) *GetNetworkCameraVideoLinkParams
- func (o *GetNetworkCameraVideoLinkParams) WithHTTPClient(client *http.Client) *GetNetworkCameraVideoLinkParams
- func (o *GetNetworkCameraVideoLinkParams) WithNetworkID(networkID string) *GetNetworkCameraVideoLinkParams
- func (o *GetNetworkCameraVideoLinkParams) WithSerial(serial string) *GetNetworkCameraVideoLinkParams
- func (o *GetNetworkCameraVideoLinkParams) WithTimeout(timeout time.Duration) *GetNetworkCameraVideoLinkParams
- func (o *GetNetworkCameraVideoLinkParams) WithTimestamp(timestamp *string) *GetNetworkCameraVideoLinkParams
- func (o *GetNetworkCameraVideoLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkCameraVideoLinkReader
- type UpdateDeviceCameraQualityAndRetentionSettingsOK
- type UpdateDeviceCameraQualityAndRetentionSettingsParams
- func NewUpdateDeviceCameraQualityAndRetentionSettingsParams() *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithContext(ctx context.Context) *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithHTTPClient(client *http.Client) *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithTimeout(timeout time.Duration) *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetSerial(serial string)
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetUpdateDeviceCameraQualityAndRetentionSettings(...)
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithContext(ctx context.Context) *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithHTTPClient(client *http.Client) *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithSerial(serial string) *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithTimeout(timeout time.Duration) *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithUpdateDeviceCameraQualityAndRetentionSettings(...) *UpdateDeviceCameraQualityAndRetentionSettingsParams
- func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceCameraQualityAndRetentionSettingsReader
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 cameras API
func (*Client) GenerateNetworkCameraSnapshot ¶
func (a *Client) GenerateNetworkCameraSnapshot(params *GenerateNetworkCameraSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateNetworkCameraSnapshotAccepted, error)
GenerateNetworkCameraSnapshot generates network camera snapshot
Generate a snapshot of what the camera sees at the specified time and return a link to that image.
func (*Client) GetDeviceCameraQualityAndRetentionSettings ¶
func (a *Client) GetDeviceCameraQualityAndRetentionSettings(params *GetDeviceCameraQualityAndRetentionSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraQualityAndRetentionSettingsOK, error)
GetDeviceCameraQualityAndRetentionSettings gets device camera quality and retention settings
Returns quality and retention settings for the given camera
func (*Client) GetNetworkCameraSchedules ¶
func (a *Client) GetNetworkCameraSchedules(params *GetNetworkCameraSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkCameraSchedulesOK, error)
GetNetworkCameraSchedules gets network camera schedules
Returns a list of all camera recording schedules.
func (*Client) GetNetworkCameraVideoLink ¶
func (a *Client) GetNetworkCameraVideoLink(params *GetNetworkCameraVideoLinkParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkCameraVideoLinkOK, error)
GetNetworkCameraVideoLink gets network camera video link
Returns video link to the specified camera. If a timestamp is supplied, it links to that timestamp.
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDeviceCameraQualityAndRetentionSettings ¶
func (a *Client) UpdateDeviceCameraQualityAndRetentionSettings(params *UpdateDeviceCameraQualityAndRetentionSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceCameraQualityAndRetentionSettingsOK, error)
UpdateDeviceCameraQualityAndRetentionSettings updates device camera quality and retention settings
Update quality and retention settings for the given camera
type ClientService ¶
type ClientService interface { GenerateNetworkCameraSnapshot(params *GenerateNetworkCameraSnapshotParams, authInfo runtime.ClientAuthInfoWriter) (*GenerateNetworkCameraSnapshotAccepted, error) GetDeviceCameraQualityAndRetentionSettings(params *GetDeviceCameraQualityAndRetentionSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraQualityAndRetentionSettingsOK, error) GetNetworkCameraSchedules(params *GetNetworkCameraSchedulesParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkCameraSchedulesOK, error) GetNetworkCameraVideoLink(params *GetNetworkCameraVideoLinkParams, authInfo runtime.ClientAuthInfoWriter) (*GetNetworkCameraVideoLinkOK, error) UpdateDeviceCameraQualityAndRetentionSettings(params *UpdateDeviceCameraQualityAndRetentionSettingsParams, authInfo runtime.ClientAuthInfoWriter) (*UpdateDeviceCameraQualityAndRetentionSettingsOK, 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 cameras API client.
type GenerateNetworkCameraSnapshotAccepted ¶
type GenerateNetworkCameraSnapshotAccepted struct {
Payload interface{}
}
GenerateNetworkCameraSnapshotAccepted handles this case with default header values.
Successful operation
func NewGenerateNetworkCameraSnapshotAccepted ¶
func NewGenerateNetworkCameraSnapshotAccepted() *GenerateNetworkCameraSnapshotAccepted
NewGenerateNetworkCameraSnapshotAccepted creates a GenerateNetworkCameraSnapshotAccepted with default headers values
func (*GenerateNetworkCameraSnapshotAccepted) Error ¶
func (o *GenerateNetworkCameraSnapshotAccepted) Error() string
func (*GenerateNetworkCameraSnapshotAccepted) GetPayload ¶
func (o *GenerateNetworkCameraSnapshotAccepted) GetPayload() interface{}
type GenerateNetworkCameraSnapshotParams ¶
type GenerateNetworkCameraSnapshotParams struct { /*GenerateNetworkCameraSnapshot*/ GenerateNetworkCameraSnapshot *models.GenerateNetworkCameraSnapshot /*NetworkID*/ NetworkID string /*Serial*/ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GenerateNetworkCameraSnapshotParams contains all the parameters to send to the API endpoint for the generate network camera snapshot operation typically these are written to a http.Request
func NewGenerateNetworkCameraSnapshotParams ¶
func NewGenerateNetworkCameraSnapshotParams() *GenerateNetworkCameraSnapshotParams
NewGenerateNetworkCameraSnapshotParams creates a new GenerateNetworkCameraSnapshotParams object with the default values initialized.
func NewGenerateNetworkCameraSnapshotParamsWithContext ¶
func NewGenerateNetworkCameraSnapshotParamsWithContext(ctx context.Context) *GenerateNetworkCameraSnapshotParams
NewGenerateNetworkCameraSnapshotParamsWithContext creates a new GenerateNetworkCameraSnapshotParams object with the default values initialized, and the ability to set a context for a request
func NewGenerateNetworkCameraSnapshotParamsWithHTTPClient ¶
func NewGenerateNetworkCameraSnapshotParamsWithHTTPClient(client *http.Client) *GenerateNetworkCameraSnapshotParams
NewGenerateNetworkCameraSnapshotParamsWithHTTPClient creates a new GenerateNetworkCameraSnapshotParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGenerateNetworkCameraSnapshotParamsWithTimeout ¶
func NewGenerateNetworkCameraSnapshotParamsWithTimeout(timeout time.Duration) *GenerateNetworkCameraSnapshotParams
NewGenerateNetworkCameraSnapshotParamsWithTimeout creates a new GenerateNetworkCameraSnapshotParams object with the default values initialized, and the ability to set a timeout on a request
func (*GenerateNetworkCameraSnapshotParams) SetContext ¶
func (o *GenerateNetworkCameraSnapshotParams) SetContext(ctx context.Context)
SetContext adds the context to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) SetGenerateNetworkCameraSnapshot ¶
func (o *GenerateNetworkCameraSnapshotParams) SetGenerateNetworkCameraSnapshot(generateNetworkCameraSnapshot *models.GenerateNetworkCameraSnapshot)
SetGenerateNetworkCameraSnapshot adds the generateNetworkCameraSnapshot to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) SetHTTPClient ¶
func (o *GenerateNetworkCameraSnapshotParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) SetNetworkID ¶
func (o *GenerateNetworkCameraSnapshotParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) SetSerial ¶
func (o *GenerateNetworkCameraSnapshotParams) SetSerial(serial string)
SetSerial adds the serial to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) SetTimeout ¶
func (o *GenerateNetworkCameraSnapshotParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) WithContext ¶
func (o *GenerateNetworkCameraSnapshotParams) WithContext(ctx context.Context) *GenerateNetworkCameraSnapshotParams
WithContext adds the context to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) WithGenerateNetworkCameraSnapshot ¶
func (o *GenerateNetworkCameraSnapshotParams) WithGenerateNetworkCameraSnapshot(generateNetworkCameraSnapshot *models.GenerateNetworkCameraSnapshot) *GenerateNetworkCameraSnapshotParams
WithGenerateNetworkCameraSnapshot adds the generateNetworkCameraSnapshot to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) WithHTTPClient ¶
func (o *GenerateNetworkCameraSnapshotParams) WithHTTPClient(client *http.Client) *GenerateNetworkCameraSnapshotParams
WithHTTPClient adds the HTTPClient to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) WithNetworkID ¶
func (o *GenerateNetworkCameraSnapshotParams) WithNetworkID(networkID string) *GenerateNetworkCameraSnapshotParams
WithNetworkID adds the networkID to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) WithSerial ¶
func (o *GenerateNetworkCameraSnapshotParams) WithSerial(serial string) *GenerateNetworkCameraSnapshotParams
WithSerial adds the serial to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) WithTimeout ¶
func (o *GenerateNetworkCameraSnapshotParams) WithTimeout(timeout time.Duration) *GenerateNetworkCameraSnapshotParams
WithTimeout adds the timeout to the generate network camera snapshot params
func (*GenerateNetworkCameraSnapshotParams) WriteToRequest ¶
func (o *GenerateNetworkCameraSnapshotParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GenerateNetworkCameraSnapshotReader ¶
type GenerateNetworkCameraSnapshotReader struct {
// contains filtered or unexported fields
}
GenerateNetworkCameraSnapshotReader is a Reader for the GenerateNetworkCameraSnapshot structure.
func (*GenerateNetworkCameraSnapshotReader) ReadResponse ¶
func (o *GenerateNetworkCameraSnapshotReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceCameraQualityAndRetentionSettingsOK ¶
type GetDeviceCameraQualityAndRetentionSettingsOK struct {
Payload interface{}
}
GetDeviceCameraQualityAndRetentionSettingsOK handles this case with default header values.
Successful operation
func NewGetDeviceCameraQualityAndRetentionSettingsOK ¶
func NewGetDeviceCameraQualityAndRetentionSettingsOK() *GetDeviceCameraQualityAndRetentionSettingsOK
NewGetDeviceCameraQualityAndRetentionSettingsOK creates a GetDeviceCameraQualityAndRetentionSettingsOK with default headers values
func (*GetDeviceCameraQualityAndRetentionSettingsOK) Error ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsOK) Error() string
func (*GetDeviceCameraQualityAndRetentionSettingsOK) GetPayload ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsOK) GetPayload() interface{}
type GetDeviceCameraQualityAndRetentionSettingsParams ¶
type GetDeviceCameraQualityAndRetentionSettingsParams struct { /*Serial*/ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceCameraQualityAndRetentionSettingsParams contains all the parameters to send to the API endpoint for the get device camera quality and retention settings operation typically these are written to a http.Request
func NewGetDeviceCameraQualityAndRetentionSettingsParams ¶
func NewGetDeviceCameraQualityAndRetentionSettingsParams() *GetDeviceCameraQualityAndRetentionSettingsParams
NewGetDeviceCameraQualityAndRetentionSettingsParams creates a new GetDeviceCameraQualityAndRetentionSettingsParams object with the default values initialized.
func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithContext ¶
func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithContext(ctx context.Context) *GetDeviceCameraQualityAndRetentionSettingsParams
NewGetDeviceCameraQualityAndRetentionSettingsParamsWithContext creates a new GetDeviceCameraQualityAndRetentionSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithHTTPClient ¶
func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithHTTPClient(client *http.Client) *GetDeviceCameraQualityAndRetentionSettingsParams
NewGetDeviceCameraQualityAndRetentionSettingsParamsWithHTTPClient creates a new GetDeviceCameraQualityAndRetentionSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithTimeout ¶
func NewGetDeviceCameraQualityAndRetentionSettingsParamsWithTimeout(timeout time.Duration) *GetDeviceCameraQualityAndRetentionSettingsParams
NewGetDeviceCameraQualityAndRetentionSettingsParamsWithTimeout creates a new GetDeviceCameraQualityAndRetentionSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetDeviceCameraQualityAndRetentionSettingsParams) SetContext ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the get device camera quality and retention settings params
func (*GetDeviceCameraQualityAndRetentionSettingsParams) SetHTTPClient ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device camera quality and retention settings params
func (*GetDeviceCameraQualityAndRetentionSettingsParams) SetSerial ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) SetSerial(serial string)
SetSerial adds the serial to the get device camera quality and retention settings params
func (*GetDeviceCameraQualityAndRetentionSettingsParams) SetTimeout ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device camera quality and retention settings params
func (*GetDeviceCameraQualityAndRetentionSettingsParams) WithContext ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WithContext(ctx context.Context) *GetDeviceCameraQualityAndRetentionSettingsParams
WithContext adds the context to the get device camera quality and retention settings params
func (*GetDeviceCameraQualityAndRetentionSettingsParams) WithHTTPClient ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WithHTTPClient(client *http.Client) *GetDeviceCameraQualityAndRetentionSettingsParams
WithHTTPClient adds the HTTPClient to the get device camera quality and retention settings params
func (*GetDeviceCameraQualityAndRetentionSettingsParams) WithSerial ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WithSerial(serial string) *GetDeviceCameraQualityAndRetentionSettingsParams
WithSerial adds the serial to the get device camera quality and retention settings params
func (*GetDeviceCameraQualityAndRetentionSettingsParams) WithTimeout ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WithTimeout(timeout time.Duration) *GetDeviceCameraQualityAndRetentionSettingsParams
WithTimeout adds the timeout to the get device camera quality and retention settings params
func (*GetDeviceCameraQualityAndRetentionSettingsParams) WriteToRequest ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceCameraQualityAndRetentionSettingsReader ¶
type GetDeviceCameraQualityAndRetentionSettingsReader struct {
// contains filtered or unexported fields
}
GetDeviceCameraQualityAndRetentionSettingsReader is a Reader for the GetDeviceCameraQualityAndRetentionSettings structure.
func (*GetDeviceCameraQualityAndRetentionSettingsReader) ReadResponse ¶
func (o *GetDeviceCameraQualityAndRetentionSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkCameraSchedulesOK ¶
type GetNetworkCameraSchedulesOK struct {
Payload interface{}
}
GetNetworkCameraSchedulesOK handles this case with default header values.
Successful operation
func NewGetNetworkCameraSchedulesOK ¶
func NewGetNetworkCameraSchedulesOK() *GetNetworkCameraSchedulesOK
NewGetNetworkCameraSchedulesOK creates a GetNetworkCameraSchedulesOK with default headers values
func (*GetNetworkCameraSchedulesOK) Error ¶
func (o *GetNetworkCameraSchedulesOK) Error() string
func (*GetNetworkCameraSchedulesOK) GetPayload ¶
func (o *GetNetworkCameraSchedulesOK) GetPayload() interface{}
type GetNetworkCameraSchedulesParams ¶
type GetNetworkCameraSchedulesParams struct { /*NetworkID*/ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkCameraSchedulesParams contains all the parameters to send to the API endpoint for the get network camera schedules operation typically these are written to a http.Request
func NewGetNetworkCameraSchedulesParams ¶
func NewGetNetworkCameraSchedulesParams() *GetNetworkCameraSchedulesParams
NewGetNetworkCameraSchedulesParams creates a new GetNetworkCameraSchedulesParams object with the default values initialized.
func NewGetNetworkCameraSchedulesParamsWithContext ¶
func NewGetNetworkCameraSchedulesParamsWithContext(ctx context.Context) *GetNetworkCameraSchedulesParams
NewGetNetworkCameraSchedulesParamsWithContext creates a new GetNetworkCameraSchedulesParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkCameraSchedulesParamsWithHTTPClient ¶
func NewGetNetworkCameraSchedulesParamsWithHTTPClient(client *http.Client) *GetNetworkCameraSchedulesParams
NewGetNetworkCameraSchedulesParamsWithHTTPClient creates a new GetNetworkCameraSchedulesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkCameraSchedulesParamsWithTimeout ¶
func NewGetNetworkCameraSchedulesParamsWithTimeout(timeout time.Duration) *GetNetworkCameraSchedulesParams
NewGetNetworkCameraSchedulesParamsWithTimeout creates a new GetNetworkCameraSchedulesParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkCameraSchedulesParams) SetContext ¶
func (o *GetNetworkCameraSchedulesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network camera schedules params
func (*GetNetworkCameraSchedulesParams) SetHTTPClient ¶
func (o *GetNetworkCameraSchedulesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network camera schedules params
func (*GetNetworkCameraSchedulesParams) SetNetworkID ¶
func (o *GetNetworkCameraSchedulesParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network camera schedules params
func (*GetNetworkCameraSchedulesParams) SetTimeout ¶
func (o *GetNetworkCameraSchedulesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network camera schedules params
func (*GetNetworkCameraSchedulesParams) WithContext ¶
func (o *GetNetworkCameraSchedulesParams) WithContext(ctx context.Context) *GetNetworkCameraSchedulesParams
WithContext adds the context to the get network camera schedules params
func (*GetNetworkCameraSchedulesParams) WithHTTPClient ¶
func (o *GetNetworkCameraSchedulesParams) WithHTTPClient(client *http.Client) *GetNetworkCameraSchedulesParams
WithHTTPClient adds the HTTPClient to the get network camera schedules params
func (*GetNetworkCameraSchedulesParams) WithNetworkID ¶
func (o *GetNetworkCameraSchedulesParams) WithNetworkID(networkID string) *GetNetworkCameraSchedulesParams
WithNetworkID adds the networkID to the get network camera schedules params
func (*GetNetworkCameraSchedulesParams) WithTimeout ¶
func (o *GetNetworkCameraSchedulesParams) WithTimeout(timeout time.Duration) *GetNetworkCameraSchedulesParams
WithTimeout adds the timeout to the get network camera schedules params
func (*GetNetworkCameraSchedulesParams) WriteToRequest ¶
func (o *GetNetworkCameraSchedulesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkCameraSchedulesReader ¶
type GetNetworkCameraSchedulesReader struct {
// contains filtered or unexported fields
}
GetNetworkCameraSchedulesReader is a Reader for the GetNetworkCameraSchedules structure.
func (*GetNetworkCameraSchedulesReader) ReadResponse ¶
func (o *GetNetworkCameraSchedulesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkCameraVideoLinkOK ¶
type GetNetworkCameraVideoLinkOK struct {
Payload interface{}
}
GetNetworkCameraVideoLinkOK handles this case with default header values.
Successful operation
func NewGetNetworkCameraVideoLinkOK ¶
func NewGetNetworkCameraVideoLinkOK() *GetNetworkCameraVideoLinkOK
NewGetNetworkCameraVideoLinkOK creates a GetNetworkCameraVideoLinkOK with default headers values
func (*GetNetworkCameraVideoLinkOK) Error ¶
func (o *GetNetworkCameraVideoLinkOK) Error() string
func (*GetNetworkCameraVideoLinkOK) GetPayload ¶
func (o *GetNetworkCameraVideoLinkOK) GetPayload() interface{}
type GetNetworkCameraVideoLinkParams ¶
type GetNetworkCameraVideoLinkParams struct { /*NetworkID*/ NetworkID string /*Serial*/ Serial string /*Timestamp [optional] The video link will start at this timestamp. The timestamp is in UNIX Epoch time (milliseconds). If no timestamp is specified, we will assume current time. */ Timestamp *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkCameraVideoLinkParams contains all the parameters to send to the API endpoint for the get network camera video link operation typically these are written to a http.Request
func NewGetNetworkCameraVideoLinkParams ¶
func NewGetNetworkCameraVideoLinkParams() *GetNetworkCameraVideoLinkParams
NewGetNetworkCameraVideoLinkParams creates a new GetNetworkCameraVideoLinkParams object with the default values initialized.
func NewGetNetworkCameraVideoLinkParamsWithContext ¶
func NewGetNetworkCameraVideoLinkParamsWithContext(ctx context.Context) *GetNetworkCameraVideoLinkParams
NewGetNetworkCameraVideoLinkParamsWithContext creates a new GetNetworkCameraVideoLinkParams object with the default values initialized, and the ability to set a context for a request
func NewGetNetworkCameraVideoLinkParamsWithHTTPClient ¶
func NewGetNetworkCameraVideoLinkParamsWithHTTPClient(client *http.Client) *GetNetworkCameraVideoLinkParams
NewGetNetworkCameraVideoLinkParamsWithHTTPClient creates a new GetNetworkCameraVideoLinkParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewGetNetworkCameraVideoLinkParamsWithTimeout ¶
func NewGetNetworkCameraVideoLinkParamsWithTimeout(timeout time.Duration) *GetNetworkCameraVideoLinkParams
NewGetNetworkCameraVideoLinkParamsWithTimeout creates a new GetNetworkCameraVideoLinkParams object with the default values initialized, and the ability to set a timeout on a request
func (*GetNetworkCameraVideoLinkParams) SetContext ¶
func (o *GetNetworkCameraVideoLinkParams) SetContext(ctx context.Context)
SetContext adds the context to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) SetHTTPClient ¶
func (o *GetNetworkCameraVideoLinkParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) SetNetworkID ¶
func (o *GetNetworkCameraVideoLinkParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) SetSerial ¶
func (o *GetNetworkCameraVideoLinkParams) SetSerial(serial string)
SetSerial adds the serial to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) SetTimeout ¶
func (o *GetNetworkCameraVideoLinkParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) SetTimestamp ¶
func (o *GetNetworkCameraVideoLinkParams) SetTimestamp(timestamp *string)
SetTimestamp adds the timestamp to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) WithContext ¶
func (o *GetNetworkCameraVideoLinkParams) WithContext(ctx context.Context) *GetNetworkCameraVideoLinkParams
WithContext adds the context to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) WithHTTPClient ¶
func (o *GetNetworkCameraVideoLinkParams) WithHTTPClient(client *http.Client) *GetNetworkCameraVideoLinkParams
WithHTTPClient adds the HTTPClient to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) WithNetworkID ¶
func (o *GetNetworkCameraVideoLinkParams) WithNetworkID(networkID string) *GetNetworkCameraVideoLinkParams
WithNetworkID adds the networkID to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) WithSerial ¶
func (o *GetNetworkCameraVideoLinkParams) WithSerial(serial string) *GetNetworkCameraVideoLinkParams
WithSerial adds the serial to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) WithTimeout ¶
func (o *GetNetworkCameraVideoLinkParams) WithTimeout(timeout time.Duration) *GetNetworkCameraVideoLinkParams
WithTimeout adds the timeout to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) WithTimestamp ¶
func (o *GetNetworkCameraVideoLinkParams) WithTimestamp(timestamp *string) *GetNetworkCameraVideoLinkParams
WithTimestamp adds the timestamp to the get network camera video link params
func (*GetNetworkCameraVideoLinkParams) WriteToRequest ¶
func (o *GetNetworkCameraVideoLinkParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkCameraVideoLinkReader ¶
type GetNetworkCameraVideoLinkReader struct {
// contains filtered or unexported fields
}
GetNetworkCameraVideoLinkReader is a Reader for the GetNetworkCameraVideoLink structure.
func (*GetNetworkCameraVideoLinkReader) ReadResponse ¶
func (o *GetNetworkCameraVideoLinkReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeviceCameraQualityAndRetentionSettingsOK ¶
type UpdateDeviceCameraQualityAndRetentionSettingsOK struct {
Payload interface{}
}
UpdateDeviceCameraQualityAndRetentionSettingsOK handles this case with default header values.
Successful operation
func NewUpdateDeviceCameraQualityAndRetentionSettingsOK ¶
func NewUpdateDeviceCameraQualityAndRetentionSettingsOK() *UpdateDeviceCameraQualityAndRetentionSettingsOK
NewUpdateDeviceCameraQualityAndRetentionSettingsOK creates a UpdateDeviceCameraQualityAndRetentionSettingsOK with default headers values
func (*UpdateDeviceCameraQualityAndRetentionSettingsOK) Error ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsOK) Error() string
func (*UpdateDeviceCameraQualityAndRetentionSettingsOK) GetPayload ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsOK) GetPayload() interface{}
type UpdateDeviceCameraQualityAndRetentionSettingsParams ¶
type UpdateDeviceCameraQualityAndRetentionSettingsParams struct { /*Serial*/ Serial string /*UpdateDeviceCameraQualityAndRetentionSettings*/ UpdateDeviceCameraQualityAndRetentionSettings *models.UpdateDeviceCameraQualityAndRetentionSettings Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceCameraQualityAndRetentionSettingsParams contains all the parameters to send to the API endpoint for the update device camera quality and retention settings operation typically these are written to a http.Request
func NewUpdateDeviceCameraQualityAndRetentionSettingsParams ¶
func NewUpdateDeviceCameraQualityAndRetentionSettingsParams() *UpdateDeviceCameraQualityAndRetentionSettingsParams
NewUpdateDeviceCameraQualityAndRetentionSettingsParams creates a new UpdateDeviceCameraQualityAndRetentionSettingsParams object with the default values initialized.
func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithContext ¶
func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithContext(ctx context.Context) *UpdateDeviceCameraQualityAndRetentionSettingsParams
NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithContext creates a new UpdateDeviceCameraQualityAndRetentionSettingsParams object with the default values initialized, and the ability to set a context for a request
func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithHTTPClient ¶
func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithHTTPClient(client *http.Client) *UpdateDeviceCameraQualityAndRetentionSettingsParams
NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithHTTPClient creates a new UpdateDeviceCameraQualityAndRetentionSettingsParams object with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithTimeout ¶
func NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithTimeout(timeout time.Duration) *UpdateDeviceCameraQualityAndRetentionSettingsParams
NewUpdateDeviceCameraQualityAndRetentionSettingsParamsWithTimeout creates a new UpdateDeviceCameraQualityAndRetentionSettingsParams object with the default values initialized, and the ability to set a timeout on a request
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) SetContext ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetContext(ctx context.Context)
SetContext adds the context to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) SetHTTPClient ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) SetSerial ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetSerial(serial string)
SetSerial adds the serial to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) SetTimeout ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) SetUpdateDeviceCameraQualityAndRetentionSettings ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) SetUpdateDeviceCameraQualityAndRetentionSettings(updateDeviceCameraQualityAndRetentionSettings *models.UpdateDeviceCameraQualityAndRetentionSettings)
SetUpdateDeviceCameraQualityAndRetentionSettings adds the updateDeviceCameraQualityAndRetentionSettings to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) WithContext ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithContext(ctx context.Context) *UpdateDeviceCameraQualityAndRetentionSettingsParams
WithContext adds the context to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) WithHTTPClient ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithHTTPClient(client *http.Client) *UpdateDeviceCameraQualityAndRetentionSettingsParams
WithHTTPClient adds the HTTPClient to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) WithSerial ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithSerial(serial string) *UpdateDeviceCameraQualityAndRetentionSettingsParams
WithSerial adds the serial to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) WithTimeout ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithTimeout(timeout time.Duration) *UpdateDeviceCameraQualityAndRetentionSettingsParams
WithTimeout adds the timeout to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) WithUpdateDeviceCameraQualityAndRetentionSettings ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WithUpdateDeviceCameraQualityAndRetentionSettings(updateDeviceCameraQualityAndRetentionSettings *models.UpdateDeviceCameraQualityAndRetentionSettings) *UpdateDeviceCameraQualityAndRetentionSettingsParams
WithUpdateDeviceCameraQualityAndRetentionSettings adds the updateDeviceCameraQualityAndRetentionSettings to the update device camera quality and retention settings params
func (*UpdateDeviceCameraQualityAndRetentionSettingsParams) WriteToRequest ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDeviceCameraQualityAndRetentionSettingsReader ¶
type UpdateDeviceCameraQualityAndRetentionSettingsReader struct {
// contains filtered or unexported fields
}
UpdateDeviceCameraQualityAndRetentionSettingsReader is a Reader for the UpdateDeviceCameraQualityAndRetentionSettings structure.
func (*UpdateDeviceCameraQualityAndRetentionSettingsReader) ReadResponse ¶
func (o *UpdateDeviceCameraQualityAndRetentionSettingsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files ¶
- cameras_client.go
- generate_network_camera_snapshot_parameters.go
- generate_network_camera_snapshot_responses.go
- get_device_camera_quality_and_retention_settings_parameters.go
- get_device_camera_quality_and_retention_settings_responses.go
- get_network_camera_schedules_parameters.go
- get_network_camera_schedules_responses.go
- get_network_camera_video_link_parameters.go
- get_network_camera_video_link_responses.go
- update_device_camera_quality_and_retention_settings_parameters.go
- update_device_camera_quality_and_retention_settings_responses.go