29
29
30
30
/** Input to create an activation. */
31
31
public class AddActivationToAudienceAlphaInput {
32
- public static final String SERIALIZED_NAME_DESTINATION_ID = "destinationId" ;
33
-
34
- @ SerializedName (SERIALIZED_NAME_DESTINATION_ID )
35
- private String destinationId ;
36
-
37
32
public static final String SERIALIZED_NAME_ENABLED = "enabled" ;
38
33
39
34
@ SerializedName (SERIALIZED_NAME_ENABLED )
@@ -66,26 +61,6 @@ public class AddActivationToAudienceAlphaInput {
66
61
67
62
public AddActivationToAudienceAlphaInput () {}
68
63
69
- public AddActivationToAudienceAlphaInput destinationId (String destinationId ) {
70
-
71
- this .destinationId = destinationId ;
72
- return this ;
73
- }
74
-
75
- /**
76
- * The Destination id.
77
- *
78
- * @return destinationId
79
- */
80
- @ javax .annotation .Nonnull
81
- public String getDestinationId () {
82
- return destinationId ;
83
- }
84
-
85
- public void setDestinationId (String destinationId ) {
86
- this .destinationId = destinationId ;
87
- }
88
-
89
64
public AddActivationToAudienceAlphaInput enabled (Boolean enabled ) {
90
65
91
66
this .enabled = enabled ;
@@ -219,8 +194,7 @@ public boolean equals(Object o) {
219
194
}
220
195
AddActivationToAudienceAlphaInput addActivationToAudienceAlphaInput =
221
196
(AddActivationToAudienceAlphaInput ) o ;
222
- return Objects .equals (this .destinationId , addActivationToAudienceAlphaInput .destinationId )
223
- && Objects .equals (this .enabled , addActivationToAudienceAlphaInput .enabled )
197
+ return Objects .equals (this .enabled , addActivationToAudienceAlphaInput .enabled )
224
198
&& Objects .equals (
225
199
this .performFirstSync , addActivationToAudienceAlphaInput .performFirstSync )
226
200
&& Objects .equals (
@@ -237,7 +211,6 @@ public boolean equals(Object o) {
237
211
@ Override
238
212
public int hashCode () {
239
213
return Objects .hash (
240
- destinationId ,
241
214
enabled ,
242
215
performFirstSync ,
243
216
activationType ,
@@ -250,7 +223,6 @@ public int hashCode() {
250
223
public String toString () {
251
224
StringBuilder sb = new StringBuilder ();
252
225
sb .append ("class AddActivationToAudienceAlphaInput {\n " );
253
- sb .append (" destinationId: " ).append (toIndentedString (destinationId )).append ("\n " );
254
226
sb .append (" enabled: " ).append (toIndentedString (enabled )).append ("\n " );
255
227
sb .append (" performFirstSync: " ).append (toIndentedString (performFirstSync )).append ("\n " );
256
228
sb .append (" activationType: " ).append (toIndentedString (activationType )).append ("\n " );
@@ -280,7 +252,6 @@ private String toIndentedString(Object o) {
280
252
static {
281
253
// a set of all properties/fields (JSON key names)
282
254
openapiFields = new HashSet <String >();
283
- openapiFields .add ("destinationId" );
284
255
openapiFields .add ("enabled" );
285
256
openapiFields .add ("performFirstSync" );
286
257
openapiFields .add ("activationType" );
@@ -290,7 +261,6 @@ private String toIndentedString(Object o) {
290
261
291
262
// a set of required properties/fields (JSON key names)
292
263
openapiRequiredFields = new HashSet <String >();
293
- openapiRequiredFields .add ("destinationId" );
294
264
openapiRequiredFields .add ("performFirstSync" );
295
265
openapiRequiredFields .add ("activationType" );
296
266
openapiRequiredFields .add ("activationName" );
@@ -340,13 +310,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
340
310
}
341
311
}
342
312
JsonObject jsonObj = jsonElement .getAsJsonObject ();
343
- if (!jsonObj .get ("destinationId" ).isJsonPrimitive ()) {
344
- throw new IllegalArgumentException (
345
- String .format (
346
- "Expected the field `destinationId` to be a primitive type in the JSON"
347
- + " string but got `%s`" ,
348
- jsonObj .get ("destinationId" ).toString ()));
349
- }
350
313
if (!jsonObj .get ("activationType" ).isJsonPrimitive ()) {
351
314
throw new IllegalArgumentException (
352
315
String .format (
0 commit comments