mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 01:39:31 +02:00
5.4 KiB
5.4 KiB
SerializedUpdateCategoryTimeWarningsAction Schema
https://timelimit.io/SerializedParentAction#/definitions/SerializedUpdateCategoryTimeWarningsAction
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* |
SerializedUpdateCategoryTimeWarningsAction Type
object
(SerializedUpdateCategoryTimeWarningsAction)
SerializedUpdateCategoryTimeWarningsAction Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Required | cannot be null | SerializedParentAction |
categoryId | string |
Required | cannot be null | SerializedParentAction |
enable | boolean |
Required | cannot be null | SerializedParentAction |
flags | number |
Required | cannot be null | SerializedParentAction |
minutes | 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_TIME_WARNINGS" |
categoryId
categoryId
-
is required
-
Type:
string
-
cannot be null
-
defined in: SerializedParentAction
categoryId Type
string
enable
enable
-
is required
-
Type:
boolean
-
cannot be null
-
defined in: SerializedParentAction
enable Type
boolean
flags
flags
-
is required
-
Type:
number
-
cannot be null
-
defined in: SerializedParentAction
flags Type
number
minutes
minutes
-
is optional
-
Type:
number
-
cannot be null
-
defined in: SerializedParentAction
minutes Type
number