sensor

package
v0.0.0-...-6c9a280 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CreateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove captures enum value "above"
	CreateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove string = "above"

	// CreateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow captures enum value "below"
	CreateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow string = "below"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionAbove captures enum value "above"
	CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionAbove string = "above"

	// CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionBelow captures enum value "below"
	CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionBelow string = "below"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0ProductTypeCamera captures enum value "camera"
	GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0ProductTypeCamera string = "camera"

	// GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0ProductTypeSensor captures enum value "sensor"
	GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0ProductTypeSensor string = "sensor"
)
View Source
const (

	// GetNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove captures enum value "above"
	GetNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove string = "above"

	// GetNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow captures enum value "below"
	GetNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow string = "below"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0DirectionAbove captures enum value "above"
	GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0DirectionAbove string = "above"

	// GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0DirectionBelow captures enum value "below"
	GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0DirectionBelow string = "below"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// GetNetworkSensorRelationshipsOKBodyItems0DeviceProductTypeCamera captures enum value "camera"
	GetNetworkSensorRelationshipsOKBodyItems0DeviceProductTypeCamera string = "camera"

	// GetNetworkSensorRelationshipsOKBodyItems0DeviceProductTypeSensor captures enum value "sensor"
	GetNetworkSensorRelationshipsOKBodyItems0DeviceProductTypeSensor string = "sensor"
)
View Source
const (

	// GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0ProductTypeCamera captures enum value "camera"
	GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0ProductTypeCamera string = "camera"

	// GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0ProductTypeSensor captures enum value "sensor"
	GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0ProductTypeSensor string = "sensor"
)
View Source
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"
)
View Source
const (

	// GetOrganizationSensorReadingsHistoryOKBodyItems0ButtonPressTypeLong captures enum value "long"
	GetOrganizationSensorReadingsHistoryOKBodyItems0ButtonPressTypeLong string = "long"

	// GetOrganizationSensorReadingsHistoryOKBodyItems0ButtonPressTypeShort captures enum value "short"
	GetOrganizationSensorReadingsHistoryOKBodyItems0ButtonPressTypeShort string = "short"
)
View Source
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"
)
View Source
const (

	// GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0ButtonPressTypeLong captures enum value "long"
	GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0ButtonPressTypeLong string = "long"

	// GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0ButtonPressTypeShort captures enum value "short"
	GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0ButtonPressTypeShort string = "short"
)
View Source
const (

	// UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0ProductTypeCamera captures enum value "camera"
	UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0ProductTypeCamera string = "camera"

	// UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0ProductTypeSensor captures enum value "sensor"
	UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0ProductTypeSensor string = "sensor"
)
View Source
const (

	// UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove captures enum value "above"
	UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionAbove string = "above"

	// UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow captures enum value "below"
	UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0DirectionBelow string = "below"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionAbove captures enum value "above"
	UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionAbove string = "above"

	// UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionBelow captures enum value "below"
	UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0DirectionBelow string = "below"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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

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

GetNetworkSensorAlertsCurrentOverviewByMetric returns an overview of currently alerting sensors by metric

Return an overview of currently alerting sensors by metric

func (*Client) GetNetworkSensorAlertsOverviewByMetric

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

func (*CreateNetworkSensorAlertsProfileBody) Validate

Validate validates this create network sensor alerts profile body

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

Code gets the status code for the create network sensor alerts profile o k response

func (*CreateNetworkSensorAlertsProfileOK) Error

func (*CreateNetworkSensorAlertsProfileOK) GetPayload

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

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

IsSuccess returns true when this create network sensor alerts profile o k response has a 2xx status code

func (*CreateNetworkSensorAlertsProfileOK) 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

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

func (*CreateNetworkSensorAlertsProfileOKBody) Validate

Validate validates this create network sensor alerts profile o k body

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

ContextValidate validate this create network sensor alerts profile o k body conditions items0 based on the context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0) Validate

Validate validates this create network sensor alerts profile o k body conditions items0

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

ContextValidate validate this create network sensor alerts profile o k body conditions items0 threshold based on the context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) Validate

Validate validates this create network sensor alerts profile o k body conditions items0 threshold

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

ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold door based on context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate

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

ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold humidity based on context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate

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

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

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate

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

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

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate

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

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

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate

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

ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold pm25 based on context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate

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

ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold temperature based on context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate

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

ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold tvoc based on context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate

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

ContextValidate validates this create network sensor alerts profile o k body conditions items0 threshold water based on context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate

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

ContextValidate validates this create network sensor alerts profile o k body recipients based on context it is used

func (*CreateNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodyRecipients) Validate

Validate validates this create network sensor alerts profile o k body recipients

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

ContextValidate validates this create network sensor alerts profile o k body schedule based on context it is used

func (*CreateNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileOKBodySchedule) Validate

Validate validates this create network sensor alerts profile o k body schedule

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

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

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

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

WithHTTPClient adds the HTTPClient to the create network sensor alerts profile params

func (*CreateNetworkSensorAlertsProfileParams) WithNetworkID

WithNetworkID adds the networkID to the create network sensor alerts profile params

func (*CreateNetworkSensorAlertsProfileParams) WithTimeout

WithTimeout adds the timeout to the create network sensor alerts profile params

func (*CreateNetworkSensorAlertsProfileParams) WriteToRequest

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

ContextValidate validate this create network sensor alerts profile params body conditions items0 based on the context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0) Validate

Validate validates this create network sensor alerts profile params body conditions items0

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

ContextValidate validate this create network sensor alerts profile params body conditions items0 threshold based on the context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) Validate

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

ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold door based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) Validate

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

ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold humidity based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) Validate

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

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

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) Validate

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

ContextValidate validate this create network sensor alerts profile params body conditions items0 threshold noise based on the context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) Validate

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

ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold noise ambient based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) Validate

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

ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold pm25 based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) Validate

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

ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold temperature based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) Validate

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

ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold tvoc based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) Validate

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

ContextValidate validates this create network sensor alerts profile params body conditions items0 threshold water based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) Validate

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

ContextValidate validates this create network sensor alerts profile params body recipients based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodyRecipients) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyRecipients) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodyRecipients) Validate

Validate validates this create network sensor alerts profile params body recipients

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

ContextValidate validates this create network sensor alerts profile params body schedule based on context it is used

func (*CreateNetworkSensorAlertsProfileParamsBodySchedule) MarshalBinary

MarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodySchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*CreateNetworkSensorAlertsProfileParamsBodySchedule) Validate

Validate validates this create network sensor alerts profile params body schedule

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

Code gets the status code for the delete network sensor alerts profile no content response

func (*DeleteNetworkSensorAlertsProfileNoContent) Error

func (*DeleteNetworkSensorAlertsProfileNoContent) IsClientError

IsClientError returns true when this delete network sensor alerts profile no content response has a 4xx status code

func (*DeleteNetworkSensorAlertsProfileNoContent) IsCode

IsCode returns true when this delete network sensor alerts profile no content response a status code equal to that given

func (*DeleteNetworkSensorAlertsProfileNoContent) IsRedirect

IsRedirect returns true when this delete network sensor alerts profile no content response has a 3xx status code

func (*DeleteNetworkSensorAlertsProfileNoContent) IsServerError

IsServerError returns true when this delete network sensor alerts profile no content response has a 5xx status code

func (*DeleteNetworkSensorAlertsProfileNoContent) IsSuccess

IsSuccess returns true when this delete network sensor alerts profile no content response has a 2xx status code

func (*DeleteNetworkSensorAlertsProfileNoContent) 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

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

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

WithContext adds the context to the delete network sensor alerts profile params

func (*DeleteNetworkSensorAlertsProfileParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the delete network sensor alerts profile params

func (*DeleteNetworkSensorAlertsProfileParams) WithID

WithID adds the id to the delete network sensor alerts profile params

func (*DeleteNetworkSensorAlertsProfileParams) WithNetworkID

WithNetworkID adds the networkID to the delete network sensor alerts profile params

func (*DeleteNetworkSensorAlertsProfileParams) WithTimeout

WithTimeout adds the timeout to the delete network sensor alerts profile params

func (*DeleteNetworkSensorAlertsProfileParams) WriteToRequest

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

Code gets the status code for the get device sensor relationships o k response

func (*GetDeviceSensorRelationshipsOK) Error

func (*GetDeviceSensorRelationshipsOK) GetPayload

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

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

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

func (*GetDeviceSensorRelationshipsOKBodyItems0) Validate

Validate validates this get device sensor relationships o k body items0

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

ContextValidate validate this get device sensor relationships o k body items0 livestream based on the context it is used

func (*GetDeviceSensorRelationshipsOKBodyItems0Livestream) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSensorRelationshipsOKBodyItems0Livestream) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSensorRelationshipsOKBodyItems0Livestream) Validate

Validate validates this get device sensor relationships o k body items0 livestream

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

ContextValidate validates this get device sensor relationships o k body items0 livestream related devices items0 based on context it is used

func (*GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetDeviceSensorRelationshipsOKBodyItems0LivestreamRelatedDevicesItems0) Validate

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

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

WithContext adds the context to the get device sensor relationships params

func (*GetDeviceSensorRelationshipsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get device sensor relationships params

func (*GetDeviceSensorRelationshipsParams) WithSerial

WithSerial adds the serial to the get device sensor relationships params

func (*GetDeviceSensorRelationshipsParams) WithTimeout

WithTimeout adds the timeout to the get device sensor relationships params

func (*GetDeviceSensorRelationshipsParams) WriteToRequest

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

Code gets the status code for the get network sensor alerts current overview by metric o k response

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) Error

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) GetPayload

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsClientError

IsClientError returns true when this get network sensor alerts current overview by metric o k response has a 4xx status code

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsCode

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

IsRedirect returns true when this get network sensor alerts current overview by metric o k response has a 3xx status code

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsServerError

IsServerError returns true when this get network sensor alerts current overview by metric o k response has a 5xx status code

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) IsSuccess

IsSuccess returns true when this get network sensor alerts current overview by metric o k response has a 2xx status code

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOK) 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

ContextValidate validate this get network sensor alerts current overview by metric o k body based on the context it is used

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBody) Validate

Validate validates this get network sensor alerts current overview by metric o k body

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCounts) Validate

Validate validates this get network sensor alerts current overview by metric o k body counts

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsCurrentOverviewByMetricOKBodyCountsNoise) Validate

Validate validates this get network sensor alerts current overview by metric o k body counts noise

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

SetContext adds the context to the get network sensor alerts current overview by metric params

func (*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

SetHTTPClient adds the HTTPClient to the get network sensor alerts current overview by metric params

func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetNetworkID

SetNetworkID adds the networkId to the get network sensor alerts current overview by metric params

func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) SetTimeout

SetTimeout adds the timeout to the get network sensor alerts current overview by metric params

func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithContext

WithContext adds the context to the get network sensor alerts current overview by metric params

func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get network sensor alerts current overview by metric params

func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithNetworkID

WithNetworkID adds the networkID to the get network sensor alerts current overview by metric params

func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WithTimeout

WithTimeout adds the timeout to the get network sensor alerts current overview by metric params

func (*GetNetworkSensorAlertsCurrentOverviewByMetricParams) WriteToRequest

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

Code gets the status code for the get network sensor alerts overview by metric o k response

func (*GetNetworkSensorAlertsOverviewByMetricOK) Error

func (*GetNetworkSensorAlertsOverviewByMetricOK) GetPayload

func (*GetNetworkSensorAlertsOverviewByMetricOK) IsClientError

IsClientError returns true when this get network sensor alerts overview by metric o k response has a 4xx status code

func (*GetNetworkSensorAlertsOverviewByMetricOK) IsCode

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

IsRedirect returns true when this get network sensor alerts overview by metric o k response has a 3xx status code

func (*GetNetworkSensorAlertsOverviewByMetricOK) IsServerError

IsServerError returns true when this get network sensor alerts overview by metric o k response has a 5xx status code

func (*GetNetworkSensorAlertsOverviewByMetricOK) IsSuccess

IsSuccess returns true when this get network sensor alerts overview by metric o k response has a 2xx status code

func (*GetNetworkSensorAlertsOverviewByMetricOK) 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

ContextValidate validate this get network sensor alerts overview by metric o k body items0 based on the context it is used

func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0) Validate

Validate validates this get network sensor alerts overview by metric o k body items0

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0Counts) Validate

Validate validates this get network sensor alerts overview by metric o k body items0 counts

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsOverviewByMetricOKBodyItems0CountsNoise) Validate

Validate validates this get network sensor alerts overview by metric o k body items0 counts noise

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

SetContext adds the context to the get network sensor alerts overview by metric params

func (*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

SetT0 adds the t0 to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) SetT1

SetT1 adds the t1 to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) SetTimeout

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

WithContext adds the context to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) WithInterval

WithInterval adds the interval to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) WithNetworkID

WithNetworkID adds the networkID to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) WithT0

WithT0 adds the t0 to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) WithT1

WithT1 adds the t1 to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) WithTimeout

WithTimeout adds the timeout to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) WithTimespan

WithTimespan adds the timespan to the get network sensor alerts overview by metric params

func (*GetNetworkSensorAlertsOverviewByMetricParams) WriteToRequest

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

Code gets the status code for the get network sensor alerts profile o k response

func (*GetNetworkSensorAlertsProfileOK) Error

func (*GetNetworkSensorAlertsProfileOK) GetPayload

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

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

func (*GetNetworkSensorAlertsProfileOKBody) Validate

Validate validates this get network sensor alerts profile o k body

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

ContextValidate validate this get network sensor alerts profile o k body conditions items0 based on the context it is used

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0) Validate

Validate validates this get network sensor alerts profile o k body conditions items0

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

ContextValidate validate this get network sensor alerts profile o k body conditions items0 threshold based on the context it is used

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) Validate

Validate validates this get network sensor alerts profile o k body conditions items0 threshold

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

ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold door based on context it is used

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate

Validate validates this get network sensor alerts profile o k body conditions items0 threshold door

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

ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold humidity based on context it is used

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate

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

ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold pm25 based on context it is used

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate

Validate validates this get network sensor alerts profile o k body conditions items0 threshold pm25

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

ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold temperature based on context it is used

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate

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

ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold tvoc based on context it is used

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate

Validate validates this get network sensor alerts profile o k body conditions items0 threshold tvoc

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

ContextValidate validates this get network sensor alerts profile o k body conditions items0 threshold water based on context it is used

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate

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

ContextValidate validates this get network sensor alerts profile o k body recipients based on context it is used

func (*GetNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfileOKBodyRecipients) Validate

Validate validates this get network sensor alerts profile o k body recipients

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

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

func (*GetNetworkSensorAlertsProfileOKBodySchedule) Validate

Validate validates this get network sensor alerts profile o k body schedule

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

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

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

WithContext adds the context to the get network sensor alerts profile params

func (*GetNetworkSensorAlertsProfileParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get network sensor alerts profile params

func (*GetNetworkSensorAlertsProfileParams) WithID

WithID adds the id to the get network sensor alerts profile params

func (*GetNetworkSensorAlertsProfileParams) WithNetworkID

WithNetworkID adds the networkID to the get network sensor alerts profile params

func (*GetNetworkSensorAlertsProfileParams) WithTimeout

WithTimeout adds the timeout to the get network sensor alerts profile params

func (*GetNetworkSensorAlertsProfileParams) WriteToRequest

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

Code gets the status code for the get network sensor alerts profiles o k response

func (*GetNetworkSensorAlertsProfilesOK) Error

func (*GetNetworkSensorAlertsProfilesOK) GetPayload

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

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

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

func (*GetNetworkSensorAlertsProfilesOKBodyItems0) Validate

Validate validates this get network sensor alerts profiles o k body items0

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

ContextValidate validate this get network sensor alerts profiles o k body items0 conditions items0 based on the context it is used

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0) Validate

Validate validates this get network sensor alerts profiles o k body items0 conditions items0

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0Threshold) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdDoor) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdHumidity) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdIndoorAirQuality) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoise) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdNoiseAmbient) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdPm25) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTemperature) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdTvoc) Validate

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0ConditionsItems0ThresholdWater) Validate

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

ContextValidate validates this get network sensor alerts profiles o k body items0 recipients based on context it is used

func (*GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0Recipients) Validate

Validate validates this get network sensor alerts profiles o k body items0 recipients

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

ContextValidate validates this get network sensor alerts profiles o k body items0 schedule based on context it is used

func (*GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorAlertsProfilesOKBodyItems0Schedule) Validate

Validate validates this get network sensor alerts profiles o k body items0 schedule

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

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

WithContext adds the context to the get network sensor alerts profiles params

func (*GetNetworkSensorAlertsProfilesParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get network sensor alerts profiles params

func (*GetNetworkSensorAlertsProfilesParams) WithNetworkID

WithNetworkID adds the networkID to the get network sensor alerts profiles params

func (*GetNetworkSensorAlertsProfilesParams) WithTimeout

WithTimeout adds the timeout to the get network sensor alerts profiles params

func (*GetNetworkSensorAlertsProfilesParams) WriteToRequest

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

Code gets the status code for the get network sensor mqtt broker o k response

func (*GetNetworkSensorMqttBrokerOK) Error

func (*GetNetworkSensorMqttBrokerOK) GetPayload

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

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

func (*GetNetworkSensorMqttBrokerOKBody) Validate

Validate validates this get network sensor mqtt broker o k body

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

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

WithContext adds the context to the get network sensor mqtt broker params

func (*GetNetworkSensorMqttBrokerParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get network sensor mqtt broker params

func (*GetNetworkSensorMqttBrokerParams) WithMqttBrokerID

WithMqttBrokerID adds the mqttBrokerID to the get network sensor mqtt broker params

func (*GetNetworkSensorMqttBrokerParams) WithNetworkID

WithNetworkID adds the networkID to the get network sensor mqtt broker params

func (*GetNetworkSensorMqttBrokerParams) WithTimeout

WithTimeout adds the timeout to the get network sensor mqtt broker params

func (*GetNetworkSensorMqttBrokerParams) WriteToRequest

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

Code gets the status code for the get network sensor mqtt brokers o k response

func (*GetNetworkSensorMqttBrokersOK) Error

func (*GetNetworkSensorMqttBrokersOK) GetPayload

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

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

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

func (*GetNetworkSensorMqttBrokersOKBodyItems0) Validate

Validate validates this get network sensor mqtt brokers o k body items0

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

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

WithContext adds the context to the get network sensor mqtt brokers params

func (*GetNetworkSensorMqttBrokersParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get network sensor mqtt brokers params

func (*GetNetworkSensorMqttBrokersParams) WithNetworkID

WithNetworkID adds the networkID to the get network sensor mqtt brokers params

func (*GetNetworkSensorMqttBrokersParams) WithTimeout

WithTimeout adds the timeout to the get network sensor mqtt brokers params

func (*GetNetworkSensorMqttBrokersParams) WriteToRequest

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

Code gets the status code for the get network sensor relationships o k response

func (*GetNetworkSensorRelationshipsOK) Error

func (*GetNetworkSensorRelationshipsOK) GetPayload

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

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

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

func (*GetNetworkSensorRelationshipsOKBodyItems0) Validate

Validate validates this get network sensor relationships o k body items0

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

ContextValidate validates this get network sensor relationships o k body items0 device based on context it is used

func (*GetNetworkSensorRelationshipsOKBodyItems0Device) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorRelationshipsOKBodyItems0Device) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorRelationshipsOKBodyItems0Device) Validate

Validate validates this get network sensor relationships o k body items0 device

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

ContextValidate validate this get network sensor relationships o k body items0 relationships based on the context it is used

func (*GetNetworkSensorRelationshipsOKBodyItems0Relationships) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorRelationshipsOKBodyItems0Relationships) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorRelationshipsOKBodyItems0Relationships) Validate

Validate validates this get network sensor relationships o k body items0 relationships

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

ContextValidate validate this get network sensor relationships o k body items0 relationships livestream based on the context it is used

func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) MarshalBinary

MarshalBinary interface implementation

func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestream) Validate

Validate validates this get network sensor relationships o k body items0 relationships livestream

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

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

MarshalBinary interface implementation

func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetNetworkSensorRelationshipsOKBodyItems0RelationshipsLivestreamRelatedDevicesItems0) Validate

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

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

WithContext adds the context to the get network sensor relationships params

func (*GetNetworkSensorRelationshipsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the get network sensor relationships params

func (*GetNetworkSensorRelationshipsParams) WithNetworkID

WithNetworkID adds the networkID to the get network sensor relationships params

func (*GetNetworkSensorRelationshipsParams) WithTimeout

WithTimeout adds the timeout to the get network sensor relationships params

func (*GetNetworkSensorRelationshipsParams) WriteToRequest

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

Code gets the status code for the get organization sensor readings history o k response

func (*GetOrganizationSensorReadingsHistoryOK) Error

func (*GetOrganizationSensorReadingsHistoryOK) GetPayload

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

IsCode returns true when this get organization sensor readings history o k response a status code equal to that given

func (*GetOrganizationSensorReadingsHistoryOK) IsRedirect

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

IsSuccess returns true when this get organization sensor readings history o k response has a 2xx status code

func (*GetOrganizationSensorReadingsHistoryOK) 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

ContextValidate validate this get organization sensor readings history o k body items0 based on the context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0) Validate

Validate validates this get organization sensor readings history o k body items0

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

ContextValidate validates this get organization sensor readings history o k body items0 battery based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Battery) Validate

Validate validates this get organization sensor readings history o k body items0 battery

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

ContextValidate validates this get organization sensor readings history o k body items0 button based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Button) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Button) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Button) Validate

Validate validates this get organization sensor readings history o k body items0 button

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

ContextValidate validates this get organization sensor readings history o k body items0 door based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Door) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Door) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Door) Validate

Validate validates this get organization sensor readings history o k body items0 door

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

ContextValidate validates this get organization sensor readings history o k body items0 humidity based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Humidity) Validate

Validate validates this get organization sensor readings history o k body items0 humidity

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

ContextValidate validates this get organization sensor readings history o k body items0 indoor air quality based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0IndoorAirQuality) Validate

Validate validates this get organization sensor readings history o k body items0 indoor air quality

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

ContextValidate validates this get organization sensor readings history o k body items0 network based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Network) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Network) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Network) Validate

Validate validates this get organization sensor readings history o k body items0 network

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

ContextValidate validate this get organization sensor readings history o k body items0 noise based on the context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Noise) Validate

Validate validates this get organization sensor readings history o k body items0 noise

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

ContextValidate validates this get organization sensor readings history o k body items0 noise ambient based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0NoiseAmbient) Validate

Validate validates this get organization sensor readings history o k body items0 noise ambient

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

ContextValidate validates this get organization sensor readings history o k body items0 pm25 based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Pm25) Validate

Validate validates this get organization sensor readings history o k body items0 pm25

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

ContextValidate validates this get organization sensor readings history o k body items0 temperature based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Temperature) Validate

Validate validates this get organization sensor readings history o k body items0 temperature

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

ContextValidate validates this get organization sensor readings history o k body items0 tvoc based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Tvoc) Validate

Validate validates this get organization sensor readings history o k body items0 tvoc

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

ContextValidate validates this get organization sensor readings history o k body items0 water based on context it is used

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Water) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Water) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsHistoryOKBodyItems0Water) Validate

Validate validates this get organization sensor readings history o k body items0 water

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

SetContext adds the context to the get organization sensor readings history params

func (*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

SetT0 adds the t0 to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) SetT1

SetT1 adds the t1 to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) SetTimeout

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

WithContext adds the context to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithDefaults

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

WithEndingBefore adds the endingBefore to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithMetrics

WithMetrics adds the metrics to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithNetworkIds

WithNetworkIds adds the networkIds to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithPerPage

WithPerPage adds the perPage to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithSerials

WithSerials adds the serials to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithStartingAfter

WithStartingAfter adds the startingAfter to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithT0

WithT0 adds the t0 to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithT1

WithT1 adds the t1 to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithTimeout

WithTimeout adds the timeout to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WithTimespan

WithTimespan adds the timespan to the get organization sensor readings history params

func (*GetOrganizationSensorReadingsHistoryParams) WriteToRequest

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

Code gets the status code for the get organization sensor readings latest o k response

func (*GetOrganizationSensorReadingsLatestOK) Error

func (*GetOrganizationSensorReadingsLatestOK) GetPayload

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

IsCode returns true when this get organization sensor readings latest o k response a status code equal to that given

func (*GetOrganizationSensorReadingsLatestOK) IsRedirect

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

IsSuccess returns true when this get organization sensor readings latest o k response has a 2xx status code

func (*GetOrganizationSensorReadingsLatestOK) 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

ContextValidate validate this get organization sensor readings latest o k body items0 based on the context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0) Validate

Validate validates this get organization sensor readings latest o k body items0

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

ContextValidate validates this get organization sensor readings latest o k body items0 network based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0Network) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0Network) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0Network) Validate

Validate validates this get organization sensor readings latest o k body items0 network

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

ContextValidate validate this get organization sensor readings latest o k body items0 readings items0 based on the context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0) Validate

Validate validates this get organization sensor readings latest o k body items0 readings items0

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

ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 battery based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Battery) Validate

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

ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 button based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Button) Validate

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

ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 door based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Door) Validate

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

ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 humidity based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Humidity) Validate

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

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

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0IndoorAirQuality) Validate

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

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

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Noise) Validate

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

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

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0NoiseAmbient) Validate

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

ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 pm25 based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Pm25) Validate

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

ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 temperature based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Temperature) Validate

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

ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 tvoc based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Tvoc) Validate

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

ContextValidate validates this get organization sensor readings latest o k body items0 readings items0 water based on context it is used

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) MarshalBinary

MarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) UnmarshalBinary

UnmarshalBinary interface implementation

func (*GetOrganizationSensorReadingsLatestOKBodyItems0ReadingsItems0Water) Validate

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

SetContext adds the context to the get organization sensor readings latest params

func (*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

SetTimeout adds the timeout to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithContext

WithContext adds the context to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithDefaults

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

WithEndingBefore adds the endingBefore to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithMetrics

WithMetrics adds the metrics to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithNetworkIds

WithNetworkIds adds the networkIds to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithOrganizationID

WithOrganizationID adds the organizationID to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithPerPage

WithPerPage adds the perPage to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithSerials

WithSerials adds the serials to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithStartingAfter

WithStartingAfter adds the startingAfter to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WithTimeout

WithTimeout adds the timeout to the get organization sensor readings latest params

func (*GetOrganizationSensorReadingsLatestParams) WriteToRequest

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

func (*UpdateDeviceSensorRelationshipsBody) Validate

Validate validates this update device sensor relationships body

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

Code gets the status code for the update device sensor relationships o k response

func (*UpdateDeviceSensorRelationshipsOK) Error

func (*UpdateDeviceSensorRelationshipsOK) GetPayload

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

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

func (*UpdateDeviceSensorRelationshipsOKBody) Validate

Validate validates this update device sensor relationships o k body

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

ContextValidate validate this update device sensor relationships o k body livestream based on the context it is used

func (*UpdateDeviceSensorRelationshipsOKBodyLivestream) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSensorRelationshipsOKBodyLivestream) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSensorRelationshipsOKBodyLivestream) Validate

Validate validates this update device sensor relationships o k body livestream

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

ContextValidate validates this update device sensor relationships o k body livestream related devices items0 based on context it is used

func (*UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSensorRelationshipsOKBodyLivestreamRelatedDevicesItems0) Validate

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

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

WithContext adds the context to the update device sensor relationships params

func (*UpdateDeviceSensorRelationshipsParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update device sensor relationships params

func (*UpdateDeviceSensorRelationshipsParams) WithSerial

WithSerial adds the serial to the update device sensor relationships params

func (*UpdateDeviceSensorRelationshipsParams) WithTimeout

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

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

ContextValidate validate this update device sensor relationships params body livestream based on the context it is used

func (*UpdateDeviceSensorRelationshipsParamsBodyLivestream) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSensorRelationshipsParamsBodyLivestream) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSensorRelationshipsParamsBodyLivestream) Validate

Validate validates this update device sensor relationships params body livestream

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

ContextValidate validates this update device sensor relationships params body livestream related devices items0 based on context it is used

func (*UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateDeviceSensorRelationshipsParamsBodyLivestreamRelatedDevicesItems0) Validate

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

func (*UpdateNetworkSensorAlertsProfileBody) Validate

Validate validates this update network sensor alerts profile body

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

Code gets the status code for the update network sensor alerts profile o k response

func (*UpdateNetworkSensorAlertsProfileOK) Error

func (*UpdateNetworkSensorAlertsProfileOK) GetPayload

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

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

IsSuccess returns true when this update network sensor alerts profile o k response has a 2xx status code

func (*UpdateNetworkSensorAlertsProfileOK) 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

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

func (*UpdateNetworkSensorAlertsProfileOKBody) Validate

Validate validates this update network sensor alerts profile o k body

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

ContextValidate validate this update network sensor alerts profile o k body conditions items0 based on the context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0) Validate

Validate validates this update network sensor alerts profile o k body conditions items0

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

ContextValidate validate this update network sensor alerts profile o k body conditions items0 threshold based on the context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0Threshold) Validate

Validate validates this update network sensor alerts profile o k body conditions items0 threshold

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

ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold door based on context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdDoor) Validate

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

ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold humidity based on context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdHumidity) Validate

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

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

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdIndoorAirQuality) Validate

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

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

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoise) Validate

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

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

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdNoiseAmbient) Validate

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

ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold pm25 based on context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdPm25) Validate

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

ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold temperature based on context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTemperature) Validate

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

ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold tvoc based on context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdTvoc) Validate

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

ContextValidate validates this update network sensor alerts profile o k body conditions items0 threshold water based on context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyConditionsItems0ThresholdWater) Validate

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

ContextValidate validates this update network sensor alerts profile o k body recipients based on context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodyRecipients) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyRecipients) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodyRecipients) Validate

Validate validates this update network sensor alerts profile o k body recipients

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

ContextValidate validates this update network sensor alerts profile o k body schedule based on context it is used

func (*UpdateNetworkSensorAlertsProfileOKBodySchedule) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodySchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileOKBodySchedule) Validate

Validate validates this update network sensor alerts profile o k body schedule

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

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

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

WithContext adds the context to the update network sensor alerts profile params

func (*UpdateNetworkSensorAlertsProfileParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update network sensor alerts profile params

func (*UpdateNetworkSensorAlertsProfileParams) WithID

WithID adds the id to the update network sensor alerts profile params

func (*UpdateNetworkSensorAlertsProfileParams) WithNetworkID

WithNetworkID adds the networkID to the update network sensor alerts profile params

func (*UpdateNetworkSensorAlertsProfileParams) WithTimeout

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

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

ContextValidate validate this update network sensor alerts profile params body conditions items0 based on the context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0) Validate

Validate validates this update network sensor alerts profile params body conditions items0

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

ContextValidate validate this update network sensor alerts profile params body conditions items0 threshold based on the context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0Threshold) Validate

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

ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold door based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdDoor) Validate

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

ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold humidity based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdHumidity) Validate

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

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

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdIndoorAirQuality) Validate

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

ContextValidate validate this update network sensor alerts profile params body conditions items0 threshold noise based on the context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoise) Validate

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

ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold noise ambient based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdNoiseAmbient) Validate

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

ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold pm25 based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdPm25) Validate

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

ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold temperature based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTemperature) Validate

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

ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold tvoc based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdTvoc) Validate

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

ContextValidate validates this update network sensor alerts profile params body conditions items0 threshold water based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyConditionsItems0ThresholdWater) Validate

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

ContextValidate validates this update network sensor alerts profile params body recipients based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodyRecipients) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyRecipients) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodyRecipients) Validate

Validate validates this update network sensor alerts profile params body recipients

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

ContextValidate validates this update network sensor alerts profile params body schedule based on context it is used

func (*UpdateNetworkSensorAlertsProfileParamsBodySchedule) MarshalBinary

MarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodySchedule) UnmarshalBinary

UnmarshalBinary interface implementation

func (*UpdateNetworkSensorAlertsProfileParamsBodySchedule) Validate

Validate validates this update network sensor alerts profile params body schedule

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

func (*UpdateNetworkSensorMqttBrokerBody) Validate

Validate validates this update network sensor mqtt broker body

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

Code gets the status code for the update network sensor mqtt broker o k response

func (*UpdateNetworkSensorMqttBrokerOK) Error

func (*UpdateNetworkSensorMqttBrokerOK) GetPayload

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

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

func (*UpdateNetworkSensorMqttBrokerOKBody) Validate

Validate validates this update network sensor mqtt broker o k body

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

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

WithContext adds the context to the update network sensor mqtt broker params

func (*UpdateNetworkSensorMqttBrokerParams) WithDefaults

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

WithHTTPClient adds the HTTPClient to the update network sensor mqtt broker params

func (*UpdateNetworkSensorMqttBrokerParams) WithMqttBrokerID

WithMqttBrokerID adds the mqttBrokerID to the update network sensor mqtt broker params

func (*UpdateNetworkSensorMqttBrokerParams) WithNetworkID

WithNetworkID adds the networkID to the update network sensor mqtt broker params

func (*UpdateNetworkSensorMqttBrokerParams) WithTimeout

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

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

Jump to

Keyboard shortcuts

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