Skip to content

Commit 238e6b6

Browse files
authored
Merge pull request #901 from nicopizzo/main
2 parents abbd4bf + cb8054a commit 238e6b6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Notifications/AggregationFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class AggregationFilter
1414
/// Gets or Sets AggregationSettings
1515
/// </summary>
1616
[DataMember(Name = "aggregationSettings", EmitDefaultValue = false)]
17-
[JsonProperty(PropertyName = "aggregationSettings")]
17+
[JsonProperty(PropertyName = "aggregationSettings", NullValueHandling = NullValueHandling.Ignore)]
1818
public AggregationSettings AggregationSettings { get; set; }
1919

2020

Source/FikaAmazonAPI/AmazonSpApiSDK/Models/Notifications/EventFilter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@ public class EventFilter : AggregationFilter
1515
/// Gets or Sets MarketplaceIds
1616
/// </summary>
1717
[DataMember(Name = "marketplaceIds", EmitDefaultValue = false)]
18-
[JsonProperty(PropertyName = "marketplaceIds")]
18+
[JsonProperty(PropertyName = "marketplaceIds", NullValueHandling = NullValueHandling.Ignore)]
1919
public IList<string> MarketplaceIds { get; set; }
2020

2121
/// <summary>
2222
/// An eventFilterType value that is supported by the specific notificationType. This is used by the subscription service to determine the type of event filter. Refer to the section of the [Notifications Use Case Guide](doc:notifications-api-v1-use-case-guide) that describes the specific notificationType to determine if an eventFilterType is supported.
2323
/// </summary>
2424
/// <value>An eventFilterType value that is supported by the specific notificationType. This is used by the subscription service to determine the type of event filter. Refer to the section of the [Notifications Use Case Guide](doc:notifications-api-v1-use-case-guide) that describes the specific notificationType to determine if an eventFilterType is supported.</value>
2525
[DataMember(Name = "eventFilterType", EmitDefaultValue = false)]
26-
[JsonProperty(PropertyName = "eventFilterType")]
26+
[JsonProperty(PropertyName = "eventFilterType", NullValueHandling = NullValueHandling.Ignore)]
2727
public string EventFilterType { get; set; }
2828

2929
/// <summary>
3030
/// Gets or Sets OrderChangeTypes
3131
/// </summary>
3232
[DataMember(Name = "orderChangeTypes", EmitDefaultValue = false)]
33-
[JsonProperty(PropertyName = "orderChangeTypes")]
33+
[JsonProperty(PropertyName = "orderChangeTypes", NullValueHandling = NullValueHandling.Ignore)]
3434
public IList<string> OrderChangeTypes { get; set; }
3535

3636

0 commit comments

Comments
 (0)