mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2025-10-03 17:59:24 +02:00
5.3 KiB
5.3 KiB
SerializedAddUsedTimeAction Schema
https://timelimit.io/SerializedAppLogicAction#/definitions/SerializedAddUsedTimeAction
Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
---|---|---|---|---|---|---|---|
Can be instantiated | No | Unknown status | No | Forbidden | Forbidden | none | SerializedAppLogicAction.schema.json* |
SerializedAddUsedTimeAction Type
object
(SerializedAddUsedTimeAction)
SerializedAddUsedTimeAction Properties
Property | Type | Required | Nullable | Defined by |
---|---|---|---|---|
type | string |
Required | cannot be null | SerializedAppLogicAction |
categoryId | string |
Required | cannot be null | SerializedAppLogicAction |
day | number |
Required | cannot be null | SerializedAppLogicAction |
timeToAdd | number |
Required | cannot be null | SerializedAppLogicAction |
extraTimeToSubtract | number |
Required | cannot be null | SerializedAppLogicAction |
type
type
- is required
- Type:
string
- cannot be null
- defined in: SerializedAppLogicAction
type Type
string
type Constraints
enum: the value of this property must be equal to one of the following values:
Value | Explanation |
---|---|
"ADD_USED_TIME" |
categoryId
categoryId
- is required
- Type:
string
- cannot be null
- defined in: SerializedAppLogicAction
categoryId Type
string
day
day
- is required
- Type:
number
- cannot be null
- defined in: SerializedAppLogicAction
day Type
number
timeToAdd
timeToAdd
- is required
- Type:
number
- cannot be null
- defined in: SerializedAppLogicAction
timeToAdd Type
number
extraTimeToSubtract
extraTimeToSubtract
- is required
- Type:
number
- cannot be null
- defined in: SerializedAppLogicAction
extraTimeToSubtract Type
number