Documentation
¶
Index ¶
- Constants
- type Client
- func (a *Client) CreateNetworkSensorAlertsProfile(params *CreateNetworkSensorAlertsProfileParams, ...) (*CreateNetworkSensorAlertsProfileOK, error)
- func (a *Client) DeleteNetworkSensorAlertsProfile(params *DeleteNetworkSensorAlertsProfileParams, ...) (*DeleteNetworkSensorAlertsProfileNoContent, error)
- func (a *Client) GetDeviceSensorRelationships(params *GetDeviceSensorRelationshipsParams, ...) (*GetDeviceSensorRelationshipsOK, error)
- func (a *Client) GetNetworkSensorAlertsCurrentOverviewByMetric(params *GetNetworkSensorAlertsCurrentOverviewByMetricParams, ...) (*GetNetworkSensorAlertsCurrentOverviewByMetricOK, error)
- func (a *Client) GetNetworkSensorAlertsOverviewByMetric(params *GetNetworkSensorAlertsOverviewByMetricParams, ...) (*GetNetworkSensorAlertsOverviewByMetricOK, error)
- func (a *Client) GetNetworkSensorAlertsProfile(params *GetNetworkSensorAlertsProfileParams, ...) (*GetNetworkSensorAlertsProfileOK, error)
- func (a *Client) GetNetworkSensorAlertsProfiles(params *GetNetworkSensorAlertsProfilesParams, ...) (*GetNetworkSensorAlertsProfilesOK, error)
- func (a *Client) GetNetworkSensorMqttBroker(params *GetNetworkSensorMqttBrokerParams, ...) (*GetNetworkSensorMqttBrokerOK, error)
- func (a *Client) GetNetworkSensorMqttBrokers(params *GetNetworkSensorMqttBrokersParams, ...) (*GetNetworkSensorMqttBrokersOK, error)
- func (a *Client) GetNetworkSensorRelationships(params *GetNetworkSensorRelationshipsParams, ...) (*GetNetworkSensorRelationshipsOK, error)
- func (a *Client) GetOrganizationSensorReadingsHistory(params *GetOrganizationSensorReadingsHistoryParams, ...) (*GetOrganizationSensorReadingsHistoryOK, error)
- func (a *Client) GetOrganizationSensorReadingsLatest(params *GetOrganizationSensorReadingsLatestParams, ...) (*GetOrganizationSensorReadingsLatestOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateDeviceSensorRelationships(params *UpdateDeviceSensorRelationshipsParams, ...) (*UpdateDeviceSensorRelationshipsOK, error)
- func (a *Client) UpdateNetworkSensorAlertsProfile(params *UpdateNetworkSensorAlertsProfileParams, ...) (*UpdateNetworkSensorAlertsProfileOK, error)
- func (a *Client) UpdateNetworkSensorMqttBroker(params *UpdateNetworkSensorMqttBrokerParams, ...) (*UpdateNetworkSensorMqttBrokerOK, error)
- type ClientOption
- type ClientService
- type CreateNetworkSensorAlertsProfileBody
- func (o *CreateNetworkSensorAlertsProfileBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOK
- func (o *CreateNetworkSensorAlertsProfileOK) Code() int
- func (o *CreateNetworkSensorAlertsProfileOK) Error() string
- func (o *CreateNetworkSensorAlertsProfileOK) GetPayload() *CreateNetworkSensorAlertsProfileOKBody
- func (o *CreateNetworkSensorAlertsProfileOK) IsClientError() bool
- func (o *CreateNetworkSensorAlertsProfileOK) IsCode(code int) bool
- func (o *CreateNetworkSensorAlertsProfileOK) IsRedirect() bool
- func (o *CreateNetworkSensorAlertsProfileOK) IsServerError() bool
- func (o *CreateNetworkSensorAlertsProfileOK) IsSuccess() bool
- func (o *CreateNetworkSensorAlertsProfileOK) String() string
- type CreateNetworkSensorAlertsProfileOKBody
- func (o *CreateNetworkSensorAlertsProfileOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBody) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBody) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBody) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodyRecipients
- func (o *CreateNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodyRecipients) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileOKBodySchedule
- func (o *CreateNetworkSensorAlertsProfileOKBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileOKBodySchedule) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParams
- func NewCreateNetworkSensorAlertsProfileParams() *CreateNetworkSensorAlertsProfileParams
- func NewCreateNetworkSensorAlertsProfileParamsWithContext(ctx context.Context) *CreateNetworkSensorAlertsProfileParams
- func NewCreateNetworkSensorAlertsProfileParamsWithHTTPClient(client *http.Client) *CreateNetworkSensorAlertsProfileParams
- func NewCreateNetworkSensorAlertsProfileParamsWithTimeout(timeout time.Duration) *CreateNetworkSensorAlertsProfileParams
- func (o *CreateNetworkSensorAlertsProfileParams) SetContext(ctx context.Context)
- func (o *CreateNetworkSensorAlertsProfileParams) SetCreateNetworkSensorAlertsProfile(createNetworkSensorAlertsProfile CreateNetworkSensorAlertsProfileBody)
- func (o *CreateNetworkSensorAlertsProfileParams) SetDefaults()
- func (o *CreateNetworkSensorAlertsProfileParams) SetHTTPClient(client *http.Client)
- func (o *CreateNetworkSensorAlertsProfileParams) SetNetworkID(networkID string)
- func (o *CreateNetworkSensorAlertsProfileParams) SetTimeout(timeout time.Duration)
- func (o *CreateNetworkSensorAlertsProfileParams) WithContext(ctx context.Context) *CreateNetworkSensorAlertsProfileParams
- func (o *CreateNetworkSensorAlertsProfileParams) WithCreateNetworkSensorAlertsProfile(createNetworkSensorAlertsProfile CreateNetworkSensorAlertsProfileBody) *CreateNetworkSensorAlertsProfileParams
- func (o *CreateNetworkSensorAlertsProfileParams) WithDefaults() *CreateNetworkSensorAlertsProfileParams
- func (o *CreateNetworkSensorAlertsProfileParams) WithHTTPClient(client *http.Client) *CreateNetworkSensorAlertsProfileParams
- func (o *CreateNetworkSensorAlertsProfileParams) WithNetworkID(networkID string) *CreateNetworkSensorAlertsProfileParams
- func (o *CreateNetworkSensorAlertsProfileParams) WithTimeout(timeout time.Duration) *CreateNetworkSensorAlertsProfileParams
- func (o *CreateNetworkSensorAlertsProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodyRecipients
- func (o *CreateNetworkSensorAlertsProfileParamsBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyRecipients) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodyRecipients) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodyRecipients) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileParamsBodySchedule
- func (o *CreateNetworkSensorAlertsProfileParamsBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodySchedule) MarshalBinary() ([]byte, error)
- func (o *CreateNetworkSensorAlertsProfileParamsBodySchedule) UnmarshalBinary(b []byte) error
- func (o *CreateNetworkSensorAlertsProfileParamsBodySchedule) Validate(formats strfmt.Registry) error
- type CreateNetworkSensorAlertsProfileReader
- type DeleteNetworkSensorAlertsProfileNoContent
- func (o *DeleteNetworkSensorAlertsProfileNoContent) Code() int
- func (o *DeleteNetworkSensorAlertsProfileNoContent) Error() string
- func (o *DeleteNetworkSensorAlertsProfileNoContent) IsClientError() bool
- func (o *DeleteNetworkSensorAlertsProfileNoContent) IsCode(code int) bool
- func (o *DeleteNetworkSensorAlertsProfileNoContent) IsRedirect() bool
- func (o *DeleteNetworkSensorAlertsProfileNoContent) IsServerError() bool
- func (o *DeleteNetworkSensorAlertsProfileNoContent) IsSuccess() bool
- func (o *DeleteNetworkSensorAlertsProfileNoContent) String() string
- type DeleteNetworkSensorAlertsProfileParams
- func NewDeleteNetworkSensorAlertsProfileParams() *DeleteNetworkSensorAlertsProfileParams
- func NewDeleteNetworkSensorAlertsProfileParamsWithContext(ctx context.Context) *DeleteNetworkSensorAlertsProfileParams
- func NewDeleteNetworkSensorAlertsProfileParamsWithHTTPClient(client *http.Client) *DeleteNetworkSensorAlertsProfileParams
- func NewDeleteNetworkSensorAlertsProfileParamsWithTimeout(timeout time.Duration) *DeleteNetworkSensorAlertsProfileParams
- func (o *DeleteNetworkSensorAlertsProfileParams) SetContext(ctx context.Context)
- func (o *DeleteNetworkSensorAlertsProfileParams) SetDefaults()
- func (o *DeleteNetworkSensorAlertsProfileParams) SetHTTPClient(client *http.Client)
- func (o *DeleteNetworkSensorAlertsProfileParams) SetID(id string)
- func (o *DeleteNetworkSensorAlertsProfileParams) SetNetworkID(networkID string)
- func (o *DeleteNetworkSensorAlertsProfileParams) SetTimeout(timeout time.Duration)
- func (o *DeleteNetworkSensorAlertsProfileParams) WithContext(ctx context.Context) *DeleteNetworkSensorAlertsProfileParams
- func (o *DeleteNetworkSensorAlertsProfileParams) WithDefaults() *DeleteNetworkSensorAlertsProfileParams
- func (o *DeleteNetworkSensorAlertsProfileParams) WithHTTPClient(client *http.Client) *DeleteNetworkSensorAlertsProfileParams
- func (o *DeleteNetworkSensorAlertsProfileParams) WithID(id string) *DeleteNetworkSensorAlertsProfileParams
- func (o *DeleteNetworkSensorAlertsProfileParams) WithNetworkID(networkID string) *DeleteNetworkSensorAlertsProfileParams
- func (o *DeleteNetworkSensorAlertsProfileParams) WithTimeout(timeout time.Duration) *DeleteNetworkSensorAlertsProfileParams
- func (o *DeleteNetworkSensorAlertsProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteNetworkSensorAlertsProfileReader
- type GetDeviceSensorRelationshipsOK
- func (o *GetDeviceSensorRelationshipsOK) Code() int
- func (o *GetDeviceSensorRelationshipsOK) Error() string
- func (o *GetDeviceSensorRelationshipsOK) GetPayload() []*GetDeviceSensorRelationshipsOKBodyItems0
- func (o *GetDeviceSensorRelationshipsOK) IsClientError() bool
- func (o *GetDeviceSensorRelationshipsOK) IsCode(code int) bool
- func (o *GetDeviceSensorRelationshipsOK) IsRedirect() bool
- func (o *GetDeviceSensorRelationshipsOK) IsServerError() bool
- func (o *GetDeviceSensorRelationshipsOK) IsSuccess() bool
- func (o *GetDeviceSensorRelationshipsOK) String() string
- type GetDeviceSensorRelationshipsOKBodyItems0
- func (o *GetDeviceSensorRelationshipsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSensorRelationshipsOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSensorRelationshipsOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSensorRelationshipsOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetDeviceSensorRelationshipsOKBodyItems0Livestream
- func (o *GetDeviceSensorRelationshipsOKBodyItems0Livestream) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSensorRelationshipsOKBodyItems0Livestream) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSensorRelationshipsOKBodyItems0Livestream) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSensorRelationshipsOKBodyItems0Livestream) Validate(formats strfmt.Registry) error
- type GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0
- func (o *GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) MarshalBinary() ([]byte, error)
- func (o *GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) UnmarshalBinary(b []byte) error
- func (o *GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) Validate(formats strfmt.Registry) error
- type GetDeviceSensorRelationshipsParams
- func NewGetDeviceSensorRelationshipsParams() *GetDeviceSensorRelationshipsParams
- func NewGetDeviceSensorRelationshipsParamsWithContext(ctx context.Context) *GetDeviceSensorRelationshipsParams
- func NewGetDeviceSensorRelationshipsParamsWithHTTPClient(client *http.Client) *GetDeviceSensorRelationshipsParams
- func NewGetDeviceSensorRelationshipsParamsWithTimeout(timeout time.Duration) *GetDeviceSensorRelationshipsParams
- func (o *GetDeviceSensorRelationshipsParams) SetContext(ctx context.Context)
- func (o *GetDeviceSensorRelationshipsParams) SetDefaults()
- func (o *GetDeviceSensorRelationshipsParams) SetHTTPClient(client *http.Client)
- func (o *GetDeviceSensorRelationshipsParams) SetSerial(serial string)
- func (o *GetDeviceSensorRelationshipsParams) SetTimeout(timeout time.Duration)
- func (o *GetDeviceSensorRelationshipsParams) WithContext(ctx context.Context) *GetDeviceSensorRelationshipsParams
- func (o *GetDeviceSensorRelationshipsParams) WithDefaults() *GetDeviceSensorRelationshipsParams
- func (o *GetDeviceSensorRelationshipsParams) WithHTTPClient(client *http.Client) *GetDeviceSensorRelationshipsParams
- func (o *GetDeviceSensorRelationshipsParams) WithSerial(serial string) *GetDeviceSensorRelationshipsParams
- func (o *GetDeviceSensorRelationshipsParams) WithTimeout(timeout time.Duration) *GetDeviceSensorRelationshipsParams
- func (o *GetDeviceSensorRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetDeviceSensorRelationshipsReader
- type GetNetworkSensorAlertsCurrentOverviewByMetricOK
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) Code() int
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) Error() string
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) GetPayload() *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsClientError() bool
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsCode(code int) bool
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsRedirect() bool
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsServerError() bool
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsSuccess() bool
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) String() string
- type GetNetworkSensorAlertsCurrentOverviewByMetricOKBody
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func NewGetNetworkSensorAlertsCurrentOverviewByMetricParams() *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithContext(ctx context.Context) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithHTTPClient(client *http.Client) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithTimeout(timeout time.Duration) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetContext(ctx context.Context)
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetDefaults()
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetNetworkID(networkID string)
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithContext(ctx context.Context) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithDefaults() *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithHTTPClient(client *http.Client) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithNetworkID(networkID string) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithTimeout(timeout time.Duration) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
- func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSensorAlertsCurrentOverviewByMetricReader
- type GetNetworkSensorAlertsOverviewByMetricOK
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) Code() int
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) Error() string
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) GetPayload() []*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsClientError() bool
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsCode(code int) bool
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsRedirect() bool
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsServerError() bool
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsSuccess() bool
- func (o *GetNetworkSensorAlertsOverviewByMetricOK) String() string
- type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsOverviewByMetricParams
- func NewGetNetworkSensorAlertsOverviewByMetricParams() *GetNetworkSensorAlertsOverviewByMetricParams
- func NewGetNetworkSensorAlertsOverviewByMetricParamsWithContext(ctx context.Context) *GetNetworkSensorAlertsOverviewByMetricParams
- func NewGetNetworkSensorAlertsOverviewByMetricParamsWithHTTPClient(client *http.Client) *GetNetworkSensorAlertsOverviewByMetricParams
- func NewGetNetworkSensorAlertsOverviewByMetricParamsWithTimeout(timeout time.Duration) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetContext(ctx context.Context)
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetDefaults()
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetInterval(interval *int64)
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetNetworkID(networkID string)
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetT0(t0 *string)
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetT1(t1 *string)
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetTimespan(timespan *float32)
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithContext(ctx context.Context) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithDefaults() *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithHTTPClient(client *http.Client) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithInterval(interval *int64) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithNetworkID(networkID string) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithT0(t0 *string) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithT1(t1 *string) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithTimeout(timeout time.Duration) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithTimespan(timespan *float32) *GetNetworkSensorAlertsOverviewByMetricParams
- func (o *GetNetworkSensorAlertsOverviewByMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSensorAlertsOverviewByMetricReader
- type GetNetworkSensorAlertsProfileOK
- func (o *GetNetworkSensorAlertsProfileOK) Code() int
- func (o *GetNetworkSensorAlertsProfileOK) Error() string
- func (o *GetNetworkSensorAlertsProfileOK) GetPayload() *GetNetworkSensorAlertsProfileOKBody
- func (o *GetNetworkSensorAlertsProfileOK) IsClientError() bool
- func (o *GetNetworkSensorAlertsProfileOK) IsCode(code int) bool
- func (o *GetNetworkSensorAlertsProfileOK) IsRedirect() bool
- func (o *GetNetworkSensorAlertsProfileOK) IsServerError() bool
- func (o *GetNetworkSensorAlertsProfileOK) IsSuccess() bool
- func (o *GetNetworkSensorAlertsProfileOK) String() string
- type GetNetworkSensorAlertsProfileOKBody
- func (o *GetNetworkSensorAlertsProfileOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodyRecipients
- func (o *GetNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodyRecipients) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileOKBodySchedule
- func (o *GetNetworkSensorAlertsProfileOKBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfileOKBodySchedule) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfileParams
- func NewGetNetworkSensorAlertsProfileParams() *GetNetworkSensorAlertsProfileParams
- func NewGetNetworkSensorAlertsProfileParamsWithContext(ctx context.Context) *GetNetworkSensorAlertsProfileParams
- func NewGetNetworkSensorAlertsProfileParamsWithHTTPClient(client *http.Client) *GetNetworkSensorAlertsProfileParams
- func NewGetNetworkSensorAlertsProfileParamsWithTimeout(timeout time.Duration) *GetNetworkSensorAlertsProfileParams
- func (o *GetNetworkSensorAlertsProfileParams) SetContext(ctx context.Context)
- func (o *GetNetworkSensorAlertsProfileParams) SetDefaults()
- func (o *GetNetworkSensorAlertsProfileParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSensorAlertsProfileParams) SetID(id string)
- func (o *GetNetworkSensorAlertsProfileParams) SetNetworkID(networkID string)
- func (o *GetNetworkSensorAlertsProfileParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSensorAlertsProfileParams) WithContext(ctx context.Context) *GetNetworkSensorAlertsProfileParams
- func (o *GetNetworkSensorAlertsProfileParams) WithDefaults() *GetNetworkSensorAlertsProfileParams
- func (o *GetNetworkSensorAlertsProfileParams) WithHTTPClient(client *http.Client) *GetNetworkSensorAlertsProfileParams
- func (o *GetNetworkSensorAlertsProfileParams) WithID(id string) *GetNetworkSensorAlertsProfileParams
- func (o *GetNetworkSensorAlertsProfileParams) WithNetworkID(networkID string) *GetNetworkSensorAlertsProfileParams
- func (o *GetNetworkSensorAlertsProfileParams) WithTimeout(timeout time.Duration) *GetNetworkSensorAlertsProfileParams
- func (o *GetNetworkSensorAlertsProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSensorAlertsProfileReader
- type GetNetworkSensorAlertsProfilesOK
- func (o *GetNetworkSensorAlertsProfilesOK) Code() int
- func (o *GetNetworkSensorAlertsProfilesOK) Error() string
- func (o *GetNetworkSensorAlertsProfilesOK) GetPayload() []*GetNetworkSensorAlertsProfilesOKBodyItems0
- func (o *GetNetworkSensorAlertsProfilesOK) IsClientError() bool
- func (o *GetNetworkSensorAlertsProfilesOK) IsCode(code int) bool
- func (o *GetNetworkSensorAlertsProfilesOK) IsRedirect() bool
- func (o *GetNetworkSensorAlertsProfilesOK) IsServerError() bool
- func (o *GetNetworkSensorAlertsProfilesOK) IsSuccess() bool
- func (o *GetNetworkSensorAlertsProfilesOK) String() string
- type GetNetworkSensorAlertsProfilesOKBodyItems0
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0Recipients
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesOKBodyItems0Schedule
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) Validate(formats strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesParams
- func NewGetNetworkSensorAlertsProfilesParams() *GetNetworkSensorAlertsProfilesParams
- func NewGetNetworkSensorAlertsProfilesParamsWithContext(ctx context.Context) *GetNetworkSensorAlertsProfilesParams
- func NewGetNetworkSensorAlertsProfilesParamsWithHTTPClient(client *http.Client) *GetNetworkSensorAlertsProfilesParams
- func NewGetNetworkSensorAlertsProfilesParamsWithTimeout(timeout time.Duration) *GetNetworkSensorAlertsProfilesParams
- func (o *GetNetworkSensorAlertsProfilesParams) SetContext(ctx context.Context)
- func (o *GetNetworkSensorAlertsProfilesParams) SetDefaults()
- func (o *GetNetworkSensorAlertsProfilesParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSensorAlertsProfilesParams) SetNetworkID(networkID string)
- func (o *GetNetworkSensorAlertsProfilesParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSensorAlertsProfilesParams) WithContext(ctx context.Context) *GetNetworkSensorAlertsProfilesParams
- func (o *GetNetworkSensorAlertsProfilesParams) WithDefaults() *GetNetworkSensorAlertsProfilesParams
- func (o *GetNetworkSensorAlertsProfilesParams) WithHTTPClient(client *http.Client) *GetNetworkSensorAlertsProfilesParams
- func (o *GetNetworkSensorAlertsProfilesParams) WithNetworkID(networkID string) *GetNetworkSensorAlertsProfilesParams
- func (o *GetNetworkSensorAlertsProfilesParams) WithTimeout(timeout time.Duration) *GetNetworkSensorAlertsProfilesParams
- func (o *GetNetworkSensorAlertsProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSensorAlertsProfilesReader
- type GetNetworkSensorMqttBrokerOK
- func (o *GetNetworkSensorMqttBrokerOK) Code() int
- func (o *GetNetworkSensorMqttBrokerOK) Error() string
- func (o *GetNetworkSensorMqttBrokerOK) GetPayload() *GetNetworkSensorMqttBrokerOKBody
- func (o *GetNetworkSensorMqttBrokerOK) IsClientError() bool
- func (o *GetNetworkSensorMqttBrokerOK) IsCode(code int) bool
- func (o *GetNetworkSensorMqttBrokerOK) IsRedirect() bool
- func (o *GetNetworkSensorMqttBrokerOK) IsServerError() bool
- func (o *GetNetworkSensorMqttBrokerOK) IsSuccess() bool
- func (o *GetNetworkSensorMqttBrokerOK) String() string
- type GetNetworkSensorMqttBrokerOKBody
- func (o *GetNetworkSensorMqttBrokerOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorMqttBrokerOKBody) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorMqttBrokerOKBody) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorMqttBrokerOKBody) Validate(formats strfmt.Registry) error
- type GetNetworkSensorMqttBrokerParams
- func NewGetNetworkSensorMqttBrokerParams() *GetNetworkSensorMqttBrokerParams
- func NewGetNetworkSensorMqttBrokerParamsWithContext(ctx context.Context) *GetNetworkSensorMqttBrokerParams
- func NewGetNetworkSensorMqttBrokerParamsWithHTTPClient(client *http.Client) *GetNetworkSensorMqttBrokerParams
- func NewGetNetworkSensorMqttBrokerParamsWithTimeout(timeout time.Duration) *GetNetworkSensorMqttBrokerParams
- func (o *GetNetworkSensorMqttBrokerParams) SetContext(ctx context.Context)
- func (o *GetNetworkSensorMqttBrokerParams) SetDefaults()
- func (o *GetNetworkSensorMqttBrokerParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSensorMqttBrokerParams) SetMqttBrokerID(mqttBrokerID string)
- func (o *GetNetworkSensorMqttBrokerParams) SetNetworkID(networkID string)
- func (o *GetNetworkSensorMqttBrokerParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSensorMqttBrokerParams) WithContext(ctx context.Context) *GetNetworkSensorMqttBrokerParams
- func (o *GetNetworkSensorMqttBrokerParams) WithDefaults() *GetNetworkSensorMqttBrokerParams
- func (o *GetNetworkSensorMqttBrokerParams) WithHTTPClient(client *http.Client) *GetNetworkSensorMqttBrokerParams
- func (o *GetNetworkSensorMqttBrokerParams) WithMqttBrokerID(mqttBrokerID string) *GetNetworkSensorMqttBrokerParams
- func (o *GetNetworkSensorMqttBrokerParams) WithNetworkID(networkID string) *GetNetworkSensorMqttBrokerParams
- func (o *GetNetworkSensorMqttBrokerParams) WithTimeout(timeout time.Duration) *GetNetworkSensorMqttBrokerParams
- func (o *GetNetworkSensorMqttBrokerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSensorMqttBrokerReader
- type GetNetworkSensorMqttBrokersOK
- func (o *GetNetworkSensorMqttBrokersOK) Code() int
- func (o *GetNetworkSensorMqttBrokersOK) Error() string
- func (o *GetNetworkSensorMqttBrokersOK) GetPayload() []*GetNetworkSensorMqttBrokersOKBodyItems0
- func (o *GetNetworkSensorMqttBrokersOK) IsClientError() bool
- func (o *GetNetworkSensorMqttBrokersOK) IsCode(code int) bool
- func (o *GetNetworkSensorMqttBrokersOK) IsRedirect() bool
- func (o *GetNetworkSensorMqttBrokersOK) IsServerError() bool
- func (o *GetNetworkSensorMqttBrokersOK) IsSuccess() bool
- func (o *GetNetworkSensorMqttBrokersOK) String() string
- type GetNetworkSensorMqttBrokersOKBodyItems0
- func (o *GetNetworkSensorMqttBrokersOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorMqttBrokersOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorMqttBrokersOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorMqttBrokersOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSensorMqttBrokersParams
- func NewGetNetworkSensorMqttBrokersParams() *GetNetworkSensorMqttBrokersParams
- func NewGetNetworkSensorMqttBrokersParamsWithContext(ctx context.Context) *GetNetworkSensorMqttBrokersParams
- func NewGetNetworkSensorMqttBrokersParamsWithHTTPClient(client *http.Client) *GetNetworkSensorMqttBrokersParams
- func NewGetNetworkSensorMqttBrokersParamsWithTimeout(timeout time.Duration) *GetNetworkSensorMqttBrokersParams
- func (o *GetNetworkSensorMqttBrokersParams) SetContext(ctx context.Context)
- func (o *GetNetworkSensorMqttBrokersParams) SetDefaults()
- func (o *GetNetworkSensorMqttBrokersParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSensorMqttBrokersParams) SetNetworkID(networkID string)
- func (o *GetNetworkSensorMqttBrokersParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSensorMqttBrokersParams) WithContext(ctx context.Context) *GetNetworkSensorMqttBrokersParams
- func (o *GetNetworkSensorMqttBrokersParams) WithDefaults() *GetNetworkSensorMqttBrokersParams
- func (o *GetNetworkSensorMqttBrokersParams) WithHTTPClient(client *http.Client) *GetNetworkSensorMqttBrokersParams
- func (o *GetNetworkSensorMqttBrokersParams) WithNetworkID(networkID string) *GetNetworkSensorMqttBrokersParams
- func (o *GetNetworkSensorMqttBrokersParams) WithTimeout(timeout time.Duration) *GetNetworkSensorMqttBrokersParams
- func (o *GetNetworkSensorMqttBrokersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSensorMqttBrokersReader
- type GetNetworkSensorRelationshipsOK
- func (o *GetNetworkSensorRelationshipsOK) Code() int
- func (o *GetNetworkSensorRelationshipsOK) Error() string
- func (o *GetNetworkSensorRelationshipsOK) GetPayload() []*GetNetworkSensorRelationshipsOKBodyItems0
- func (o *GetNetworkSensorRelationshipsOK) IsClientError() bool
- func (o *GetNetworkSensorRelationshipsOK) IsCode(code int) bool
- func (o *GetNetworkSensorRelationshipsOK) IsRedirect() bool
- func (o *GetNetworkSensorRelationshipsOK) IsServerError() bool
- func (o *GetNetworkSensorRelationshipsOK) IsSuccess() bool
- func (o *GetNetworkSensorRelationshipsOK) String() string
- type GetNetworkSensorRelationshipsOKBodyItems0
- func (o *GetNetworkSensorRelationshipsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorRelationshipsOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSensorRelationshipsOKBodyItems0Device
- func (o *GetNetworkSensorRelationshipsOKBodyItems0Device) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0Device) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorRelationshipsOKBodyItems0Device) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0Device) Validate(formats strfmt.Registry) error
- type GetNetworkSensorRelationshipsOKBodyItems0Relationships
- func (o *GetNetworkSensorRelationshipsOKBodyItems0Relationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0Relationships) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorRelationshipsOKBodyItems0Relationships) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0Relationships) Validate(formats strfmt.Registry) error
- type GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream
- func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) Validate(formats strfmt.Registry) error
- type GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0
- func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) MarshalBinary() ([]byte, error)
- func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) UnmarshalBinary(b []byte) error
- func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) Validate(formats strfmt.Registry) error
- type GetNetworkSensorRelationshipsParams
- func NewGetNetworkSensorRelationshipsParams() *GetNetworkSensorRelationshipsParams
- func NewGetNetworkSensorRelationshipsParamsWithContext(ctx context.Context) *GetNetworkSensorRelationshipsParams
- func NewGetNetworkSensorRelationshipsParamsWithHTTPClient(client *http.Client) *GetNetworkSensorRelationshipsParams
- func NewGetNetworkSensorRelationshipsParamsWithTimeout(timeout time.Duration) *GetNetworkSensorRelationshipsParams
- func (o *GetNetworkSensorRelationshipsParams) SetContext(ctx context.Context)
- func (o *GetNetworkSensorRelationshipsParams) SetDefaults()
- func (o *GetNetworkSensorRelationshipsParams) SetHTTPClient(client *http.Client)
- func (o *GetNetworkSensorRelationshipsParams) SetNetworkID(networkID string)
- func (o *GetNetworkSensorRelationshipsParams) SetTimeout(timeout time.Duration)
- func (o *GetNetworkSensorRelationshipsParams) WithContext(ctx context.Context) *GetNetworkSensorRelationshipsParams
- func (o *GetNetworkSensorRelationshipsParams) WithDefaults() *GetNetworkSensorRelationshipsParams
- func (o *GetNetworkSensorRelationshipsParams) WithHTTPClient(client *http.Client) *GetNetworkSensorRelationshipsParams
- func (o *GetNetworkSensorRelationshipsParams) WithNetworkID(networkID string) *GetNetworkSensorRelationshipsParams
- func (o *GetNetworkSensorRelationshipsParams) WithTimeout(timeout time.Duration) *GetNetworkSensorRelationshipsParams
- func (o *GetNetworkSensorRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetNetworkSensorRelationshipsReader
- type GetOrganizationSensorReadingsHistoryOK
- func (o *GetOrganizationSensorReadingsHistoryOK) Code() int
- func (o *GetOrganizationSensorReadingsHistoryOK) Error() string
- func (o *GetOrganizationSensorReadingsHistoryOK) GetPayload() []*GetOrganizationSensorReadingsHistoryOKBodyItems0
- func (o *GetOrganizationSensorReadingsHistoryOK) IsClientError() bool
- func (o *GetOrganizationSensorReadingsHistoryOK) IsCode(code int) bool
- func (o *GetOrganizationSensorReadingsHistoryOK) IsRedirect() bool
- func (o *GetOrganizationSensorReadingsHistoryOK) IsServerError() bool
- func (o *GetOrganizationSensorReadingsHistoryOK) IsSuccess() bool
- func (o *GetOrganizationSensorReadingsHistoryOK) String() string
- type GetOrganizationSensorReadingsHistoryOKBodyItems0
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Battery
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Button
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Button) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Button) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Button) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Button) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Door
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Door) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Door) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Door) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Door) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Network
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Network) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Network) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Network) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Noise
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryOKBodyItems0Water
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Water) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Water) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Water) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Water) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryParams
- func NewGetOrganizationSensorReadingsHistoryParams() *GetOrganizationSensorReadingsHistoryParams
- func NewGetOrganizationSensorReadingsHistoryParamsWithContext(ctx context.Context) *GetOrganizationSensorReadingsHistoryParams
- func NewGetOrganizationSensorReadingsHistoryParamsWithHTTPClient(client *http.Client) *GetOrganizationSensorReadingsHistoryParams
- func NewGetOrganizationSensorReadingsHistoryParamsWithTimeout(timeout time.Duration) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) SetContext(ctx context.Context)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetDefaults()
- func (o *GetOrganizationSensorReadingsHistoryParams) SetEndingBefore(endingBefore *string)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetMetrics(metrics []string)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetNetworkIds(networkIds []string)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetPerPage(perPage *int64)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetSerials(serials []string)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetStartingAfter(startingAfter *string)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetT0(t0 *string)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetT1(t1 *string)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationSensorReadingsHistoryParams) SetTimespan(timespan *float32)
- func (o *GetOrganizationSensorReadingsHistoryParams) WithContext(ctx context.Context) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithDefaults() *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithEndingBefore(endingBefore *string) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithHTTPClient(client *http.Client) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithMetrics(metrics []string) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithNetworkIds(networkIds []string) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithOrganizationID(organizationID string) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithPerPage(perPage *int64) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithSerials(serials []string) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithStartingAfter(startingAfter *string) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithT0(t0 *string) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithT1(t1 *string) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithTimeout(timeout time.Duration) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WithTimespan(timespan *float32) *GetOrganizationSensorReadingsHistoryParams
- func (o *GetOrganizationSensorReadingsHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationSensorReadingsHistoryReader
- type GetOrganizationSensorReadingsLatestOK
- func (o *GetOrganizationSensorReadingsLatestOK) Code() int
- func (o *GetOrganizationSensorReadingsLatestOK) Error() string
- func (o *GetOrganizationSensorReadingsLatestOK) GetPayload() []*GetOrganizationSensorReadingsLatestOKBodyItems0
- func (o *GetOrganizationSensorReadingsLatestOK) IsClientError() bool
- func (o *GetOrganizationSensorReadingsLatestOK) IsCode(code int) bool
- func (o *GetOrganizationSensorReadingsLatestOK) IsRedirect() bool
- func (o *GetOrganizationSensorReadingsLatestOK) IsServerError() bool
- func (o *GetOrganizationSensorReadingsLatestOK) IsSuccess() bool
- func (o *GetOrganizationSensorReadingsLatestOK) String() string
- type GetOrganizationSensorReadingsLatestOKBodyItems0
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0Network
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0Network) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0Network) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0Network) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) MarshalBinary() ([]byte, error)
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) UnmarshalBinary(b []byte) error
- func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) Validate(formats strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestParams
- func NewGetOrganizationSensorReadingsLatestParams() *GetOrganizationSensorReadingsLatestParams
- func NewGetOrganizationSensorReadingsLatestParamsWithContext(ctx context.Context) *GetOrganizationSensorReadingsLatestParams
- func NewGetOrganizationSensorReadingsLatestParamsWithHTTPClient(client *http.Client) *GetOrganizationSensorReadingsLatestParams
- func NewGetOrganizationSensorReadingsLatestParamsWithTimeout(timeout time.Duration) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) SetContext(ctx context.Context)
- func (o *GetOrganizationSensorReadingsLatestParams) SetDefaults()
- func (o *GetOrganizationSensorReadingsLatestParams) SetEndingBefore(endingBefore *string)
- func (o *GetOrganizationSensorReadingsLatestParams) SetHTTPClient(client *http.Client)
- func (o *GetOrganizationSensorReadingsLatestParams) SetMetrics(metrics []string)
- func (o *GetOrganizationSensorReadingsLatestParams) SetNetworkIds(networkIds []string)
- func (o *GetOrganizationSensorReadingsLatestParams) SetOrganizationID(organizationID string)
- func (o *GetOrganizationSensorReadingsLatestParams) SetPerPage(perPage *int64)
- func (o *GetOrganizationSensorReadingsLatestParams) SetSerials(serials []string)
- func (o *GetOrganizationSensorReadingsLatestParams) SetStartingAfter(startingAfter *string)
- func (o *GetOrganizationSensorReadingsLatestParams) SetTimeout(timeout time.Duration)
- func (o *GetOrganizationSensorReadingsLatestParams) WithContext(ctx context.Context) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithDefaults() *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithEndingBefore(endingBefore *string) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithHTTPClient(client *http.Client) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithMetrics(metrics []string) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithNetworkIds(networkIds []string) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithOrganizationID(organizationID string) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithPerPage(perPage *int64) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithSerials(serials []string) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithStartingAfter(startingAfter *string) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WithTimeout(timeout time.Duration) *GetOrganizationSensorReadingsLatestParams
- func (o *GetOrganizationSensorReadingsLatestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetOrganizationSensorReadingsLatestReader
- type UpdateDeviceSensorRelationshipsBody
- func (o *UpdateDeviceSensorRelationshipsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSensorRelationshipsBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSensorRelationshipsBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSensorRelationshipsBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSensorRelationshipsOK
- func (o *UpdateDeviceSensorRelationshipsOK) Code() int
- func (o *UpdateDeviceSensorRelationshipsOK) Error() string
- func (o *UpdateDeviceSensorRelationshipsOK) GetPayload() *UpdateDeviceSensorRelationshipsOKBody
- func (o *UpdateDeviceSensorRelationshipsOK) IsClientError() bool
- func (o *UpdateDeviceSensorRelationshipsOK) IsCode(code int) bool
- func (o *UpdateDeviceSensorRelationshipsOK) IsRedirect() bool
- func (o *UpdateDeviceSensorRelationshipsOK) IsServerError() bool
- func (o *UpdateDeviceSensorRelationshipsOK) IsSuccess() bool
- func (o *UpdateDeviceSensorRelationshipsOK) String() string
- type UpdateDeviceSensorRelationshipsOKBody
- func (o *UpdateDeviceSensorRelationshipsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSensorRelationshipsOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSensorRelationshipsOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSensorRelationshipsOKBody) Validate(formats strfmt.Registry) error
- type UpdateDeviceSensorRelationshipsOKBodyLivestream
- func (o *UpdateDeviceSensorRelationshipsOKBodyLivestream) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSensorRelationshipsOKBodyLivestream) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSensorRelationshipsOKBodyLivestream) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSensorRelationshipsOKBodyLivestream) Validate(formats strfmt.Registry) error
- type UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0
- func (o *UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) Validate(formats strfmt.Registry) error
- type UpdateDeviceSensorRelationshipsParams
- func NewUpdateDeviceSensorRelationshipsParams() *UpdateDeviceSensorRelationshipsParams
- func NewUpdateDeviceSensorRelationshipsParamsWithContext(ctx context.Context) *UpdateDeviceSensorRelationshipsParams
- func NewUpdateDeviceSensorRelationshipsParamsWithHTTPClient(client *http.Client) *UpdateDeviceSensorRelationshipsParams
- func NewUpdateDeviceSensorRelationshipsParamsWithTimeout(timeout time.Duration) *UpdateDeviceSensorRelationshipsParams
- func (o *UpdateDeviceSensorRelationshipsParams) SetContext(ctx context.Context)
- func (o *UpdateDeviceSensorRelationshipsParams) SetDefaults()
- func (o *UpdateDeviceSensorRelationshipsParams) SetHTTPClient(client *http.Client)
- func (o *UpdateDeviceSensorRelationshipsParams) SetSerial(serial string)
- func (o *UpdateDeviceSensorRelationshipsParams) SetTimeout(timeout time.Duration)
- func (o *UpdateDeviceSensorRelationshipsParams) SetUpdateDeviceSensorRelationships(updateDeviceSensorRelationships UpdateDeviceSensorRelationshipsBody)
- func (o *UpdateDeviceSensorRelationshipsParams) WithContext(ctx context.Context) *UpdateDeviceSensorRelationshipsParams
- func (o *UpdateDeviceSensorRelationshipsParams) WithDefaults() *UpdateDeviceSensorRelationshipsParams
- func (o *UpdateDeviceSensorRelationshipsParams) WithHTTPClient(client *http.Client) *UpdateDeviceSensorRelationshipsParams
- func (o *UpdateDeviceSensorRelationshipsParams) WithSerial(serial string) *UpdateDeviceSensorRelationshipsParams
- func (o *UpdateDeviceSensorRelationshipsParams) WithTimeout(timeout time.Duration) *UpdateDeviceSensorRelationshipsParams
- func (o *UpdateDeviceSensorRelationshipsParams) WithUpdateDeviceSensorRelationships(updateDeviceSensorRelationships UpdateDeviceSensorRelationshipsBody) *UpdateDeviceSensorRelationshipsParams
- func (o *UpdateDeviceSensorRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateDeviceSensorRelationshipsParamsBodyLivestream
- func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestream) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestream) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestream) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestream) Validate(formats strfmt.Registry) error
- type UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0
- func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) Validate(formats strfmt.Registry) error
- type UpdateDeviceSensorRelationshipsReader
- type UpdateNetworkSensorAlertsProfileBody
- func (o *UpdateNetworkSensorAlertsProfileBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOK
- func (o *UpdateNetworkSensorAlertsProfileOK) Code() int
- func (o *UpdateNetworkSensorAlertsProfileOK) Error() string
- func (o *UpdateNetworkSensorAlertsProfileOK) GetPayload() *UpdateNetworkSensorAlertsProfileOKBody
- func (o *UpdateNetworkSensorAlertsProfileOK) IsClientError() bool
- func (o *UpdateNetworkSensorAlertsProfileOK) IsCode(code int) bool
- func (o *UpdateNetworkSensorAlertsProfileOK) IsRedirect() bool
- func (o *UpdateNetworkSensorAlertsProfileOK) IsServerError() bool
- func (o *UpdateNetworkSensorAlertsProfileOK) IsSuccess() bool
- func (o *UpdateNetworkSensorAlertsProfileOK) String() string
- type UpdateNetworkSensorAlertsProfileOKBody
- func (o *UpdateNetworkSensorAlertsProfileOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodyRecipients
- func (o *UpdateNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodyRecipients) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileOKBodySchedule
- func (o *UpdateNetworkSensorAlertsProfileOKBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileOKBodySchedule) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParams
- func NewUpdateNetworkSensorAlertsProfileParams() *UpdateNetworkSensorAlertsProfileParams
- func NewUpdateNetworkSensorAlertsProfileParamsWithContext(ctx context.Context) *UpdateNetworkSensorAlertsProfileParams
- func NewUpdateNetworkSensorAlertsProfileParamsWithHTTPClient(client *http.Client) *UpdateNetworkSensorAlertsProfileParams
- func NewUpdateNetworkSensorAlertsProfileParamsWithTimeout(timeout time.Duration) *UpdateNetworkSensorAlertsProfileParams
- func (o *UpdateNetworkSensorAlertsProfileParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSensorAlertsProfileParams) SetDefaults()
- func (o *UpdateNetworkSensorAlertsProfileParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSensorAlertsProfileParams) SetID(id string)
- func (o *UpdateNetworkSensorAlertsProfileParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSensorAlertsProfileParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSensorAlertsProfileParams) SetUpdateNetworkSensorAlertsProfile(updateNetworkSensorAlertsProfile UpdateNetworkSensorAlertsProfileBody)
- func (o *UpdateNetworkSensorAlertsProfileParams) WithContext(ctx context.Context) *UpdateNetworkSensorAlertsProfileParams
- func (o *UpdateNetworkSensorAlertsProfileParams) WithDefaults() *UpdateNetworkSensorAlertsProfileParams
- func (o *UpdateNetworkSensorAlertsProfileParams) WithHTTPClient(client *http.Client) *UpdateNetworkSensorAlertsProfileParams
- func (o *UpdateNetworkSensorAlertsProfileParams) WithID(id string) *UpdateNetworkSensorAlertsProfileParams
- func (o *UpdateNetworkSensorAlertsProfileParams) WithNetworkID(networkID string) *UpdateNetworkSensorAlertsProfileParams
- func (o *UpdateNetworkSensorAlertsProfileParams) WithTimeout(timeout time.Duration) *UpdateNetworkSensorAlertsProfileParams
- func (o *UpdateNetworkSensorAlertsProfileParams) WithUpdateNetworkSensorAlertsProfile(updateNetworkSensorAlertsProfile UpdateNetworkSensorAlertsProfileBody) *UpdateNetworkSensorAlertsProfileParams
- func (o *UpdateNetworkSensorAlertsProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodyRecipients
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyRecipients) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyRecipients) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodyRecipients) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileParamsBodySchedule
- func (o *UpdateNetworkSensorAlertsProfileParamsBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodySchedule) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorAlertsProfileParamsBodySchedule) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorAlertsProfileParamsBodySchedule) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorAlertsProfileReader
- type UpdateNetworkSensorMqttBrokerBody
- func (o *UpdateNetworkSensorMqttBrokerBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorMqttBrokerBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorMqttBrokerBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorMqttBrokerBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorMqttBrokerOK
- func (o *UpdateNetworkSensorMqttBrokerOK) Code() int
- func (o *UpdateNetworkSensorMqttBrokerOK) Error() string
- func (o *UpdateNetworkSensorMqttBrokerOK) GetPayload() *UpdateNetworkSensorMqttBrokerOKBody
- func (o *UpdateNetworkSensorMqttBrokerOK) IsClientError() bool
- func (o *UpdateNetworkSensorMqttBrokerOK) IsCode(code int) bool
- func (o *UpdateNetworkSensorMqttBrokerOK) IsRedirect() bool
- func (o *UpdateNetworkSensorMqttBrokerOK) IsServerError() bool
- func (o *UpdateNetworkSensorMqttBrokerOK) IsSuccess() bool
- func (o *UpdateNetworkSensorMqttBrokerOK) String() string
- type UpdateNetworkSensorMqttBrokerOKBody
- func (o *UpdateNetworkSensorMqttBrokerOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *UpdateNetworkSensorMqttBrokerOKBody) MarshalBinary() ([]byte, error)
- func (o *UpdateNetworkSensorMqttBrokerOKBody) UnmarshalBinary(b []byte) error
- func (o *UpdateNetworkSensorMqttBrokerOKBody) Validate(formats strfmt.Registry) error
- type UpdateNetworkSensorMqttBrokerParams
- func NewUpdateNetworkSensorMqttBrokerParams() *UpdateNetworkSensorMqttBrokerParams
- func NewUpdateNetworkSensorMqttBrokerParamsWithContext(ctx context.Context) *UpdateNetworkSensorMqttBrokerParams
- func NewUpdateNetworkSensorMqttBrokerParamsWithHTTPClient(client *http.Client) *UpdateNetworkSensorMqttBrokerParams
- func NewUpdateNetworkSensorMqttBrokerParamsWithTimeout(timeout time.Duration) *UpdateNetworkSensorMqttBrokerParams
- func (o *UpdateNetworkSensorMqttBrokerParams) SetContext(ctx context.Context)
- func (o *UpdateNetworkSensorMqttBrokerParams) SetDefaults()
- func (o *UpdateNetworkSensorMqttBrokerParams) SetHTTPClient(client *http.Client)
- func (o *UpdateNetworkSensorMqttBrokerParams) SetMqttBrokerID(mqttBrokerID string)
- func (o *UpdateNetworkSensorMqttBrokerParams) SetNetworkID(networkID string)
- func (o *UpdateNetworkSensorMqttBrokerParams) SetTimeout(timeout time.Duration)
- func (o *UpdateNetworkSensorMqttBrokerParams) SetUpdateNetworkSensorMqttBroker(updateNetworkSensorMqttBroker UpdateNetworkSensorMqttBrokerBody)
- func (o *UpdateNetworkSensorMqttBrokerParams) WithContext(ctx context.Context) *UpdateNetworkSensorMqttBrokerParams
- func (o *UpdateNetworkSensorMqttBrokerParams) WithDefaults() *UpdateNetworkSensorMqttBrokerParams
- func (o *UpdateNetworkSensorMqttBrokerParams) WithHTTPClient(client *http.Client) *UpdateNetworkSensorMqttBrokerParams
- func (o *UpdateNetworkSensorMqttBrokerParams) WithMqttBrokerID(mqttBrokerID string) *UpdateNetworkSensorMqttBrokerParams
- func (o *UpdateNetworkSensorMqttBrokerParams) WithNetworkID(networkID string) *UpdateNetworkSensorMqttBrokerParams
- func (o *UpdateNetworkSensorMqttBrokerParams) WithTimeout(timeout time.Duration) *UpdateNetworkSensorMqttBrokerParams
- func (o *UpdateNetworkSensorMqttBrokerParams) WithUpdateNetworkSensorMqttBroker(updateNetworkSensorMqttBroker UpdateNetworkSensorMqttBrokerBody) *UpdateNetworkSensorMqttBrokerParams
- func (o *UpdateNetworkSensorMqttBrokerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateNetworkSensorMqttBrokerReader
Constants ¶
const ( // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove captures enum value "above" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove string = "above" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow captures enum value "below" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow string = "below" )
const ( // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityFair string = "fair" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityGood string = "good" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityFair string = "fair" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityGood string = "good" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityFair string = "fair" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityGood string = "good" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityFair string = "fair" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityGood captures enum value "good" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityGood string = "good" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityFair string = "fair" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityGood string = "good" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityFair string = "fair" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityGood string = "good" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionAbove captures enum value "above" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionAbove string = "above" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionBelow captures enum value "below" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionBelow string = "below" )
const ( // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityFair string = "fair" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityGood string = "good" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityFair string = "fair" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityGood string = "good" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityFair string = "fair" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityGood string = "good" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityFair string = "fair" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityGood captures enum value "good" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityGood string = "good" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityFair string = "fair" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityGood string = "good" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityPoor string = "poor" )
const ( // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityFair captures enum value "fair" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityFair string = "fair" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityGood captures enum value "good" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityGood string = "good" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityInadequate captures enum value "inadequate" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityInadequate string = "inadequate" // CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityPoor captures enum value "poor" CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityPoor string = "poor" )
const ( // GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0ProductTypeCamera captures enum value "camera" GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0ProductTypeCamera string = "camera" // GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0ProductTypeSensor captures enum value "sensor" GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0ProductTypeSensor string = "sensor" )
const ( // GetNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove captures enum value "above" GetNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove string = "above" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow captures enum value "below" GetNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow string = "below" )
const ( // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityFair captures enum value "fair" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityFair string = "fair" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityGood captures enum value "good" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityGood string = "good" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityFair captures enum value "fair" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityFair string = "fair" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityGood captures enum value "good" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityGood string = "good" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityFair captures enum value "fair" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityFair string = "fair" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityGood captures enum value "good" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityGood string = "good" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityFair captures enum value "fair" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityFair string = "fair" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityGood captures enum value "good" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityGood string = "good" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityPoor captures enum value "poor" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityFair captures enum value "fair" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityFair string = "fair" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityGood captures enum value "good" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityGood string = "good" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityFair captures enum value "fair" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityFair string = "fair" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityGood captures enum value "good" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityGood string = "good" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0DirectionAbove captures enum value "above" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0DirectionAbove string = "above" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0DirectionBelow captures enum value "below" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0DirectionBelow string = "below" )
const ( // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidityQualityFair captures enum value "fair" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidityQualityFair string = "fair" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidityQualityGood captures enum value "good" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidityQualityGood string = "good" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidityQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidityQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidityQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidityQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQualityQualityFair captures enum value "fair" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQualityQualityFair string = "fair" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQualityQualityGood captures enum value "good" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQualityQualityGood string = "good" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQualityQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQualityQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQualityQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQualityQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbientQualityFair captures enum value "fair" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbientQualityFair string = "fair" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbientQualityGood captures enum value "good" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbientQualityGood string = "good" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbientQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbientQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbientQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbientQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25QualityFair captures enum value "fair" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25QualityFair string = "fair" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25QualityGood captures enum value "good" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25QualityGood string = "good" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25QualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25QualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25QualityPoor captures enum value "poor" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25QualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperatureQualityFair captures enum value "fair" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperatureQualityFair string = "fair" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperatureQualityGood captures enum value "good" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperatureQualityGood string = "good" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperatureQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperatureQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperatureQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperatureQualityPoor string = "poor" )
const ( // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvocQualityFair captures enum value "fair" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvocQualityFair string = "fair" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvocQualityGood captures enum value "good" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvocQualityGood string = "good" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvocQualityInadequate captures enum value "inadequate" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvocQualityInadequate string = "inadequate" // GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvocQualityPoor captures enum value "poor" GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvocQualityPoor string = "poor" )
const ( // GetNetworkSensorRelationshipsOKBodyItems0DeviceProductTypeCamera captures enum value "camera" GetNetworkSensorRelationshipsOKBodyItems0DeviceProductTypeCamera string = "camera" // GetNetworkSensorRelationshipsOKBodyItems0DeviceProductTypeSensor captures enum value "sensor" GetNetworkSensorRelationshipsOKBodyItems0DeviceProductTypeSensor string = "sensor" )
const ( // GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0ProductTypeCamera captures enum value "camera" GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0ProductTypeCamera string = "camera" // GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0ProductTypeSensor captures enum value "sensor" GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0ProductTypeSensor string = "sensor" )
const ( // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricBattery captures enum value "battery" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricBattery string = "battery" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricButton captures enum value "button" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricButton string = "button" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricDoor captures enum value "door" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricDoor string = "door" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricHumidity captures enum value "humidity" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricHumidity string = "humidity" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricIndoorAirQuality captures enum value "indoorAirQuality" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricIndoorAirQuality string = "indoorAirQuality" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricNoise captures enum value "noise" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricNoise string = "noise" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricPm25 captures enum value "pm25" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricPm25 string = "pm25" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricTemperature captures enum value "temperature" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricTemperature string = "temperature" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricTvoc captures enum value "tvoc" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricTvoc string = "tvoc" // GetOrganizationSensorReadingsHistoryOKBodyItems0MetricWater captures enum value "water" GetOrganizationSensorReadingsHistoryOKBodyItems0MetricWater string = "water" )
const ( // GetOrganizationSensorReadingsHistoryOKBodyItems0ButtonPressTypeLong captures enum value "long" GetOrganizationSensorReadingsHistoryOKBodyItems0ButtonPressTypeLong string = "long" // GetOrganizationSensorReadingsHistoryOKBodyItems0ButtonPressTypeShort captures enum value "short" GetOrganizationSensorReadingsHistoryOKBodyItems0ButtonPressTypeShort string = "short" )
const ( // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricBattery captures enum value "battery" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricBattery string = "battery" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricButton captures enum value "button" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricButton string = "button" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricDoor captures enum value "door" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricDoor string = "door" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricHumidity captures enum value "humidity" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricHumidity string = "humidity" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricIndoorAirQuality captures enum value "indoorAirQuality" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricIndoorAirQuality string = "indoorAirQuality" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricNoise captures enum value "noise" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricNoise string = "noise" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricPm25 captures enum value "pm25" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricPm25 string = "pm25" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricTemperature captures enum value "temperature" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricTemperature string = "temperature" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricTvoc captures enum value "tvoc" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricTvoc string = "tvoc" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricWater captures enum value "water" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0MetricWater string = "water" )
const ( // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0ButtonPressTypeLong captures enum value "long" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0ButtonPressTypeLong string = "long" // GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0ButtonPressTypeShort captures enum value "short" GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0ButtonPressTypeShort string = "short" )
const ( // UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0ProductTypeCamera captures enum value "camera" UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0ProductTypeCamera string = "camera" // UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0ProductTypeSensor captures enum value "sensor" UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0ProductTypeSensor string = "sensor" )
const ( // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove captures enum value "above" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove string = "above" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow captures enum value "below" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow string = "below" )
const ( // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityGood string = "good" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidityQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityGood string = "good" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityGood string = "good" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbientQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityFair string = "fair" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityGood string = "good" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25QualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityGood string = "good" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperatureQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityGood string = "good" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvocQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionAbove captures enum value "above" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionAbove string = "above" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionBelow captures enum value "below" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionBelow string = "below" )
const ( // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityGood string = "good" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidityQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityGood string = "good" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQualityQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityGood string = "good" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbientQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityFair string = "fair" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityGood string = "good" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25QualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityGood string = "good" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperatureQualityPoor string = "poor" )
const ( // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityFair captures enum value "fair" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityFair string = "fair" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityGood captures enum value "good" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityGood string = "good" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityInadequate captures enum value "inadequate" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityInadequate string = "inadequate" // UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityPoor captures enum value "poor" UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvocQualityPoor string = "poor" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for sensor API
func (*Client) CreateNetworkSensorAlertsProfile ¶
func (a *Client) CreateNetworkSensorAlertsProfile(params *CreateNetworkSensorAlertsProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSensorAlertsProfileOK, error)
CreateNetworkSensorAlertsProfile creates a sensor alert profile for a network
Creates a sensor alert profile for a network.
func (*Client) DeleteNetworkSensorAlertsProfile ¶
func (a *Client) DeleteNetworkSensorAlertsProfile(params *DeleteNetworkSensorAlertsProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSensorAlertsProfileNoContent, error)
DeleteNetworkSensorAlertsProfile deletes a sensor alert profile from a network
Deletes a sensor alert profile from a network.
func (*Client) GetDeviceSensorRelationships ¶
func (a *Client) GetDeviceSensorRelationships(params *GetDeviceSensorRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSensorRelationshipsOK, error)
GetDeviceSensorRelationships lists the sensor roles for a given sensor or camera device
List the sensor roles for a given sensor or camera device.
func (*Client) GetNetworkSensorAlertsCurrentOverviewByMetric ¶
func (a *Client) GetNetworkSensorAlertsCurrentOverviewByMetric(params *GetNetworkSensorAlertsCurrentOverviewByMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorAlertsCurrentOverviewByMetricOK, error)
GetNetworkSensorAlertsCurrentOverviewByMetric returns an overview of currently alerting sensors by metric
Return an overview of currently alerting sensors by metric
func (*Client) GetNetworkSensorAlertsOverviewByMetric ¶
func (a *Client) GetNetworkSensorAlertsOverviewByMetric(params *GetNetworkSensorAlertsOverviewByMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorAlertsOverviewByMetricOK, error)
GetNetworkSensorAlertsOverviewByMetric returns an overview of alert occurrences over a timespan by metric
Return an overview of alert occurrences over a timespan, by metric
func (*Client) GetNetworkSensorAlertsProfile ¶
func (a *Client) GetNetworkSensorAlertsProfile(params *GetNetworkSensorAlertsProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorAlertsProfileOK, error)
GetNetworkSensorAlertsProfile shows details of a sensor alert profile for a network
Show details of a sensor alert profile for a network.
func (*Client) GetNetworkSensorAlertsProfiles ¶
func (a *Client) GetNetworkSensorAlertsProfiles(params *GetNetworkSensorAlertsProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorAlertsProfilesOK, error)
GetNetworkSensorAlertsProfiles lists all sensor alert profiles for a network
Lists all sensor alert profiles for a network.
func (*Client) GetNetworkSensorMqttBroker ¶
func (a *Client) GetNetworkSensorMqttBroker(params *GetNetworkSensorMqttBrokerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorMqttBrokerOK, error)
GetNetworkSensorMqttBroker returns the sensor settings of an m q t t broker
Return the sensor settings of an MQTT broker. To get the broker itself, use /networks/{networkId}/mqttBrokers/{mqttBrokerId}.
func (*Client) GetNetworkSensorMqttBrokers ¶
func (a *Client) GetNetworkSensorMqttBrokers(params *GetNetworkSensorMqttBrokersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorMqttBrokersOK, error)
GetNetworkSensorMqttBrokers lists the sensor settings of all m q t t brokers for this network
List the sensor settings of all MQTT brokers for this network. To get the brokers themselves, use /networks/{networkId}/mqttBrokers.
func (*Client) GetNetworkSensorRelationships ¶
func (a *Client) GetNetworkSensorRelationships(params *GetNetworkSensorRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorRelationshipsOK, error)
GetNetworkSensorRelationships lists the sensor roles for devices in a given network
List the sensor roles for devices in a given network
func (*Client) GetOrganizationSensorReadingsHistory ¶
func (a *Client) GetOrganizationSensorReadingsHistory(params *GetOrganizationSensorReadingsHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSensorReadingsHistoryOK, error)
GetOrganizationSensorReadingsHistory returns all reported readings from sensors in a given timespan sorted by timestamp
Return all reported readings from sensors in a given timespan, sorted by timestamp
func (*Client) GetOrganizationSensorReadingsLatest ¶
func (a *Client) GetOrganizationSensorReadingsLatest(params *GetOrganizationSensorReadingsLatestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSensorReadingsLatestOK, error)
GetOrganizationSensorReadingsLatest returns the latest available reading for each metric from each sensor sorted by sensor serial
Return the latest available reading for each metric from each sensor, sorted by sensor serial
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateDeviceSensorRelationships ¶
func (a *Client) UpdateDeviceSensorRelationships(params *UpdateDeviceSensorRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSensorRelationshipsOK, error)
UpdateDeviceSensorRelationships assigns one or more sensor roles to a given sensor or camera device
Assign one or more sensor roles to a given sensor or camera device.
func (*Client) UpdateNetworkSensorAlertsProfile ¶
func (a *Client) UpdateNetworkSensorAlertsProfile(params *UpdateNetworkSensorAlertsProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSensorAlertsProfileOK, error)
UpdateNetworkSensorAlertsProfile updates a sensor alert profile for a network
Updates a sensor alert profile for a network.
func (*Client) UpdateNetworkSensorMqttBroker ¶
func (a *Client) UpdateNetworkSensorMqttBroker(params *UpdateNetworkSensorMqttBrokerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSensorMqttBrokerOK, error)
UpdateNetworkSensorMqttBroker updates the sensor settings of an m q t t broker
Update the sensor settings of an MQTT broker. To update the broker itself, use /networks/{networkId}/mqttBrokers/{mqttBrokerId}.
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateNetworkSensorAlertsProfile(params *CreateNetworkSensorAlertsProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateNetworkSensorAlertsProfileOK, error) DeleteNetworkSensorAlertsProfile(params *DeleteNetworkSensorAlertsProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteNetworkSensorAlertsProfileNoContent, error) GetDeviceSensorRelationships(params *GetDeviceSensorRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeviceSensorRelationshipsOK, error) GetNetworkSensorAlertsCurrentOverviewByMetric(params *GetNetworkSensorAlertsCurrentOverviewByMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorAlertsCurrentOverviewByMetricOK, error) GetNetworkSensorAlertsOverviewByMetric(params *GetNetworkSensorAlertsOverviewByMetricParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorAlertsOverviewByMetricOK, error) GetNetworkSensorAlertsProfile(params *GetNetworkSensorAlertsProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorAlertsProfileOK, error) GetNetworkSensorAlertsProfiles(params *GetNetworkSensorAlertsProfilesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorAlertsProfilesOK, error) GetNetworkSensorMqttBroker(params *GetNetworkSensorMqttBrokerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorMqttBrokerOK, error) GetNetworkSensorMqttBrokers(params *GetNetworkSensorMqttBrokersParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorMqttBrokersOK, error) GetNetworkSensorRelationships(params *GetNetworkSensorRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetNetworkSensorRelationshipsOK, error) GetOrganizationSensorReadingsHistory(params *GetOrganizationSensorReadingsHistoryParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSensorReadingsHistoryOK, error) GetOrganizationSensorReadingsLatest(params *GetOrganizationSensorReadingsLatestParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetOrganizationSensorReadingsLatestOK, error) UpdateDeviceSensorRelationships(params *UpdateDeviceSensorRelationshipsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateDeviceSensorRelationshipsOK, error) UpdateNetworkSensorAlertsProfile(params *UpdateNetworkSensorAlertsProfileParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSensorAlertsProfileOK, error) UpdateNetworkSensorMqttBroker(params *UpdateNetworkSensorMqttBrokerParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateNetworkSensorMqttBrokerOK, 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 sensor API client.
type CreateNetworkSensorAlertsProfileBody ¶
type CreateNetworkSensorAlertsProfileBody struct { // List of conditions that will cause the profile to send an alert. // Required: true Conditions []*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0 `json:"conditions"` // Name of the sensor alert profile. // Required: true Name *string `json:"name"` // recipients Recipients *CreateNetworkSensorAlertsProfileParamsBodyRecipients `json:"recipients,omitempty"` // schedule Schedule *CreateNetworkSensorAlertsProfileParamsBodySchedule `json:"schedule,omitempty"` // List of device serials assigned to this sensor alert profile. Serials []string `json:"serials"` }
CreateNetworkSensorAlertsProfileBody create network sensor alerts profile body // Example: {"conditions":[{"direction":"above","duration":60,"metric":"temperature","threshold":{"door":{"open":true},"humidity":{"quality":"inadequate","relativePercentage":65},"indoorAirQuality":{"quality":"fair","score":80},"noise":{"ambient":{"level":120,"quality":"poor"}},"pm25":{"concentration":90,"quality":"fair"},"temperature":{"celsius":20.5,"fahrenheit":70,"quality":"good"},"tvoc":{"concentration":400,"quality":"poor"},"water":{"present":true}}}],"name":"My Sensor Alert Profile","recipients":{"emails":["miles@meraki.com"],"httpServerIds":["aHR0cHM6Ly93d3cuZXhhbXBsZS5jb20vd2ViaG9va3M="],"smsNumbers":["+15555555555"]},"schedule":{"id":"5"},"serials":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]} swagger:model CreateNetworkSensorAlertsProfileBody
func (*CreateNetworkSensorAlertsProfileBody) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network sensor alerts profile body based on the context it is used
func (*CreateNetworkSensorAlertsProfileBody) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileBody) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileOK ¶
type CreateNetworkSensorAlertsProfileOK struct {
Payload *CreateNetworkSensorAlertsProfileOKBody
}
CreateNetworkSensorAlertsProfileOK describes a response with status code 200, with default header values.
Successful operation
func NewCreateNetworkSensorAlertsProfileOK ¶
func NewCreateNetworkSensorAlertsProfileOK() *CreateNetworkSensorAlertsProfileOK
NewCreateNetworkSensorAlertsProfileOK creates a CreateNetworkSensorAlertsProfileOK with default headers values
func (*CreateNetworkSensorAlertsProfileOK) Code ¶
func (o *CreateNetworkSensorAlertsProfileOK) Code() int
Code gets the status code for the create network sensor alerts profile o k response
func (*CreateNetworkSensorAlertsProfileOK) Error ¶
func (o *CreateNetworkSensorAlertsProfileOK) Error() string
func (*CreateNetworkSensorAlertsProfileOK) GetPayload ¶
func (o *CreateNetworkSensorAlertsProfileOK) GetPayload() *CreateNetworkSensorAlertsProfileOKBody
func (*CreateNetworkSensorAlertsProfileOK) IsClientError ¶
func (o *CreateNetworkSensorAlertsProfileOK) IsClientError() bool
IsClientError returns true when this create network sensor alerts profile o k response has a 4xx status code
func (*CreateNetworkSensorAlertsProfileOK) IsCode ¶
func (o *CreateNetworkSensorAlertsProfileOK) IsCode(code int) bool
IsCode returns true when this create network sensor alerts profile o k response a status code equal to that given
func (*CreateNetworkSensorAlertsProfileOK) IsRedirect ¶
func (o *CreateNetworkSensorAlertsProfileOK) IsRedirect() bool
IsRedirect returns true when this create network sensor alerts profile o k response has a 3xx status code
func (*CreateNetworkSensorAlertsProfileOK) IsServerError ¶
func (o *CreateNetworkSensorAlertsProfileOK) IsServerError() bool
IsServerError returns true when this create network sensor alerts profile o k response has a 5xx status code
func (*CreateNetworkSensorAlertsProfileOK) IsSuccess ¶
func (o *CreateNetworkSensorAlertsProfileOK) IsSuccess() bool
IsSuccess returns true when this create network sensor alerts profile o k response has a 2xx status code
func (*CreateNetworkSensorAlertsProfileOK) String ¶
func (o *CreateNetworkSensorAlertsProfileOK) String() string
type CreateNetworkSensorAlertsProfileOKBody ¶
type CreateNetworkSensorAlertsProfileOKBody struct { // List of conditions that will cause the profile to send an alert. // Required: true Conditions []*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0 `json:"conditions"` // Name of the sensor alert profile. Name string `json:"name,omitempty"` // ID of the sensor alert profile. ProfileID string `json:"profileId,omitempty"` // recipients Recipients *CreateNetworkSensorAlertsProfileOKBodyRecipients `json:"recipients,omitempty"` // schedule Schedule *CreateNetworkSensorAlertsProfileOKBodySchedule `json:"schedule,omitempty"` // List of device serials assigned to this sensor alert profile. Serials []string `json:"serials"` }
CreateNetworkSensorAlertsProfileOKBody create network sensor alerts profile o k body swagger:model CreateNetworkSensorAlertsProfileOKBody
func (*CreateNetworkSensorAlertsProfileOKBody) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network sensor alerts profile o k body based on the context it is used
func (*CreateNetworkSensorAlertsProfileOKBody) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBody) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0 ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0 struct { // If 'above', an alert will be sent when a sensor reads above the threshold. If 'below', an alert will be sent when a sensor reads below the threshold. Only applicable for temperature and humidity thresholds. // Enum: [above below] Direction string `json:"direction,omitempty"` // Length of time in seconds that the triggering state must persist before an alert is sent. Available options are 0 seconds, 1 minute, 2 minutes, 3 minutes, 4 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, and 1 hour. Default is 0. // Enum: [0 60 120 180 240 300 600 900 1800 3600] Duration int64 `json:"duration,omitempty"` // The type of sensor metric that will be monitored for changes. Available metrics are door, humidity, indoorAirQuality, noise, pm25, temperature, tvoc, and water. // Required: true Metric *string `json:"metric"` // threshold // Required: true Threshold *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold `json:"threshold"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0 create network sensor alerts profile o k body conditions items0 swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network sensor alerts profile o k body conditions items0 based on the context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold struct { // door Door *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor `json:"door,omitempty"` // humidity Humidity *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity `json:"humidity,omitempty"` // indoor air quality IndoorAirQuality *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality `json:"indoorAirQuality,omitempty"` // noise Noise *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise `json:"noise,omitempty"` // pm25 Pm25 *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 `json:"pm25,omitempty"` // temperature Temperature *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature `json:"temperature,omitempty"` // tvoc Tvoc *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc `json:"tvoc,omitempty"` // water Water *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater `json:"water,omitempty"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold Threshold for sensor readings that will cause an alert to be sent. This object should contain a single property key matching the condition's 'metric' value. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network sensor alerts profile o k body conditions items0 threshold based on the context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor struct { // Alerting threshold for a door open event. Must be set to true. // Required: true Open *bool `json:"open"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor Door open threshold. 'open' must be provided and set to true. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold door based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold door
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity struct { // Alerting threshold as a qualitative humidity level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold in %RH. RelativePercentage int64 `json:"relativePercentage,omitempty"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity Humidity threshold. One of 'relativePercentage' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold humidity based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold humidity
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality struct { // Alerting threshold as a qualitative indoor air quality level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold as indoor air quality score. Score int64 `json:"score,omitempty"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality Indoor air quality score threshold. One of 'score' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold indoor air quality based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold indoor air quality
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise struct { // ambient // Required: true Ambient *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient `json:"ambient"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise Noise threshold. 'ambient' must be provided. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network sensor alerts profile o k body conditions items0 threshold noise based on the context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold noise
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient struct { // Alerting threshold as adjusted decibels. Level int64 `json:"level,omitempty"` // Alerting threshold as a qualitative ambient noise level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient Ambient noise threshold. One of 'level' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold noise ambient based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold noise ambient
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 struct { // Alerting threshold as PM2.5 parts per million. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative PM2.5 level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 PM2.5 concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold pm25 based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold pm25
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature struct { // Alerting threshold in degrees Celsius. Celsius float32 `json:"celsius,omitempty"` // Alerting threshold in degrees Fahrenheit. Fahrenheit float32 `json:"fahrenheit,omitempty"` // Alerting threshold as a qualitative temperature level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature Temperature threshold. One of 'celsius', 'fahrenheit', or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold temperature based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold temperature
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc struct { // Alerting threshold as TVOC micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative TVOC level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc TVOC concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold tvoc based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold tvoc
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater ¶
type CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater struct { // Alerting threshold for a water detection event. Must be set to true. // Required: true Present *bool `json:"present"` }
CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater Water detection threshold. 'present' must be provided and set to true. swagger:model CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold water based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile o k body conditions items0 threshold water
type CreateNetworkSensorAlertsProfileOKBodyRecipients ¶
type CreateNetworkSensorAlertsProfileOKBodyRecipients struct { // A list of emails that will receive information about the alert. Emails []string `json:"emails"` // A list of webhook endpoint IDs that will receive information about the alert. HTTPServerIds []string `json:"httpServerIds"` // A list of SMS numbers that will receive information about the alert. SmsNumbers []string `json:"smsNumbers"` }
CreateNetworkSensorAlertsProfileOKBodyRecipients List of recipients that will receive the alert. swagger:model CreateNetworkSensorAlertsProfileOKBodyRecipients
func (*CreateNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body recipients based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileOKBodySchedule ¶
type CreateNetworkSensorAlertsProfileOKBodySchedule struct { // ID of the sensor schedule to use with the alert profile. If not defined, the alert profile will be active at all times. ID string `json:"id,omitempty"` // Name of the sensor schedule to use with the alert profile. Name string `json:"name,omitempty"` }
CreateNetworkSensorAlertsProfileOKBodySchedule The sensor schedule to use with the alert profile. swagger:model CreateNetworkSensorAlertsProfileOKBodySchedule
func (*CreateNetworkSensorAlertsProfileOKBodySchedule) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileOKBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile o k body schedule based on context it is used
func (*CreateNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileParams ¶
type CreateNetworkSensorAlertsProfileParams struct { // CreateNetworkSensorAlertsProfile. CreateNetworkSensorAlertsProfile CreateNetworkSensorAlertsProfileBody /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateNetworkSensorAlertsProfileParams contains all the parameters to send to the API endpoint
for the create network sensor alerts profile operation. Typically these are written to a http.Request.
func NewCreateNetworkSensorAlertsProfileParams ¶
func NewCreateNetworkSensorAlertsProfileParams() *CreateNetworkSensorAlertsProfileParams
NewCreateNetworkSensorAlertsProfileParams creates a new CreateNetworkSensorAlertsProfileParams 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 NewCreateNetworkSensorAlertsProfileParamsWithContext ¶
func NewCreateNetworkSensorAlertsProfileParamsWithContext(ctx context.Context) *CreateNetworkSensorAlertsProfileParams
NewCreateNetworkSensorAlertsProfileParamsWithContext creates a new CreateNetworkSensorAlertsProfileParams object with the ability to set a context for a request.
func NewCreateNetworkSensorAlertsProfileParamsWithHTTPClient ¶
func NewCreateNetworkSensorAlertsProfileParamsWithHTTPClient(client *http.Client) *CreateNetworkSensorAlertsProfileParams
NewCreateNetworkSensorAlertsProfileParamsWithHTTPClient creates a new CreateNetworkSensorAlertsProfileParams object with the ability to set a custom HTTPClient for a request.
func NewCreateNetworkSensorAlertsProfileParamsWithTimeout ¶
func NewCreateNetworkSensorAlertsProfileParamsWithTimeout(timeout time.Duration) *CreateNetworkSensorAlertsProfileParams
NewCreateNetworkSensorAlertsProfileParamsWithTimeout creates a new CreateNetworkSensorAlertsProfileParams object with the ability to set a timeout on a request.
func (*CreateNetworkSensorAlertsProfileParams) SetContext ¶
func (o *CreateNetworkSensorAlertsProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) SetCreateNetworkSensorAlertsProfile ¶
func (o *CreateNetworkSensorAlertsProfileParams) SetCreateNetworkSensorAlertsProfile(createNetworkSensorAlertsProfile CreateNetworkSensorAlertsProfileBody)
SetCreateNetworkSensorAlertsProfile adds the createNetworkSensorAlertsProfile to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) SetDefaults ¶
func (o *CreateNetworkSensorAlertsProfileParams) SetDefaults()
SetDefaults hydrates default values in the create network sensor alerts profile params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNetworkSensorAlertsProfileParams) SetHTTPClient ¶
func (o *CreateNetworkSensorAlertsProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) SetNetworkID ¶
func (o *CreateNetworkSensorAlertsProfileParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) SetTimeout ¶
func (o *CreateNetworkSensorAlertsProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) WithContext ¶
func (o *CreateNetworkSensorAlertsProfileParams) WithContext(ctx context.Context) *CreateNetworkSensorAlertsProfileParams
WithContext adds the context to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) WithCreateNetworkSensorAlertsProfile ¶
func (o *CreateNetworkSensorAlertsProfileParams) WithCreateNetworkSensorAlertsProfile(createNetworkSensorAlertsProfile CreateNetworkSensorAlertsProfileBody) *CreateNetworkSensorAlertsProfileParams
WithCreateNetworkSensorAlertsProfile adds the createNetworkSensorAlertsProfile to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) WithDefaults ¶
func (o *CreateNetworkSensorAlertsProfileParams) WithDefaults() *CreateNetworkSensorAlertsProfileParams
WithDefaults hydrates default values in the create network sensor alerts profile params (not the query body).
All values with no default are reset to their zero value.
func (*CreateNetworkSensorAlertsProfileParams) WithHTTPClient ¶
func (o *CreateNetworkSensorAlertsProfileParams) WithHTTPClient(client *http.Client) *CreateNetworkSensorAlertsProfileParams
WithHTTPClient adds the HTTPClient to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) WithNetworkID ¶
func (o *CreateNetworkSensorAlertsProfileParams) WithNetworkID(networkID string) *CreateNetworkSensorAlertsProfileParams
WithNetworkID adds the networkID to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) WithTimeout ¶
func (o *CreateNetworkSensorAlertsProfileParams) WithTimeout(timeout time.Duration) *CreateNetworkSensorAlertsProfileParams
WithTimeout adds the timeout to the create network sensor alerts profile params
func (*CreateNetworkSensorAlertsProfileParams) WriteToRequest ¶
func (o *CreateNetworkSensorAlertsProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0 ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0 struct { // If 'above', an alert will be sent when a sensor reads above the threshold. If 'below', an alert will be sent when a sensor reads below the threshold. Only applicable for temperature and humidity thresholds. // Enum: [above below] Direction string `json:"direction,omitempty"` // Length of time in seconds that the triggering state must persist before an alert is sent. Available options are 0 seconds, 1 minute, 2 minutes, 3 minutes, 4 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, and 1 hour. Default is 0. // Enum: [0 60 120 180 240 300 600 900 1800 3600] Duration int64 `json:"duration,omitempty"` // The type of sensor metric that will be monitored for changes. Available metrics are door, humidity, indoorAirQuality, noise, pm25, temperature, tvoc, and water. // Required: true Metric *string `json:"metric"` // threshold // Required: true Threshold *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold `json:"threshold"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0 create network sensor alerts profile params body conditions items0 swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network sensor alerts profile params body conditions items0 based on the context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold struct { // door Door *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor `json:"door,omitempty"` // humidity Humidity *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity `json:"humidity,omitempty"` // indoor air quality IndoorAirQuality *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality `json:"indoorAirQuality,omitempty"` // noise Noise *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise `json:"noise,omitempty"` // pm25 Pm25 *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25 `json:"pm25,omitempty"` // temperature Temperature *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature `json:"temperature,omitempty"` // tvoc Tvoc *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc `json:"tvoc,omitempty"` // water Water *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater `json:"water,omitempty"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold Threshold for sensor readings that will cause an alert to be sent. This object should contain a single property key matching the condition's 'metric' value. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network sensor alerts profile params body conditions items0 threshold based on the context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor struct { // Alerting threshold for a door open event. Must be set to true. // Required: true Open *bool `json:"open"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor Door open threshold. 'open' must be provided and set to true. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold door based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold door
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity struct { // Alerting threshold as a qualitative humidity level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold in %RH. RelativePercentage int64 `json:"relativePercentage,omitempty"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity Humidity threshold. One of 'relativePercentage' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold humidity based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold humidity
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality struct { // Alerting threshold as a qualitative indoor air quality level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold as indoor air quality score. Score int64 `json:"score,omitempty"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality Indoor air quality score threshold. One of 'score' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold indoor air quality based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold indoor air quality
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise struct { // ambient // Required: true Ambient *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient `json:"ambient"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise Noise threshold. 'ambient' must be provided. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this create network sensor alerts profile params body conditions items0 threshold noise based on the context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold noise
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient struct { // Alerting threshold as adjusted decibels. Level int64 `json:"level,omitempty"` // Alerting threshold as a qualitative ambient noise level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient Ambient noise threshold. One of 'level' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold noise ambient based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold noise ambient
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25 ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25 struct { // Alerting threshold as PM2.5 parts per million. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative PM2.5 level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25 PM2.5 concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold pm25 based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold pm25
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature struct { // Alerting threshold in degrees Celsius. Celsius float32 `json:"celsius,omitempty"` // Alerting threshold in degrees Fahrenheit. Fahrenheit float32 `json:"fahrenheit,omitempty"` // Alerting threshold as a qualitative temperature level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature Temperature threshold. One of 'celsius', 'fahrenheit', or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold temperature based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold temperature
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc struct { // Alerting threshold as TVOC micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative TVOC level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc TVOC concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold tvoc based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold tvoc
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater ¶
type CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater struct { // Alerting threshold for a water detection event. Must be set to true. // Required: true Present *bool `json:"present"` }
CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater Water detection threshold. 'present' must be provided and set to true. swagger:model CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold water based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) Validate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
Validate validates this create network sensor alerts profile params body conditions items0 threshold water
type CreateNetworkSensorAlertsProfileParamsBodyRecipients ¶
type CreateNetworkSensorAlertsProfileParamsBodyRecipients struct { // A list of emails that will receive information about the alert. Emails []string `json:"emails"` // A list of webhook endpoint IDs that will receive information about the alert. HTTPServerIds []string `json:"httpServerIds"` // A list of SMS numbers that will receive information about the alert. SmsNumbers []string `json:"smsNumbers"` }
CreateNetworkSensorAlertsProfileParamsBodyRecipients List of recipients that will receive the alert. swagger:model CreateNetworkSensorAlertsProfileParamsBodyRecipients
func (*CreateNetworkSensorAlertsProfileParamsBodyRecipients) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body recipients based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodyRecipients) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyRecipients) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodyRecipients) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodyRecipients) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileParamsBodySchedule ¶
type CreateNetworkSensorAlertsProfileParamsBodySchedule struct { // ID of the sensor schedule to use with the alert profile. If not defined, the alert profile will be active at all times. ID string `json:"id,omitempty"` }
CreateNetworkSensorAlertsProfileParamsBodySchedule The sensor schedule to use with the alert profile. swagger:model CreateNetworkSensorAlertsProfileParamsBodySchedule
func (*CreateNetworkSensorAlertsProfileParamsBodySchedule) ContextValidate ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this create network sensor alerts profile params body schedule based on context it is used
func (*CreateNetworkSensorAlertsProfileParamsBodySchedule) MarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodySchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateNetworkSensorAlertsProfileParamsBodySchedule) UnmarshalBinary ¶
func (o *CreateNetworkSensorAlertsProfileParamsBodySchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateNetworkSensorAlertsProfileReader ¶
type CreateNetworkSensorAlertsProfileReader struct {
// contains filtered or unexported fields
}
CreateNetworkSensorAlertsProfileReader is a Reader for the CreateNetworkSensorAlertsProfile structure.
func (*CreateNetworkSensorAlertsProfileReader) ReadResponse ¶
func (o *CreateNetworkSensorAlertsProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteNetworkSensorAlertsProfileNoContent ¶
type DeleteNetworkSensorAlertsProfileNoContent struct { }
DeleteNetworkSensorAlertsProfileNoContent describes a response with status code 204, with default header values.
Successful operation
func NewDeleteNetworkSensorAlertsProfileNoContent ¶
func NewDeleteNetworkSensorAlertsProfileNoContent() *DeleteNetworkSensorAlertsProfileNoContent
NewDeleteNetworkSensorAlertsProfileNoContent creates a DeleteNetworkSensorAlertsProfileNoContent with default headers values
func (*DeleteNetworkSensorAlertsProfileNoContent) Code ¶
func (o *DeleteNetworkSensorAlertsProfileNoContent) Code() int
Code gets the status code for the delete network sensor alerts profile no content response
func (*DeleteNetworkSensorAlertsProfileNoContent) Error ¶
func (o *DeleteNetworkSensorAlertsProfileNoContent) Error() string
func (*DeleteNetworkSensorAlertsProfileNoContent) IsClientError ¶
func (o *DeleteNetworkSensorAlertsProfileNoContent) IsClientError() bool
IsClientError returns true when this delete network sensor alerts profile no content response has a 4xx status code
func (*DeleteNetworkSensorAlertsProfileNoContent) IsCode ¶
func (o *DeleteNetworkSensorAlertsProfileNoContent) IsCode(code int) bool
IsCode returns true when this delete network sensor alerts profile no content response a status code equal to that given
func (*DeleteNetworkSensorAlertsProfileNoContent) IsRedirect ¶
func (o *DeleteNetworkSensorAlertsProfileNoContent) IsRedirect() bool
IsRedirect returns true when this delete network sensor alerts profile no content response has a 3xx status code
func (*DeleteNetworkSensorAlertsProfileNoContent) IsServerError ¶
func (o *DeleteNetworkSensorAlertsProfileNoContent) IsServerError() bool
IsServerError returns true when this delete network sensor alerts profile no content response has a 5xx status code
func (*DeleteNetworkSensorAlertsProfileNoContent) IsSuccess ¶
func (o *DeleteNetworkSensorAlertsProfileNoContent) IsSuccess() bool
IsSuccess returns true when this delete network sensor alerts profile no content response has a 2xx status code
func (*DeleteNetworkSensorAlertsProfileNoContent) String ¶
func (o *DeleteNetworkSensorAlertsProfileNoContent) String() string
type DeleteNetworkSensorAlertsProfileParams ¶
type DeleteNetworkSensorAlertsProfileParams struct { /* ID. ID */ ID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteNetworkSensorAlertsProfileParams contains all the parameters to send to the API endpoint
for the delete network sensor alerts profile operation. Typically these are written to a http.Request.
func NewDeleteNetworkSensorAlertsProfileParams ¶
func NewDeleteNetworkSensorAlertsProfileParams() *DeleteNetworkSensorAlertsProfileParams
NewDeleteNetworkSensorAlertsProfileParams creates a new DeleteNetworkSensorAlertsProfileParams 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 NewDeleteNetworkSensorAlertsProfileParamsWithContext ¶
func NewDeleteNetworkSensorAlertsProfileParamsWithContext(ctx context.Context) *DeleteNetworkSensorAlertsProfileParams
NewDeleteNetworkSensorAlertsProfileParamsWithContext creates a new DeleteNetworkSensorAlertsProfileParams object with the ability to set a context for a request.
func NewDeleteNetworkSensorAlertsProfileParamsWithHTTPClient ¶
func NewDeleteNetworkSensorAlertsProfileParamsWithHTTPClient(client *http.Client) *DeleteNetworkSensorAlertsProfileParams
NewDeleteNetworkSensorAlertsProfileParamsWithHTTPClient creates a new DeleteNetworkSensorAlertsProfileParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteNetworkSensorAlertsProfileParamsWithTimeout ¶
func NewDeleteNetworkSensorAlertsProfileParamsWithTimeout(timeout time.Duration) *DeleteNetworkSensorAlertsProfileParams
NewDeleteNetworkSensorAlertsProfileParamsWithTimeout creates a new DeleteNetworkSensorAlertsProfileParams object with the ability to set a timeout on a request.
func (*DeleteNetworkSensorAlertsProfileParams) SetContext ¶
func (o *DeleteNetworkSensorAlertsProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) SetDefaults ¶
func (o *DeleteNetworkSensorAlertsProfileParams) SetDefaults()
SetDefaults hydrates default values in the delete network sensor alerts profile params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNetworkSensorAlertsProfileParams) SetHTTPClient ¶
func (o *DeleteNetworkSensorAlertsProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) SetID ¶
func (o *DeleteNetworkSensorAlertsProfileParams) SetID(id string)
SetID adds the id to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) SetNetworkID ¶
func (o *DeleteNetworkSensorAlertsProfileParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) SetTimeout ¶
func (o *DeleteNetworkSensorAlertsProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) WithContext ¶
func (o *DeleteNetworkSensorAlertsProfileParams) WithContext(ctx context.Context) *DeleteNetworkSensorAlertsProfileParams
WithContext adds the context to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) WithDefaults ¶
func (o *DeleteNetworkSensorAlertsProfileParams) WithDefaults() *DeleteNetworkSensorAlertsProfileParams
WithDefaults hydrates default values in the delete network sensor alerts profile params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteNetworkSensorAlertsProfileParams) WithHTTPClient ¶
func (o *DeleteNetworkSensorAlertsProfileParams) WithHTTPClient(client *http.Client) *DeleteNetworkSensorAlertsProfileParams
WithHTTPClient adds the HTTPClient to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) WithID ¶
func (o *DeleteNetworkSensorAlertsProfileParams) WithID(id string) *DeleteNetworkSensorAlertsProfileParams
WithID adds the id to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) WithNetworkID ¶
func (o *DeleteNetworkSensorAlertsProfileParams) WithNetworkID(networkID string) *DeleteNetworkSensorAlertsProfileParams
WithNetworkID adds the networkID to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) WithTimeout ¶
func (o *DeleteNetworkSensorAlertsProfileParams) WithTimeout(timeout time.Duration) *DeleteNetworkSensorAlertsProfileParams
WithTimeout adds the timeout to the delete network sensor alerts profile params
func (*DeleteNetworkSensorAlertsProfileParams) WriteToRequest ¶
func (o *DeleteNetworkSensorAlertsProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteNetworkSensorAlertsProfileReader ¶
type DeleteNetworkSensorAlertsProfileReader struct {
// contains filtered or unexported fields
}
DeleteNetworkSensorAlertsProfileReader is a Reader for the DeleteNetworkSensorAlertsProfile structure.
func (*DeleteNetworkSensorAlertsProfileReader) ReadResponse ¶
func (o *DeleteNetworkSensorAlertsProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetDeviceSensorRelationshipsOK ¶
type GetDeviceSensorRelationshipsOK struct {
Payload []*GetDeviceSensorRelationshipsOKBodyItems0
}
GetDeviceSensorRelationshipsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetDeviceSensorRelationshipsOK ¶
func NewGetDeviceSensorRelationshipsOK() *GetDeviceSensorRelationshipsOK
NewGetDeviceSensorRelationshipsOK creates a GetDeviceSensorRelationshipsOK with default headers values
func (*GetDeviceSensorRelationshipsOK) Code ¶
func (o *GetDeviceSensorRelationshipsOK) Code() int
Code gets the status code for the get device sensor relationships o k response
func (*GetDeviceSensorRelationshipsOK) Error ¶
func (o *GetDeviceSensorRelationshipsOK) Error() string
func (*GetDeviceSensorRelationshipsOK) GetPayload ¶
func (o *GetDeviceSensorRelationshipsOK) GetPayload() []*GetDeviceSensorRelationshipsOKBodyItems0
func (*GetDeviceSensorRelationshipsOK) IsClientError ¶
func (o *GetDeviceSensorRelationshipsOK) IsClientError() bool
IsClientError returns true when this get device sensor relationships o k response has a 4xx status code
func (*GetDeviceSensorRelationshipsOK) IsCode ¶
func (o *GetDeviceSensorRelationshipsOK) IsCode(code int) bool
IsCode returns true when this get device sensor relationships o k response a status code equal to that given
func (*GetDeviceSensorRelationshipsOK) IsRedirect ¶
func (o *GetDeviceSensorRelationshipsOK) IsRedirect() bool
IsRedirect returns true when this get device sensor relationships o k response has a 3xx status code
func (*GetDeviceSensorRelationshipsOK) IsServerError ¶
func (o *GetDeviceSensorRelationshipsOK) IsServerError() bool
IsServerError returns true when this get device sensor relationships o k response has a 5xx status code
func (*GetDeviceSensorRelationshipsOK) IsSuccess ¶
func (o *GetDeviceSensorRelationshipsOK) IsSuccess() bool
IsSuccess returns true when this get device sensor relationships o k response has a 2xx status code
func (*GetDeviceSensorRelationshipsOK) String ¶
func (o *GetDeviceSensorRelationshipsOK) String() string
type GetDeviceSensorRelationshipsOKBodyItems0 ¶
type GetDeviceSensorRelationshipsOKBodyItems0 struct { // livestream Livestream *GetDeviceSensorRelationshipsOKBodyItems0Livestream `json:"livestream,omitempty"` }
GetDeviceSensorRelationshipsOKBodyItems0 get device sensor relationships o k body items0 swagger:model GetDeviceSensorRelationshipsOKBodyItems0
func (*GetDeviceSensorRelationshipsOKBodyItems0) ContextValidate ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get device sensor relationships o k body items0 based on the context it is used
func (*GetDeviceSensorRelationshipsOKBodyItems0) MarshalBinary ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSensorRelationshipsOKBodyItems0) UnmarshalBinary ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSensorRelationshipsOKBodyItems0Livestream ¶
type GetDeviceSensorRelationshipsOKBodyItems0Livestream struct { // An array of the related devices for the role RelatedDevices []*GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0 `json:"relatedDevices"` }
GetDeviceSensorRelationshipsOKBodyItems0Livestream A role defined between an MT sensor and an MV camera that adds the camera's livestream to the sensor's details page. Snapshots from the camera will also appear in alert notifications that the sensor triggers. swagger:model GetDeviceSensorRelationshipsOKBodyItems0Livestream
func (*GetDeviceSensorRelationshipsOKBodyItems0Livestream) ContextValidate ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0Livestream) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get device sensor relationships o k body items0 livestream based on the context it is used
func (*GetDeviceSensorRelationshipsOKBodyItems0Livestream) MarshalBinary ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0Livestream) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSensorRelationshipsOKBodyItems0Livestream) UnmarshalBinary ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0Livestream) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0 ¶
type GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0 struct { // The product type of the related device // Enum: [camera sensor] ProductType string `json:"productType,omitempty"` // The serial of the related device Serial string `json:"serial,omitempty"` }
GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0 get device sensor relationships o k body items0 livestream related devices items0 swagger:model GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0
func (*GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) ContextValidate ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get device sensor relationships o k body items0 livestream related devices items0 based on context it is used
func (*GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) MarshalBinary ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) UnmarshalBinary ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) Validate ¶
func (o *GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) Validate(formats strfmt.Registry) error
Validate validates this get device sensor relationships o k body items0 livestream related devices items0
type GetDeviceSensorRelationshipsParams ¶
type GetDeviceSensorRelationshipsParams struct { /* Serial. Serial */ Serial string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetDeviceSensorRelationshipsParams contains all the parameters to send to the API endpoint
for the get device sensor relationships operation. Typically these are written to a http.Request.
func NewGetDeviceSensorRelationshipsParams ¶
func NewGetDeviceSensorRelationshipsParams() *GetDeviceSensorRelationshipsParams
NewGetDeviceSensorRelationshipsParams creates a new GetDeviceSensorRelationshipsParams 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 NewGetDeviceSensorRelationshipsParamsWithContext ¶
func NewGetDeviceSensorRelationshipsParamsWithContext(ctx context.Context) *GetDeviceSensorRelationshipsParams
NewGetDeviceSensorRelationshipsParamsWithContext creates a new GetDeviceSensorRelationshipsParams object with the ability to set a context for a request.
func NewGetDeviceSensorRelationshipsParamsWithHTTPClient ¶
func NewGetDeviceSensorRelationshipsParamsWithHTTPClient(client *http.Client) *GetDeviceSensorRelationshipsParams
NewGetDeviceSensorRelationshipsParamsWithHTTPClient creates a new GetDeviceSensorRelationshipsParams object with the ability to set a custom HTTPClient for a request.
func NewGetDeviceSensorRelationshipsParamsWithTimeout ¶
func NewGetDeviceSensorRelationshipsParamsWithTimeout(timeout time.Duration) *GetDeviceSensorRelationshipsParams
NewGetDeviceSensorRelationshipsParamsWithTimeout creates a new GetDeviceSensorRelationshipsParams object with the ability to set a timeout on a request.
func (*GetDeviceSensorRelationshipsParams) SetContext ¶
func (o *GetDeviceSensorRelationshipsParams) SetContext(ctx context.Context)
SetContext adds the context to the get device sensor relationships params
func (*GetDeviceSensorRelationshipsParams) SetDefaults ¶
func (o *GetDeviceSensorRelationshipsParams) SetDefaults()
SetDefaults hydrates default values in the get device sensor relationships params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceSensorRelationshipsParams) SetHTTPClient ¶
func (o *GetDeviceSensorRelationshipsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get device sensor relationships params
func (*GetDeviceSensorRelationshipsParams) SetSerial ¶
func (o *GetDeviceSensorRelationshipsParams) SetSerial(serial string)
SetSerial adds the serial to the get device sensor relationships params
func (*GetDeviceSensorRelationshipsParams) SetTimeout ¶
func (o *GetDeviceSensorRelationshipsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get device sensor relationships params
func (*GetDeviceSensorRelationshipsParams) WithContext ¶
func (o *GetDeviceSensorRelationshipsParams) WithContext(ctx context.Context) *GetDeviceSensorRelationshipsParams
WithContext adds the context to the get device sensor relationships params
func (*GetDeviceSensorRelationshipsParams) WithDefaults ¶
func (o *GetDeviceSensorRelationshipsParams) WithDefaults() *GetDeviceSensorRelationshipsParams
WithDefaults hydrates default values in the get device sensor relationships params (not the query body).
All values with no default are reset to their zero value.
func (*GetDeviceSensorRelationshipsParams) WithHTTPClient ¶
func (o *GetDeviceSensorRelationshipsParams) WithHTTPClient(client *http.Client) *GetDeviceSensorRelationshipsParams
WithHTTPClient adds the HTTPClient to the get device sensor relationships params
func (*GetDeviceSensorRelationshipsParams) WithSerial ¶
func (o *GetDeviceSensorRelationshipsParams) WithSerial(serial string) *GetDeviceSensorRelationshipsParams
WithSerial adds the serial to the get device sensor relationships params
func (*GetDeviceSensorRelationshipsParams) WithTimeout ¶
func (o *GetDeviceSensorRelationshipsParams) WithTimeout(timeout time.Duration) *GetDeviceSensorRelationshipsParams
WithTimeout adds the timeout to the get device sensor relationships params
func (*GetDeviceSensorRelationshipsParams) WriteToRequest ¶
func (o *GetDeviceSensorRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetDeviceSensorRelationshipsReader ¶
type GetDeviceSensorRelationshipsReader struct {
// contains filtered or unexported fields
}
GetDeviceSensorRelationshipsReader is a Reader for the GetDeviceSensorRelationships structure.
func (*GetDeviceSensorRelationshipsReader) ReadResponse ¶
func (o *GetDeviceSensorRelationshipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSensorAlertsCurrentOverviewByMetricOK ¶
type GetNetworkSensorAlertsCurrentOverviewByMetricOK struct {
Payload *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody
}
GetNetworkSensorAlertsCurrentOverviewByMetricOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSensorAlertsCurrentOverviewByMetricOK ¶
func NewGetNetworkSensorAlertsCurrentOverviewByMetricOK() *GetNetworkSensorAlertsCurrentOverviewByMetricOK
NewGetNetworkSensorAlertsCurrentOverviewByMetricOK creates a GetNetworkSensorAlertsCurrentOverviewByMetricOK with default headers values
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) Code ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) Code() int
Code gets the status code for the get network sensor alerts current overview by metric o k response
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) Error ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) Error() string
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) GetPayload ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) GetPayload() *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsClientError ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsClientError() bool
IsClientError returns true when this get network sensor alerts current overview by metric o k response has a 4xx status code
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsCode ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsCode(code int) bool
IsCode returns true when this get network sensor alerts current overview by metric o k response a status code equal to that given
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsRedirect ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsRedirect() bool
IsRedirect returns true when this get network sensor alerts current overview by metric o k response has a 3xx status code
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsServerError ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsServerError() bool
IsServerError returns true when this get network sensor alerts current overview by metric o k response has a 5xx status code
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsSuccess ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsSuccess() bool
IsSuccess returns true when this get network sensor alerts current overview by metric o k response has a 2xx status code
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) String ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOK) String() string
type GetNetworkSensorAlertsCurrentOverviewByMetricOKBody ¶
type GetNetworkSensorAlertsCurrentOverviewByMetricOKBody struct { // counts Counts *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts `json:"counts,omitempty"` // List of metrics that are supported for alerts, based on available sensor devices in the network SupportedMetrics []string `json:"supportedMetrics"` }
GetNetworkSensorAlertsCurrentOverviewByMetricOKBody get network sensor alerts current overview by metric o k body swagger:model GetNetworkSensorAlertsCurrentOverviewByMetricOKBody
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) ContextValidate ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts current overview by metric o k body based on the context it is used
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) MarshalBinary ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts ¶
type GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts struct { // Number of sensors that are currently alerting due to an open door Door int64 `json:"door,omitempty"` // Number of sensors that are currently alerting due to humidity readings Humidity int64 `json:"humidity,omitempty"` // Number of sensors that are currently alerting due to indoor air quality readings IndoorAirQuality int64 `json:"indoorAirQuality,omitempty"` // noise Noise *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise `json:"noise,omitempty"` // Number of sensors that are currently alerting due to PM2.5 readings Pm25 int64 `json:"pm25,omitempty"` // Number of sensors that are currently alerting due to temperature readings Temperature int64 `json:"temperature,omitempty"` // Number of sensors that are currently alerting due to TVOC readings Tvoc int64 `json:"tvoc,omitempty"` // Number of sensors that are currently alerting due to the presence of water Water int64 `json:"water,omitempty"` }
GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts Counts of currently alerting sensors, aggregated by alerting metric swagger:model GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) ContextValidate ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts current overview by metric o k body counts based on the context it is used
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) MarshalBinary ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise ¶
type GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise struct { // Number of sensors that are currently alerting due to ambient noise readings Ambient int64 `json:"ambient,omitempty"` }
GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise Object containing the number of sensors that are currently alerting due to noise readings swagger:model GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) ContextValidate ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts current overview by metric o k body counts noise based on context it is used
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) MarshalBinary ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsCurrentOverviewByMetricParams ¶
type GetNetworkSensorAlertsCurrentOverviewByMetricParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSensorAlertsCurrentOverviewByMetricParams contains all the parameters to send to the API endpoint
for the get network sensor alerts current overview by metric operation. Typically these are written to a http.Request.
func NewGetNetworkSensorAlertsCurrentOverviewByMetricParams ¶
func NewGetNetworkSensorAlertsCurrentOverviewByMetricParams() *GetNetworkSensorAlertsCurrentOverviewByMetricParams
NewGetNetworkSensorAlertsCurrentOverviewByMetricParams creates a new GetNetworkSensorAlertsCurrentOverviewByMetricParams 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 NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithContext ¶
func NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithContext(ctx context.Context) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithContext creates a new GetNetworkSensorAlertsCurrentOverviewByMetricParams object with the ability to set a context for a request.
func NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithHTTPClient ¶
func NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithHTTPClient(client *http.Client) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithHTTPClient creates a new GetNetworkSensorAlertsCurrentOverviewByMetricParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithTimeout ¶
func NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithTimeout(timeout time.Duration) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
NewGetNetworkSensorAlertsCurrentOverviewByMetricParamsWithTimeout creates a new GetNetworkSensorAlertsCurrentOverviewByMetricParams object with the ability to set a timeout on a request.
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetContext ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the get network sensor alerts current overview by metric params
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetDefaults ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetDefaults()
SetDefaults hydrates default values in the get network sensor alerts current overview by metric params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetHTTPClient ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network sensor alerts current overview by metric params
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetNetworkID ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network sensor alerts current overview by metric params
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetTimeout ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network sensor alerts current overview by metric params
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithContext ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithContext(ctx context.Context) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
WithContext adds the context to the get network sensor alerts current overview by metric params
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithDefaults ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithDefaults() *GetNetworkSensorAlertsCurrentOverviewByMetricParams
WithDefaults hydrates default values in the get network sensor alerts current overview by metric params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithHTTPClient ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithHTTPClient(client *http.Client) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
WithHTTPClient adds the HTTPClient to the get network sensor alerts current overview by metric params
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithNetworkID ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithNetworkID(networkID string) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
WithNetworkID adds the networkID to the get network sensor alerts current overview by metric params
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithTimeout ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithTimeout(timeout time.Duration) *GetNetworkSensorAlertsCurrentOverviewByMetricParams
WithTimeout adds the timeout to the get network sensor alerts current overview by metric params
func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WriteToRequest ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSensorAlertsCurrentOverviewByMetricReader ¶
type GetNetworkSensorAlertsCurrentOverviewByMetricReader struct {
// contains filtered or unexported fields
}
GetNetworkSensorAlertsCurrentOverviewByMetricReader is a Reader for the GetNetworkSensorAlertsCurrentOverviewByMetric structure.
func (*GetNetworkSensorAlertsCurrentOverviewByMetricReader) ReadResponse ¶
func (o *GetNetworkSensorAlertsCurrentOverviewByMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSensorAlertsOverviewByMetricOK ¶
type GetNetworkSensorAlertsOverviewByMetricOK struct {
Payload []*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0
}
GetNetworkSensorAlertsOverviewByMetricOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSensorAlertsOverviewByMetricOK ¶
func NewGetNetworkSensorAlertsOverviewByMetricOK() *GetNetworkSensorAlertsOverviewByMetricOK
NewGetNetworkSensorAlertsOverviewByMetricOK creates a GetNetworkSensorAlertsOverviewByMetricOK with default headers values
func (*GetNetworkSensorAlertsOverviewByMetricOK) Code ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) Code() int
Code gets the status code for the get network sensor alerts overview by metric o k response
func (*GetNetworkSensorAlertsOverviewByMetricOK) Error ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) Error() string
func (*GetNetworkSensorAlertsOverviewByMetricOK) GetPayload ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) GetPayload() []*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0
func (*GetNetworkSensorAlertsOverviewByMetricOK) IsClientError ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsClientError() bool
IsClientError returns true when this get network sensor alerts overview by metric o k response has a 4xx status code
func (*GetNetworkSensorAlertsOverviewByMetricOK) IsCode ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsCode(code int) bool
IsCode returns true when this get network sensor alerts overview by metric o k response a status code equal to that given
func (*GetNetworkSensorAlertsOverviewByMetricOK) IsRedirect ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsRedirect() bool
IsRedirect returns true when this get network sensor alerts overview by metric o k response has a 3xx status code
func (*GetNetworkSensorAlertsOverviewByMetricOK) IsServerError ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsServerError() bool
IsServerError returns true when this get network sensor alerts overview by metric o k response has a 5xx status code
func (*GetNetworkSensorAlertsOverviewByMetricOK) IsSuccess ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) IsSuccess() bool
IsSuccess returns true when this get network sensor alerts overview by metric o k response has a 2xx status code
func (*GetNetworkSensorAlertsOverviewByMetricOK) String ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOK) String() string
type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0 ¶
type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0 struct { // counts Counts *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts `json:"counts,omitempty"` // End of the timespan over which sensor alerts are counted // Format: date-time EndTs strfmt.DateTime `json:"endTs,omitempty"` // Start of the timespan over which sensor alerts are counted // Format: date-time StartTs strfmt.DateTime `json:"startTs,omitempty"` }
GetNetworkSensorAlertsOverviewByMetricOKBodyItems0 get network sensor alerts overview by metric o k body items0 swagger:model GetNetworkSensorAlertsOverviewByMetricOKBodyItems0
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts overview by metric o k body items0 based on the context it is used
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts ¶
type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts struct { // Number of sensor alerts that occurred due to an open door Door int64 `json:"door,omitempty"` // Number of sensor alerts that occurred due to humidity readings Humidity int64 `json:"humidity,omitempty"` // Number of sensor alerts that occurred due to indoor air quality readings IndoorAirQuality int64 `json:"indoorAirQuality,omitempty"` // noise Noise *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise `json:"noise,omitempty"` // Number of sensor alerts that occurred due to PM2.5 readings Pm25 int64 `json:"pm25,omitempty"` // Number of sensor alerts that occurred due to temperature readings Temperature int64 `json:"temperature,omitempty"` // Number of sensor alerts that occurred due to TVOC readings Tvoc int64 `json:"tvoc,omitempty"` // Number of sensor alerts that occurred due to the presence of water Water int64 `json:"water,omitempty"` }
GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts Counts of sensor alerts over the timespan, by reading metric swagger:model GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) ContextValidate ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts overview by metric o k body items0 counts based on the context it is used
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) MarshalBinary ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise ¶
type GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise struct { // Number of sensor alerts that occurred due to ambient noise readings Ambient int64 `json:"ambient,omitempty"` }
GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise Object containing the number of sensor alerts that occurred due to noise readings swagger:model GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) ContextValidate ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts overview by metric o k body items0 counts noise based on context it is used
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) MarshalBinary ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsOverviewByMetricParams ¶
type GetNetworkSensorAlertsOverviewByMetricParams struct { /* Interval. The time interval in seconds for returned data. The valid intervals are: 86400, 604800. The default is 604800. */ Interval *int64 /* NetworkID. Network ID */ NetworkID 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 31 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 31 days. The default is 7 days. Format: float */ Timespan *float32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSensorAlertsOverviewByMetricParams contains all the parameters to send to the API endpoint
for the get network sensor alerts overview by metric operation. Typically these are written to a http.Request.
func NewGetNetworkSensorAlertsOverviewByMetricParams ¶
func NewGetNetworkSensorAlertsOverviewByMetricParams() *GetNetworkSensorAlertsOverviewByMetricParams
NewGetNetworkSensorAlertsOverviewByMetricParams creates a new GetNetworkSensorAlertsOverviewByMetricParams 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 NewGetNetworkSensorAlertsOverviewByMetricParamsWithContext ¶
func NewGetNetworkSensorAlertsOverviewByMetricParamsWithContext(ctx context.Context) *GetNetworkSensorAlertsOverviewByMetricParams
NewGetNetworkSensorAlertsOverviewByMetricParamsWithContext creates a new GetNetworkSensorAlertsOverviewByMetricParams object with the ability to set a context for a request.
func NewGetNetworkSensorAlertsOverviewByMetricParamsWithHTTPClient ¶
func NewGetNetworkSensorAlertsOverviewByMetricParamsWithHTTPClient(client *http.Client) *GetNetworkSensorAlertsOverviewByMetricParams
NewGetNetworkSensorAlertsOverviewByMetricParamsWithHTTPClient creates a new GetNetworkSensorAlertsOverviewByMetricParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSensorAlertsOverviewByMetricParamsWithTimeout ¶
func NewGetNetworkSensorAlertsOverviewByMetricParamsWithTimeout(timeout time.Duration) *GetNetworkSensorAlertsOverviewByMetricParams
NewGetNetworkSensorAlertsOverviewByMetricParamsWithTimeout creates a new GetNetworkSensorAlertsOverviewByMetricParams object with the ability to set a timeout on a request.
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetContext ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetContext(ctx context.Context)
SetContext adds the context to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetDefaults ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetDefaults()
SetDefaults hydrates default values in the get network sensor alerts overview by metric params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetHTTPClient ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetInterval ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetInterval(interval *int64)
SetInterval adds the interval to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetNetworkID ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetT0 ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetT0(t0 *string)
SetT0 adds the t0 to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetT1 ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetT1(t1 *string)
SetT1 adds the t1 to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetTimeout ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) SetTimespan ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) SetTimespan(timespan *float32)
SetTimespan adds the timespan to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithContext ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithContext(ctx context.Context) *GetNetworkSensorAlertsOverviewByMetricParams
WithContext adds the context to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithDefaults ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithDefaults() *GetNetworkSensorAlertsOverviewByMetricParams
WithDefaults hydrates default values in the get network sensor alerts overview by metric params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithHTTPClient ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithHTTPClient(client *http.Client) *GetNetworkSensorAlertsOverviewByMetricParams
WithHTTPClient adds the HTTPClient to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithInterval ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithInterval(interval *int64) *GetNetworkSensorAlertsOverviewByMetricParams
WithInterval adds the interval to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithNetworkID ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithNetworkID(networkID string) *GetNetworkSensorAlertsOverviewByMetricParams
WithNetworkID adds the networkID to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithT0 ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithT0(t0 *string) *GetNetworkSensorAlertsOverviewByMetricParams
WithT0 adds the t0 to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithT1 ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithT1(t1 *string) *GetNetworkSensorAlertsOverviewByMetricParams
WithT1 adds the t1 to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithTimeout ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithTimeout(timeout time.Duration) *GetNetworkSensorAlertsOverviewByMetricParams
WithTimeout adds the timeout to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WithTimespan ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WithTimespan(timespan *float32) *GetNetworkSensorAlertsOverviewByMetricParams
WithTimespan adds the timespan to the get network sensor alerts overview by metric params
func (*GetNetworkSensorAlertsOverviewByMetricParams) WriteToRequest ¶
func (o *GetNetworkSensorAlertsOverviewByMetricParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSensorAlertsOverviewByMetricReader ¶
type GetNetworkSensorAlertsOverviewByMetricReader struct {
// contains filtered or unexported fields
}
GetNetworkSensorAlertsOverviewByMetricReader is a Reader for the GetNetworkSensorAlertsOverviewByMetric structure.
func (*GetNetworkSensorAlertsOverviewByMetricReader) ReadResponse ¶
func (o *GetNetworkSensorAlertsOverviewByMetricReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSensorAlertsProfileOK ¶
type GetNetworkSensorAlertsProfileOK struct {
Payload *GetNetworkSensorAlertsProfileOKBody
}
GetNetworkSensorAlertsProfileOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSensorAlertsProfileOK ¶
func NewGetNetworkSensorAlertsProfileOK() *GetNetworkSensorAlertsProfileOK
NewGetNetworkSensorAlertsProfileOK creates a GetNetworkSensorAlertsProfileOK with default headers values
func (*GetNetworkSensorAlertsProfileOK) Code ¶
func (o *GetNetworkSensorAlertsProfileOK) Code() int
Code gets the status code for the get network sensor alerts profile o k response
func (*GetNetworkSensorAlertsProfileOK) Error ¶
func (o *GetNetworkSensorAlertsProfileOK) Error() string
func (*GetNetworkSensorAlertsProfileOK) GetPayload ¶
func (o *GetNetworkSensorAlertsProfileOK) GetPayload() *GetNetworkSensorAlertsProfileOKBody
func (*GetNetworkSensorAlertsProfileOK) IsClientError ¶
func (o *GetNetworkSensorAlertsProfileOK) IsClientError() bool
IsClientError returns true when this get network sensor alerts profile o k response has a 4xx status code
func (*GetNetworkSensorAlertsProfileOK) IsCode ¶
func (o *GetNetworkSensorAlertsProfileOK) IsCode(code int) bool
IsCode returns true when this get network sensor alerts profile o k response a status code equal to that given
func (*GetNetworkSensorAlertsProfileOK) IsRedirect ¶
func (o *GetNetworkSensorAlertsProfileOK) IsRedirect() bool
IsRedirect returns true when this get network sensor alerts profile o k response has a 3xx status code
func (*GetNetworkSensorAlertsProfileOK) IsServerError ¶
func (o *GetNetworkSensorAlertsProfileOK) IsServerError() bool
IsServerError returns true when this get network sensor alerts profile o k response has a 5xx status code
func (*GetNetworkSensorAlertsProfileOK) IsSuccess ¶
func (o *GetNetworkSensorAlertsProfileOK) IsSuccess() bool
IsSuccess returns true when this get network sensor alerts profile o k response has a 2xx status code
func (*GetNetworkSensorAlertsProfileOK) String ¶
func (o *GetNetworkSensorAlertsProfileOK) String() string
type GetNetworkSensorAlertsProfileOKBody ¶
type GetNetworkSensorAlertsProfileOKBody struct { // List of conditions that will cause the profile to send an alert. // Required: true Conditions []*GetNetworkSensorAlertsProfileOKBodyConditionsItems0 `json:"conditions"` // Name of the sensor alert profile. Name string `json:"name,omitempty"` // ID of the sensor alert profile. ProfileID string `json:"profileId,omitempty"` // recipients Recipients *GetNetworkSensorAlertsProfileOKBodyRecipients `json:"recipients,omitempty"` // schedule Schedule *GetNetworkSensorAlertsProfileOKBodySchedule `json:"schedule,omitempty"` // List of device serials assigned to this sensor alert profile. Serials []string `json:"serials"` }
GetNetworkSensorAlertsProfileOKBody get network sensor alerts profile o k body swagger:model GetNetworkSensorAlertsProfileOKBody
func (*GetNetworkSensorAlertsProfileOKBody) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts profile o k body based on the context it is used
func (*GetNetworkSensorAlertsProfileOKBody) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBody) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0 ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0 struct { // If 'above', an alert will be sent when a sensor reads above the threshold. If 'below', an alert will be sent when a sensor reads below the threshold. Only applicable for temperature and humidity thresholds. // Enum: [above below] Direction string `json:"direction,omitempty"` // Length of time in seconds that the triggering state must persist before an alert is sent. Available options are 0 seconds, 1 minute, 2 minutes, 3 minutes, 4 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, and 1 hour. Default is 0. // Enum: [0 60 120 180 240 300 600 900 1800 3600] Duration int64 `json:"duration,omitempty"` // The type of sensor metric that will be monitored for changes. Available metrics are door, humidity, indoorAirQuality, noise, pm25, temperature, tvoc, and water. // Required: true Metric *string `json:"metric"` // threshold // Required: true Threshold *GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold `json:"threshold"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0 get network sensor alerts profile o k body conditions items0 swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts profile o k body conditions items0 based on the context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold struct { // door Door *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor `json:"door,omitempty"` // humidity Humidity *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity `json:"humidity,omitempty"` // indoor air quality IndoorAirQuality *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality `json:"indoorAirQuality,omitempty"` // noise Noise *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise `json:"noise,omitempty"` // pm25 Pm25 *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 `json:"pm25,omitempty"` // temperature Temperature *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature `json:"temperature,omitempty"` // tvoc Tvoc *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc `json:"tvoc,omitempty"` // water Water *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater `json:"water,omitempty"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold Threshold for sensor readings that will cause an alert to be sent. This object should contain a single property key matching the condition's 'metric' value. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts profile o k body conditions items0 threshold based on the context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor struct { // Alerting threshold for a door open event. Must be set to true. // Required: true Open *bool `json:"open"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor Door open threshold. 'open' must be provided and set to true. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold door based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity struct { // Alerting threshold as a qualitative humidity level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold in %RH. RelativePercentage int64 `json:"relativePercentage,omitempty"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity Humidity threshold. One of 'relativePercentage' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold humidity based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profile o k body conditions items0 threshold humidity
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality struct { // Alerting threshold as a qualitative indoor air quality level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold as indoor air quality score. Score int64 `json:"score,omitempty"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality Indoor air quality score threshold. One of 'score' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold indoor air quality based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profile o k body conditions items0 threshold indoor air quality
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise struct { // ambient // Required: true Ambient *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient `json:"ambient"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise Noise threshold. 'ambient' must be provided. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts profile o k body conditions items0 threshold noise based on the context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profile o k body conditions items0 threshold noise
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient struct { // Alerting threshold as adjusted decibels. Level int64 `json:"level,omitempty"` // Alerting threshold as a qualitative ambient noise level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient Ambient noise threshold. One of 'level' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold noise ambient based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profile o k body conditions items0 threshold noise ambient
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 struct { // Alerting threshold as PM2.5 parts per million. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative PM2.5 level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 PM2.5 concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold pm25 based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature struct { // Alerting threshold in degrees Celsius. Celsius float32 `json:"celsius,omitempty"` // Alerting threshold in degrees Fahrenheit. Fahrenheit float32 `json:"fahrenheit,omitempty"` // Alerting threshold as a qualitative temperature level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature Temperature threshold. One of 'celsius', 'fahrenheit', or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold temperature based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profile o k body conditions items0 threshold temperature
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc struct { // Alerting threshold as TVOC micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative TVOC level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc TVOC concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold tvoc based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater ¶
type GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater struct { // Alerting threshold for a water detection event. Must be set to true. // Required: true Present *bool `json:"present"` }
GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater Water detection threshold. 'present' must be provided and set to true. swagger:model GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold water based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profile o k body conditions items0 threshold water
type GetNetworkSensorAlertsProfileOKBodyRecipients ¶
type GetNetworkSensorAlertsProfileOKBodyRecipients struct { // A list of emails that will receive information about the alert. Emails []string `json:"emails"` // A list of webhook endpoint IDs that will receive information about the alert. HTTPServerIds []string `json:"httpServerIds"` // A list of SMS numbers that will receive information about the alert. SmsNumbers []string `json:"smsNumbers"` }
GetNetworkSensorAlertsProfileOKBodyRecipients List of recipients that will receive the alert. swagger:model GetNetworkSensorAlertsProfileOKBodyRecipients
func (*GetNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body recipients based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfileOKBodySchedule ¶
type GetNetworkSensorAlertsProfileOKBodySchedule struct { // ID of the sensor schedule to use with the alert profile. If not defined, the alert profile will be active at all times. ID string `json:"id,omitempty"` // Name of the sensor schedule to use with the alert profile. Name string `json:"name,omitempty"` }
GetNetworkSensorAlertsProfileOKBodySchedule The sensor schedule to use with the alert profile. swagger:model GetNetworkSensorAlertsProfileOKBodySchedule
func (*GetNetworkSensorAlertsProfileOKBodySchedule) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfileOKBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profile o k body schedule based on context it is used
func (*GetNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfileParams ¶
type GetNetworkSensorAlertsProfileParams struct { /* ID. ID */ ID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSensorAlertsProfileParams contains all the parameters to send to the API endpoint
for the get network sensor alerts profile operation. Typically these are written to a http.Request.
func NewGetNetworkSensorAlertsProfileParams ¶
func NewGetNetworkSensorAlertsProfileParams() *GetNetworkSensorAlertsProfileParams
NewGetNetworkSensorAlertsProfileParams creates a new GetNetworkSensorAlertsProfileParams 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 NewGetNetworkSensorAlertsProfileParamsWithContext ¶
func NewGetNetworkSensorAlertsProfileParamsWithContext(ctx context.Context) *GetNetworkSensorAlertsProfileParams
NewGetNetworkSensorAlertsProfileParamsWithContext creates a new GetNetworkSensorAlertsProfileParams object with the ability to set a context for a request.
func NewGetNetworkSensorAlertsProfileParamsWithHTTPClient ¶
func NewGetNetworkSensorAlertsProfileParamsWithHTTPClient(client *http.Client) *GetNetworkSensorAlertsProfileParams
NewGetNetworkSensorAlertsProfileParamsWithHTTPClient creates a new GetNetworkSensorAlertsProfileParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSensorAlertsProfileParamsWithTimeout ¶
func NewGetNetworkSensorAlertsProfileParamsWithTimeout(timeout time.Duration) *GetNetworkSensorAlertsProfileParams
NewGetNetworkSensorAlertsProfileParamsWithTimeout creates a new GetNetworkSensorAlertsProfileParams object with the ability to set a timeout on a request.
func (*GetNetworkSensorAlertsProfileParams) SetContext ¶
func (o *GetNetworkSensorAlertsProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) SetDefaults ¶
func (o *GetNetworkSensorAlertsProfileParams) SetDefaults()
SetDefaults hydrates default values in the get network sensor alerts profile params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorAlertsProfileParams) SetHTTPClient ¶
func (o *GetNetworkSensorAlertsProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) SetID ¶
func (o *GetNetworkSensorAlertsProfileParams) SetID(id string)
SetID adds the id to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) SetNetworkID ¶
func (o *GetNetworkSensorAlertsProfileParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) SetTimeout ¶
func (o *GetNetworkSensorAlertsProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) WithContext ¶
func (o *GetNetworkSensorAlertsProfileParams) WithContext(ctx context.Context) *GetNetworkSensorAlertsProfileParams
WithContext adds the context to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) WithDefaults ¶
func (o *GetNetworkSensorAlertsProfileParams) WithDefaults() *GetNetworkSensorAlertsProfileParams
WithDefaults hydrates default values in the get network sensor alerts profile params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorAlertsProfileParams) WithHTTPClient ¶
func (o *GetNetworkSensorAlertsProfileParams) WithHTTPClient(client *http.Client) *GetNetworkSensorAlertsProfileParams
WithHTTPClient adds the HTTPClient to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) WithID ¶
func (o *GetNetworkSensorAlertsProfileParams) WithID(id string) *GetNetworkSensorAlertsProfileParams
WithID adds the id to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) WithNetworkID ¶
func (o *GetNetworkSensorAlertsProfileParams) WithNetworkID(networkID string) *GetNetworkSensorAlertsProfileParams
WithNetworkID adds the networkID to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) WithTimeout ¶
func (o *GetNetworkSensorAlertsProfileParams) WithTimeout(timeout time.Duration) *GetNetworkSensorAlertsProfileParams
WithTimeout adds the timeout to the get network sensor alerts profile params
func (*GetNetworkSensorAlertsProfileParams) WriteToRequest ¶
func (o *GetNetworkSensorAlertsProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSensorAlertsProfileReader ¶
type GetNetworkSensorAlertsProfileReader struct {
// contains filtered or unexported fields
}
GetNetworkSensorAlertsProfileReader is a Reader for the GetNetworkSensorAlertsProfile structure.
func (*GetNetworkSensorAlertsProfileReader) ReadResponse ¶
func (o *GetNetworkSensorAlertsProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSensorAlertsProfilesOK ¶
type GetNetworkSensorAlertsProfilesOK struct {
Payload []*GetNetworkSensorAlertsProfilesOKBodyItems0
}
GetNetworkSensorAlertsProfilesOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSensorAlertsProfilesOK ¶
func NewGetNetworkSensorAlertsProfilesOK() *GetNetworkSensorAlertsProfilesOK
NewGetNetworkSensorAlertsProfilesOK creates a GetNetworkSensorAlertsProfilesOK with default headers values
func (*GetNetworkSensorAlertsProfilesOK) Code ¶
func (o *GetNetworkSensorAlertsProfilesOK) Code() int
Code gets the status code for the get network sensor alerts profiles o k response
func (*GetNetworkSensorAlertsProfilesOK) Error ¶
func (o *GetNetworkSensorAlertsProfilesOK) Error() string
func (*GetNetworkSensorAlertsProfilesOK) GetPayload ¶
func (o *GetNetworkSensorAlertsProfilesOK) GetPayload() []*GetNetworkSensorAlertsProfilesOKBodyItems0
func (*GetNetworkSensorAlertsProfilesOK) IsClientError ¶
func (o *GetNetworkSensorAlertsProfilesOK) IsClientError() bool
IsClientError returns true when this get network sensor alerts profiles o k response has a 4xx status code
func (*GetNetworkSensorAlertsProfilesOK) IsCode ¶
func (o *GetNetworkSensorAlertsProfilesOK) IsCode(code int) bool
IsCode returns true when this get network sensor alerts profiles o k response a status code equal to that given
func (*GetNetworkSensorAlertsProfilesOK) IsRedirect ¶
func (o *GetNetworkSensorAlertsProfilesOK) IsRedirect() bool
IsRedirect returns true when this get network sensor alerts profiles o k response has a 3xx status code
func (*GetNetworkSensorAlertsProfilesOK) IsServerError ¶
func (o *GetNetworkSensorAlertsProfilesOK) IsServerError() bool
IsServerError returns true when this get network sensor alerts profiles o k response has a 5xx status code
func (*GetNetworkSensorAlertsProfilesOK) IsSuccess ¶
func (o *GetNetworkSensorAlertsProfilesOK) IsSuccess() bool
IsSuccess returns true when this get network sensor alerts profiles o k response has a 2xx status code
func (*GetNetworkSensorAlertsProfilesOK) String ¶
func (o *GetNetworkSensorAlertsProfilesOK) String() string
type GetNetworkSensorAlertsProfilesOKBodyItems0 ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0 struct { // List of conditions that will cause the profile to send an alert. // Required: true Conditions []*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0 `json:"conditions"` // Name of the sensor alert profile. Name string `json:"name,omitempty"` // ID of the sensor alert profile. ProfileID string `json:"profileId,omitempty"` // recipients Recipients *GetNetworkSensorAlertsProfilesOKBodyItems0Recipients `json:"recipients,omitempty"` // schedule Schedule *GetNetworkSensorAlertsProfilesOKBodyItems0Schedule `json:"schedule,omitempty"` // List of device serials assigned to this sensor alert profile. Serials []string `json:"serials"` }
GetNetworkSensorAlertsProfilesOKBodyItems0 get network sensor alerts profiles o k body items0 swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0
func (*GetNetworkSensorAlertsProfilesOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts profiles o k body items0 based on the context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0 ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0 struct { // If 'above', an alert will be sent when a sensor reads above the threshold. If 'below', an alert will be sent when a sensor reads below the threshold. Only applicable for temperature and humidity thresholds. // Enum: [above below] Direction string `json:"direction,omitempty"` // Length of time in seconds that the triggering state must persist before an alert is sent. Available options are 0 seconds, 1 minute, 2 minutes, 3 minutes, 4 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, and 1 hour. Default is 0. // Enum: [0 60 120 180 240 300 600 900 1800 3600] Duration int64 `json:"duration,omitempty"` // The type of sensor metric that will be monitored for changes. Available metrics are door, humidity, indoorAirQuality, noise, pm25, temperature, tvoc, and water. // Required: true Metric *string `json:"metric"` // threshold // Required: true Threshold *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold `json:"threshold"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0 get network sensor alerts profiles o k body items0 conditions items0 swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts profiles o k body items0 conditions items0 based on the context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold struct { // door Door *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor `json:"door,omitempty"` // humidity Humidity *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity `json:"humidity,omitempty"` // indoor air quality IndoorAirQuality *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality `json:"indoorAirQuality,omitempty"` // noise Noise *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise `json:"noise,omitempty"` // pm25 Pm25 *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25 `json:"pm25,omitempty"` // temperature Temperature *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature `json:"temperature,omitempty"` // tvoc Tvoc *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc `json:"tvoc,omitempty"` // water Water *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater `json:"water,omitempty"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold Threshold for sensor readings that will cause an alert to be sent. This object should contain a single property key matching the condition's 'metric' value. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts profiles o k body items0 conditions items0 threshold based on the context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor struct { // Alerting threshold for a door open event. Must be set to true. // Required: true Open *bool `json:"open"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor Door open threshold. 'open' must be provided and set to true. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold door based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold door
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity struct { // Alerting threshold as a qualitative humidity level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold in %RH. RelativePercentage int64 `json:"relativePercentage,omitempty"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity Humidity threshold. One of 'relativePercentage' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold humidity based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold humidity
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality struct { // Alerting threshold as a qualitative indoor air quality level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold as indoor air quality score. Score int64 `json:"score,omitempty"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality Indoor air quality score threshold. One of 'score' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold indoor air quality based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold indoor air quality
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise struct { // ambient // Required: true Ambient *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient `json:"ambient"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise Noise threshold. 'ambient' must be provided. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor alerts profiles o k body items0 conditions items0 threshold noise based on the context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold noise
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient struct { // Alerting threshold as adjusted decibels. Level int64 `json:"level,omitempty"` // Alerting threshold as a qualitative ambient noise level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient Ambient noise threshold. One of 'level' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold noise ambient based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold noise ambient
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25 ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25 struct { // Alerting threshold as PM2.5 parts per million. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative PM2.5 level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25 PM2.5 concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold pm25 based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold pm25
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature struct { // Alerting threshold in degrees Celsius. Celsius float32 `json:"celsius,omitempty"` // Alerting threshold in degrees Fahrenheit. Fahrenheit float32 `json:"fahrenheit,omitempty"` // Alerting threshold as a qualitative temperature level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature Temperature threshold. One of 'celsius', 'fahrenheit', or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold temperature based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold temperature
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc struct { // Alerting threshold as TVOC micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative TVOC level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc TVOC concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold tvoc based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold tvoc
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater struct { // Alerting threshold for a water detection event. Must be set to true. // Required: true Present *bool `json:"present"` }
GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater Water detection threshold. 'present' must be provided and set to true. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold water based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) Validate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
Validate validates this get network sensor alerts profiles o k body items0 conditions items0 threshold water
type GetNetworkSensorAlertsProfilesOKBodyItems0Recipients ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0Recipients struct { // A list of emails that will receive information about the alert. Emails []string `json:"emails"` // A list of webhook endpoint IDs that will receive information about the alert. HTTPServerIds []string `json:"httpServerIds"` // A list of SMS numbers that will receive information about the alert. SmsNumbers []string `json:"smsNumbers"` }
GetNetworkSensorAlertsProfilesOKBodyItems0Recipients List of recipients that will receive the alert. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0Recipients
func (*GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 recipients based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfilesOKBodyItems0Schedule ¶
type GetNetworkSensorAlertsProfilesOKBodyItems0Schedule struct { // ID of the sensor schedule to use with the alert profile. If not defined, the alert profile will be active at all times. ID string `json:"id,omitempty"` // Name of the sensor schedule to use with the alert profile. Name string `json:"name,omitempty"` }
GetNetworkSensorAlertsProfilesOKBodyItems0Schedule The sensor schedule to use with the alert profile. swagger:model GetNetworkSensorAlertsProfilesOKBodyItems0Schedule
func (*GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) ContextValidate ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor alerts profiles o k body items0 schedule based on context it is used
func (*GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) MarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) UnmarshalBinary ¶
func (o *GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorAlertsProfilesParams ¶
type GetNetworkSensorAlertsProfilesParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSensorAlertsProfilesParams contains all the parameters to send to the API endpoint
for the get network sensor alerts profiles operation. Typically these are written to a http.Request.
func NewGetNetworkSensorAlertsProfilesParams ¶
func NewGetNetworkSensorAlertsProfilesParams() *GetNetworkSensorAlertsProfilesParams
NewGetNetworkSensorAlertsProfilesParams creates a new GetNetworkSensorAlertsProfilesParams 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 NewGetNetworkSensorAlertsProfilesParamsWithContext ¶
func NewGetNetworkSensorAlertsProfilesParamsWithContext(ctx context.Context) *GetNetworkSensorAlertsProfilesParams
NewGetNetworkSensorAlertsProfilesParamsWithContext creates a new GetNetworkSensorAlertsProfilesParams object with the ability to set a context for a request.
func NewGetNetworkSensorAlertsProfilesParamsWithHTTPClient ¶
func NewGetNetworkSensorAlertsProfilesParamsWithHTTPClient(client *http.Client) *GetNetworkSensorAlertsProfilesParams
NewGetNetworkSensorAlertsProfilesParamsWithHTTPClient creates a new GetNetworkSensorAlertsProfilesParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSensorAlertsProfilesParamsWithTimeout ¶
func NewGetNetworkSensorAlertsProfilesParamsWithTimeout(timeout time.Duration) *GetNetworkSensorAlertsProfilesParams
NewGetNetworkSensorAlertsProfilesParamsWithTimeout creates a new GetNetworkSensorAlertsProfilesParams object with the ability to set a timeout on a request.
func (*GetNetworkSensorAlertsProfilesParams) SetContext ¶
func (o *GetNetworkSensorAlertsProfilesParams) SetContext(ctx context.Context)
SetContext adds the context to the get network sensor alerts profiles params
func (*GetNetworkSensorAlertsProfilesParams) SetDefaults ¶
func (o *GetNetworkSensorAlertsProfilesParams) SetDefaults()
SetDefaults hydrates default values in the get network sensor alerts profiles params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorAlertsProfilesParams) SetHTTPClient ¶
func (o *GetNetworkSensorAlertsProfilesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network sensor alerts profiles params
func (*GetNetworkSensorAlertsProfilesParams) SetNetworkID ¶
func (o *GetNetworkSensorAlertsProfilesParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network sensor alerts profiles params
func (*GetNetworkSensorAlertsProfilesParams) SetTimeout ¶
func (o *GetNetworkSensorAlertsProfilesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network sensor alerts profiles params
func (*GetNetworkSensorAlertsProfilesParams) WithContext ¶
func (o *GetNetworkSensorAlertsProfilesParams) WithContext(ctx context.Context) *GetNetworkSensorAlertsProfilesParams
WithContext adds the context to the get network sensor alerts profiles params
func (*GetNetworkSensorAlertsProfilesParams) WithDefaults ¶
func (o *GetNetworkSensorAlertsProfilesParams) WithDefaults() *GetNetworkSensorAlertsProfilesParams
WithDefaults hydrates default values in the get network sensor alerts profiles params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorAlertsProfilesParams) WithHTTPClient ¶
func (o *GetNetworkSensorAlertsProfilesParams) WithHTTPClient(client *http.Client) *GetNetworkSensorAlertsProfilesParams
WithHTTPClient adds the HTTPClient to the get network sensor alerts profiles params
func (*GetNetworkSensorAlertsProfilesParams) WithNetworkID ¶
func (o *GetNetworkSensorAlertsProfilesParams) WithNetworkID(networkID string) *GetNetworkSensorAlertsProfilesParams
WithNetworkID adds the networkID to the get network sensor alerts profiles params
func (*GetNetworkSensorAlertsProfilesParams) WithTimeout ¶
func (o *GetNetworkSensorAlertsProfilesParams) WithTimeout(timeout time.Duration) *GetNetworkSensorAlertsProfilesParams
WithTimeout adds the timeout to the get network sensor alerts profiles params
func (*GetNetworkSensorAlertsProfilesParams) WriteToRequest ¶
func (o *GetNetworkSensorAlertsProfilesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSensorAlertsProfilesReader ¶
type GetNetworkSensorAlertsProfilesReader struct {
// contains filtered or unexported fields
}
GetNetworkSensorAlertsProfilesReader is a Reader for the GetNetworkSensorAlertsProfiles structure.
func (*GetNetworkSensorAlertsProfilesReader) ReadResponse ¶
func (o *GetNetworkSensorAlertsProfilesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSensorMqttBrokerOK ¶
type GetNetworkSensorMqttBrokerOK struct {
Payload *GetNetworkSensorMqttBrokerOKBody
}
GetNetworkSensorMqttBrokerOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSensorMqttBrokerOK ¶
func NewGetNetworkSensorMqttBrokerOK() *GetNetworkSensorMqttBrokerOK
NewGetNetworkSensorMqttBrokerOK creates a GetNetworkSensorMqttBrokerOK with default headers values
func (*GetNetworkSensorMqttBrokerOK) Code ¶
func (o *GetNetworkSensorMqttBrokerOK) Code() int
Code gets the status code for the get network sensor mqtt broker o k response
func (*GetNetworkSensorMqttBrokerOK) Error ¶
func (o *GetNetworkSensorMqttBrokerOK) Error() string
func (*GetNetworkSensorMqttBrokerOK) GetPayload ¶
func (o *GetNetworkSensorMqttBrokerOK) GetPayload() *GetNetworkSensorMqttBrokerOKBody
func (*GetNetworkSensorMqttBrokerOK) IsClientError ¶
func (o *GetNetworkSensorMqttBrokerOK) IsClientError() bool
IsClientError returns true when this get network sensor mqtt broker o k response has a 4xx status code
func (*GetNetworkSensorMqttBrokerOK) IsCode ¶
func (o *GetNetworkSensorMqttBrokerOK) IsCode(code int) bool
IsCode returns true when this get network sensor mqtt broker o k response a status code equal to that given
func (*GetNetworkSensorMqttBrokerOK) IsRedirect ¶
func (o *GetNetworkSensorMqttBrokerOK) IsRedirect() bool
IsRedirect returns true when this get network sensor mqtt broker o k response has a 3xx status code
func (*GetNetworkSensorMqttBrokerOK) IsServerError ¶
func (o *GetNetworkSensorMqttBrokerOK) IsServerError() bool
IsServerError returns true when this get network sensor mqtt broker o k response has a 5xx status code
func (*GetNetworkSensorMqttBrokerOK) IsSuccess ¶
func (o *GetNetworkSensorMqttBrokerOK) IsSuccess() bool
IsSuccess returns true when this get network sensor mqtt broker o k response has a 2xx status code
func (*GetNetworkSensorMqttBrokerOK) String ¶
func (o *GetNetworkSensorMqttBrokerOK) String() string
type GetNetworkSensorMqttBrokerOKBody ¶
type GetNetworkSensorMqttBrokerOKBody struct { // Specifies whether the broker is enabled for sensor data. Currently, only a single broker may be enabled for sensor data. Enabled bool `json:"enabled,omitempty"` // ID of the MQTT Broker. MqttBrokerID string `json:"mqttBrokerId,omitempty"` }
GetNetworkSensorMqttBrokerOKBody get network sensor mqtt broker o k body swagger:model GetNetworkSensorMqttBrokerOKBody
func (*GetNetworkSensorMqttBrokerOKBody) ContextValidate ¶
func (o *GetNetworkSensorMqttBrokerOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor mqtt broker o k body based on context it is used
func (*GetNetworkSensorMqttBrokerOKBody) MarshalBinary ¶
func (o *GetNetworkSensorMqttBrokerOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorMqttBrokerOKBody) UnmarshalBinary ¶
func (o *GetNetworkSensorMqttBrokerOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorMqttBrokerParams ¶
type GetNetworkSensorMqttBrokerParams struct { /* MqttBrokerID. Mqtt broker ID */ MqttBrokerID string /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSensorMqttBrokerParams contains all the parameters to send to the API endpoint
for the get network sensor mqtt broker operation. Typically these are written to a http.Request.
func NewGetNetworkSensorMqttBrokerParams ¶
func NewGetNetworkSensorMqttBrokerParams() *GetNetworkSensorMqttBrokerParams
NewGetNetworkSensorMqttBrokerParams creates a new GetNetworkSensorMqttBrokerParams 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 NewGetNetworkSensorMqttBrokerParamsWithContext ¶
func NewGetNetworkSensorMqttBrokerParamsWithContext(ctx context.Context) *GetNetworkSensorMqttBrokerParams
NewGetNetworkSensorMqttBrokerParamsWithContext creates a new GetNetworkSensorMqttBrokerParams object with the ability to set a context for a request.
func NewGetNetworkSensorMqttBrokerParamsWithHTTPClient ¶
func NewGetNetworkSensorMqttBrokerParamsWithHTTPClient(client *http.Client) *GetNetworkSensorMqttBrokerParams
NewGetNetworkSensorMqttBrokerParamsWithHTTPClient creates a new GetNetworkSensorMqttBrokerParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSensorMqttBrokerParamsWithTimeout ¶
func NewGetNetworkSensorMqttBrokerParamsWithTimeout(timeout time.Duration) *GetNetworkSensorMqttBrokerParams
NewGetNetworkSensorMqttBrokerParamsWithTimeout creates a new GetNetworkSensorMqttBrokerParams object with the ability to set a timeout on a request.
func (*GetNetworkSensorMqttBrokerParams) SetContext ¶
func (o *GetNetworkSensorMqttBrokerParams) SetContext(ctx context.Context)
SetContext adds the context to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) SetDefaults ¶
func (o *GetNetworkSensorMqttBrokerParams) SetDefaults()
SetDefaults hydrates default values in the get network sensor mqtt broker params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorMqttBrokerParams) SetHTTPClient ¶
func (o *GetNetworkSensorMqttBrokerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) SetMqttBrokerID ¶
func (o *GetNetworkSensorMqttBrokerParams) SetMqttBrokerID(mqttBrokerID string)
SetMqttBrokerID adds the mqttBrokerId to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) SetNetworkID ¶
func (o *GetNetworkSensorMqttBrokerParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) SetTimeout ¶
func (o *GetNetworkSensorMqttBrokerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) WithContext ¶
func (o *GetNetworkSensorMqttBrokerParams) WithContext(ctx context.Context) *GetNetworkSensorMqttBrokerParams
WithContext adds the context to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) WithDefaults ¶
func (o *GetNetworkSensorMqttBrokerParams) WithDefaults() *GetNetworkSensorMqttBrokerParams
WithDefaults hydrates default values in the get network sensor mqtt broker params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorMqttBrokerParams) WithHTTPClient ¶
func (o *GetNetworkSensorMqttBrokerParams) WithHTTPClient(client *http.Client) *GetNetworkSensorMqttBrokerParams
WithHTTPClient adds the HTTPClient to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) WithMqttBrokerID ¶
func (o *GetNetworkSensorMqttBrokerParams) WithMqttBrokerID(mqttBrokerID string) *GetNetworkSensorMqttBrokerParams
WithMqttBrokerID adds the mqttBrokerID to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) WithNetworkID ¶
func (o *GetNetworkSensorMqttBrokerParams) WithNetworkID(networkID string) *GetNetworkSensorMqttBrokerParams
WithNetworkID adds the networkID to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) WithTimeout ¶
func (o *GetNetworkSensorMqttBrokerParams) WithTimeout(timeout time.Duration) *GetNetworkSensorMqttBrokerParams
WithTimeout adds the timeout to the get network sensor mqtt broker params
func (*GetNetworkSensorMqttBrokerParams) WriteToRequest ¶
func (o *GetNetworkSensorMqttBrokerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSensorMqttBrokerReader ¶
type GetNetworkSensorMqttBrokerReader struct {
// contains filtered or unexported fields
}
GetNetworkSensorMqttBrokerReader is a Reader for the GetNetworkSensorMqttBroker structure.
func (*GetNetworkSensorMqttBrokerReader) ReadResponse ¶
func (o *GetNetworkSensorMqttBrokerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSensorMqttBrokersOK ¶
type GetNetworkSensorMqttBrokersOK struct {
Payload []*GetNetworkSensorMqttBrokersOKBodyItems0
}
GetNetworkSensorMqttBrokersOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSensorMqttBrokersOK ¶
func NewGetNetworkSensorMqttBrokersOK() *GetNetworkSensorMqttBrokersOK
NewGetNetworkSensorMqttBrokersOK creates a GetNetworkSensorMqttBrokersOK with default headers values
func (*GetNetworkSensorMqttBrokersOK) Code ¶
func (o *GetNetworkSensorMqttBrokersOK) Code() int
Code gets the status code for the get network sensor mqtt brokers o k response
func (*GetNetworkSensorMqttBrokersOK) Error ¶
func (o *GetNetworkSensorMqttBrokersOK) Error() string
func (*GetNetworkSensorMqttBrokersOK) GetPayload ¶
func (o *GetNetworkSensorMqttBrokersOK) GetPayload() []*GetNetworkSensorMqttBrokersOKBodyItems0
func (*GetNetworkSensorMqttBrokersOK) IsClientError ¶
func (o *GetNetworkSensorMqttBrokersOK) IsClientError() bool
IsClientError returns true when this get network sensor mqtt brokers o k response has a 4xx status code
func (*GetNetworkSensorMqttBrokersOK) IsCode ¶
func (o *GetNetworkSensorMqttBrokersOK) IsCode(code int) bool
IsCode returns true when this get network sensor mqtt brokers o k response a status code equal to that given
func (*GetNetworkSensorMqttBrokersOK) IsRedirect ¶
func (o *GetNetworkSensorMqttBrokersOK) IsRedirect() bool
IsRedirect returns true when this get network sensor mqtt brokers o k response has a 3xx status code
func (*GetNetworkSensorMqttBrokersOK) IsServerError ¶
func (o *GetNetworkSensorMqttBrokersOK) IsServerError() bool
IsServerError returns true when this get network sensor mqtt brokers o k response has a 5xx status code
func (*GetNetworkSensorMqttBrokersOK) IsSuccess ¶
func (o *GetNetworkSensorMqttBrokersOK) IsSuccess() bool
IsSuccess returns true when this get network sensor mqtt brokers o k response has a 2xx status code
func (*GetNetworkSensorMqttBrokersOK) String ¶
func (o *GetNetworkSensorMqttBrokersOK) String() string
type GetNetworkSensorMqttBrokersOKBodyItems0 ¶
type GetNetworkSensorMqttBrokersOKBodyItems0 struct { // Specifies whether the broker is enabled for sensor data. Currently, only a single broker may be enabled for sensor data. Enabled bool `json:"enabled,omitempty"` // ID of the MQTT Broker. MqttBrokerID string `json:"mqttBrokerId,omitempty"` }
GetNetworkSensorMqttBrokersOKBodyItems0 get network sensor mqtt brokers o k body items0 swagger:model GetNetworkSensorMqttBrokersOKBodyItems0
func (*GetNetworkSensorMqttBrokersOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSensorMqttBrokersOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor mqtt brokers o k body items0 based on context it is used
func (*GetNetworkSensorMqttBrokersOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSensorMqttBrokersOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorMqttBrokersOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSensorMqttBrokersOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorMqttBrokersParams ¶
type GetNetworkSensorMqttBrokersParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSensorMqttBrokersParams contains all the parameters to send to the API endpoint
for the get network sensor mqtt brokers operation. Typically these are written to a http.Request.
func NewGetNetworkSensorMqttBrokersParams ¶
func NewGetNetworkSensorMqttBrokersParams() *GetNetworkSensorMqttBrokersParams
NewGetNetworkSensorMqttBrokersParams creates a new GetNetworkSensorMqttBrokersParams 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 NewGetNetworkSensorMqttBrokersParamsWithContext ¶
func NewGetNetworkSensorMqttBrokersParamsWithContext(ctx context.Context) *GetNetworkSensorMqttBrokersParams
NewGetNetworkSensorMqttBrokersParamsWithContext creates a new GetNetworkSensorMqttBrokersParams object with the ability to set a context for a request.
func NewGetNetworkSensorMqttBrokersParamsWithHTTPClient ¶
func NewGetNetworkSensorMqttBrokersParamsWithHTTPClient(client *http.Client) *GetNetworkSensorMqttBrokersParams
NewGetNetworkSensorMqttBrokersParamsWithHTTPClient creates a new GetNetworkSensorMqttBrokersParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSensorMqttBrokersParamsWithTimeout ¶
func NewGetNetworkSensorMqttBrokersParamsWithTimeout(timeout time.Duration) *GetNetworkSensorMqttBrokersParams
NewGetNetworkSensorMqttBrokersParamsWithTimeout creates a new GetNetworkSensorMqttBrokersParams object with the ability to set a timeout on a request.
func (*GetNetworkSensorMqttBrokersParams) SetContext ¶
func (o *GetNetworkSensorMqttBrokersParams) SetContext(ctx context.Context)
SetContext adds the context to the get network sensor mqtt brokers params
func (*GetNetworkSensorMqttBrokersParams) SetDefaults ¶
func (o *GetNetworkSensorMqttBrokersParams) SetDefaults()
SetDefaults hydrates default values in the get network sensor mqtt brokers params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorMqttBrokersParams) SetHTTPClient ¶
func (o *GetNetworkSensorMqttBrokersParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network sensor mqtt brokers params
func (*GetNetworkSensorMqttBrokersParams) SetNetworkID ¶
func (o *GetNetworkSensorMqttBrokersParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network sensor mqtt brokers params
func (*GetNetworkSensorMqttBrokersParams) SetTimeout ¶
func (o *GetNetworkSensorMqttBrokersParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network sensor mqtt brokers params
func (*GetNetworkSensorMqttBrokersParams) WithContext ¶
func (o *GetNetworkSensorMqttBrokersParams) WithContext(ctx context.Context) *GetNetworkSensorMqttBrokersParams
WithContext adds the context to the get network sensor mqtt brokers params
func (*GetNetworkSensorMqttBrokersParams) WithDefaults ¶
func (o *GetNetworkSensorMqttBrokersParams) WithDefaults() *GetNetworkSensorMqttBrokersParams
WithDefaults hydrates default values in the get network sensor mqtt brokers params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorMqttBrokersParams) WithHTTPClient ¶
func (o *GetNetworkSensorMqttBrokersParams) WithHTTPClient(client *http.Client) *GetNetworkSensorMqttBrokersParams
WithHTTPClient adds the HTTPClient to the get network sensor mqtt brokers params
func (*GetNetworkSensorMqttBrokersParams) WithNetworkID ¶
func (o *GetNetworkSensorMqttBrokersParams) WithNetworkID(networkID string) *GetNetworkSensorMqttBrokersParams
WithNetworkID adds the networkID to the get network sensor mqtt brokers params
func (*GetNetworkSensorMqttBrokersParams) WithTimeout ¶
func (o *GetNetworkSensorMqttBrokersParams) WithTimeout(timeout time.Duration) *GetNetworkSensorMqttBrokersParams
WithTimeout adds the timeout to the get network sensor mqtt brokers params
func (*GetNetworkSensorMqttBrokersParams) WriteToRequest ¶
func (o *GetNetworkSensorMqttBrokersParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSensorMqttBrokersReader ¶
type GetNetworkSensorMqttBrokersReader struct {
// contains filtered or unexported fields
}
GetNetworkSensorMqttBrokersReader is a Reader for the GetNetworkSensorMqttBrokers structure.
func (*GetNetworkSensorMqttBrokersReader) ReadResponse ¶
func (o *GetNetworkSensorMqttBrokersReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetNetworkSensorRelationshipsOK ¶
type GetNetworkSensorRelationshipsOK struct {
Payload []*GetNetworkSensorRelationshipsOKBodyItems0
}
GetNetworkSensorRelationshipsOK describes a response with status code 200, with default header values.
Successful operation
func NewGetNetworkSensorRelationshipsOK ¶
func NewGetNetworkSensorRelationshipsOK() *GetNetworkSensorRelationshipsOK
NewGetNetworkSensorRelationshipsOK creates a GetNetworkSensorRelationshipsOK with default headers values
func (*GetNetworkSensorRelationshipsOK) Code ¶
func (o *GetNetworkSensorRelationshipsOK) Code() int
Code gets the status code for the get network sensor relationships o k response
func (*GetNetworkSensorRelationshipsOK) Error ¶
func (o *GetNetworkSensorRelationshipsOK) Error() string
func (*GetNetworkSensorRelationshipsOK) GetPayload ¶
func (o *GetNetworkSensorRelationshipsOK) GetPayload() []*GetNetworkSensorRelationshipsOKBodyItems0
func (*GetNetworkSensorRelationshipsOK) IsClientError ¶
func (o *GetNetworkSensorRelationshipsOK) IsClientError() bool
IsClientError returns true when this get network sensor relationships o k response has a 4xx status code
func (*GetNetworkSensorRelationshipsOK) IsCode ¶
func (o *GetNetworkSensorRelationshipsOK) IsCode(code int) bool
IsCode returns true when this get network sensor relationships o k response a status code equal to that given
func (*GetNetworkSensorRelationshipsOK) IsRedirect ¶
func (o *GetNetworkSensorRelationshipsOK) IsRedirect() bool
IsRedirect returns true when this get network sensor relationships o k response has a 3xx status code
func (*GetNetworkSensorRelationshipsOK) IsServerError ¶
func (o *GetNetworkSensorRelationshipsOK) IsServerError() bool
IsServerError returns true when this get network sensor relationships o k response has a 5xx status code
func (*GetNetworkSensorRelationshipsOK) IsSuccess ¶
func (o *GetNetworkSensorRelationshipsOK) IsSuccess() bool
IsSuccess returns true when this get network sensor relationships o k response has a 2xx status code
func (*GetNetworkSensorRelationshipsOK) String ¶
func (o *GetNetworkSensorRelationshipsOK) String() string
type GetNetworkSensorRelationshipsOKBodyItems0 ¶
type GetNetworkSensorRelationshipsOKBodyItems0 struct { // device Device *GetNetworkSensorRelationshipsOKBodyItems0Device `json:"device,omitempty"` // relationships Relationships *GetNetworkSensorRelationshipsOKBodyItems0Relationships `json:"relationships,omitempty"` }
GetNetworkSensorRelationshipsOKBodyItems0 get network sensor relationships o k body items0 swagger:model GetNetworkSensorRelationshipsOKBodyItems0
func (*GetNetworkSensorRelationshipsOKBodyItems0) ContextValidate ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor relationships o k body items0 based on the context it is used
func (*GetNetworkSensorRelationshipsOKBodyItems0) MarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorRelationshipsOKBodyItems0) UnmarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorRelationshipsOKBodyItems0Device ¶
type GetNetworkSensorRelationshipsOKBodyItems0Device struct { // The name of the device Name string `json:"name,omitempty"` // The product type of the device // Enum: [camera sensor] ProductType string `json:"productType,omitempty"` // The serial of the device Serial string `json:"serial,omitempty"` }
GetNetworkSensorRelationshipsOKBodyItems0Device A sensor or gateway device in the network swagger:model GetNetworkSensorRelationshipsOKBodyItems0Device
func (*GetNetworkSensorRelationshipsOKBodyItems0Device) ContextValidate ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0Device) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor relationships o k body items0 device based on context it is used
func (*GetNetworkSensorRelationshipsOKBodyItems0Device) MarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0Device) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorRelationshipsOKBodyItems0Device) UnmarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0Device) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorRelationshipsOKBodyItems0Relationships ¶
type GetNetworkSensorRelationshipsOKBodyItems0Relationships struct { // livestream Livestream *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream `json:"livestream,omitempty"` }
GetNetworkSensorRelationshipsOKBodyItems0Relationships An object describing the relationships defined between the device and other devices swagger:model GetNetworkSensorRelationshipsOKBodyItems0Relationships
func (*GetNetworkSensorRelationshipsOKBodyItems0Relationships) ContextValidate ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0Relationships) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor relationships o k body items0 relationships based on the context it is used
func (*GetNetworkSensorRelationshipsOKBodyItems0Relationships) MarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0Relationships) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorRelationshipsOKBodyItems0Relationships) UnmarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0Relationships) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream ¶
type GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream struct { // An array of the related devices for the role RelatedDevices []*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0 `json:"relatedDevices"` }
GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream A role defined between an MT sensor and an MV camera that adds the camera's livestream to the sensor's details page. Snapshots from the camera will also appear in alert notifications that the sensor triggers. swagger:model GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream
func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) ContextValidate ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get network sensor relationships o k body items0 relationships livestream based on the context it is used
func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) MarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) UnmarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0 ¶
type GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0 struct { // The product type of the related device // Enum: [camera sensor] ProductType string `json:"productType,omitempty"` // The serial of the related device Serial string `json:"serial,omitempty"` }
GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0 get network sensor relationships o k body items0 relationships livestream related devices items0 swagger:model GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0
func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) ContextValidate ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get network sensor relationships o k body items0 relationships livestream related devices items0 based on context it is used
func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) MarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) UnmarshalBinary ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) Validate ¶
func (o *GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) Validate(formats strfmt.Registry) error
Validate validates this get network sensor relationships o k body items0 relationships livestream related devices items0
type GetNetworkSensorRelationshipsParams ¶
type GetNetworkSensorRelationshipsParams struct { /* NetworkID. Network ID */ NetworkID string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetNetworkSensorRelationshipsParams contains all the parameters to send to the API endpoint
for the get network sensor relationships operation. Typically these are written to a http.Request.
func NewGetNetworkSensorRelationshipsParams ¶
func NewGetNetworkSensorRelationshipsParams() *GetNetworkSensorRelationshipsParams
NewGetNetworkSensorRelationshipsParams creates a new GetNetworkSensorRelationshipsParams 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 NewGetNetworkSensorRelationshipsParamsWithContext ¶
func NewGetNetworkSensorRelationshipsParamsWithContext(ctx context.Context) *GetNetworkSensorRelationshipsParams
NewGetNetworkSensorRelationshipsParamsWithContext creates a new GetNetworkSensorRelationshipsParams object with the ability to set a context for a request.
func NewGetNetworkSensorRelationshipsParamsWithHTTPClient ¶
func NewGetNetworkSensorRelationshipsParamsWithHTTPClient(client *http.Client) *GetNetworkSensorRelationshipsParams
NewGetNetworkSensorRelationshipsParamsWithHTTPClient creates a new GetNetworkSensorRelationshipsParams object with the ability to set a custom HTTPClient for a request.
func NewGetNetworkSensorRelationshipsParamsWithTimeout ¶
func NewGetNetworkSensorRelationshipsParamsWithTimeout(timeout time.Duration) *GetNetworkSensorRelationshipsParams
NewGetNetworkSensorRelationshipsParamsWithTimeout creates a new GetNetworkSensorRelationshipsParams object with the ability to set a timeout on a request.
func (*GetNetworkSensorRelationshipsParams) SetContext ¶
func (o *GetNetworkSensorRelationshipsParams) SetContext(ctx context.Context)
SetContext adds the context to the get network sensor relationships params
func (*GetNetworkSensorRelationshipsParams) SetDefaults ¶
func (o *GetNetworkSensorRelationshipsParams) SetDefaults()
SetDefaults hydrates default values in the get network sensor relationships params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorRelationshipsParams) SetHTTPClient ¶
func (o *GetNetworkSensorRelationshipsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get network sensor relationships params
func (*GetNetworkSensorRelationshipsParams) SetNetworkID ¶
func (o *GetNetworkSensorRelationshipsParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the get network sensor relationships params
func (*GetNetworkSensorRelationshipsParams) SetTimeout ¶
func (o *GetNetworkSensorRelationshipsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get network sensor relationships params
func (*GetNetworkSensorRelationshipsParams) WithContext ¶
func (o *GetNetworkSensorRelationshipsParams) WithContext(ctx context.Context) *GetNetworkSensorRelationshipsParams
WithContext adds the context to the get network sensor relationships params
func (*GetNetworkSensorRelationshipsParams) WithDefaults ¶
func (o *GetNetworkSensorRelationshipsParams) WithDefaults() *GetNetworkSensorRelationshipsParams
WithDefaults hydrates default values in the get network sensor relationships params (not the query body).
All values with no default are reset to their zero value.
func (*GetNetworkSensorRelationshipsParams) WithHTTPClient ¶
func (o *GetNetworkSensorRelationshipsParams) WithHTTPClient(client *http.Client) *GetNetworkSensorRelationshipsParams
WithHTTPClient adds the HTTPClient to the get network sensor relationships params
func (*GetNetworkSensorRelationshipsParams) WithNetworkID ¶
func (o *GetNetworkSensorRelationshipsParams) WithNetworkID(networkID string) *GetNetworkSensorRelationshipsParams
WithNetworkID adds the networkID to the get network sensor relationships params
func (*GetNetworkSensorRelationshipsParams) WithTimeout ¶
func (o *GetNetworkSensorRelationshipsParams) WithTimeout(timeout time.Duration) *GetNetworkSensorRelationshipsParams
WithTimeout adds the timeout to the get network sensor relationships params
func (*GetNetworkSensorRelationshipsParams) WriteToRequest ¶
func (o *GetNetworkSensorRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetNetworkSensorRelationshipsReader ¶
type GetNetworkSensorRelationshipsReader struct {
// contains filtered or unexported fields
}
GetNetworkSensorRelationshipsReader is a Reader for the GetNetworkSensorRelationships structure.
func (*GetNetworkSensorRelationshipsReader) ReadResponse ¶
func (o *GetNetworkSensorRelationshipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationSensorReadingsHistoryOK ¶
type GetOrganizationSensorReadingsHistoryOK struct { /* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests. */ Link string Payload []*GetOrganizationSensorReadingsHistoryOKBodyItems0 }
GetOrganizationSensorReadingsHistoryOK describes a response with status code 200, with default header values.
Successful operation
func NewGetOrganizationSensorReadingsHistoryOK ¶
func NewGetOrganizationSensorReadingsHistoryOK() *GetOrganizationSensorReadingsHistoryOK
NewGetOrganizationSensorReadingsHistoryOK creates a GetOrganizationSensorReadingsHistoryOK with default headers values
func (*GetOrganizationSensorReadingsHistoryOK) Code ¶
func (o *GetOrganizationSensorReadingsHistoryOK) Code() int
Code gets the status code for the get organization sensor readings history o k response
func (*GetOrganizationSensorReadingsHistoryOK) Error ¶
func (o *GetOrganizationSensorReadingsHistoryOK) Error() string
func (*GetOrganizationSensorReadingsHistoryOK) GetPayload ¶
func (o *GetOrganizationSensorReadingsHistoryOK) GetPayload() []*GetOrganizationSensorReadingsHistoryOKBodyItems0
func (*GetOrganizationSensorReadingsHistoryOK) IsClientError ¶
func (o *GetOrganizationSensorReadingsHistoryOK) IsClientError() bool
IsClientError returns true when this get organization sensor readings history o k response has a 4xx status code
func (*GetOrganizationSensorReadingsHistoryOK) IsCode ¶
func (o *GetOrganizationSensorReadingsHistoryOK) IsCode(code int) bool
IsCode returns true when this get organization sensor readings history o k response a status code equal to that given
func (*GetOrganizationSensorReadingsHistoryOK) IsRedirect ¶
func (o *GetOrganizationSensorReadingsHistoryOK) IsRedirect() bool
IsRedirect returns true when this get organization sensor readings history o k response has a 3xx status code
func (*GetOrganizationSensorReadingsHistoryOK) IsServerError ¶
func (o *GetOrganizationSensorReadingsHistoryOK) IsServerError() bool
IsServerError returns true when this get organization sensor readings history o k response has a 5xx status code
func (*GetOrganizationSensorReadingsHistoryOK) IsSuccess ¶
func (o *GetOrganizationSensorReadingsHistoryOK) IsSuccess() bool
IsSuccess returns true when this get organization sensor readings history o k response has a 2xx status code
func (*GetOrganizationSensorReadingsHistoryOK) String ¶
func (o *GetOrganizationSensorReadingsHistoryOK) String() string
type GetOrganizationSensorReadingsHistoryOKBodyItems0 ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0 struct { // battery Battery *GetOrganizationSensorReadingsHistoryOKBodyItems0Battery `json:"battery,omitempty"` // button Button *GetOrganizationSensorReadingsHistoryOKBodyItems0Button `json:"button,omitempty"` // door Door *GetOrganizationSensorReadingsHistoryOKBodyItems0Door `json:"door,omitempty"` // humidity Humidity *GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity `json:"humidity,omitempty"` // indoor air quality IndoorAirQuality *GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality `json:"indoorAirQuality,omitempty"` // Type of sensor reading. // Enum: [battery button door humidity indoorAirQuality noise pm25 temperature tvoc water] Metric string `json:"metric,omitempty"` // network Network *GetOrganizationSensorReadingsHistoryOKBodyItems0Network `json:"network,omitempty"` // noise Noise *GetOrganizationSensorReadingsHistoryOKBodyItems0Noise `json:"noise,omitempty"` // pm25 Pm25 *GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25 `json:"pm25,omitempty"` // Serial number of the sensor that took the reading. Serial string `json:"serial,omitempty"` // temperature Temperature *GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature `json:"temperature,omitempty"` // Time at which the reading occurred, in ISO8601 format. Ts string `json:"ts,omitempty"` // tvoc Tvoc *GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc `json:"tvoc,omitempty"` // water Water *GetOrganizationSensorReadingsHistoryOKBodyItems0Water `json:"water,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0 get organization sensor readings history o k body items0 swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization sensor readings history o k body items0 based on the context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Battery ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Battery struct { // Remaining battery life. Percentage int64 `json:"percentage,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Battery Reading for the 'battery' metric. This will only be present if the 'metric' property equals 'battery'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Battery
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 battery based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Button ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Button struct { // Type of button press that occurred. // Enum: [long short] PressType string `json:"pressType,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Button Reading for the 'button' metric. This will only be present if the 'metric' property equals 'button'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Button
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Button) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Button) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 button based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Button) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Button) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Button) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Button) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Door ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Door struct { // True if the door is open. Open bool `json:"open,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Door Reading for the 'door' metric. This will only be present if the 'metric' property equals 'door'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Door
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Door) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Door) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 door based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Door) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Door) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Door) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Door) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity struct { // Humidity reading in %RH. RelativePercentage int64 `json:"relativePercentage,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity Reading for the 'humidity' metric. This will only be present if the 'metric' property equals 'humidity'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 humidity based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality struct { // Indoor air quality score between 0 and 100. Score int64 `json:"score,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality Reading for the 'indoorAirQuality' metric. This will only be present if the 'metric' property equals 'indoorAirQuality'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 indoor air quality based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Network ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Network struct { // ID of the network. ID string `json:"id,omitempty"` // Name of the network. Name string `json:"name,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Network Network to which the sensor belongs. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Network
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Network) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 network based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Network) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Network) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Network) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Network) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Noise ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Noise struct { // ambient Ambient *GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient `json:"ambient,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Noise Reading for the 'noise' metric. This will only be present if the 'metric' property equals 'noise'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Noise
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization sensor readings history o k body items0 noise based on the context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient struct { // Ambient noise reading in adjusted decibels. Level int64 `json:"level,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient Ambient noise reading. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 noise ambient based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25 ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25 struct { // PM2.5 reading in micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25 Reading for the 'pm25' metric. This will only be present if the 'metric' property equals 'pm25'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 pm25 based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature struct { // Temperature reading in degrees Celsius. Celsius float32 `json:"celsius,omitempty"` // Temperature reading in degrees Fahrenheit. Fahrenheit float32 `json:"fahrenheit,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature Reading for the 'temperature' metric. This will only be present if the 'metric' property equals 'temperature'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 temperature based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc struct { // TVOC reading in micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc Reading for the 'tvoc' metric. This will only be present if the 'metric' property equals 'tvoc'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 tvoc based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryOKBodyItems0Water ¶
type GetOrganizationSensorReadingsHistoryOKBodyItems0Water struct { // True if water is detected. Present bool `json:"present,omitempty"` }
GetOrganizationSensorReadingsHistoryOKBodyItems0Water Reading for the 'water' metric. This will only be present if the 'metric' property equals 'water'. swagger:model GetOrganizationSensorReadingsHistoryOKBodyItems0Water
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Water) ContextValidate ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Water) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings history o k body items0 water based on context it is used
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Water) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Water) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Water) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsHistoryOKBodyItems0Water) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsHistoryParams ¶
type GetOrganizationSensorReadingsHistoryParams struct { /* EndingBefore. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /* Metrics. Types of sensor readings to retrieve. If no metrics are supplied, all available types of readings will be retrieved. Allowed values are battery, button, door, humidity, indoorAirQuality, noise, pm25, temperature, tvoc, and water. */ Metrics []string /* NetworkIds. Optional parameter to filter readings by network. */ NetworkIds []string /* OrganizationID. Organization ID */ OrganizationID string /* PerPage. The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000. */ PerPage *int64 /* Serials. Optional parameter to filter readings by sensor. */ Serials []string /* StartingAfter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string /* T0. The beginning of the timespan for the data. The maximum lookback period is 365 days and 6 hours 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 2 hours. Format: float */ Timespan *float32 Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationSensorReadingsHistoryParams contains all the parameters to send to the API endpoint
for the get organization sensor readings history operation. Typically these are written to a http.Request.
func NewGetOrganizationSensorReadingsHistoryParams ¶
func NewGetOrganizationSensorReadingsHistoryParams() *GetOrganizationSensorReadingsHistoryParams
NewGetOrganizationSensorReadingsHistoryParams creates a new GetOrganizationSensorReadingsHistoryParams 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 NewGetOrganizationSensorReadingsHistoryParamsWithContext ¶
func NewGetOrganizationSensorReadingsHistoryParamsWithContext(ctx context.Context) *GetOrganizationSensorReadingsHistoryParams
NewGetOrganizationSensorReadingsHistoryParamsWithContext creates a new GetOrganizationSensorReadingsHistoryParams object with the ability to set a context for a request.
func NewGetOrganizationSensorReadingsHistoryParamsWithHTTPClient ¶
func NewGetOrganizationSensorReadingsHistoryParamsWithHTTPClient(client *http.Client) *GetOrganizationSensorReadingsHistoryParams
NewGetOrganizationSensorReadingsHistoryParamsWithHTTPClient creates a new GetOrganizationSensorReadingsHistoryParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationSensorReadingsHistoryParamsWithTimeout ¶
func NewGetOrganizationSensorReadingsHistoryParamsWithTimeout(timeout time.Duration) *GetOrganizationSensorReadingsHistoryParams
NewGetOrganizationSensorReadingsHistoryParamsWithTimeout creates a new GetOrganizationSensorReadingsHistoryParams object with the ability to set a timeout on a request.
func (*GetOrganizationSensorReadingsHistoryParams) SetContext ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetDefaults ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetDefaults()
SetDefaults hydrates default values in the get organization sensor readings history params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationSensorReadingsHistoryParams) SetEndingBefore ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetHTTPClient ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetMetrics ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetMetrics(metrics []string)
SetMetrics adds the metrics to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetNetworkIds ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetNetworkIds(networkIds []string)
SetNetworkIds adds the networkIds to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetOrganizationID ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetPerPage ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetSerials ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetSerials(serials []string)
SetSerials adds the serials to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetStartingAfter ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetT0 ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetT0(t0 *string)
SetT0 adds the t0 to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetT1 ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetT1(t1 *string)
SetT1 adds the t1 to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetTimeout ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) SetTimespan ¶
func (o *GetOrganizationSensorReadingsHistoryParams) SetTimespan(timespan *float32)
SetTimespan adds the timespan to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithContext ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithContext(ctx context.Context) *GetOrganizationSensorReadingsHistoryParams
WithContext adds the context to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithDefaults ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithDefaults() *GetOrganizationSensorReadingsHistoryParams
WithDefaults hydrates default values in the get organization sensor readings history params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationSensorReadingsHistoryParams) WithEndingBefore ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithEndingBefore(endingBefore *string) *GetOrganizationSensorReadingsHistoryParams
WithEndingBefore adds the endingBefore to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithHTTPClient ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithHTTPClient(client *http.Client) *GetOrganizationSensorReadingsHistoryParams
WithHTTPClient adds the HTTPClient to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithMetrics ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithMetrics(metrics []string) *GetOrganizationSensorReadingsHistoryParams
WithMetrics adds the metrics to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithNetworkIds ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithNetworkIds(networkIds []string) *GetOrganizationSensorReadingsHistoryParams
WithNetworkIds adds the networkIds to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithOrganizationID ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithOrganizationID(organizationID string) *GetOrganizationSensorReadingsHistoryParams
WithOrganizationID adds the organizationID to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithPerPage ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithPerPage(perPage *int64) *GetOrganizationSensorReadingsHistoryParams
WithPerPage adds the perPage to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithSerials ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithSerials(serials []string) *GetOrganizationSensorReadingsHistoryParams
WithSerials adds the serials to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithStartingAfter ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithStartingAfter(startingAfter *string) *GetOrganizationSensorReadingsHistoryParams
WithStartingAfter adds the startingAfter to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithT0 ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithT0(t0 *string) *GetOrganizationSensorReadingsHistoryParams
WithT0 adds the t0 to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithT1 ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithT1(t1 *string) *GetOrganizationSensorReadingsHistoryParams
WithT1 adds the t1 to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithTimeout ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithTimeout(timeout time.Duration) *GetOrganizationSensorReadingsHistoryParams
WithTimeout adds the timeout to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WithTimespan ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WithTimespan(timespan *float32) *GetOrganizationSensorReadingsHistoryParams
WithTimespan adds the timespan to the get organization sensor readings history params
func (*GetOrganizationSensorReadingsHistoryParams) WriteToRequest ¶
func (o *GetOrganizationSensorReadingsHistoryParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationSensorReadingsHistoryReader ¶
type GetOrganizationSensorReadingsHistoryReader struct {
// contains filtered or unexported fields
}
GetOrganizationSensorReadingsHistoryReader is a Reader for the GetOrganizationSensorReadingsHistory structure.
func (*GetOrganizationSensorReadingsHistoryReader) ReadResponse ¶
func (o *GetOrganizationSensorReadingsHistoryReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetOrganizationSensorReadingsLatestOK ¶
type GetOrganizationSensorReadingsLatestOK struct { /* A comma-separated list of first, last, prev, and next relative links used for subsequent paginated requests. */ Link string Payload []*GetOrganizationSensorReadingsLatestOKBodyItems0 }
GetOrganizationSensorReadingsLatestOK describes a response with status code 200, with default header values.
Successful operation
func NewGetOrganizationSensorReadingsLatestOK ¶
func NewGetOrganizationSensorReadingsLatestOK() *GetOrganizationSensorReadingsLatestOK
NewGetOrganizationSensorReadingsLatestOK creates a GetOrganizationSensorReadingsLatestOK with default headers values
func (*GetOrganizationSensorReadingsLatestOK) Code ¶
func (o *GetOrganizationSensorReadingsLatestOK) Code() int
Code gets the status code for the get organization sensor readings latest o k response
func (*GetOrganizationSensorReadingsLatestOK) Error ¶
func (o *GetOrganizationSensorReadingsLatestOK) Error() string
func (*GetOrganizationSensorReadingsLatestOK) GetPayload ¶
func (o *GetOrganizationSensorReadingsLatestOK) GetPayload() []*GetOrganizationSensorReadingsLatestOKBodyItems0
func (*GetOrganizationSensorReadingsLatestOK) IsClientError ¶
func (o *GetOrganizationSensorReadingsLatestOK) IsClientError() bool
IsClientError returns true when this get organization sensor readings latest o k response has a 4xx status code
func (*GetOrganizationSensorReadingsLatestOK) IsCode ¶
func (o *GetOrganizationSensorReadingsLatestOK) IsCode(code int) bool
IsCode returns true when this get organization sensor readings latest o k response a status code equal to that given
func (*GetOrganizationSensorReadingsLatestOK) IsRedirect ¶
func (o *GetOrganizationSensorReadingsLatestOK) IsRedirect() bool
IsRedirect returns true when this get organization sensor readings latest o k response has a 3xx status code
func (*GetOrganizationSensorReadingsLatestOK) IsServerError ¶
func (o *GetOrganizationSensorReadingsLatestOK) IsServerError() bool
IsServerError returns true when this get organization sensor readings latest o k response has a 5xx status code
func (*GetOrganizationSensorReadingsLatestOK) IsSuccess ¶
func (o *GetOrganizationSensorReadingsLatestOK) IsSuccess() bool
IsSuccess returns true when this get organization sensor readings latest o k response has a 2xx status code
func (*GetOrganizationSensorReadingsLatestOK) String ¶
func (o *GetOrganizationSensorReadingsLatestOK) String() string
type GetOrganizationSensorReadingsLatestOKBodyItems0 ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0 struct { // network Network *GetOrganizationSensorReadingsLatestOKBodyItems0Network `json:"network,omitempty"` // Array of latest readings from the sensor. Each object represents a single reading for a single metric. Readings []*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0 `json:"readings"` // Serial number of the sensor that took the readings. Serial string `json:"serial,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0 get organization sensor readings latest o k body items0 swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0
func (*GetOrganizationSensorReadingsLatestOKBodyItems0) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization sensor readings latest o k body items0 based on the context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsLatestOKBodyItems0Network ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0Network struct { // ID of the network. ID string `json:"id,omitempty"` // Name of the network. Name string `json:"name,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0Network Network to which the sensor belongs. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0Network
func (*GetOrganizationSensorReadingsLatestOKBodyItems0Network) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0Network) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 network based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0Network) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0Network) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0Network) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0Network) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0 ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0 struct { // battery Battery *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery `json:"battery,omitempty"` // button Button *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button `json:"button,omitempty"` // door Door *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door `json:"door,omitempty"` // humidity Humidity *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity `json:"humidity,omitempty"` // indoor air quality IndoorAirQuality *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality `json:"indoorAirQuality,omitempty"` // Type of sensor reading. // Enum: [battery button door humidity indoorAirQuality noise pm25 temperature tvoc water] Metric string `json:"metric,omitempty"` // noise Noise *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise `json:"noise,omitempty"` // pm25 Pm25 *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25 `json:"pm25,omitempty"` // temperature Temperature *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature `json:"temperature,omitempty"` // Time at which the reading occurred, in ISO8601 format. Ts string `json:"ts,omitempty"` // tvoc Tvoc *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc `json:"tvoc,omitempty"` // water Water *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water `json:"water,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0 get organization sensor readings latest o k body items0 readings items0 swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization sensor readings latest o k body items0 readings items0 based on the context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery struct { // Remaining battery life. Percentage int64 `json:"percentage,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery Reading for the 'battery' metric. This will only be present if the 'metric' property equals 'battery'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 battery based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 battery
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button struct { // Type of button press that occurred. // Enum: [long short] PressType string `json:"pressType,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button Reading for the 'button' metric. This will only be present if the 'metric' property equals 'button'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 button based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 button
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door struct { // True if the door is open. Open bool `json:"open,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door Reading for the 'door' metric. This will only be present if the 'metric' property equals 'door'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 door based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 door
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity struct { // Humidity reading in %RH. RelativePercentage int64 `json:"relativePercentage,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity Reading for the 'humidity' metric. This will only be present if the 'metric' property equals 'humidity'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 humidity based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 humidity
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality struct { // Indoor air quality score between 0 and 100. Score int64 `json:"score,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality Reading for the 'indoorAirQuality' metric. This will only be present if the 'metric' property equals 'indoorAirQuality'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 indoor air quality based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 indoor air quality
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise struct { // ambient Ambient *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient `json:"ambient,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise Reading for the 'noise' metric. This will only be present if the 'metric' property equals 'noise'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get organization sensor readings latest o k body items0 readings items0 noise based on the context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 noise
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient struct { // Ambient noise reading in adjusted decibels. Level int64 `json:"level,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient Ambient noise reading. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 noise ambient based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 noise ambient
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25 ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25 struct { // PM2.5 reading in micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25 Reading for the 'pm25' metric. This will only be present if the 'metric' property equals 'pm25'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 pm25 based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 pm25
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature struct { // Temperature reading in degrees Celsius. Celsius float32 `json:"celsius,omitempty"` // Temperature reading in degrees Fahrenheit. Fahrenheit float32 `json:"fahrenheit,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature Reading for the 'temperature' metric. This will only be present if the 'metric' property equals 'temperature'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 temperature based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 temperature
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc struct { // TVOC reading in micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc Reading for the 'tvoc' metric. This will only be present if the 'metric' property equals 'tvoc'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 tvoc based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 tvoc
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water ¶
type GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water struct { // True if water is detected. Present bool `json:"present,omitempty"` }
GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water Reading for the 'water' metric. This will only be present if the 'metric' property equals 'water'. swagger:model GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) ContextValidate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 water based on context it is used
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) MarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) UnmarshalBinary ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) Validate ¶
func (o *GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) Validate(formats strfmt.Registry) error
Validate validates this get organization sensor readings latest o k body items0 readings items0 water
type GetOrganizationSensorReadingsLatestParams ¶
type GetOrganizationSensorReadingsLatestParams struct { /* EndingBefore. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ EndingBefore *string /* Metrics. Types of sensor readings to retrieve. If no metrics are supplied, all available types of readings will be retrieved. Allowed values are battery, button, door, humidity, indoorAirQuality, noise, pm25, temperature, tvoc, and water. */ Metrics []string /* NetworkIds. Optional parameter to filter readings by network. */ NetworkIds []string /* OrganizationID. Organization ID */ OrganizationID string /* PerPage. The number of entries per page returned. Acceptable range is 3 - 100. Default is 100. */ PerPage *int64 /* Serials. Optional parameter to filter readings by sensor. */ Serials []string /* StartingAfter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it. */ StartingAfter *string Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetOrganizationSensorReadingsLatestParams contains all the parameters to send to the API endpoint
for the get organization sensor readings latest operation. Typically these are written to a http.Request.
func NewGetOrganizationSensorReadingsLatestParams ¶
func NewGetOrganizationSensorReadingsLatestParams() *GetOrganizationSensorReadingsLatestParams
NewGetOrganizationSensorReadingsLatestParams creates a new GetOrganizationSensorReadingsLatestParams 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 NewGetOrganizationSensorReadingsLatestParamsWithContext ¶
func NewGetOrganizationSensorReadingsLatestParamsWithContext(ctx context.Context) *GetOrganizationSensorReadingsLatestParams
NewGetOrganizationSensorReadingsLatestParamsWithContext creates a new GetOrganizationSensorReadingsLatestParams object with the ability to set a context for a request.
func NewGetOrganizationSensorReadingsLatestParamsWithHTTPClient ¶
func NewGetOrganizationSensorReadingsLatestParamsWithHTTPClient(client *http.Client) *GetOrganizationSensorReadingsLatestParams
NewGetOrganizationSensorReadingsLatestParamsWithHTTPClient creates a new GetOrganizationSensorReadingsLatestParams object with the ability to set a custom HTTPClient for a request.
func NewGetOrganizationSensorReadingsLatestParamsWithTimeout ¶
func NewGetOrganizationSensorReadingsLatestParamsWithTimeout(timeout time.Duration) *GetOrganizationSensorReadingsLatestParams
NewGetOrganizationSensorReadingsLatestParamsWithTimeout creates a new GetOrganizationSensorReadingsLatestParams object with the ability to set a timeout on a request.
func (*GetOrganizationSensorReadingsLatestParams) SetContext ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetContext(ctx context.Context)
SetContext adds the context to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetDefaults ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetDefaults()
SetDefaults hydrates default values in the get organization sensor readings latest params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationSensorReadingsLatestParams) SetEndingBefore ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetEndingBefore(endingBefore *string)
SetEndingBefore adds the endingBefore to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetHTTPClient ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetMetrics ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetMetrics(metrics []string)
SetMetrics adds the metrics to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetNetworkIds ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetNetworkIds(networkIds []string)
SetNetworkIds adds the networkIds to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetOrganizationID ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetOrganizationID(organizationID string)
SetOrganizationID adds the organizationId to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetPerPage ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetPerPage(perPage *int64)
SetPerPage adds the perPage to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetSerials ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetSerials(serials []string)
SetSerials adds the serials to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetStartingAfter ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetStartingAfter(startingAfter *string)
SetStartingAfter adds the startingAfter to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) SetTimeout ¶
func (o *GetOrganizationSensorReadingsLatestParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithContext ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithContext(ctx context.Context) *GetOrganizationSensorReadingsLatestParams
WithContext adds the context to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithDefaults ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithDefaults() *GetOrganizationSensorReadingsLatestParams
WithDefaults hydrates default values in the get organization sensor readings latest params (not the query body).
All values with no default are reset to their zero value.
func (*GetOrganizationSensorReadingsLatestParams) WithEndingBefore ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithEndingBefore(endingBefore *string) *GetOrganizationSensorReadingsLatestParams
WithEndingBefore adds the endingBefore to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithHTTPClient ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithHTTPClient(client *http.Client) *GetOrganizationSensorReadingsLatestParams
WithHTTPClient adds the HTTPClient to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithMetrics ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithMetrics(metrics []string) *GetOrganizationSensorReadingsLatestParams
WithMetrics adds the metrics to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithNetworkIds ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithNetworkIds(networkIds []string) *GetOrganizationSensorReadingsLatestParams
WithNetworkIds adds the networkIds to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithOrganizationID ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithOrganizationID(organizationID string) *GetOrganizationSensorReadingsLatestParams
WithOrganizationID adds the organizationID to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithPerPage ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithPerPage(perPage *int64) *GetOrganizationSensorReadingsLatestParams
WithPerPage adds the perPage to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithSerials ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithSerials(serials []string) *GetOrganizationSensorReadingsLatestParams
WithSerials adds the serials to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithStartingAfter ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithStartingAfter(startingAfter *string) *GetOrganizationSensorReadingsLatestParams
WithStartingAfter adds the startingAfter to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WithTimeout ¶
func (o *GetOrganizationSensorReadingsLatestParams) WithTimeout(timeout time.Duration) *GetOrganizationSensorReadingsLatestParams
WithTimeout adds the timeout to the get organization sensor readings latest params
func (*GetOrganizationSensorReadingsLatestParams) WriteToRequest ¶
func (o *GetOrganizationSensorReadingsLatestParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetOrganizationSensorReadingsLatestReader ¶
type GetOrganizationSensorReadingsLatestReader struct {
// contains filtered or unexported fields
}
GetOrganizationSensorReadingsLatestReader is a Reader for the GetOrganizationSensorReadingsLatest structure.
func (*GetOrganizationSensorReadingsLatestReader) ReadResponse ¶
func (o *GetOrganizationSensorReadingsLatestReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateDeviceSensorRelationshipsBody ¶
type UpdateDeviceSensorRelationshipsBody struct { // livestream Livestream *UpdateDeviceSensorRelationshipsParamsBodyLivestream `json:"livestream,omitempty"` }
UpdateDeviceSensorRelationshipsBody update device sensor relationships body // Example: {} swagger:model UpdateDeviceSensorRelationshipsBody
func (*UpdateDeviceSensorRelationshipsBody) ContextValidate ¶
func (o *UpdateDeviceSensorRelationshipsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device sensor relationships body based on the context it is used
func (*UpdateDeviceSensorRelationshipsBody) MarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSensorRelationshipsBody) UnmarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSensorRelationshipsOK ¶
type UpdateDeviceSensorRelationshipsOK struct {
Payload *UpdateDeviceSensorRelationshipsOKBody
}
UpdateDeviceSensorRelationshipsOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateDeviceSensorRelationshipsOK ¶
func NewUpdateDeviceSensorRelationshipsOK() *UpdateDeviceSensorRelationshipsOK
NewUpdateDeviceSensorRelationshipsOK creates a UpdateDeviceSensorRelationshipsOK with default headers values
func (*UpdateDeviceSensorRelationshipsOK) Code ¶
func (o *UpdateDeviceSensorRelationshipsOK) Code() int
Code gets the status code for the update device sensor relationships o k response
func (*UpdateDeviceSensorRelationshipsOK) Error ¶
func (o *UpdateDeviceSensorRelationshipsOK) Error() string
func (*UpdateDeviceSensorRelationshipsOK) GetPayload ¶
func (o *UpdateDeviceSensorRelationshipsOK) GetPayload() *UpdateDeviceSensorRelationshipsOKBody
func (*UpdateDeviceSensorRelationshipsOK) IsClientError ¶
func (o *UpdateDeviceSensorRelationshipsOK) IsClientError() bool
IsClientError returns true when this update device sensor relationships o k response has a 4xx status code
func (*UpdateDeviceSensorRelationshipsOK) IsCode ¶
func (o *UpdateDeviceSensorRelationshipsOK) IsCode(code int) bool
IsCode returns true when this update device sensor relationships o k response a status code equal to that given
func (*UpdateDeviceSensorRelationshipsOK) IsRedirect ¶
func (o *UpdateDeviceSensorRelationshipsOK) IsRedirect() bool
IsRedirect returns true when this update device sensor relationships o k response has a 3xx status code
func (*UpdateDeviceSensorRelationshipsOK) IsServerError ¶
func (o *UpdateDeviceSensorRelationshipsOK) IsServerError() bool
IsServerError returns true when this update device sensor relationships o k response has a 5xx status code
func (*UpdateDeviceSensorRelationshipsOK) IsSuccess ¶
func (o *UpdateDeviceSensorRelationshipsOK) IsSuccess() bool
IsSuccess returns true when this update device sensor relationships o k response has a 2xx status code
func (*UpdateDeviceSensorRelationshipsOK) String ¶
func (o *UpdateDeviceSensorRelationshipsOK) String() string
type UpdateDeviceSensorRelationshipsOKBody ¶
type UpdateDeviceSensorRelationshipsOKBody struct { // livestream Livestream *UpdateDeviceSensorRelationshipsOKBodyLivestream `json:"livestream,omitempty"` }
UpdateDeviceSensorRelationshipsOKBody update device sensor relationships o k body swagger:model UpdateDeviceSensorRelationshipsOKBody
func (*UpdateDeviceSensorRelationshipsOKBody) ContextValidate ¶
func (o *UpdateDeviceSensorRelationshipsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device sensor relationships o k body based on the context it is used
func (*UpdateDeviceSensorRelationshipsOKBody) MarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSensorRelationshipsOKBody) UnmarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSensorRelationshipsOKBodyLivestream ¶
type UpdateDeviceSensorRelationshipsOKBodyLivestream struct { // An array of the related devices for the role RelatedDevices []*UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0 `json:"relatedDevices"` }
UpdateDeviceSensorRelationshipsOKBodyLivestream A role defined between an MT sensor and an MV camera that adds the camera's livestream to the sensor's details page. Snapshots from the camera will also appear in alert notifications that the sensor triggers. swagger:model UpdateDeviceSensorRelationshipsOKBodyLivestream
func (*UpdateDeviceSensorRelationshipsOKBodyLivestream) ContextValidate ¶
func (o *UpdateDeviceSensorRelationshipsOKBodyLivestream) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device sensor relationships o k body livestream based on the context it is used
func (*UpdateDeviceSensorRelationshipsOKBodyLivestream) MarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsOKBodyLivestream) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSensorRelationshipsOKBodyLivestream) UnmarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsOKBodyLivestream) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0 ¶
type UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0 struct { // The product type of the related device // Enum: [camera sensor] ProductType string `json:"productType,omitempty"` // The serial of the related device Serial string `json:"serial,omitempty"` }
UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0 update device sensor relationships o k body livestream related devices items0 swagger:model UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0
func (*UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) ContextValidate ¶
func (o *UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device sensor relationships o k body livestream related devices items0 based on context it is used
func (*UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) MarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) UnmarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) Validate ¶
func (o *UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) Validate(formats strfmt.Registry) error
Validate validates this update device sensor relationships o k body livestream related devices items0
type UpdateDeviceSensorRelationshipsParams ¶
type UpdateDeviceSensorRelationshipsParams struct { /* Serial. Serial */ Serial string // UpdateDeviceSensorRelationships. UpdateDeviceSensorRelationships UpdateDeviceSensorRelationshipsBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateDeviceSensorRelationshipsParams contains all the parameters to send to the API endpoint
for the update device sensor relationships operation. Typically these are written to a http.Request.
func NewUpdateDeviceSensorRelationshipsParams ¶
func NewUpdateDeviceSensorRelationshipsParams() *UpdateDeviceSensorRelationshipsParams
NewUpdateDeviceSensorRelationshipsParams creates a new UpdateDeviceSensorRelationshipsParams 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 NewUpdateDeviceSensorRelationshipsParamsWithContext ¶
func NewUpdateDeviceSensorRelationshipsParamsWithContext(ctx context.Context) *UpdateDeviceSensorRelationshipsParams
NewUpdateDeviceSensorRelationshipsParamsWithContext creates a new UpdateDeviceSensorRelationshipsParams object with the ability to set a context for a request.
func NewUpdateDeviceSensorRelationshipsParamsWithHTTPClient ¶
func NewUpdateDeviceSensorRelationshipsParamsWithHTTPClient(client *http.Client) *UpdateDeviceSensorRelationshipsParams
NewUpdateDeviceSensorRelationshipsParamsWithHTTPClient creates a new UpdateDeviceSensorRelationshipsParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateDeviceSensorRelationshipsParamsWithTimeout ¶
func NewUpdateDeviceSensorRelationshipsParamsWithTimeout(timeout time.Duration) *UpdateDeviceSensorRelationshipsParams
NewUpdateDeviceSensorRelationshipsParamsWithTimeout creates a new UpdateDeviceSensorRelationshipsParams object with the ability to set a timeout on a request.
func (*UpdateDeviceSensorRelationshipsParams) SetContext ¶
func (o *UpdateDeviceSensorRelationshipsParams) SetContext(ctx context.Context)
SetContext adds the context to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) SetDefaults ¶
func (o *UpdateDeviceSensorRelationshipsParams) SetDefaults()
SetDefaults hydrates default values in the update device sensor relationships params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDeviceSensorRelationshipsParams) SetHTTPClient ¶
func (o *UpdateDeviceSensorRelationshipsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) SetSerial ¶
func (o *UpdateDeviceSensorRelationshipsParams) SetSerial(serial string)
SetSerial adds the serial to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) SetTimeout ¶
func (o *UpdateDeviceSensorRelationshipsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) SetUpdateDeviceSensorRelationships ¶
func (o *UpdateDeviceSensorRelationshipsParams) SetUpdateDeviceSensorRelationships(updateDeviceSensorRelationships UpdateDeviceSensorRelationshipsBody)
SetUpdateDeviceSensorRelationships adds the updateDeviceSensorRelationships to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) WithContext ¶
func (o *UpdateDeviceSensorRelationshipsParams) WithContext(ctx context.Context) *UpdateDeviceSensorRelationshipsParams
WithContext adds the context to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) WithDefaults ¶
func (o *UpdateDeviceSensorRelationshipsParams) WithDefaults() *UpdateDeviceSensorRelationshipsParams
WithDefaults hydrates default values in the update device sensor relationships params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateDeviceSensorRelationshipsParams) WithHTTPClient ¶
func (o *UpdateDeviceSensorRelationshipsParams) WithHTTPClient(client *http.Client) *UpdateDeviceSensorRelationshipsParams
WithHTTPClient adds the HTTPClient to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) WithSerial ¶
func (o *UpdateDeviceSensorRelationshipsParams) WithSerial(serial string) *UpdateDeviceSensorRelationshipsParams
WithSerial adds the serial to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) WithTimeout ¶
func (o *UpdateDeviceSensorRelationshipsParams) WithTimeout(timeout time.Duration) *UpdateDeviceSensorRelationshipsParams
WithTimeout adds the timeout to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) WithUpdateDeviceSensorRelationships ¶
func (o *UpdateDeviceSensorRelationshipsParams) WithUpdateDeviceSensorRelationships(updateDeviceSensorRelationships UpdateDeviceSensorRelationshipsBody) *UpdateDeviceSensorRelationshipsParams
WithUpdateDeviceSensorRelationships adds the updateDeviceSensorRelationships to the update device sensor relationships params
func (*UpdateDeviceSensorRelationshipsParams) WriteToRequest ¶
func (o *UpdateDeviceSensorRelationshipsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateDeviceSensorRelationshipsParamsBodyLivestream ¶
type UpdateDeviceSensorRelationshipsParamsBodyLivestream struct { // An array of the related devices for the role RelatedDevices []*UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0 `json:"relatedDevices"` }
UpdateDeviceSensorRelationshipsParamsBodyLivestream A role defined between an MT sensor and an MV camera that adds the camera's livestream to the sensor's details page. Snapshots from the camera will also appear in alert notifications that the sensor triggers. swagger:model UpdateDeviceSensorRelationshipsParamsBodyLivestream
func (*UpdateDeviceSensorRelationshipsParamsBodyLivestream) ContextValidate ¶
func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestream) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update device sensor relationships params body livestream based on the context it is used
func (*UpdateDeviceSensorRelationshipsParamsBodyLivestream) MarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestream) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSensorRelationshipsParamsBodyLivestream) UnmarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestream) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0 ¶
type UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0 struct { // The serial of the related device // Required: true Serial *string `json:"serial"` }
UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0 update device sensor relationships params body livestream related devices items0 swagger:model UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0
func (*UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) ContextValidate ¶
func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update device sensor relationships params body livestream related devices items0 based on context it is used
func (*UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) MarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) UnmarshalBinary ¶
func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) Validate ¶
func (o *UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) Validate(formats strfmt.Registry) error
Validate validates this update device sensor relationships params body livestream related devices items0
type UpdateDeviceSensorRelationshipsReader ¶
type UpdateDeviceSensorRelationshipsReader struct {
// contains filtered or unexported fields
}
UpdateDeviceSensorRelationshipsReader is a Reader for the UpdateDeviceSensorRelationships structure.
func (*UpdateDeviceSensorRelationshipsReader) ReadResponse ¶
func (o *UpdateDeviceSensorRelationshipsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSensorAlertsProfileBody ¶
type UpdateNetworkSensorAlertsProfileBody struct { // List of conditions that will cause the profile to send an alert. Conditions []*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0 `json:"conditions"` // Name of the sensor alert profile. Name string `json:"name,omitempty"` // recipients Recipients *UpdateNetworkSensorAlertsProfileParamsBodyRecipients `json:"recipients,omitempty"` // schedule Schedule *UpdateNetworkSensorAlertsProfileParamsBodySchedule `json:"schedule,omitempty"` // List of device serials assigned to this sensor alert profile. Serials []string `json:"serials"` }
UpdateNetworkSensorAlertsProfileBody update network sensor alerts profile body // Example: {"conditions":[{"direction":"above","duration":60,"metric":"temperature","threshold":{"door":{"open":true},"humidity":{"quality":"inadequate","relativePercentage":65},"indoorAirQuality":{"quality":"fair","score":80},"noise":{"ambient":{"level":120,"quality":"poor"}},"pm25":{"concentration":90,"quality":"fair"},"temperature":{"celsius":20.5,"fahrenheit":70,"quality":"good"},"tvoc":{"concentration":400,"quality":"poor"},"water":{"present":true}}}],"name":"My Sensor Alert Profile","recipients":{"emails":["miles@meraki.com"],"httpServerIds":["aHR0cHM6Ly93d3cuZXhhbXBsZS5jb20vd2ViaG9va3M="],"smsNumbers":["+15555555555"]},"schedule":{"id":"5"},"serials":["Q234-ABCD-0001","Q234-ABCD-0002","Q234-ABCD-0003"]} swagger:model UpdateNetworkSensorAlertsProfileBody
func (*UpdateNetworkSensorAlertsProfileBody) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network sensor alerts profile body based on the context it is used
func (*UpdateNetworkSensorAlertsProfileBody) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileBody) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileOK ¶
type UpdateNetworkSensorAlertsProfileOK struct {
Payload *UpdateNetworkSensorAlertsProfileOKBody
}
UpdateNetworkSensorAlertsProfileOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSensorAlertsProfileOK ¶
func NewUpdateNetworkSensorAlertsProfileOK() *UpdateNetworkSensorAlertsProfileOK
NewUpdateNetworkSensorAlertsProfileOK creates a UpdateNetworkSensorAlertsProfileOK with default headers values
func (*UpdateNetworkSensorAlertsProfileOK) Code ¶
func (o *UpdateNetworkSensorAlertsProfileOK) Code() int
Code gets the status code for the update network sensor alerts profile o k response
func (*UpdateNetworkSensorAlertsProfileOK) Error ¶
func (o *UpdateNetworkSensorAlertsProfileOK) Error() string
func (*UpdateNetworkSensorAlertsProfileOK) GetPayload ¶
func (o *UpdateNetworkSensorAlertsProfileOK) GetPayload() *UpdateNetworkSensorAlertsProfileOKBody
func (*UpdateNetworkSensorAlertsProfileOK) IsClientError ¶
func (o *UpdateNetworkSensorAlertsProfileOK) IsClientError() bool
IsClientError returns true when this update network sensor alerts profile o k response has a 4xx status code
func (*UpdateNetworkSensorAlertsProfileOK) IsCode ¶
func (o *UpdateNetworkSensorAlertsProfileOK) IsCode(code int) bool
IsCode returns true when this update network sensor alerts profile o k response a status code equal to that given
func (*UpdateNetworkSensorAlertsProfileOK) IsRedirect ¶
func (o *UpdateNetworkSensorAlertsProfileOK) IsRedirect() bool
IsRedirect returns true when this update network sensor alerts profile o k response has a 3xx status code
func (*UpdateNetworkSensorAlertsProfileOK) IsServerError ¶
func (o *UpdateNetworkSensorAlertsProfileOK) IsServerError() bool
IsServerError returns true when this update network sensor alerts profile o k response has a 5xx status code
func (*UpdateNetworkSensorAlertsProfileOK) IsSuccess ¶
func (o *UpdateNetworkSensorAlertsProfileOK) IsSuccess() bool
IsSuccess returns true when this update network sensor alerts profile o k response has a 2xx status code
func (*UpdateNetworkSensorAlertsProfileOK) String ¶
func (o *UpdateNetworkSensorAlertsProfileOK) String() string
type UpdateNetworkSensorAlertsProfileOKBody ¶
type UpdateNetworkSensorAlertsProfileOKBody struct { // List of conditions that will cause the profile to send an alert. // Required: true Conditions []*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0 `json:"conditions"` // Name of the sensor alert profile. Name string `json:"name,omitempty"` // ID of the sensor alert profile. ProfileID string `json:"profileId,omitempty"` // recipients Recipients *UpdateNetworkSensorAlertsProfileOKBodyRecipients `json:"recipients,omitempty"` // schedule Schedule *UpdateNetworkSensorAlertsProfileOKBodySchedule `json:"schedule,omitempty"` // List of device serials assigned to this sensor alert profile. Serials []string `json:"serials"` }
UpdateNetworkSensorAlertsProfileOKBody update network sensor alerts profile o k body swagger:model UpdateNetworkSensorAlertsProfileOKBody
func (*UpdateNetworkSensorAlertsProfileOKBody) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network sensor alerts profile o k body based on the context it is used
func (*UpdateNetworkSensorAlertsProfileOKBody) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBody) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0 ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0 struct { // If 'above', an alert will be sent when a sensor reads above the threshold. If 'below', an alert will be sent when a sensor reads below the threshold. Only applicable for temperature and humidity thresholds. // Enum: [above below] Direction string `json:"direction,omitempty"` // Length of time in seconds that the triggering state must persist before an alert is sent. Available options are 0 seconds, 1 minute, 2 minutes, 3 minutes, 4 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, and 1 hour. Default is 0. // Enum: [0 60 120 180 240 300 600 900 1800 3600] Duration int64 `json:"duration,omitempty"` // The type of sensor metric that will be monitored for changes. Available metrics are door, humidity, indoorAirQuality, noise, pm25, temperature, tvoc, and water. // Required: true Metric *string `json:"metric"` // threshold // Required: true Threshold *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold `json:"threshold"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0 update network sensor alerts profile o k body conditions items0 swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network sensor alerts profile o k body conditions items0 based on the context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold struct { // door Door *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor `json:"door,omitempty"` // humidity Humidity *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity `json:"humidity,omitempty"` // indoor air quality IndoorAirQuality *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality `json:"indoorAirQuality,omitempty"` // noise Noise *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise `json:"noise,omitempty"` // pm25 Pm25 *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 `json:"pm25,omitempty"` // temperature Temperature *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature `json:"temperature,omitempty"` // tvoc Tvoc *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc `json:"tvoc,omitempty"` // water Water *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater `json:"water,omitempty"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold Threshold for sensor readings that will cause an alert to be sent. This object should contain a single property key matching the condition's 'metric' value. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network sensor alerts profile o k body conditions items0 threshold based on the context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor struct { // Alerting threshold for a door open event. Must be set to true. // Required: true Open *bool `json:"open"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor Door open threshold. 'open' must be provided and set to true. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold door based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold door
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity struct { // Alerting threshold as a qualitative humidity level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold in %RH. RelativePercentage int64 `json:"relativePercentage,omitempty"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity Humidity threshold. One of 'relativePercentage' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold humidity based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold humidity
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality struct { // Alerting threshold as a qualitative indoor air quality level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold as indoor air quality score. Score int64 `json:"score,omitempty"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality Indoor air quality score threshold. One of 'score' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold indoor air quality based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold indoor air quality
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise struct { // ambient // Required: true Ambient *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient `json:"ambient"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise Noise threshold. 'ambient' must be provided. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network sensor alerts profile o k body conditions items0 threshold noise based on the context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold noise
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient struct { // Alerting threshold as adjusted decibels. Level int64 `json:"level,omitempty"` // Alerting threshold as a qualitative ambient noise level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient Ambient noise threshold. One of 'level' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold noise ambient based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold noise ambient
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 struct { // Alerting threshold as PM2.5 parts per million. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative PM2.5 level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25 PM2.5 concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold pm25 based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold pm25
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature struct { // Alerting threshold in degrees Celsius. Celsius float32 `json:"celsius,omitempty"` // Alerting threshold in degrees Fahrenheit. Fahrenheit float32 `json:"fahrenheit,omitempty"` // Alerting threshold as a qualitative temperature level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature Temperature threshold. One of 'celsius', 'fahrenheit', or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold temperature based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold temperature
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc struct { // Alerting threshold as TVOC micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative TVOC level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc TVOC concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold tvoc based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold tvoc
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater ¶
type UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater struct { // Alerting threshold for a water detection event. Must be set to true. // Required: true Present *bool `json:"present"` }
UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater Water detection threshold. 'present' must be provided and set to true. swagger:model UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold water based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile o k body conditions items0 threshold water
type UpdateNetworkSensorAlertsProfileOKBodyRecipients ¶
type UpdateNetworkSensorAlertsProfileOKBodyRecipients struct { // A list of emails that will receive information about the alert. Emails []string `json:"emails"` // A list of webhook endpoint IDs that will receive information about the alert. HTTPServerIds []string `json:"httpServerIds"` // A list of SMS numbers that will receive information about the alert. SmsNumbers []string `json:"smsNumbers"` }
UpdateNetworkSensorAlertsProfileOKBodyRecipients List of recipients that will receive the alert. swagger:model UpdateNetworkSensorAlertsProfileOKBodyRecipients
func (*UpdateNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body recipients based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileOKBodySchedule ¶
type UpdateNetworkSensorAlertsProfileOKBodySchedule struct { // ID of the sensor schedule to use with the alert profile. If not defined, the alert profile will be active at all times. ID string `json:"id,omitempty"` // Name of the sensor schedule to use with the alert profile. Name string `json:"name,omitempty"` }
UpdateNetworkSensorAlertsProfileOKBodySchedule The sensor schedule to use with the alert profile. swagger:model UpdateNetworkSensorAlertsProfileOKBodySchedule
func (*UpdateNetworkSensorAlertsProfileOKBodySchedule) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile o k body schedule based on context it is used
func (*UpdateNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileParams ¶
type UpdateNetworkSensorAlertsProfileParams struct { /* ID. ID */ ID string /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSensorAlertsProfile. UpdateNetworkSensorAlertsProfile UpdateNetworkSensorAlertsProfileBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSensorAlertsProfileParams contains all the parameters to send to the API endpoint
for the update network sensor alerts profile operation. Typically these are written to a http.Request.
func NewUpdateNetworkSensorAlertsProfileParams ¶
func NewUpdateNetworkSensorAlertsProfileParams() *UpdateNetworkSensorAlertsProfileParams
NewUpdateNetworkSensorAlertsProfileParams creates a new UpdateNetworkSensorAlertsProfileParams 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 NewUpdateNetworkSensorAlertsProfileParamsWithContext ¶
func NewUpdateNetworkSensorAlertsProfileParamsWithContext(ctx context.Context) *UpdateNetworkSensorAlertsProfileParams
NewUpdateNetworkSensorAlertsProfileParamsWithContext creates a new UpdateNetworkSensorAlertsProfileParams object with the ability to set a context for a request.
func NewUpdateNetworkSensorAlertsProfileParamsWithHTTPClient ¶
func NewUpdateNetworkSensorAlertsProfileParamsWithHTTPClient(client *http.Client) *UpdateNetworkSensorAlertsProfileParams
NewUpdateNetworkSensorAlertsProfileParamsWithHTTPClient creates a new UpdateNetworkSensorAlertsProfileParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSensorAlertsProfileParamsWithTimeout ¶
func NewUpdateNetworkSensorAlertsProfileParamsWithTimeout(timeout time.Duration) *UpdateNetworkSensorAlertsProfileParams
NewUpdateNetworkSensorAlertsProfileParamsWithTimeout creates a new UpdateNetworkSensorAlertsProfileParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSensorAlertsProfileParams) SetContext ¶
func (o *UpdateNetworkSensorAlertsProfileParams) SetContext(ctx context.Context)
SetContext adds the context to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) SetDefaults ¶
func (o *UpdateNetworkSensorAlertsProfileParams) SetDefaults()
SetDefaults hydrates default values in the update network sensor alerts profile params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNetworkSensorAlertsProfileParams) SetHTTPClient ¶
func (o *UpdateNetworkSensorAlertsProfileParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) SetID ¶
func (o *UpdateNetworkSensorAlertsProfileParams) SetID(id string)
SetID adds the id to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) SetNetworkID ¶
func (o *UpdateNetworkSensorAlertsProfileParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) SetTimeout ¶
func (o *UpdateNetworkSensorAlertsProfileParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) SetUpdateNetworkSensorAlertsProfile ¶
func (o *UpdateNetworkSensorAlertsProfileParams) SetUpdateNetworkSensorAlertsProfile(updateNetworkSensorAlertsProfile UpdateNetworkSensorAlertsProfileBody)
SetUpdateNetworkSensorAlertsProfile adds the updateNetworkSensorAlertsProfile to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) WithContext ¶
func (o *UpdateNetworkSensorAlertsProfileParams) WithContext(ctx context.Context) *UpdateNetworkSensorAlertsProfileParams
WithContext adds the context to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) WithDefaults ¶
func (o *UpdateNetworkSensorAlertsProfileParams) WithDefaults() *UpdateNetworkSensorAlertsProfileParams
WithDefaults hydrates default values in the update network sensor alerts profile params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNetworkSensorAlertsProfileParams) WithHTTPClient ¶
func (o *UpdateNetworkSensorAlertsProfileParams) WithHTTPClient(client *http.Client) *UpdateNetworkSensorAlertsProfileParams
WithHTTPClient adds the HTTPClient to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) WithID ¶
func (o *UpdateNetworkSensorAlertsProfileParams) WithID(id string) *UpdateNetworkSensorAlertsProfileParams
WithID adds the id to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) WithNetworkID ¶
func (o *UpdateNetworkSensorAlertsProfileParams) WithNetworkID(networkID string) *UpdateNetworkSensorAlertsProfileParams
WithNetworkID adds the networkID to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) WithTimeout ¶
func (o *UpdateNetworkSensorAlertsProfileParams) WithTimeout(timeout time.Duration) *UpdateNetworkSensorAlertsProfileParams
WithTimeout adds the timeout to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) WithUpdateNetworkSensorAlertsProfile ¶
func (o *UpdateNetworkSensorAlertsProfileParams) WithUpdateNetworkSensorAlertsProfile(updateNetworkSensorAlertsProfile UpdateNetworkSensorAlertsProfileBody) *UpdateNetworkSensorAlertsProfileParams
WithUpdateNetworkSensorAlertsProfile adds the updateNetworkSensorAlertsProfile to the update network sensor alerts profile params
func (*UpdateNetworkSensorAlertsProfileParams) WriteToRequest ¶
func (o *UpdateNetworkSensorAlertsProfileParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0 ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0 struct { // If 'above', an alert will be sent when a sensor reads above the threshold. If 'below', an alert will be sent when a sensor reads below the threshold. Only applicable for temperature and humidity thresholds. // Enum: [above below] Direction string `json:"direction,omitempty"` // Length of time in seconds that the triggering state must persist before an alert is sent. Available options are 0 seconds, 1 minute, 2 minutes, 3 minutes, 4 minutes, 5 minutes, 10 minutes, 15 minutes, 30 minutes, and 1 hour. Default is 0. // Enum: [0 60 120 180 240 300 600 900 1800 3600] Duration int64 `json:"duration,omitempty"` // The type of sensor metric that will be monitored for changes. Available metrics are door, humidity, indoorAirQuality, noise, pm25, temperature, tvoc, and water. // Required: true Metric *string `json:"metric"` // threshold // Required: true Threshold *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold `json:"threshold"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0 update network sensor alerts profile params body conditions items0 swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network sensor alerts profile params body conditions items0 based on the context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold struct { // door Door *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor `json:"door,omitempty"` // humidity Humidity *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity `json:"humidity,omitempty"` // indoor air quality IndoorAirQuality *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality `json:"indoorAirQuality,omitempty"` // noise Noise *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise `json:"noise,omitempty"` // pm25 Pm25 *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25 `json:"pm25,omitempty"` // temperature Temperature *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature `json:"temperature,omitempty"` // tvoc Tvoc *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc `json:"tvoc,omitempty"` // water Water *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater `json:"water,omitempty"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold Threshold for sensor readings that will cause an alert to be sent. This object should contain a single property key matching the condition's 'metric' value. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network sensor alerts profile params body conditions items0 threshold based on the context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor struct { // Alerting threshold for a door open event. Must be set to true. // Required: true Open *bool `json:"open"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor Door open threshold. 'open' must be provided and set to true. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold door based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold door
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity struct { // Alerting threshold as a qualitative humidity level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold in %RH. RelativePercentage int64 `json:"relativePercentage,omitempty"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity Humidity threshold. One of 'relativePercentage' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold humidity based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold humidity
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality struct { // Alerting threshold as a qualitative indoor air quality level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` // Alerting threshold as indoor air quality score. Score int64 `json:"score,omitempty"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality Indoor air quality score threshold. One of 'score' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold indoor air quality based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold indoor air quality
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise struct { // ambient // Required: true Ambient *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient `json:"ambient"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise Noise threshold. 'ambient' must be provided. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this update network sensor alerts profile params body conditions items0 threshold noise based on the context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold noise
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient struct { // Alerting threshold as adjusted decibels. Level int64 `json:"level,omitempty"` // Alerting threshold as a qualitative ambient noise level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient Ambient noise threshold. One of 'level' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold noise ambient based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold noise ambient
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25 ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25 struct { // Alerting threshold as PM2.5 parts per million. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative PM2.5 level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25 PM2.5 concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold pm25 based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold pm25
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature struct { // Alerting threshold in degrees Celsius. Celsius float32 `json:"celsius,omitempty"` // Alerting threshold in degrees Fahrenheit. Fahrenheit float32 `json:"fahrenheit,omitempty"` // Alerting threshold as a qualitative temperature level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature Temperature threshold. One of 'celsius', 'fahrenheit', or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold temperature based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold temperature
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc struct { // Alerting threshold as TVOC micrograms per cubic meter. Concentration int64 `json:"concentration,omitempty"` // Alerting threshold as a qualitative TVOC level. // Enum: [fair good inadequate poor] Quality string `json:"quality,omitempty"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc TVOC concentration threshold. One of 'concentration' or 'quality' must be provided. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold tvoc based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold tvoc
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater ¶
type UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater struct { // Alerting threshold for a water detection event. Must be set to true. // Required: true Present *bool `json:"present"` }
UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater Water detection threshold. 'present' must be provided and set to true. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold water based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) Validate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) Validate(formats strfmt.Registry) error
Validate validates this update network sensor alerts profile params body conditions items0 threshold water
type UpdateNetworkSensorAlertsProfileParamsBodyRecipients ¶
type UpdateNetworkSensorAlertsProfileParamsBodyRecipients struct { // A list of emails that will receive information about the alert. Emails []string `json:"emails"` // A list of webhook endpoint IDs that will receive information about the alert. HTTPServerIds []string `json:"httpServerIds"` // A list of SMS numbers that will receive information about the alert. SmsNumbers []string `json:"smsNumbers"` }
UpdateNetworkSensorAlertsProfileParamsBodyRecipients List of recipients that will receive the alert. swagger:model UpdateNetworkSensorAlertsProfileParamsBodyRecipients
func (*UpdateNetworkSensorAlertsProfileParamsBodyRecipients) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyRecipients) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body recipients based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodyRecipients) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyRecipients) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodyRecipients) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodyRecipients) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileParamsBodySchedule ¶
type UpdateNetworkSensorAlertsProfileParamsBodySchedule struct { // ID of the sensor schedule to use with the alert profile. If not defined, the alert profile will be active at all times. ID string `json:"id,omitempty"` }
UpdateNetworkSensorAlertsProfileParamsBodySchedule The sensor schedule to use with the alert profile. swagger:model UpdateNetworkSensorAlertsProfileParamsBodySchedule
func (*UpdateNetworkSensorAlertsProfileParamsBodySchedule) ContextValidate ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodySchedule) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor alerts profile params body schedule based on context it is used
func (*UpdateNetworkSensorAlertsProfileParamsBodySchedule) MarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodySchedule) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorAlertsProfileParamsBodySchedule) UnmarshalBinary ¶
func (o *UpdateNetworkSensorAlertsProfileParamsBodySchedule) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorAlertsProfileReader ¶
type UpdateNetworkSensorAlertsProfileReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSensorAlertsProfileReader is a Reader for the UpdateNetworkSensorAlertsProfile structure.
func (*UpdateNetworkSensorAlertsProfileReader) ReadResponse ¶
func (o *UpdateNetworkSensorAlertsProfileReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateNetworkSensorMqttBrokerBody ¶
type UpdateNetworkSensorMqttBrokerBody struct { // Set to true to enable MQTT broker for sensor network // Required: true Enabled *bool `json:"enabled"` }
UpdateNetworkSensorMqttBrokerBody update network sensor mqtt broker body // Example: {"enabled":true,"mqttBrokerId":"1234"} swagger:model UpdateNetworkSensorMqttBrokerBody
func (*UpdateNetworkSensorMqttBrokerBody) ContextValidate ¶
func (o *UpdateNetworkSensorMqttBrokerBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor mqtt broker body based on context it is used
func (*UpdateNetworkSensorMqttBrokerBody) MarshalBinary ¶
func (o *UpdateNetworkSensorMqttBrokerBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorMqttBrokerBody) UnmarshalBinary ¶
func (o *UpdateNetworkSensorMqttBrokerBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorMqttBrokerOK ¶
type UpdateNetworkSensorMqttBrokerOK struct {
Payload *UpdateNetworkSensorMqttBrokerOKBody
}
UpdateNetworkSensorMqttBrokerOK describes a response with status code 200, with default header values.
Successful operation
func NewUpdateNetworkSensorMqttBrokerOK ¶
func NewUpdateNetworkSensorMqttBrokerOK() *UpdateNetworkSensorMqttBrokerOK
NewUpdateNetworkSensorMqttBrokerOK creates a UpdateNetworkSensorMqttBrokerOK with default headers values
func (*UpdateNetworkSensorMqttBrokerOK) Code ¶
func (o *UpdateNetworkSensorMqttBrokerOK) Code() int
Code gets the status code for the update network sensor mqtt broker o k response
func (*UpdateNetworkSensorMqttBrokerOK) Error ¶
func (o *UpdateNetworkSensorMqttBrokerOK) Error() string
func (*UpdateNetworkSensorMqttBrokerOK) GetPayload ¶
func (o *UpdateNetworkSensorMqttBrokerOK) GetPayload() *UpdateNetworkSensorMqttBrokerOKBody
func (*UpdateNetworkSensorMqttBrokerOK) IsClientError ¶
func (o *UpdateNetworkSensorMqttBrokerOK) IsClientError() bool
IsClientError returns true when this update network sensor mqtt broker o k response has a 4xx status code
func (*UpdateNetworkSensorMqttBrokerOK) IsCode ¶
func (o *UpdateNetworkSensorMqttBrokerOK) IsCode(code int) bool
IsCode returns true when this update network sensor mqtt broker o k response a status code equal to that given
func (*UpdateNetworkSensorMqttBrokerOK) IsRedirect ¶
func (o *UpdateNetworkSensorMqttBrokerOK) IsRedirect() bool
IsRedirect returns true when this update network sensor mqtt broker o k response has a 3xx status code
func (*UpdateNetworkSensorMqttBrokerOK) IsServerError ¶
func (o *UpdateNetworkSensorMqttBrokerOK) IsServerError() bool
IsServerError returns true when this update network sensor mqtt broker o k response has a 5xx status code
func (*UpdateNetworkSensorMqttBrokerOK) IsSuccess ¶
func (o *UpdateNetworkSensorMqttBrokerOK) IsSuccess() bool
IsSuccess returns true when this update network sensor mqtt broker o k response has a 2xx status code
func (*UpdateNetworkSensorMqttBrokerOK) String ¶
func (o *UpdateNetworkSensorMqttBrokerOK) String() string
type UpdateNetworkSensorMqttBrokerOKBody ¶
type UpdateNetworkSensorMqttBrokerOKBody struct { // Specifies whether the broker is enabled for sensor data. Currently, only a single broker may be enabled for sensor data. Enabled bool `json:"enabled,omitempty"` // ID of the MQTT Broker. MqttBrokerID string `json:"mqttBrokerId,omitempty"` }
UpdateNetworkSensorMqttBrokerOKBody update network sensor mqtt broker o k body swagger:model UpdateNetworkSensorMqttBrokerOKBody
func (*UpdateNetworkSensorMqttBrokerOKBody) ContextValidate ¶
func (o *UpdateNetworkSensorMqttBrokerOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this update network sensor mqtt broker o k body based on context it is used
func (*UpdateNetworkSensorMqttBrokerOKBody) MarshalBinary ¶
func (o *UpdateNetworkSensorMqttBrokerOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateNetworkSensorMqttBrokerOKBody) UnmarshalBinary ¶
func (o *UpdateNetworkSensorMqttBrokerOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UpdateNetworkSensorMqttBrokerParams ¶
type UpdateNetworkSensorMqttBrokerParams struct { /* MqttBrokerID. Mqtt broker ID */ MqttBrokerID string /* NetworkID. Network ID */ NetworkID string // UpdateNetworkSensorMqttBroker. UpdateNetworkSensorMqttBroker UpdateNetworkSensorMqttBrokerBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateNetworkSensorMqttBrokerParams contains all the parameters to send to the API endpoint
for the update network sensor mqtt broker operation. Typically these are written to a http.Request.
func NewUpdateNetworkSensorMqttBrokerParams ¶
func NewUpdateNetworkSensorMqttBrokerParams() *UpdateNetworkSensorMqttBrokerParams
NewUpdateNetworkSensorMqttBrokerParams creates a new UpdateNetworkSensorMqttBrokerParams 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 NewUpdateNetworkSensorMqttBrokerParamsWithContext ¶
func NewUpdateNetworkSensorMqttBrokerParamsWithContext(ctx context.Context) *UpdateNetworkSensorMqttBrokerParams
NewUpdateNetworkSensorMqttBrokerParamsWithContext creates a new UpdateNetworkSensorMqttBrokerParams object with the ability to set a context for a request.
func NewUpdateNetworkSensorMqttBrokerParamsWithHTTPClient ¶
func NewUpdateNetworkSensorMqttBrokerParamsWithHTTPClient(client *http.Client) *UpdateNetworkSensorMqttBrokerParams
NewUpdateNetworkSensorMqttBrokerParamsWithHTTPClient creates a new UpdateNetworkSensorMqttBrokerParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateNetworkSensorMqttBrokerParamsWithTimeout ¶
func NewUpdateNetworkSensorMqttBrokerParamsWithTimeout(timeout time.Duration) *UpdateNetworkSensorMqttBrokerParams
NewUpdateNetworkSensorMqttBrokerParamsWithTimeout creates a new UpdateNetworkSensorMqttBrokerParams object with the ability to set a timeout on a request.
func (*UpdateNetworkSensorMqttBrokerParams) SetContext ¶
func (o *UpdateNetworkSensorMqttBrokerParams) SetContext(ctx context.Context)
SetContext adds the context to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) SetDefaults ¶
func (o *UpdateNetworkSensorMqttBrokerParams) SetDefaults()
SetDefaults hydrates default values in the update network sensor mqtt broker params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNetworkSensorMqttBrokerParams) SetHTTPClient ¶
func (o *UpdateNetworkSensorMqttBrokerParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) SetMqttBrokerID ¶
func (o *UpdateNetworkSensorMqttBrokerParams) SetMqttBrokerID(mqttBrokerID string)
SetMqttBrokerID adds the mqttBrokerId to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) SetNetworkID ¶
func (o *UpdateNetworkSensorMqttBrokerParams) SetNetworkID(networkID string)
SetNetworkID adds the networkId to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) SetTimeout ¶
func (o *UpdateNetworkSensorMqttBrokerParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) SetUpdateNetworkSensorMqttBroker ¶
func (o *UpdateNetworkSensorMqttBrokerParams) SetUpdateNetworkSensorMqttBroker(updateNetworkSensorMqttBroker UpdateNetworkSensorMqttBrokerBody)
SetUpdateNetworkSensorMqttBroker adds the updateNetworkSensorMqttBroker to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) WithContext ¶
func (o *UpdateNetworkSensorMqttBrokerParams) WithContext(ctx context.Context) *UpdateNetworkSensorMqttBrokerParams
WithContext adds the context to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) WithDefaults ¶
func (o *UpdateNetworkSensorMqttBrokerParams) WithDefaults() *UpdateNetworkSensorMqttBrokerParams
WithDefaults hydrates default values in the update network sensor mqtt broker params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateNetworkSensorMqttBrokerParams) WithHTTPClient ¶
func (o *UpdateNetworkSensorMqttBrokerParams) WithHTTPClient(client *http.Client) *UpdateNetworkSensorMqttBrokerParams
WithHTTPClient adds the HTTPClient to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) WithMqttBrokerID ¶
func (o *UpdateNetworkSensorMqttBrokerParams) WithMqttBrokerID(mqttBrokerID string) *UpdateNetworkSensorMqttBrokerParams
WithMqttBrokerID adds the mqttBrokerID to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) WithNetworkID ¶
func (o *UpdateNetworkSensorMqttBrokerParams) WithNetworkID(networkID string) *UpdateNetworkSensorMqttBrokerParams
WithNetworkID adds the networkID to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) WithTimeout ¶
func (o *UpdateNetworkSensorMqttBrokerParams) WithTimeout(timeout time.Duration) *UpdateNetworkSensorMqttBrokerParams
WithTimeout adds the timeout to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) WithUpdateNetworkSensorMqttBroker ¶
func (o *UpdateNetworkSensorMqttBrokerParams) WithUpdateNetworkSensorMqttBroker(updateNetworkSensorMqttBroker UpdateNetworkSensorMqttBrokerBody) *UpdateNetworkSensorMqttBrokerParams
WithUpdateNetworkSensorMqttBroker adds the updateNetworkSensorMqttBroker to the update network sensor mqtt broker params
func (*UpdateNetworkSensorMqttBrokerParams) WriteToRequest ¶
func (o *UpdateNetworkSensorMqttBrokerParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateNetworkSensorMqttBrokerReader ¶
type UpdateNetworkSensorMqttBrokerReader struct {
// contains filtered or unexported fields
}
UpdateNetworkSensorMqttBrokerReader is a Reader for the UpdateNetworkSensorMqttBroker structure.
func (*UpdateNetworkSensorMqttBrokerReader) ReadResponse ¶
func (o *UpdateNetworkSensorMqttBrokerReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
Source Files
¶
- create_network_sensor_alerts_profile_parameters.go
- create_network_sensor_alerts_profile_responses.go
- delete_network_sensor_alerts_profile_parameters.go
- delete_network_sensor_alerts_profile_responses.go
- get_device_sensor_relationships_parameters.go
- get_device_sensor_relationships_responses.go
- get_network_sensor_alerts_current_overview_by_metric_parameters.go
- get_network_sensor_alerts_current_overview_by_metric_responses.go
- get_network_sensor_alerts_overview_by_metric_parameters.go
- get_network_sensor_alerts_overview_by_metric_responses.go
- get_network_sensor_alerts_profile_parameters.go
- get_network_sensor_alerts_profile_responses.go
- get_network_sensor_alerts_profiles_parameters.go
- get_network_sensor_alerts_profiles_responses.go
- get_network_sensor_mqtt_broker_parameters.go
- get_network_sensor_mqtt_broker_responses.go
- get_network_sensor_mqtt_brokers_parameters.go
- get_network_sensor_mqtt_brokers_responses.go
- get_network_sensor_relationships_parameters.go
- get_network_sensor_relationships_responses.go
- get_organization_sensor_readings_history_parameters.go
- get_organization_sensor_readings_history_responses.go
- get_organization_sensor_readings_latest_parameters.go
- get_organization_sensor_readings_latest_responses.go
- sensor_client.go
- update_device_sensor_relationships_parameters.go
- update_device_sensor_relationships_responses.go
- update_network_sensor_alerts_profile_parameters.go
- update_network_sensor_alerts_profile_responses.go
- update_network_sensor_mqtt_broker_parameters.go
- update_network_sensor_mqtt_broker_responses.go