8
8
* Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
*/
10
10
11
- using System ;
12
- using System . IO ;
13
- using System . Text ;
14
- using System . Collections . Generic ;
15
- using System . Runtime . Serialization ;
16
11
using Newtonsoft . Json ;
17
12
using Newtonsoft . Json . Converters ;
13
+ using System ;
14
+ using System . Collections . Generic ;
18
15
using System . ComponentModel . DataAnnotations ;
16
+ using System . IO ;
17
+ using System . Runtime . Serialization ;
18
+ using System . Text ;
19
19
20
20
namespace FikaAmazonAPI . AmazonSpApiSDK . Models . ListingsItems
21
21
{
22
22
/// <summary>
23
23
/// The request body schema for the putListingsItem operation.
24
24
/// </summary>
25
25
[ DataContract ]
26
- public partial class ListingsItemPutRequest : IEquatable < ListingsItemPutRequest > , IValidatableObject
26
+ public partial class ListingsItemPutRequest : IEquatable < ListingsItemPutRequest > , IValidatableObject
27
27
{
28
28
/// <summary>
29
29
/// The name of the requirements set for the provided data.
@@ -32,19 +32,19 @@ public partial class ListingsItemPutRequest : IEquatable<ListingsItemPutRequest
32
32
[ JsonConverter ( typeof ( StringEnumConverter ) ) ]
33
33
public enum RequirementsEnum
34
34
{
35
-
35
+
36
36
/// <summary>
37
37
/// Enum LISTING for value: LISTING
38
38
/// </summary>
39
39
[ EnumMember ( Value = "LISTING" ) ]
40
40
LISTING = 1 ,
41
-
41
+
42
42
/// <summary>
43
43
/// Enum LISTINGPRODUCTONLY for value: LISTING_PRODUCT_ONLY
44
44
/// </summary>
45
45
[ EnumMember ( Value = "LISTING_PRODUCT_ONLY" ) ]
46
46
LISTINGPRODUCTONLY = 2 ,
47
-
47
+
48
48
/// <summary>
49
49
/// Enum LISTINGOFFERONLY for value: LISTING_OFFER_ONLY
50
50
/// </summary>
@@ -56,13 +56,13 @@ public enum RequirementsEnum
56
56
/// The name of the requirements set for the provided data.
57
57
/// </summary>
58
58
/// <value>The name of the requirements set for the provided data.</value>
59
- [ DataMember ( Name = "requirements" , EmitDefaultValue = false ) ]
59
+ [ DataMember ( Name = "requirements" , EmitDefaultValue = false ) ]
60
60
public RequirementsEnum ? Requirements { get ; set ; }
61
61
/// <summary>
62
62
/// Initializes a new instance of the <see cref="ListingsItemPutRequest" /> class.
63
63
/// </summary>
64
64
[ JsonConstructorAttribute ]
65
- protected ListingsItemPutRequest ( ) { }
65
+ public ListingsItemPutRequest ( ) { }
66
66
/// <summary>
67
67
/// Initializes a new instance of the <see cref="ListingsItemPutRequest" /> class.
68
68
/// </summary>
@@ -91,20 +91,20 @@ protected ListingsItemPutRequest() { }
91
91
}
92
92
this . Requirements = requirements ;
93
93
}
94
-
94
+
95
95
/// <summary>
96
96
/// The Amazon product type of the listings item.
97
97
/// </summary>
98
98
/// <value>The Amazon product type of the listings item.</value>
99
- [ DataMember ( Name = "productType" , EmitDefaultValue = false ) ]
99
+ [ DataMember ( Name = "productType" , EmitDefaultValue = false ) ]
100
100
public string ProductType { get ; set ; }
101
101
102
102
103
103
/// <summary>
104
104
/// JSON object containing structured listings item attribute data keyed by attribute name.
105
105
/// </summary>
106
106
/// <value>JSON object containing structured listings item attribute data keyed by attribute name.</value>
107
- [ DataMember ( Name = "attributes" , EmitDefaultValue = false ) ]
107
+ [ DataMember ( Name = "attributes" , EmitDefaultValue = false ) ]
108
108
public Object Attributes { get ; set ; }
109
109
110
110
/// <summary>
@@ -121,7 +121,7 @@ public override string ToString()
121
121
sb . Append ( "}\n " ) ;
122
122
return sb . ToString ( ) ;
123
123
}
124
-
124
+
125
125
/// <summary>
126
126
/// Returns the JSON string presentation of the object
127
127
/// </summary>
@@ -151,17 +151,17 @@ public bool Equals(ListingsItemPutRequest input)
151
151
if ( input == null )
152
152
return false ;
153
153
154
- return
154
+ return
155
155
(
156
156
this . ProductType == input . ProductType ||
157
157
( this . ProductType != null &&
158
158
this . ProductType . Equals ( input . ProductType ) )
159
- ) &&
159
+ ) &&
160
160
(
161
161
this . Requirements == input . Requirements ||
162
162
( this . Requirements != null &&
163
163
this . Requirements . Equals ( input . Requirements ) )
164
- ) &&
164
+ ) &&
165
165
(
166
166
this . Attributes == input . Attributes ||
167
167
( this . Attributes != null &&
0 commit comments