8.8 KiB
SerializedUpdateTimelimitRuleAction Schema
https://timelimit.io/SerializedParentAction#/definitions/SerializedUpdateTimelimitRuleAction
| 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* |
SerializedUpdateTimelimitRuleAction Type
object (SerializedUpdateTimelimitRuleAction)
SerializedUpdateTimelimitRuleAction Properties
| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Required | cannot be null | SerializedParentAction |
| ruleId | string |
Required | cannot be null | SerializedParentAction |
| time | number |
Required | cannot be null | SerializedParentAction |
| days | number |
Required | cannot be null | SerializedParentAction |
| extraTime | boolean |
Required | cannot be null | SerializedParentAction |
| start | number |
Optional | cannot be null | SerializedParentAction |
| end | number |
Optional | cannot be null | SerializedParentAction |
| dur | number |
Optional | cannot be null | SerializedParentAction |
| pause | number |
Optional | cannot be null | SerializedParentAction |
| perDay | boolean |
Optional | cannot be null | SerializedParentAction |
| e | 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_TIMELIMIT_RULE" |
ruleId
ruleId
-
is required
-
Type:
string -
cannot be null
-
defined in: SerializedParentAction
ruleId Type
string
time
time
-
is required
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
time Type
number
days
days
-
is required
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
days Type
number
extraTime
extraTime
-
is required
-
Type:
boolean -
cannot be null
-
defined in: SerializedParentAction
extraTime Type
boolean
start
start
-
is optional
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
start Type
number
end
end
-
is optional
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
end Type
number
dur
dur
-
is optional
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
dur Type
number
pause
pause
-
is optional
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
pause Type
number
perDay
perDay
-
is optional
-
Type:
boolean -
cannot be null
-
defined in: SerializedParentAction
perDay Type
boolean
e
e
-
is optional
-
Type:
number -
cannot be null
-
defined in: SerializedParentAction
e Type
number