-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathplan.py
38 lines (30 loc) · 950 Bytes
/
plan.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
from dataclasses import dataclass
from typing import Any, Dict, List, Optional
from kentik_api.public.types import ID
# pylint: disable=too-many-instance-attributes
@dataclass()
class PlanDeviceType:
device_type: str
@dataclass()
class PlanDevice:
device_name: str
device_type: str
id: ID
@dataclass()
class Plan:
id: ID
company_id: Optional[ID] = None
name: Optional[str] = None
description: Optional[str] = None
active: Optional[bool] = None
max_devices: Optional[int] = None
max_fps: Optional[int] = None
bgp_enabled: Optional[bool] = None
fast_retention: Optional[int] = None
full_retention: Optional[int] = None
created_date: Optional[str] = None
updated_date: Optional[str] = None
max_bigdata_fps: Optional[int] = None
device_types: Optional[List[PlanDeviceType]] = None
devices: Optional[List[PlanDevice]] = None
metadata: Optional[Dict[str, Any]] = None