@@ -105,73 +105,74 @@ class LinodeInterfaceVPCIPv4Options(JSONObject):
105105
106106
107107@dataclass
108- class LinodeInterfaceVPCOptions (JSONObject ):
108+ class LinodeInterfaceVPCIPv6SLAACOptions (JSONObject ):
109109 """
110- VPC-exclusive options accepted when creating or updating a Linode Interface.
110+ Options accepted for a single SLAAC when creating or updating the IPv6 configuration of a VPC Linode Interface.
111111
112112 NOTE: Linode interfaces may not currently be available to all users.
113113 """
114114
115- subnet_id : int = 0
116- ipv4 : Optional [LinodeInterfaceVPCIPv4Options ] = None
115+ range : Optional [str ] = None
117116
118117
119118@dataclass
120- class LinodeInterfacePublicIPv4AddressOptions (JSONObject ):
119+ class LinodeInterfaceVPCIPv6RangeOptions (JSONObject ):
121120 """
122- Options accepted for a single address when creating or updating the IPv4 configuration of a public Linode Interface.
121+ Options accepted for a single range when creating or updating the IPv6 configuration of a VPC Linode Interface.
123122
124123 NOTE: Linode interfaces may not currently be available to all users.
125124 """
126125
127- address : str = ""
128- primary : Optional [bool ] = None
126+ range : Optional [str ] = None
129127
130128
131129@dataclass
132- class LinodeInterfacePublicIPv4Options (JSONObject ):
130+ class LinodeInterfaceVPCIPv6Options (JSONObject ):
133131 """
134- Options accepted when creating or updating the IPv4 configuration of a public Linode Interface.
132+ Options accepted when creating or updating the IPv6 configuration of a VPC Linode Interface.
135133
136134 NOTE: Linode interfaces may not currently be available to all users.
137135 """
138136
139- addresses : Optional [List [LinodeInterfacePublicIPv4AddressOptions ]] = None
137+ is_public : Optional [bool ] = None
138+ slaac : Optional [List [LinodeInterfaceVPCIPv6SLAACOptions ]] = None
139+ ranges : Optional [List [LinodeInterfaceVPCIPv6RangeOptions ]] = None
140140
141141
142142@dataclass
143- class LinodeInterfaceVPCIPv6SLAACOptions (JSONObject ):
143+ class LinodeInterfaceVPCOptions (JSONObject ):
144144 """
145- Options accepted for a single SLAAC when creating or updating the IPv6 configuration of a VPC Linode Interface.
145+ VPC-exclusive options accepted when creating or updating a Linode Interface.
146146
147147 NOTE: Linode interfaces may not currently be available to all users.
148148 """
149149
150- range : Optional [str ] = None
150+ subnet_id : int = 0
151+ ipv4 : Optional [LinodeInterfaceVPCIPv4Options ] = None
152+ ipv6 : Optional [LinodeInterfaceVPCIPv6Options ] = None
151153
152154
153155@dataclass
154- class LinodeInterfaceVPCIPv6RangeOptions (JSONObject ):
156+ class LinodeInterfacePublicIPv4AddressOptions (JSONObject ):
155157 """
156- Options accepted for a single range when creating or updating the IPv6 configuration of a VPC Linode Interface.
158+ Options accepted for a single address when creating or updating the IPv4 configuration of a public Linode Interface.
157159
158160 NOTE: Linode interfaces may not currently be available to all users.
159161 """
160162
161- range : Optional [str ] = None
163+ address : str = ""
164+ primary : Optional [bool ] = None
162165
163166
164167@dataclass
165- class LinodeInterfaceVPCIPv6Options (JSONObject ):
168+ class LinodeInterfacePublicIPv4Options (JSONObject ):
166169 """
167- Options accepted when creating or updating the IPv6 configuration of a VPC Linode Interface.
170+ Options accepted when creating or updating the IPv4 configuration of a public Linode Interface.
168171
169172 NOTE: Linode interfaces may not currently be available to all users.
170173 """
171174
172- is_public : Optional [bool ] = None
173- slaac : Optional [List [LinodeInterfaceVPCIPv6SLAACOptions ]] = None
174- ranges : Optional [List [LinodeInterfaceVPCIPv6RangeOptions ]] = None
175+ addresses : Optional [List [LinodeInterfacePublicIPv4AddressOptions ]] = None
175176
176177
177178@dataclass
@@ -352,6 +353,7 @@ class LinodeInterfaceVPC(JSONObject):
352353 subnet_id : int = 0
353354
354355 ipv4 : Optional [LinodeInterfaceVPCIPv4 ] = None
356+ ipv6 : Optional [LinodeInterfaceVPCIPv6 ] = None
355357
356358
357359@dataclass
0 commit comments