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