Skip to content

Commit 0db0dd5

Browse files
docs progress
1 parent 855e019 commit 0db0dd5

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

linode_api4/objects/linode.py

+28
Original file line numberDiff line numberDiff line change
@@ -291,22 +291,38 @@ def _populate(self, json):
291291

292292
@dataclass
293293
class ConfigInterfaceIPv4(JSONObject):
294+
"""
295+
ConfigInterfaceIPv4 represents the IPv4 configuration of a VPC interface.
296+
"""
297+
294298
vpc: str = ""
295299
nat_1_1: str = ""
296300

297301

298302
@dataclass
299303
class ConfigInterfaceIPv6SLAACOptions(JSONObject):
304+
"""
305+
ConfigInterfaceIPv6SLAACOptions is used to set a single IPv6 SLAAC configuration of a VPC interface.
306+
"""
307+
300308
range: str = ""
301309

302310

303311
@dataclass
304312
class ConfigInterfaceIPv6RangeOptions(JSONObject):
313+
"""
314+
ConfigInterfaceIPv6RangeOptions is used to set a single IPv6 range configuration of a VPC interface.
315+
"""
316+
305317
range: str = ""
306318

307319

308320
@dataclass
309321
class ConfigInterfaceIPv6Options(JSONObject):
322+
"""
323+
ConfigInterfaceIPv6Options is used to set the IPv6 configuration of a VPC interface.
324+
"""
325+
310326
slaac: List[ConfigInterfaceIPv6SLAACOptions] = field(
311327
default_factory=lambda: []
312328
)
@@ -318,6 +334,10 @@ class ConfigInterfaceIPv6Options(JSONObject):
318334

319335
@dataclass
320336
class ConfigInterfaceIPv6SLAAC(JSONObject):
337+
"""
338+
ConfigInterfaceIPv6SLAAC represents a single SLAAC address under a VPC interface's IPv6 configuration.
339+
"""
340+
321341
put_class = ConfigInterfaceIPv6SLAACOptions
322342

323343
range: str = ""
@@ -326,13 +346,21 @@ class ConfigInterfaceIPv6SLAAC(JSONObject):
326346

327347
@dataclass
328348
class ConfigInterfaceIPv6Range(JSONObject):
349+
"""
350+
ConfigInterfaceIPv6Range represents a single IPv6 address under a VPC interface's IPv6 configuration.
351+
"""
352+
329353
put_class = ConfigInterfaceIPv6RangeOptions
330354

331355
range: str = ""
332356

333357

334358
@dataclass
335359
class ConfigInterfaceIPv6(JSONObject):
360+
"""
361+
ConfigInterfaceIPv6 represents the IPv6 configuration of a VPC interface.
362+
"""
363+
336364
put_class = ConfigInterfaceIPv6Options
337365

338366
slaac: List[ConfigInterfaceIPv6SLAAC] = field(default_factory=lambda: [])

0 commit comments

Comments
 (0)