2929
3030/** Input to create an activation. */
3131public class AddActivationToAudienceAlphaInput {
32- public static final String SERIALIZED_NAME_DESTINATION_ID = "destinationId" ;
33-
34- @ SerializedName (SERIALIZED_NAME_DESTINATION_ID )
35- private String destinationId ;
36-
3732 public static final String SERIALIZED_NAME_ENABLED = "enabled" ;
3833
3934 @ SerializedName (SERIALIZED_NAME_ENABLED )
@@ -66,26 +61,6 @@ public class AddActivationToAudienceAlphaInput {
6661
6762 public AddActivationToAudienceAlphaInput () {}
6863
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-
8964 public AddActivationToAudienceAlphaInput enabled (Boolean enabled ) {
9065
9166 this .enabled = enabled ;
@@ -219,8 +194,7 @@ public boolean equals(Object o) {
219194 }
220195 AddActivationToAudienceAlphaInput addActivationToAudienceAlphaInput =
221196 (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 )
224198 && Objects .equals (
225199 this .performFirstSync , addActivationToAudienceAlphaInput .performFirstSync )
226200 && Objects .equals (
@@ -237,7 +211,6 @@ public boolean equals(Object o) {
237211 @ Override
238212 public int hashCode () {
239213 return Objects .hash (
240- destinationId ,
241214 enabled ,
242215 performFirstSync ,
243216 activationType ,
@@ -250,7 +223,6 @@ public int hashCode() {
250223 public String toString () {
251224 StringBuilder sb = new StringBuilder ();
252225 sb .append ("class AddActivationToAudienceAlphaInput {\n " );
253- sb .append (" destinationId: " ).append (toIndentedString (destinationId )).append ("\n " );
254226 sb .append (" enabled: " ).append (toIndentedString (enabled )).append ("\n " );
255227 sb .append (" performFirstSync: " ).append (toIndentedString (performFirstSync )).append ("\n " );
256228 sb .append (" activationType: " ).append (toIndentedString (activationType )).append ("\n " );
@@ -280,7 +252,6 @@ private String toIndentedString(Object o) {
280252 static {
281253 // a set of all properties/fields (JSON key names)
282254 openapiFields = new HashSet <String >();
283- openapiFields .add ("destinationId" );
284255 openapiFields .add ("enabled" );
285256 openapiFields .add ("performFirstSync" );
286257 openapiFields .add ("activationType" );
@@ -290,7 +261,6 @@ private String toIndentedString(Object o) {
290261
291262 // a set of required properties/fields (JSON key names)
292263 openapiRequiredFields = new HashSet <String >();
293- openapiRequiredFields .add ("destinationId" );
294264 openapiRequiredFields .add ("performFirstSync" );
295265 openapiRequiredFields .add ("activationType" );
296266 openapiRequiredFields .add ("activationName" );
@@ -340,13 +310,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
340310 }
341311 }
342312 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- }
350313 if (!jsonObj .get ("activationType" ).isJsonPrimitive ()) {
351314 throw new IllegalArgumentException (
352315 String .format (
0 commit comments