timelimit-server/docs/schema/serializedparentaction-definitions-serializedupdatetimelimitruleaction.md
2020-12-28 01:00:00 +01:00

8.4 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

type

type

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

ruleId Type

string

time

time

time Type

number

days

days

days Type

number

extraTime

extraTime

extraTime Type

boolean

start

start

start Type

number

end

end

end Type

number

dur

dur

dur Type

number

pause

pause

pause Type

number

perDay

perDay

perDay Type

boolean