File tree Expand file tree Collapse file tree
src/main/java/one/talon/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424import io .swagger .annotations .ApiModelProperty ;
2525import java .io .IOException ;
2626import java .math .BigDecimal ;
27+ import one .talon .custom .JsonNullable ;
28+ import one .talon .custom .NullableAdapterFactory ;
2729
2830/**
2931 * The specific properties of the \"ADD\" catalog sync action.
3032 */
3133@ ApiModel (description = "The specific properties of the \" ADD\" catalog sync action." )
34+ @ JsonAdapter (NullableAdapterFactory .class )
3235
3336public class AddItemCatalogAction {
3437 public static final String SERIALIZED_NAME_SKU = "sku" ;
@@ -41,6 +44,8 @@ public class AddItemCatalogAction {
4144
4245 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
4346 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
47+ /*allow Serializing null for this field */
48+ @ JsonNullable
4449 private Object attributes ;
4550
4651 public static final String SERIALIZED_NAME_REPLACE_IF_EXISTS = "replaceIfExists" ;
Original file line number Diff line number Diff line change 2828import java .util .List ;
2929import java .util .Map ;
3030import one .talon .model .AdditionalCost ;
31+ import one .talon .custom .JsonNullable ;
32+ import one .talon .custom .NullableAdapterFactory ;
3133
3234/**
3335 * CartItem
3436 */
3537
38+ @ JsonAdapter (NullableAdapterFactory .class )
3639public class CartItem {
3740 public static final String SERIALIZED_NAME_NAME = "name" ;
3841 @ SerializedName (SERIALIZED_NAME_NAME )
@@ -84,6 +87,8 @@ public class CartItem {
8487
8588 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
8689 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
90+ /*allow Serializing null for this field */
91+ @ JsonNullable
8792 private Object attributes ;
8893
8994 public static final String SERIALIZED_NAME_ADDITIONAL_COSTS = "additionalCosts" ;
Original file line number Diff line number Diff line change 2626import java .util .ArrayList ;
2727import java .util .List ;
2828import one .talon .model .ProfileAudiencesChanges ;
29+ import one .talon .custom .JsonNullable ;
30+ import one .talon .custom .NullableAdapterFactory ;
2931
3032/**
3133 *
3234 */
3335@ ApiModel (description = "" )
36+ @ JsonAdapter (NullableAdapterFactory .class )
3437
3538public class CustomerProfileIntegrationRequestV2 {
3639 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
3740 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
41+ /*allow Serializing null for this field */
42+ @ JsonNullable
3843 private Object attributes ;
3944
4045 public static final String SERIALIZED_NAME_EVALUABLE_CAMPAIGN_IDS = "evaluableCampaignIds" ;
Original file line number Diff line number Diff line change 2525import java .io .IOException ;
2626import java .util .ArrayList ;
2727import java .util .List ;
28+ import one .talon .custom .JsonNullable ;
29+ import one .talon .custom .NullableAdapterFactory ;
2830
2931/**
3032 *
3133 */
3234@ ApiModel (description = "" )
35+ @ JsonAdapter (NullableAdapterFactory .class )
3336
3437public class IntegrationEventV2Request {
3538 public static final String SERIALIZED_NAME_PROFILE_ID = "profileId" ;
@@ -46,6 +49,8 @@ public class IntegrationEventV2Request {
4649
4750 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
4851 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
52+ /*allow Serializing null for this field */
53+ @ JsonNullable
4954 private Object attributes ;
5055
5156 /**
Original file line number Diff line number Diff line change 2323import io .swagger .annotations .ApiModel ;
2424import io .swagger .annotations .ApiModelProperty ;
2525import java .io .IOException ;
26+ import one .talon .custom .JsonNullable ;
27+ import one .talon .custom .NullableAdapterFactory ;
2628
2729/**
2830 *
2931 */
3032@ ApiModel (description = "" )
33+ @ JsonAdapter (NullableAdapterFactory .class )
3134
3235public class MultipleCustomerProfileIntegrationRequestItem {
3336 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
3437 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
38+ /*allow Serializing null for this field */
39+ @ JsonNullable
3540 private Object attributes ;
3641
3742 public static final String SERIALIZED_NAME_INTEGRATION_ID = "integrationId" ;
Original file line number Diff line number Diff line change 2323import io .swagger .annotations .ApiModel ;
2424import io .swagger .annotations .ApiModelProperty ;
2525import java .io .IOException ;
26+ import one .talon .custom .JsonNullable ;
27+ import one .talon .custom .NullableAdapterFactory ;
2628
2729/**
2830 * NewCustomerProfile
2931 */
32+ @ JsonAdapter (NullableAdapterFactory .class )
3033
3134public class NewCustomerProfile {
3235 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
3336 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
37+ /*allow Serializing null for this field */
38+ @ JsonNullable
3439 private Object attributes ;
3540
3641
Original file line number Diff line number Diff line change 2727import java .util .ArrayList ;
2828import java .util .List ;
2929import one .talon .model .CartItem ;
30+ import one .talon .custom .JsonNullable ;
31+ import one .talon .custom .NullableAdapterFactory ;
3032
3133/**
3234 *
3335 */
3436@ ApiModel (description = "" )
37+ @ JsonAdapter (NullableAdapterFactory .class )
3538
3639public class NewCustomerSession {
3740 public static final String SERIALIZED_NAME_PROFILE_ID = "profileId" ;
@@ -115,6 +118,8 @@ public StateEnum read(final JsonReader jsonReader) throws IOException {
115118
116119 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
117120 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
121+ /*allow Serializing null for this field */
122+ @ JsonNullable
118123 private Object attributes ;
119124
120125
Original file line number Diff line number Diff line change 2929import java .util .Map ;
3030import one .talon .model .AdditionalCost ;
3131import one .talon .model .CartItem ;
32+ import one .talon .custom .JsonNullable ;
33+ import one .talon .custom .NullableAdapterFactory ;
3234
3335/**
3436 * The representation of the customer session.
3537 */
3638@ ApiModel (description = "The representation of the customer session." )
39+ @ JsonAdapter (NullableAdapterFactory .class )
3740
3841public class NewCustomerSessionV2 {
3942 public static final String SERIALIZED_NAME_PROFILE_ID = "profileId" ;
@@ -125,6 +128,8 @@ public StateEnum read(final JsonReader jsonReader) throws IOException {
125128
126129 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
127130 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
131+ /*allow Serializing null for this field */
132+ @ JsonNullable
128133 private Object attributes ;
129134
130135
Original file line number Diff line number Diff line change 2323import io .swagger .annotations .ApiModel ;
2424import io .swagger .annotations .ApiModelProperty ;
2525import java .io .IOException ;
26+ import one .talon .custom .JsonNullable ;
27+ import one .talon .custom .NullableAdapterFactory ;
2628
2729/**
2830 *
2931 */
3032@ ApiModel (description = "" )
33+ @ JsonAdapter (NullableAdapterFactory .class )
3134
3235public class NewEvent {
3336 public static final String SERIALIZED_NAME_PROFILE_ID = "profileId" ;
@@ -40,6 +43,8 @@ public class NewEvent {
4043
4144 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
4245 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
46+ /*allow Serializing null for this field */
47+ @ JsonNullable
4348 private Object attributes ;
4449
4550 public static final String SERIALIZED_NAME_SESSION_ID = "sessionId" ;
Original file line number Diff line number Diff line change 2626import java .util .ArrayList ;
2727import java .util .List ;
2828import org .threeten .bp .OffsetDateTime ;
29+ import one .talon .custom .JsonNullable ;
30+ import one .talon .custom .NullableAdapterFactory ;
2931
3032/**
3133 *
3234 */
3335@ ApiModel (description = "" )
36+ @ JsonAdapter (NullableAdapterFactory .class )
3437
3538public class NewReferralsForMultipleAdvocates {
3639 public static final String SERIALIZED_NAME_START_DATE = "startDate" ;
@@ -55,6 +58,8 @@ public class NewReferralsForMultipleAdvocates {
5558
5659 public static final String SERIALIZED_NAME_ATTRIBUTES = "attributes" ;
5760 @ SerializedName (SERIALIZED_NAME_ATTRIBUTES )
61+ /*allow Serializing null for this field */
62+ @ JsonNullable
5863 private Object attributes ;
5964
6065 public static final String SERIALIZED_NAME_VALID_CHARACTERS = "validCharacters" ;
You can’t perform that action at this time.
0 commit comments