88from linode_api4 .paginated_list import PaginatedList
99
1010
11+ @dataclass
12+ class VPCIPv6RangeOptions (JSONObject ):
13+ range : str = ""
14+ allocation_class : Optional [str ] = None
15+
16+
17+ @dataclass
18+ class VPCIPv6Range (JSONObject ):
19+ range : str = ""
20+
21+
22+ @dataclass
23+ class VPCIPv6SubnetRangeOptions (JSONObject ):
24+ range : str = ""
25+
26+
27+ @dataclass
28+ class VPCSubnetIPv6Range (JSONObject ):
29+ range : str = ""
30+
31+
1132@dataclass
1233class VPCSubnetLinodeInterface (JSONObject ):
1334 id : int = 0
@@ -35,6 +56,7 @@ class VPCSubnet(DerivedBase):
3556 "id" : Property (identifier = True ),
3657 "label" : Property (mutable = True ),
3758 "ipv4" : Property (),
59+ "ipv6" : Property (json_object = VPCSubnetIPv6Range , unordered = True ),
3860 "linodes" : Property (json_object = VPCSubnetLinode , unordered = True ),
3961 "created" : Property (is_datetime = True ),
4062 "updated" : Property (is_datetime = True ),
@@ -55,6 +77,7 @@ class VPC(Base):
5577 "label" : Property (mutable = True ),
5678 "description" : Property (mutable = True ),
5779 "region" : Property (slug_relationship = Region ),
80+ "ipv6" : Property (json_object = VPCIPv6Range , unordered = True ),
5881 "subnets" : Property (derived_class = VPCSubnet ),
5982 "created" : Property (is_datetime = True ),
6083 "updated" : Property (is_datetime = True ),
0 commit comments