1111"""
1212
1313import re # noqa: F401
14- from typing import Dict , List # noqa: F401
14+ from typing import Dict , List , Optional # noqa: F401
1515from fingerprint_pro_server_api_sdk .base_model import BaseModel
1616from fingerprint_pro_server_api_sdk .models .deprecated_ip_location_city import DeprecatedIPLocationCity
1717from fingerprint_pro_server_api_sdk .models .location import Location
@@ -90,7 +90,7 @@ def __init__(self, accuracy_radius=None, latitude=None, longitude=None, postal_c
9090 self .subdivisions = subdivisions
9191
9292 @property
93- def accuracy_radius (self ) -> int :
93+ def accuracy_radius (self ) -> Optional [ int ] :
9494 """Gets the accuracy_radius of this DeprecatedIPLocation. # noqa: E501
9595
9696 The IP address is likely to be within this radius (in km) of the specified location. # noqa: E501
@@ -100,7 +100,7 @@ def accuracy_radius(self) -> int:
100100 return self ._accuracy_radius
101101
102102 @accuracy_radius .setter
103- def accuracy_radius (self , accuracy_radius : int ):
103+ def accuracy_radius (self , accuracy_radius : Optional [ int ] ):
104104 """Sets the accuracy_radius of this DeprecatedIPLocation.
105105
106106 The IP address is likely to be within this radius (in km) of the specified location. # noqa: E501
@@ -111,7 +111,7 @@ def accuracy_radius(self, accuracy_radius: int):
111111 self ._accuracy_radius = accuracy_radius
112112
113113 @property
114- def latitude (self ) -> float :
114+ def latitude (self ) -> Optional [ float ] :
115115 """Gets the latitude of this DeprecatedIPLocation. # noqa: E501
116116
117117
@@ -120,7 +120,7 @@ def latitude(self) -> float:
120120 return self ._latitude
121121
122122 @latitude .setter
123- def latitude (self , latitude : float ):
123+ def latitude (self , latitude : Optional [ float ] ):
124124 """Sets the latitude of this DeprecatedIPLocation.
125125
126126
@@ -130,7 +130,7 @@ def latitude(self, latitude: float):
130130 self ._latitude = latitude
131131
132132 @property
133- def longitude (self ) -> float :
133+ def longitude (self ) -> Optional [ float ] :
134134 """Gets the longitude of this DeprecatedIPLocation. # noqa: E501
135135
136136
@@ -139,7 +139,7 @@ def longitude(self) -> float:
139139 return self ._longitude
140140
141141 @longitude .setter
142- def longitude (self , longitude : float ):
142+ def longitude (self , longitude : Optional [ float ] ):
143143 """Sets the longitude of this DeprecatedIPLocation.
144144
145145
@@ -149,7 +149,7 @@ def longitude(self, longitude: float):
149149 self ._longitude = longitude
150150
151151 @property
152- def postal_code (self ) -> str :
152+ def postal_code (self ) -> Optional [ str ] :
153153 """Gets the postal_code of this DeprecatedIPLocation. # noqa: E501
154154
155155
@@ -158,7 +158,7 @@ def postal_code(self) -> str:
158158 return self ._postal_code
159159
160160 @postal_code .setter
161- def postal_code (self , postal_code : str ):
161+ def postal_code (self , postal_code : Optional [ str ] ):
162162 """Sets the postal_code of this DeprecatedIPLocation.
163163
164164
@@ -168,7 +168,7 @@ def postal_code(self, postal_code: str):
168168 self ._postal_code = postal_code
169169
170170 @property
171- def timezone (self ) -> str :
171+ def timezone (self ) -> Optional [ str ] :
172172 """Gets the timezone of this DeprecatedIPLocation. # noqa: E501
173173
174174
@@ -177,7 +177,7 @@ def timezone(self) -> str:
177177 return self ._timezone
178178
179179 @timezone .setter
180- def timezone (self , timezone : str ):
180+ def timezone (self , timezone : Optional [ str ] ):
181181 """Sets the timezone of this DeprecatedIPLocation.
182182
183183
@@ -187,7 +187,7 @@ def timezone(self, timezone: str):
187187 self ._timezone = timezone
188188
189189 @property
190- def city (self ) -> DeprecatedIPLocationCity :
190+ def city (self ) -> Optional [ DeprecatedIPLocationCity ] :
191191 """Gets the city of this DeprecatedIPLocation. # noqa: E501
192192
193193
@@ -196,7 +196,7 @@ def city(self) -> DeprecatedIPLocationCity:
196196 return self ._city
197197
198198 @city .setter
199- def city (self , city : DeprecatedIPLocationCity ):
199+ def city (self , city : Optional [ DeprecatedIPLocationCity ] ):
200200 """Sets the city of this DeprecatedIPLocation.
201201
202202
@@ -206,7 +206,7 @@ def city(self, city: DeprecatedIPLocationCity):
206206 self ._city = city
207207
208208 @property
209- def country (self ) -> Location :
209+ def country (self ) -> Optional [ Location ] :
210210 """Gets the country of this DeprecatedIPLocation. # noqa: E501
211211
212212
@@ -215,7 +215,7 @@ def country(self) -> Location:
215215 return self ._country
216216
217217 @country .setter
218- def country (self , country : Location ):
218+ def country (self , country : Optional [ Location ] ):
219219 """Sets the country of this DeprecatedIPLocation.
220220
221221
@@ -225,7 +225,7 @@ def country(self, country: Location):
225225 self ._country = country
226226
227227 @property
228- def continent (self ) -> Location :
228+ def continent (self ) -> Optional [ Location ] :
229229 """Gets the continent of this DeprecatedIPLocation. # noqa: E501
230230
231231
@@ -234,7 +234,7 @@ def continent(self) -> Location:
234234 return self ._continent
235235
236236 @continent .setter
237- def continent (self , continent : Location ):
237+ def continent (self , continent : Optional [ Location ] ):
238238 """Sets the continent of this DeprecatedIPLocation.
239239
240240
@@ -244,7 +244,7 @@ def continent(self, continent: Location):
244244 self ._continent = continent
245245
246246 @property
247- def subdivisions (self ) -> List [Subdivision ]:
247+ def subdivisions (self ) -> Optional [ List [Subdivision ] ]:
248248 """Gets the subdivisions of this DeprecatedIPLocation. # noqa: E501
249249
250250
@@ -253,7 +253,7 @@ def subdivisions(self) -> List[Subdivision]:
253253 return self ._subdivisions
254254
255255 @subdivisions .setter
256- def subdivisions (self , subdivisions : List [Subdivision ]):
256+ def subdivisions (self , subdivisions : Optional [ List [Subdivision ] ]):
257257 """Sets the subdivisions of this DeprecatedIPLocation.
258258
259259
0 commit comments