m_v_sense

package
v0.0.0-...-b7c797c Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client for m v sense API

func (*Client) GetDeviceCameraAnalyticsLive

func (a *Client) GetDeviceCameraAnalyticsLive(params *GetDeviceCameraAnalyticsLiveParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraAnalyticsLiveOK, error)

GetDeviceCameraAnalyticsLive gets device camera analytics live

Returns live state from camera of analytics zones

func (*Client) GetDeviceCameraAnalyticsOverview

GetDeviceCameraAnalyticsOverview gets device camera analytics overview

Returns an overview of aggregate analytics data for a timespan

func (*Client) GetDeviceCameraAnalyticsRecent

func (a *Client) GetDeviceCameraAnalyticsRecent(params *GetDeviceCameraAnalyticsRecentParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraAnalyticsRecentOK, error)

GetDeviceCameraAnalyticsRecent gets device camera analytics recent

Returns most recent record for analytics zones

func (*Client) GetDeviceCameraAnalyticsZoneHistory

GetDeviceCameraAnalyticsZoneHistory gets device camera analytics zone history

Return historical records for analytic zones

func (*Client) GetDeviceCameraAnalyticsZones

func (a *Client) GetDeviceCameraAnalyticsZones(params *GetDeviceCameraAnalyticsZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraAnalyticsZonesOK, error)

GetDeviceCameraAnalyticsZones gets device camera analytics zones

Returns all configured analytic zones for this camera

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientService

type ClientService interface {
	GetDeviceCameraAnalyticsLive(params *GetDeviceCameraAnalyticsLiveParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraAnalyticsLiveOK, error)

	GetDeviceCameraAnalyticsOverview(params *GetDeviceCameraAnalyticsOverviewParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraAnalyticsOverviewOK, error)

	GetDeviceCameraAnalyticsRecent(params *GetDeviceCameraAnalyticsRecentParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraAnalyticsRecentOK, error)

	GetDeviceCameraAnalyticsZoneHistory(params *GetDeviceCameraAnalyticsZoneHistoryParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraAnalyticsZoneHistoryOK, error)

	GetDeviceCameraAnalyticsZones(params *GetDeviceCameraAnalyticsZonesParams, authInfo runtime.ClientAuthInfoWriter) (*GetDeviceCameraAnalyticsZonesOK, 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 m v sense API client.

type GetDeviceCameraAnalyticsLiveOK

type GetDeviceCameraAnalyticsLiveOK struct {
	Payload interface{}
}

GetDeviceCameraAnalyticsLiveOK handles this case with default header values.

Successful operation

func NewGetDeviceCameraAnalyticsLiveOK

func NewGetDeviceCameraAnalyticsLiveOK() *GetDeviceCameraAnalyticsLiveOK

NewGetDeviceCameraAnalyticsLiveOK creates a GetDeviceCameraAnalyticsLiveOK with default headers values

func (*GetDeviceCameraAnalyticsLiveOK) Error

func (*GetDeviceCameraAnalyticsLiveOK) GetPayload

func (o *GetDeviceCameraAnalyticsLiveOK) GetPayload() interface{}

type GetDeviceCameraAnalyticsLiveParams

type GetDeviceCameraAnalyticsLiveParams struct {

	/*Serial*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceCameraAnalyticsLiveParams contains all the parameters to send to the API endpoint for the get device camera analytics live operation typically these are written to a http.Request

func NewGetDeviceCameraAnalyticsLiveParams

func NewGetDeviceCameraAnalyticsLiveParams() *GetDeviceCameraAnalyticsLiveParams

NewGetDeviceCameraAnalyticsLiveParams creates a new GetDeviceCameraAnalyticsLiveParams object with the default values initialized.

func NewGetDeviceCameraAnalyticsLiveParamsWithContext

func NewGetDeviceCameraAnalyticsLiveParamsWithContext(ctx context.Context) *GetDeviceCameraAnalyticsLiveParams

NewGetDeviceCameraAnalyticsLiveParamsWithContext creates a new GetDeviceCameraAnalyticsLiveParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceCameraAnalyticsLiveParamsWithHTTPClient

func NewGetDeviceCameraAnalyticsLiveParamsWithHTTPClient(client *http.Client) *GetDeviceCameraAnalyticsLiveParams

NewGetDeviceCameraAnalyticsLiveParamsWithHTTPClient creates a new GetDeviceCameraAnalyticsLiveParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceCameraAnalyticsLiveParamsWithTimeout

func NewGetDeviceCameraAnalyticsLiveParamsWithTimeout(timeout time.Duration) *GetDeviceCameraAnalyticsLiveParams

NewGetDeviceCameraAnalyticsLiveParamsWithTimeout creates a new GetDeviceCameraAnalyticsLiveParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceCameraAnalyticsLiveParams) SetContext

SetContext adds the context to the get device camera analytics live params

func (*GetDeviceCameraAnalyticsLiveParams) SetHTTPClient

func (o *GetDeviceCameraAnalyticsLiveParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device camera analytics live params

func (*GetDeviceCameraAnalyticsLiveParams) SetSerial

func (o *GetDeviceCameraAnalyticsLiveParams) SetSerial(serial string)

SetSerial adds the serial to the get device camera analytics live params

func (*GetDeviceCameraAnalyticsLiveParams) SetTimeout

func (o *GetDeviceCameraAnalyticsLiveParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device camera analytics live params

func (*GetDeviceCameraAnalyticsLiveParams) WithContext

WithContext adds the context to the get device camera analytics live params

func (*GetDeviceCameraAnalyticsLiveParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device camera analytics live params

func (*GetDeviceCameraAnalyticsLiveParams) WithSerial

WithSerial adds the serial to the get device camera analytics live params

func (*GetDeviceCameraAnalyticsLiveParams) WithTimeout

WithTimeout adds the timeout to the get device camera analytics live params

func (*GetDeviceCameraAnalyticsLiveParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceCameraAnalyticsLiveReader

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

GetDeviceCameraAnalyticsLiveReader is a Reader for the GetDeviceCameraAnalyticsLive structure.

func (*GetDeviceCameraAnalyticsLiveReader) ReadResponse

func (o *GetDeviceCameraAnalyticsLiveReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceCameraAnalyticsOverviewOK

type GetDeviceCameraAnalyticsOverviewOK struct {
	Payload interface{}
}

GetDeviceCameraAnalyticsOverviewOK handles this case with default header values.

Successful operation

func NewGetDeviceCameraAnalyticsOverviewOK

func NewGetDeviceCameraAnalyticsOverviewOK() *GetDeviceCameraAnalyticsOverviewOK

NewGetDeviceCameraAnalyticsOverviewOK creates a GetDeviceCameraAnalyticsOverviewOK with default headers values

func (*GetDeviceCameraAnalyticsOverviewOK) Error

func (*GetDeviceCameraAnalyticsOverviewOK) GetPayload

func (o *GetDeviceCameraAnalyticsOverviewOK) GetPayload() interface{}

type GetDeviceCameraAnalyticsOverviewParams

type GetDeviceCameraAnalyticsOverviewParams struct {

	/*ObjectType
	  [optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle].

	*/
	ObjectType *string
	/*Serial*/
	Serial string
	/*T0
	  The beginning of the timespan for the data. The maximum lookback period is 365 days from today.

	*/
	T0 *string
	/*T1
	  The end of the timespan for the data. t1 can be a maximum of 7 days after t0.

	*/
	T1 *string
	/*Timespan
	  The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 7 days. The default is 1 hour.

	*/
	Timespan *float64

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceCameraAnalyticsOverviewParams contains all the parameters to send to the API endpoint for the get device camera analytics overview operation typically these are written to a http.Request

func NewGetDeviceCameraAnalyticsOverviewParams

func NewGetDeviceCameraAnalyticsOverviewParams() *GetDeviceCameraAnalyticsOverviewParams

NewGetDeviceCameraAnalyticsOverviewParams creates a new GetDeviceCameraAnalyticsOverviewParams object with the default values initialized.

func NewGetDeviceCameraAnalyticsOverviewParamsWithContext

func NewGetDeviceCameraAnalyticsOverviewParamsWithContext(ctx context.Context) *GetDeviceCameraAnalyticsOverviewParams

NewGetDeviceCameraAnalyticsOverviewParamsWithContext creates a new GetDeviceCameraAnalyticsOverviewParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceCameraAnalyticsOverviewParamsWithHTTPClient

func NewGetDeviceCameraAnalyticsOverviewParamsWithHTTPClient(client *http.Client) *GetDeviceCameraAnalyticsOverviewParams

NewGetDeviceCameraAnalyticsOverviewParamsWithHTTPClient creates a new GetDeviceCameraAnalyticsOverviewParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceCameraAnalyticsOverviewParamsWithTimeout

func NewGetDeviceCameraAnalyticsOverviewParamsWithTimeout(timeout time.Duration) *GetDeviceCameraAnalyticsOverviewParams

NewGetDeviceCameraAnalyticsOverviewParamsWithTimeout creates a new GetDeviceCameraAnalyticsOverviewParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceCameraAnalyticsOverviewParams) SetContext

SetContext adds the context to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) SetHTTPClient

func (o *GetDeviceCameraAnalyticsOverviewParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) SetObjectType

func (o *GetDeviceCameraAnalyticsOverviewParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) SetSerial

func (o *GetDeviceCameraAnalyticsOverviewParams) SetSerial(serial string)

SetSerial adds the serial to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) SetT0

SetT0 adds the t0 to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) SetT1

SetT1 adds the t1 to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) SetTimeout

func (o *GetDeviceCameraAnalyticsOverviewParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) SetTimespan

func (o *GetDeviceCameraAnalyticsOverviewParams) SetTimespan(timespan *float64)

SetTimespan adds the timespan to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WithContext

WithContext adds the context to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WithObjectType

WithObjectType adds the objectType to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WithSerial

WithSerial adds the serial to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WithT0

WithT0 adds the t0 to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WithT1

WithT1 adds the t1 to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WithTimeout

WithTimeout adds the timeout to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WithTimespan

WithTimespan adds the timespan to the get device camera analytics overview params

func (*GetDeviceCameraAnalyticsOverviewParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceCameraAnalyticsOverviewReader

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

GetDeviceCameraAnalyticsOverviewReader is a Reader for the GetDeviceCameraAnalyticsOverview structure.

func (*GetDeviceCameraAnalyticsOverviewReader) ReadResponse

func (o *GetDeviceCameraAnalyticsOverviewReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceCameraAnalyticsRecentOK

type GetDeviceCameraAnalyticsRecentOK struct {
	Payload interface{}
}

GetDeviceCameraAnalyticsRecentOK handles this case with default header values.

Successful operation

func NewGetDeviceCameraAnalyticsRecentOK

func NewGetDeviceCameraAnalyticsRecentOK() *GetDeviceCameraAnalyticsRecentOK

NewGetDeviceCameraAnalyticsRecentOK creates a GetDeviceCameraAnalyticsRecentOK with default headers values

func (*GetDeviceCameraAnalyticsRecentOK) Error

func (*GetDeviceCameraAnalyticsRecentOK) GetPayload

func (o *GetDeviceCameraAnalyticsRecentOK) GetPayload() interface{}

type GetDeviceCameraAnalyticsRecentParams

type GetDeviceCameraAnalyticsRecentParams struct {

	/*ObjectType
	  [optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle].

	*/
	ObjectType *string
	/*Serial*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceCameraAnalyticsRecentParams contains all the parameters to send to the API endpoint for the get device camera analytics recent operation typically these are written to a http.Request

func NewGetDeviceCameraAnalyticsRecentParams

func NewGetDeviceCameraAnalyticsRecentParams() *GetDeviceCameraAnalyticsRecentParams

NewGetDeviceCameraAnalyticsRecentParams creates a new GetDeviceCameraAnalyticsRecentParams object with the default values initialized.

func NewGetDeviceCameraAnalyticsRecentParamsWithContext

func NewGetDeviceCameraAnalyticsRecentParamsWithContext(ctx context.Context) *GetDeviceCameraAnalyticsRecentParams

NewGetDeviceCameraAnalyticsRecentParamsWithContext creates a new GetDeviceCameraAnalyticsRecentParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceCameraAnalyticsRecentParamsWithHTTPClient

func NewGetDeviceCameraAnalyticsRecentParamsWithHTTPClient(client *http.Client) *GetDeviceCameraAnalyticsRecentParams

NewGetDeviceCameraAnalyticsRecentParamsWithHTTPClient creates a new GetDeviceCameraAnalyticsRecentParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceCameraAnalyticsRecentParamsWithTimeout

func NewGetDeviceCameraAnalyticsRecentParamsWithTimeout(timeout time.Duration) *GetDeviceCameraAnalyticsRecentParams

NewGetDeviceCameraAnalyticsRecentParamsWithTimeout creates a new GetDeviceCameraAnalyticsRecentParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceCameraAnalyticsRecentParams) SetContext

SetContext adds the context to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) SetHTTPClient

func (o *GetDeviceCameraAnalyticsRecentParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) SetObjectType

func (o *GetDeviceCameraAnalyticsRecentParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) SetSerial

func (o *GetDeviceCameraAnalyticsRecentParams) SetSerial(serial string)

SetSerial adds the serial to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) SetTimeout

func (o *GetDeviceCameraAnalyticsRecentParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) WithContext

WithContext adds the context to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) WithObjectType

WithObjectType adds the objectType to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) WithSerial

WithSerial adds the serial to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) WithTimeout

WithTimeout adds the timeout to the get device camera analytics recent params

func (*GetDeviceCameraAnalyticsRecentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceCameraAnalyticsRecentReader

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

GetDeviceCameraAnalyticsRecentReader is a Reader for the GetDeviceCameraAnalyticsRecent structure.

func (*GetDeviceCameraAnalyticsRecentReader) ReadResponse

func (o *GetDeviceCameraAnalyticsRecentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceCameraAnalyticsZoneHistoryOK

type GetDeviceCameraAnalyticsZoneHistoryOK struct {
	Payload interface{}
}

GetDeviceCameraAnalyticsZoneHistoryOK handles this case with default header values.

Successful operation

func NewGetDeviceCameraAnalyticsZoneHistoryOK

func NewGetDeviceCameraAnalyticsZoneHistoryOK() *GetDeviceCameraAnalyticsZoneHistoryOK

NewGetDeviceCameraAnalyticsZoneHistoryOK creates a GetDeviceCameraAnalyticsZoneHistoryOK with default headers values

func (*GetDeviceCameraAnalyticsZoneHistoryOK) Error

func (*GetDeviceCameraAnalyticsZoneHistoryOK) GetPayload

func (o *GetDeviceCameraAnalyticsZoneHistoryOK) GetPayload() interface{}

type GetDeviceCameraAnalyticsZoneHistoryParams

type GetDeviceCameraAnalyticsZoneHistoryParams struct {

	/*ObjectType
	  [optional] The object type for which analytics will be retrieved. The default object type is person. The available types are [person, vehicle].

	*/
	ObjectType *string
	/*Resolution
	  The time resolution in seconds for returned data. The valid resolutions are: 60. The default is 60.

	*/
	Resolution *int32
	/*Serial*/
	Serial string
	/*T0
	  The beginning of the timespan for the data. The maximum lookback period is 365 days from today.

	*/
	T0 *string
	/*T1
	  The end of the timespan for the data. t1 can be a maximum of 14 hours after t0.

	*/
	T1 *string
	/*Timespan
	  The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 hours. The default is 1 hour.

	*/
	Timespan *float64
	/*ZoneID*/
	ZoneID string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceCameraAnalyticsZoneHistoryParams contains all the parameters to send to the API endpoint for the get device camera analytics zone history operation typically these are written to a http.Request

func NewGetDeviceCameraAnalyticsZoneHistoryParams

func NewGetDeviceCameraAnalyticsZoneHistoryParams() *GetDeviceCameraAnalyticsZoneHistoryParams

NewGetDeviceCameraAnalyticsZoneHistoryParams creates a new GetDeviceCameraAnalyticsZoneHistoryParams object with the default values initialized.

func NewGetDeviceCameraAnalyticsZoneHistoryParamsWithContext

func NewGetDeviceCameraAnalyticsZoneHistoryParamsWithContext(ctx context.Context) *GetDeviceCameraAnalyticsZoneHistoryParams

NewGetDeviceCameraAnalyticsZoneHistoryParamsWithContext creates a new GetDeviceCameraAnalyticsZoneHistoryParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceCameraAnalyticsZoneHistoryParamsWithHTTPClient

func NewGetDeviceCameraAnalyticsZoneHistoryParamsWithHTTPClient(client *http.Client) *GetDeviceCameraAnalyticsZoneHistoryParams

NewGetDeviceCameraAnalyticsZoneHistoryParamsWithHTTPClient creates a new GetDeviceCameraAnalyticsZoneHistoryParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceCameraAnalyticsZoneHistoryParamsWithTimeout

func NewGetDeviceCameraAnalyticsZoneHistoryParamsWithTimeout(timeout time.Duration) *GetDeviceCameraAnalyticsZoneHistoryParams

NewGetDeviceCameraAnalyticsZoneHistoryParamsWithTimeout creates a new GetDeviceCameraAnalyticsZoneHistoryParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetContext

SetContext adds the context to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetHTTPClient

func (o *GetDeviceCameraAnalyticsZoneHistoryParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetObjectType

func (o *GetDeviceCameraAnalyticsZoneHistoryParams) SetObjectType(objectType *string)

SetObjectType adds the objectType to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetResolution

func (o *GetDeviceCameraAnalyticsZoneHistoryParams) SetResolution(resolution *int32)

SetResolution adds the resolution to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetSerial

SetSerial adds the serial to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetT0

SetT0 adds the t0 to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetT1

SetT1 adds the t1 to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetTimeout

SetTimeout adds the timeout to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetTimespan

func (o *GetDeviceCameraAnalyticsZoneHistoryParams) SetTimespan(timespan *float64)

SetTimespan adds the timespan to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) SetZoneID

SetZoneID adds the zoneId to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithContext

WithContext adds the context to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithObjectType

WithObjectType adds the objectType to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithResolution

WithResolution adds the resolution to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithSerial

WithSerial adds the serial to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithT0

WithT0 adds the t0 to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithT1

WithT1 adds the t1 to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithTimeout

WithTimeout adds the timeout to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithTimespan

WithTimespan adds the timespan to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WithZoneID

WithZoneID adds the zoneID to the get device camera analytics zone history params

func (*GetDeviceCameraAnalyticsZoneHistoryParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceCameraAnalyticsZoneHistoryReader

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

GetDeviceCameraAnalyticsZoneHistoryReader is a Reader for the GetDeviceCameraAnalyticsZoneHistory structure.

func (*GetDeviceCameraAnalyticsZoneHistoryReader) ReadResponse

func (o *GetDeviceCameraAnalyticsZoneHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GetDeviceCameraAnalyticsZonesOK

type GetDeviceCameraAnalyticsZonesOK struct {
	Payload interface{}
}

GetDeviceCameraAnalyticsZonesOK handles this case with default header values.

Successful operation

func NewGetDeviceCameraAnalyticsZonesOK

func NewGetDeviceCameraAnalyticsZonesOK() *GetDeviceCameraAnalyticsZonesOK

NewGetDeviceCameraAnalyticsZonesOK creates a GetDeviceCameraAnalyticsZonesOK with default headers values

func (*GetDeviceCameraAnalyticsZonesOK) Error

func (*GetDeviceCameraAnalyticsZonesOK) GetPayload

func (o *GetDeviceCameraAnalyticsZonesOK) GetPayload() interface{}

type GetDeviceCameraAnalyticsZonesParams

type GetDeviceCameraAnalyticsZonesParams struct {

	/*Serial*/
	Serial string

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeviceCameraAnalyticsZonesParams contains all the parameters to send to the API endpoint for the get device camera analytics zones operation typically these are written to a http.Request

func NewGetDeviceCameraAnalyticsZonesParams

func NewGetDeviceCameraAnalyticsZonesParams() *GetDeviceCameraAnalyticsZonesParams

NewGetDeviceCameraAnalyticsZonesParams creates a new GetDeviceCameraAnalyticsZonesParams object with the default values initialized.

func NewGetDeviceCameraAnalyticsZonesParamsWithContext

func NewGetDeviceCameraAnalyticsZonesParamsWithContext(ctx context.Context) *GetDeviceCameraAnalyticsZonesParams

NewGetDeviceCameraAnalyticsZonesParamsWithContext creates a new GetDeviceCameraAnalyticsZonesParams object with the default values initialized, and the ability to set a context for a request

func NewGetDeviceCameraAnalyticsZonesParamsWithHTTPClient

func NewGetDeviceCameraAnalyticsZonesParamsWithHTTPClient(client *http.Client) *GetDeviceCameraAnalyticsZonesParams

NewGetDeviceCameraAnalyticsZonesParamsWithHTTPClient creates a new GetDeviceCameraAnalyticsZonesParams object with the default values initialized, and the ability to set a custom HTTPClient for a request

func NewGetDeviceCameraAnalyticsZonesParamsWithTimeout

func NewGetDeviceCameraAnalyticsZonesParamsWithTimeout(timeout time.Duration) *GetDeviceCameraAnalyticsZonesParams

NewGetDeviceCameraAnalyticsZonesParamsWithTimeout creates a new GetDeviceCameraAnalyticsZonesParams object with the default values initialized, and the ability to set a timeout on a request

func (*GetDeviceCameraAnalyticsZonesParams) SetContext

SetContext adds the context to the get device camera analytics zones params

func (*GetDeviceCameraAnalyticsZonesParams) SetHTTPClient

func (o *GetDeviceCameraAnalyticsZonesParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the get device camera analytics zones params

func (*GetDeviceCameraAnalyticsZonesParams) SetSerial

func (o *GetDeviceCameraAnalyticsZonesParams) SetSerial(serial string)

SetSerial adds the serial to the get device camera analytics zones params

func (*GetDeviceCameraAnalyticsZonesParams) SetTimeout

func (o *GetDeviceCameraAnalyticsZonesParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the get device camera analytics zones params

func (*GetDeviceCameraAnalyticsZonesParams) WithContext

WithContext adds the context to the get device camera analytics zones params

func (*GetDeviceCameraAnalyticsZonesParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get device camera analytics zones params

func (*GetDeviceCameraAnalyticsZonesParams) WithSerial

WithSerial adds the serial to the get device camera analytics zones params

func (*GetDeviceCameraAnalyticsZonesParams) WithTimeout

WithTimeout adds the timeout to the get device camera analytics zones params

func (*GetDeviceCameraAnalyticsZonesParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeviceCameraAnalyticsZonesReader

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

GetDeviceCameraAnalyticsZonesReader is a Reader for the GetDeviceCameraAnalyticsZones structure.

func (*GetDeviceCameraAnalyticsZonesReader) ReadResponse

func (o *GetDeviceCameraAnalyticsZonesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

Jump to

Keyboard shortcuts

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