@@ -41,7 +41,6 @@ class CreateSeaShippingEstimateRequest(object):
41
41
"origin_locode" : "str" ,
42
42
"origin_postal_code" : "str" ,
43
43
"container_size_code" : "str" ,
44
- "distance_m" : "int" ,
45
44
"emissions_scope" : "str" ,
46
45
"freight_mass_g" : "int" ,
47
46
"freight_volume_cubic_m" : "int" ,
@@ -59,7 +58,6 @@ class CreateSeaShippingEstimateRequest(object):
59
58
"origin_locode" : "origin_locode" ,
60
59
"origin_postal_code" : "origin_postal_code" ,
61
60
"container_size_code" : "container_size_code" ,
62
- "distance_m" : "distance_m" ,
63
61
"emissions_scope" : "emissions_scope" ,
64
62
"freight_mass_g" : "freight_mass_g" ,
65
63
"freight_volume_cubic_m" : "freight_volume_cubic_m" ,
@@ -78,7 +76,6 @@ def __init__(
78
76
origin_locode = None ,
79
77
origin_postal_code = None ,
80
78
container_size_code = None ,
81
- distance_m = None ,
82
79
emissions_scope = "wtw" ,
83
80
freight_mass_g = None ,
84
81
freight_volume_cubic_m = None ,
@@ -100,7 +97,6 @@ def __init__(
100
97
self ._origin_locode = None
101
98
self ._origin_postal_code = None
102
99
self ._container_size_code = None
103
- self ._distance_m = None
104
100
self ._emissions_scope = None
105
101
self ._freight_mass_g = None
106
102
self ._freight_volume_cubic_m = None
@@ -118,7 +114,6 @@ def __init__(
118
114
self .origin_postal_code = origin_postal_code
119
115
if container_size_code is not None :
120
116
self .container_size_code = container_size_code
121
- self .distance_m = distance_m
122
117
self .emissions_scope = emissions_scope
123
118
if freight_mass_g is not None :
124
119
self .freight_mass_g = freight_mass_g
@@ -285,43 +280,6 @@ def container_size_code(self, container_size_code):
285
280
286
281
self ._container_size_code = container_size_code
287
282
288
- @property
289
- def distance_m (self ):
290
- """Gets the distance_m of this CreateSeaShippingEstimateRequest. # noqa: E501
291
-
292
-
293
- :return: The distance_m of this CreateSeaShippingEstimateRequest. # noqa: E501
294
- :rtype: int
295
- """
296
- return self ._distance_m
297
-
298
- @distance_m .setter
299
- def distance_m (self , distance_m ):
300
- """Sets the distance_m of this CreateSeaShippingEstimateRequest.
301
-
302
-
303
- :param distance_m: The distance_m of this CreateSeaShippingEstimateRequest. # noqa: E501
304
- :type: int
305
- """
306
- if (
307
- self .local_vars_configuration .client_side_validation
308
- and distance_m is not None
309
- and distance_m > 400000000
310
- ): # noqa: E501
311
- raise ValueError (
312
- "Invalid value for `distance_m`, must be a value less than or equal to `400000000`"
313
- ) # noqa: E501
314
- if (
315
- self .local_vars_configuration .client_side_validation
316
- and distance_m is not None
317
- and distance_m < 0
318
- ): # noqa: E501
319
- raise ValueError (
320
- "Invalid value for `distance_m`, must be a value greater than or equal to `0`"
321
- ) # noqa: E501
322
-
323
- self ._distance_m = distance_m
324
-
325
283
@property
326
284
def emissions_scope (self ):
327
285
"""Gets the emissions_scope of this CreateSeaShippingEstimateRequest. # noqa: E501
0 commit comments