diff --git a/august_device_metadata.go b/august_device_metadata.go new file mode 100644 index 0000000..d7892f7 --- /dev/null +++ b/august_device_metadata.go @@ -0,0 +1,13 @@ +// This file was auto-generated by Fern from our API Definition. + +package api + +type AugustDeviceMetadata struct { + LockId string `json:"lock_id"` + LockName string `json:"lock_name"` + HouseName string `json:"house_name"` + HouseId *string `json:"house_id,omitempty"` + HasKeypad bool `json:"has_keypad"` + Model *string `json:"model,omitempty"` + KeypadBatteryLevel *string `json:"keypad_battery_level,omitempty"` +} diff --git a/device_properties.go b/device_properties.go index 423a2e2..dc029e1 100644 --- a/device_properties.go +++ b/device_properties.go @@ -3,7 +3,10 @@ package api type DeviceProperties struct { - Online bool `json:"online"` - Name string `json:"name"` - Model *DevicePropertiesModel `json:"model,omitempty"` + Online bool `json:"online"` + Name string `json:"name"` + Model *DevicePropertiesModel `json:"model,omitempty"` + AugustMetadata *AugustDeviceMetadata `json:"august_metadata,omitempty"` + SchlageMetadata *SchlageDeviceMetadata `json:"schlage_metadata,omitempty"` + SmartthingsMetadata any `json:"smartthings_metadata,omitempty"` } diff --git a/nuki_device_metadata.go b/nuki_device_metadata.go new file mode 100644 index 0000000..813ed57 --- /dev/null +++ b/nuki_device_metadata.go @@ -0,0 +1,7 @@ +// This file was auto-generated by Fern from our API Definition. + +package api + +type NukiDeviceMetadata struct { + KeypadBatteryCritical *bool `json:"keypad_battery_critical,omitempty"` +} diff --git a/schlage_device_metadata.go b/schlage_device_metadata.go new file mode 100644 index 0000000..c0ffae8 --- /dev/null +++ b/schlage_device_metadata.go @@ -0,0 +1,11 @@ +// This file was auto-generated by Fern from our API Definition. + +package api + +type SchlageDeviceMetadata struct { + DeviceId string `json:"device_id"` + DeviceName string `json:"device_name"` + AccessCodeLength int `json:"access_code_length"` + Model *string `json:"model,omitempty"` + LocationId *string `json:"location_id,omitempty"` +}