Skip to content

Commit ba5b9c0

Browse files
committed
fix bug #149
1 parent c502e25 commit ba5b9c0

File tree

1 file changed

+7
-3
lines changed
  • Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound

1 file changed

+7
-3
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/FulfillmentInbound/ShipmentType.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,30 @@
88
* Generated by: https://github.com/swagger-api/swagger-codegen.git
99
*/
1010

11+
using Newtonsoft.Json;
12+
using Newtonsoft.Json.Converters;
13+
using System.Runtime.Serialization;
14+
1115
namespace FikaAmazonAPI.AmazonSpApiSDK.Models.FulfillmentInbound
1216
{
1317
/// <summary>
1418
/// Specifies the carrier shipment type in a putTransportDetails request.
1519
/// </summary>
1620
/// <value>Specifies the carrier shipment type in a putTransportDetails request.</value>
17-
21+
[JsonConverter(typeof(StringEnumConverter))]
1822
public enum ShipmentType
1923
{
2024

2125
/// <summary>
2226
/// Enum SP for value: SP
2327
/// </summary>
24-
28+
[EnumMember(Value = "SP")]
2529
SP,
2630

2731
/// <summary>
2832
/// Enum LTL for value: LTL
2933
/// </summary>
30-
34+
[EnumMember(Value = "LTL")]
3135
LTL
3236
}
3337

0 commit comments

Comments
 (0)