mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
4.7 KiB
4.7 KiB
SerializedUpdateCategoryBatteryLimitAction Schema
https://timelimit.io/SerializedParentAction#/definitions/SerializedUpdateCategoryBatteryLimitAction
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | SerializedParentAction.schema.json* |
SerializedUpdateCategoryBatteryLimitAction Type
object (SerializedUpdateCategoryBatteryLimitAction)
SerializedUpdateCategoryBatteryLimitAction Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Required | cannot be null | SerializedParentAction |
| categoryId | string |
Required | cannot be null | SerializedParentAction |
| chargeLimit | number |
Optional | cannot be null | SerializedParentAction |
| mobileLimit | number |
Optional | cannot be null | SerializedParentAction |
type
type
-
is required
-
Type:
string -
cannot be null
-
defined in: SerializedParentAction
type Type
string
type Constraints
enum: the value of this property must be equal to one of the following values:
| Value | Explanation |
|---|---|
"UPDATE_CATEGORY_BATTERY_LIMIT" |
categoryId
categoryId
-
is required
-
Type:
string -
cannot be null
-
defined in: SerializedParentAction
categoryId Type
string
chargeLimit
chargeLimit
-
is optional
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
chargeLimit Type
number
mobileLimit
mobileLimit
-
is optional
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
mobileLimit Type
number