@@ -41,7 +41,6 @@ class CreateSeaShippingEstimateRequest(object):
4141 "origin_locode" : "str" ,
4242 "origin_postal_code" : "str" ,
4343 "container_size_code" : "str" ,
44- "distance_m" : "int" ,
4544 "emissions_scope" : "str" ,
4645 "freight_mass_g" : "int" ,
4746 "freight_volume_cubic_m" : "int" ,
@@ -59,7 +58,6 @@ class CreateSeaShippingEstimateRequest(object):
5958 "origin_locode" : "origin_locode" ,
6059 "origin_postal_code" : "origin_postal_code" ,
6160 "container_size_code" : "container_size_code" ,
62- "distance_m" : "distance_m" ,
6361 "emissions_scope" : "emissions_scope" ,
6462 "freight_mass_g" : "freight_mass_g" ,
6563 "freight_volume_cubic_m" : "freight_volume_cubic_m" ,
@@ -78,7 +76,6 @@ def __init__(
7876 origin_locode = None ,
7977 origin_postal_code = None ,
8078 container_size_code = None ,
81- distance_m = None ,
8279 emissions_scope = "wtw" ,
8380 freight_mass_g = None ,
8481 freight_volume_cubic_m = None ,
@@ -100,7 +97,6 @@ def __init__(
10097 self ._origin_locode = None
10198 self ._origin_postal_code = None
10299 self ._container_size_code = None
103- self ._distance_m = None
104100 self ._emissions_scope = None
105101 self ._freight_mass_g = None
106102 self ._freight_volume_cubic_m = None
@@ -118,7 +114,6 @@ def __init__(
118114 self .origin_postal_code = origin_postal_code
119115 if container_size_code is not None :
120116 self .container_size_code = container_size_code
121- self .distance_m = distance_m
122117 self .emissions_scope = emissions_scope
123118 if freight_mass_g is not None :
124119 self .freight_mass_g = freight_mass_g
@@ -285,43 +280,6 @@ def container_size_code(self, container_size_code):
285280
286281 self ._container_size_code = container_size_code
287282
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-
325283 @property
326284 def emissions_scope (self ):
327285 """Gets the emissions_scope of this CreateSeaShippingEstimateRequest. # noqa: E501
0 commit comments