8
8
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
*/
10
10
11
+ using FikaAmazonAPI . Utils ;
11
12
using Newtonsoft . Json ;
12
13
using System ;
13
14
using System . Collections . Generic ;
@@ -42,7 +43,7 @@ public partial class PackageDimensions : IEquatable<PackageDimensions>, IValidat
42
43
/// <param name="Height">The height dimension. If you don't specify PredefinedPackageDimensions, you must specify the Height..</param>
43
44
/// <param name="Unit">The unit of measurement. If you don't specify PredefinedPackageDimensions, you must specify the Unit..</param>
44
45
/// <param name="PredefinedPackageDimensions">PredefinedPackageDimensions.</param>
45
- public PackageDimensions ( int ? Length = default ( int ? ) , int ? Width = default ( int ? ) , int ? Height = default ( int ? ) , UnitOfLength ? Unit = default ( UnitOfLength ? ) , PredefinedPackageDimensions ? PredefinedPackageDimensions = default ( PredefinedPackageDimensions ? ) )
46
+ public PackageDimensions ( double ? Length = default ( double ? ) , double ? Width = default ( double ? ) , double ? Height = default ( double ? ) , UnitOfLength ? Unit = default ( UnitOfLength ? ) , PredefinedPackageDimensions ? PredefinedPackageDimensions = default ( PredefinedPackageDimensions ? ) )
46
47
{
47
48
this . Length = Length ;
48
49
this . Width = Width ;
@@ -56,21 +57,24 @@ public partial class PackageDimensions : IEquatable<PackageDimensions>, IValidat
56
57
/// </summary>
57
58
/// <value>The length dimension. If you don't specify PredefinedPackageDimensions, you must specify the Length.</value>
58
59
[ DataMember ( Name = "Length" , EmitDefaultValue = false ) ]
59
- public int ? Length { get ; set ; }
60
+ [ JsonConverter ( typeof ( DoubleJsonConverter ) ) ]
61
+ public double ? Length { get ; set ; }
60
62
61
63
/// <summary>
62
64
/// The width dimension. If you don't specify PredefinedPackageDimensions, you must specify the Width.
63
65
/// </summary>
64
66
/// <value>The width dimension. If you don't specify PredefinedPackageDimensions, you must specify the Width.</value>
65
67
[ DataMember ( Name = "Width" , EmitDefaultValue = false ) ]
66
- public int ? Width { get ; set ; }
68
+ [ JsonConverter ( typeof ( DoubleJsonConverter ) ) ]
69
+ public double ? Width { get ; set ; }
67
70
68
71
/// <summary>
69
72
/// The height dimension. If you don't specify PredefinedPackageDimensions, you must specify the Height.
70
73
/// </summary>
71
74
/// <value>The height dimension. If you don't specify PredefinedPackageDimensions, you must specify the Height.</value>
72
75
[ DataMember ( Name = "Height" , EmitDefaultValue = false ) ]
73
- public int ? Height { get ; set ; }
76
+ [ JsonConverter ( typeof ( DoubleJsonConverter ) ) ]
77
+ public double ? Height { get ; set ; }
74
78
75
79
76
80
0 commit comments