forked from linode/linode_api4-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimage.py
More file actions
25 lines (20 loc) · 637 Bytes
/
Copy pathimage.py
File metadata and controls
25 lines (20 loc) · 637 Bytes
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
from __future__ import absolute_import
from linode.objects import Base, Property
class Image(Base):
"""
An Image is something a Linode or Disk can be deployed from.
"""
api_endpoint = '/images/{id}'
properties = {
"id": Property(identifier=True),
"label": Property(mutable=True),
"description": Property(mutable=True),
"status": Property(),
"created": Property(is_datetime=True),
"created_by": Property(),
"type": Property(),
"is_public": Property(),
"vendor": Property(),
"size": Property(),
"deprecated": Property()
}