|
12 | 12 | * [AlertmanagerReceivers](#grafana_api.model.AlertmanagerReceivers)
|
13 | 13 | * [RulerRule](#grafana_api.model.RulerRule)
|
14 | 14 | * [UserObject](#grafana_api.model.UserObject)
|
| 15 | + * [PlaylistObject](#grafana_api.model.PlaylistObject) |
| 16 | + * [PlaylistItemObject](#grafana_api.model.PlaylistItemObject) |
| 17 | + * [TeamObject](#grafana_api.model.TeamObject) |
15 | 18 |
|
16 | 19 | <a id="grafana_api.model"></a>
|
17 | 20 |
|
@@ -207,3 +210,52 @@ The class includes all necessary variables to generate a User object that is nec
|
207 | 210 | - `login` _str_ - Specify the expression of the rule
|
208 | 211 | - `theme` _str_ - Specify the Grafana alert of the rule
|
209 | 212 |
|
| 213 | +<a id="grafana_api.model.PlaylistObject"></a> |
| 214 | + |
| 215 | +## PlaylistObject Objects |
| 216 | + |
| 217 | +```python |
| 218 | +class PlaylistObject(NamedTuple) |
| 219 | +``` |
| 220 | + |
| 221 | +The class includes all necessary variables to generate a playlist object |
| 222 | + |
| 223 | +**Arguments**: |
| 224 | + |
| 225 | +- `name` _str_ - Specify the name of the playlist |
| 226 | +- `interval` _str_ - Specify the interval of the playlist |
| 227 | +- `items` _list_ - Specify a list of PlaylistItemObjects |
| 228 | + |
| 229 | +<a id="grafana_api.model.PlaylistItemObject"></a> |
| 230 | + |
| 231 | +## PlaylistItemObject Objects |
| 232 | + |
| 233 | +```python |
| 234 | +class PlaylistItemObject(NamedTuple) |
| 235 | +``` |
| 236 | + |
| 237 | +The class includes all necessary variables to generate a playlist item object that is necessary to update a playlist |
| 238 | + |
| 239 | +**Arguments**: |
| 240 | + |
| 241 | +- `type` _str_ - Specify the type of the playlist item |
| 242 | +- `value` _str_ - Specify the value of the playlist item |
| 243 | +- `order` _int_ - Specify the order of the playlist item |
| 244 | +- `title` _str_ - Specify the title of the playlist item |
| 245 | + |
| 246 | +<a id="grafana_api.model.TeamObject"></a> |
| 247 | + |
| 248 | +## TeamObject Objects |
| 249 | + |
| 250 | +```python |
| 251 | +class TeamObject(NamedTuple) |
| 252 | +``` |
| 253 | + |
| 254 | +The class includes all necessary variables to generate a team object that is necessary to create a team |
| 255 | + |
| 256 | +**Arguments**: |
| 257 | + |
| 258 | +- `name` _str_ - Specify the name of the team |
| 259 | +- `email` _str_ - Specify the email of the team |
| 260 | +- `org_id` _int_ - Specify the org_id of the team |
| 261 | + |
0 commit comments