forked from linode/linode_api4-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbeta.py
More file actions
23 lines (18 loc) · 742 Bytes
/
Copy pathbeta.py
File metadata and controls
23 lines (18 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from linode_api4.objects import Base, Property
class BetaProgram(Base):
"""
Beta program is a new product or service that's not generally available to all customers.
User with permissions can enroll into a beta program and access the functionalities.
API Documentation: https://techdocs.akamai.com/linode-api/reference/get-beta-program
"""
api_endpoint = "/betas/{id}"
properties = {
"id": Property(identifier=True),
"label": Property(),
"description": Property(),
"started": Property(is_datetime=True),
"ended": Property(is_datetime=True),
"greenlight_only": Property(),
"more_info": Property(),
"beta_class": Property(alias_of="class"),
}