Rule Model

Rule Model – is a model for showing platform rule parameters. Model fields are presented in the table (Table 4.16), with an example below (Listing 4.12).

Table 4.16 – Fields of Rule Model

Key
Type
Exists
Description

1

uuid

string

required

Identificator of current rule

2

name

string

required

Rule name

3

description

string

required

Short info about the rule

Listing 4.12 – Example of Rule Model (JSON)

{
    "uuid":          "1711929600",
    "name":          "Rule for refills",
    "description":   "Send notification to email when usage reaches 100MB"
}

Last updated