1 file changed
@@ -7,43 +7,43 @@ | |||
| 7 | 7 | ||
| 8 | 8 | {% if cls._create_attrs %} | |
| 9 | 9 | **Object Creation** | |
| 10 | - {% if cls._create_attrs[0] %} | ||
| 11 | - Mandatory attributes for object create: | ||
| 10 | + {% if cls._create_attrs.required %} | ||
| 11 | + Required attributes for object create: | ||
| 12 | 12 | {% for item in cls._create_attrs.required %} | |
| 13 | 13 | - ``{{ item }}`` | |
| 14 | 14 | {% endfor %} | |
| 15 | 15 | {% endif %} | |
| 16 | - {% if cls._create_attrs[1] %} | ||
| 16 | + {% if cls._create_attrs.optional %} | ||
| 17 | 17 | Optional attributes for object create: | |
| 18 | 18 | {% for item in cls._create_attrs.optional %} | |
| 19 | 19 | - ``{{ item }}`` | |
| 20 | 20 | {% endfor %} | |
| 21 | 21 | {% endif %} | |
| 22 | - {% if cls._create_attrs[2] %} | ||
| 22 | + {% if cls._create_attrs.exclusive %} | ||
| 23 | 23 | Mutually exclusive attributes for object create: | |
| 24 | - {% for item in cls._create_attrs.exlusive %} | ||
| 24 | + {% for item in cls._create_attrs.exclusive %} | ||
| 25 | 25 | - ``{{ item }}`` | |
| 26 | 26 | {% endfor %} | |
| 27 | 27 | {% endif %} | |
| 28 | 28 | {% endif %} | |
| 29 | 29 | ||
| 30 | 30 | {% if cls._update_attrs %} | |
| 31 | 31 | **Object update** | |
| 32 | - {% if cls._update_attrs[0] %} | ||
| 33 | - Mandatory attributes for object update: | ||
| 32 | + {% if cls._update_attrs.required %} | ||
| 33 | + Required attributes for object update: | ||
| 34 | 34 | {% for item in cls._update_attrs.required %} | |
| 35 | 35 | - ``{{ item }}`` | |
| 36 | 36 | {% endfor %} | |
| 37 | 37 | {% endif %} | |
| 38 | - {% if cls._update_attrs[1] %} | ||
| 38 | + {% if cls._update_attrs.optional %} | ||
| 39 | 39 | Optional attributes for object update: | |
| 40 | 40 | {% for item in cls._update_attrs.optional %} | |
| 41 | 41 | - ``{{ item }}`` | |
| 42 | 42 | {% endfor %} | |
| 43 | 43 | {% endif %} | |
| 44 | - {% if cls._update_attrs[2] %} | ||
| 44 | + {% if cls._update_attrs.exclusive %} | ||
| 45 | 45 | Mutually exclusive attributes for object update: | |
| 46 | - {% for item in cls._update_attrs.exlusive %} | ||
| 46 | + {% for item in cls._update_attrs.exclusive %} | ||
| 47 | 47 | - ``{{ item }}`` | |
| 48 | 48 | {% endfor %} | |
| 49 | 49 | {% endif %} | |
0 commit comments