Fields when send to the api inside a request.
Field | Type | Description |
---|---|---|
identifier | String | Unique identifier for the specific latch machine |
description | String | A String value |
temperature_type | String | String enumarion of 'COOLED', 'NOTCOOLED' |
reservation_type | String | String. Should be equal to 'HOURS_UPFRONT' |
username | String? | Optional. Nullable. A String value |
password | String? | Optional. Nullable. A String value |
Fields when returned by the api in a response.
Field | Type | Description |
---|---|---|
identifier | String | Unique identifier for the specific latch machine |
description | String | A String value |
temperature_type | String | String enumarion of 'COOLED', 'NOTCOOLED' |
reservation_type | String | String. Should be equal to 'HOURS_UPFRONT' |
id | Int | An integer value |
location_id | Int | An integer value |
username | String? | Optional. Nullable. A String value |
password | String? | Optional. Nullable. A String value |
When used inside a request.
{
"identifier": "...",
"description": "...",
"temperature_type": "COOLED",
"reservation_type": "HOURS_UPFRONT",
"username": "...",
"password": "..."
}
When returned in a response.
{
"identifier": "...",
"description": "...",
"temperature_type": "COOLED",
"reservation_type": "HOURS_UPFRONT",
"id": 13,
"location_id": 12,
"username": "...",
"password": "..."
}