2017-12-10 19:17:09 +00:00
|
|
|
package arlo
|
2017-12-09 03:55:38 +00:00
|
|
|
|
|
|
|
// UpdateResponse is an intermediate struct used when parsing data from the UpdateProfile() call.
|
|
|
|
type Status struct {
|
|
|
|
Success bool `json:"success"`
|
|
|
|
}
|
|
|
|
|
|
|
|
// LoginResponse is an intermediate struct used when parsing data from the Login() call.
|
|
|
|
type LoginResponse struct {
|
2017-12-10 19:17:09 +00:00
|
|
|
Data Account
|
|
|
|
*Status
|
2017-12-09 03:55:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// DeviceResponse is an intermediate struct used when parsing data from the GetDevices() call.
|
|
|
|
type DeviceResponse struct {
|
2017-12-10 19:17:09 +00:00
|
|
|
Data Devices
|
|
|
|
*Status
|
2017-12-09 03:55:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// LibraryMetaDataResponse is an intermediate struct used when parsing data from the GetLibraryMetaData() call.
|
|
|
|
type LibraryMetaDataResponse struct {
|
2017-12-10 19:17:09 +00:00
|
|
|
Data LibraryMetaData
|
|
|
|
*Status
|
2017-12-09 03:55:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type LibraryResponse struct {
|
2017-12-10 19:17:09 +00:00
|
|
|
Data Library
|
|
|
|
*Status
|
|
|
|
}
|
|
|
|
|
|
|
|
type StartStreamResponse struct {
|
|
|
|
Data StreamUrl
|
|
|
|
*Status
|
2017-12-09 03:55:38 +00:00
|
|
|
}
|