@@ -36,73 +36,119 @@ class LinodeInterfacesSettings(Base):
36
36
37
37
38
38
# Interface POST Options
39
-
40
-
41
39
@dataclass
42
40
class LinodeInterfaceDefaultRouteOptions (JSONObject ):
41
+ """
42
+ Options accepted when creating or updating a Linode Interface's default route settings.
43
+ """
44
+
43
45
ipv4 : Optional [bool ] = None
44
46
ipv6 : Optional [bool ] = None
45
47
46
48
47
49
@dataclass
48
50
class LinodeInterfaceVPCIPv4AddressOptions (JSONObject ):
51
+ """
52
+ Options accepted for a single address when creating or updating the IPv4 configuration of a VPC Linode Interface.
53
+ """
54
+
49
55
address : str = ""
50
56
primary : Optional [bool ] = None
51
57
nat_1_1_address : Optional [str ] = None
52
58
53
59
54
60
@dataclass
55
61
class LinodeInterfaceVPCIPv4RangeOptions (JSONObject ):
62
+ """
63
+ Options accepted for a single range when creating or updating the IPv4 configuration of a VPC Linode Interface.
64
+ """
65
+
56
66
range : str = ""
57
67
58
68
59
69
@dataclass
60
70
class LinodeInterfaceVPCIPv4Options (JSONObject ):
71
+ """
72
+ Options accepted when creating or updating the IPv4 configuration of a VPC Linode Interface.
73
+ """
74
+
61
75
addresses : Optional [List [LinodeInterfaceVPCIPv4AddressOptions ]] = None
62
76
ranges : Optional [List [LinodeInterfaceVPCIPv4RangeOptions ]] = None
63
77
64
78
65
79
@dataclass
66
80
class LinodeInterfaceVPCOptions (JSONObject ):
81
+ """
82
+ VPC-exclusive options accepted when creating or updating a Linode Interface.
83
+ """
84
+
67
85
subnet_id : int = 0
68
86
ipv4 : Optional [LinodeInterfaceVPCIPv4Options ] = None
69
87
70
88
71
89
@dataclass
72
90
class LinodeInterfacePublicIPv4AddressOptions (JSONObject ):
91
+ """
92
+ Options accepted for a single address when creating or updating the IPv4 configuration of a public Linode Interface.
93
+ """
94
+
73
95
address : str = ""
74
96
primary : Optional [bool ] = None
75
97
76
98
77
99
@dataclass
78
100
class LinodeInterfacePublicIPv4Options (JSONObject ):
101
+ """
102
+ Options accepted when creating or updating the IPv4 configuration of a public Linode Interface.
103
+ """
104
+
79
105
addresses : Optional [List [LinodeInterfacePublicIPv4AddressOptions ]] = None
80
106
81
107
82
108
@dataclass
83
109
class LinodeInterfacePublicIPv6RangeOptions (JSONObject ):
110
+ """
111
+ Options accepted for a single range when creating or updating the IPv6 configuration of a public Linode Interface.
112
+ """
113
+
84
114
range : str = ""
85
115
86
116
87
117
@dataclass
88
118
class LinodeInterfacePublicIPv6Options (JSONObject ):
119
+ """
120
+ Options accepted when creating or updating the IPv6 configuration of a public Linode Interface.
121
+ """
122
+
89
123
ranges : Optional [List [LinodeInterfacePublicIPv6RangeOptions ]] = None
90
124
91
125
92
126
@dataclass
93
127
class LinodeInterfacePublicOptions (JSONObject ):
128
+ """
129
+ Public-exclusive options accepted when creating or updating a Linode Interface.
130
+ """
131
+
94
132
ipv4 : Optional [LinodeInterfacePublicIPv4Options ] = None
95
133
ipv6 : Optional [LinodeInterfacePublicIPv6Options ] = None
96
134
97
135
98
136
@dataclass
99
137
class LinodeInterfaceVLANOptions (JSONObject ):
138
+ """
139
+ VLAN-exclusive options accepted when creating or updating a Linode Interface.
140
+ """
141
+
100
142
vlan_label : str = ""
101
143
ipam_address : Optional [str ] = None
102
144
103
145
104
146
@dataclass
105
147
class LinodeInterfaceOptions (JSONObject ):
148
+ """
149
+ Options accepted when creating or updating a Linode Interface.
150
+ """
151
+
106
152
firewall_id : Optional [int ] = None
107
153
default_route : Optional [LinodeInterfaceDefaultRouteOptions ] = None
108
154
vpc : Optional [LinodeInterfaceVPCOptions ] = None
0 commit comments