@@ -40,21 +40,14 @@ protected AddActivationToAudienceAlphaInput() { }
4040 /// <summary>
4141 /// Initializes a new instance of the <see cref="AddActivationToAudienceAlphaInput" /> class.
4242 /// </summary>
43- /// <param name="destinationId">The Destination id. (required).</param>
4443 /// <param name="enabled">Whether the event emitter should be created in an enabled state. Will trigger an audience run if enabled..</param>
4544 /// <param name="performFirstSync">Whether to perform the first sync so the activation events are generated on the first audience sync. (required).</param>
4645 /// <param name="activationType">Type of activation trigger. (required).</param>
4746 /// <param name="activationName">Name of the activation. (required).</param>
4847 /// <param name="personalization">personalization (required).</param>
4948 /// <param name="destinationMapping">destinationMapping (required).</param>
50- public AddActivationToAudienceAlphaInput ( string destinationId = default ( string ) , bool enabled = default ( bool ) , bool performFirstSync = default ( bool ) , string activationType = default ( string ) , string activationName = default ( string ) , PersonalizationInput personalization = default ( PersonalizationInput ) , DestinationSubscriptionConfiguration destinationMapping = default ( DestinationSubscriptionConfiguration ) )
49+ public AddActivationToAudienceAlphaInput ( bool enabled = default ( bool ) , bool performFirstSync = default ( bool ) , string activationType = default ( string ) , string activationName = default ( string ) , PersonalizationInput personalization = default ( PersonalizationInput ) , DestinationSubscriptionConfiguration destinationMapping = default ( DestinationSubscriptionConfiguration ) )
5150 {
52- // to ensure "destinationId" is required (not null)
53- if ( destinationId == null )
54- {
55- throw new ArgumentNullException ( "destinationId is a required property for AddActivationToAudienceAlphaInput and cannot be null" ) ;
56- }
57- this . DestinationId = destinationId ;
5851 this . PerformFirstSync = performFirstSync ;
5952 // to ensure "activationType" is required (not null)
6053 if ( activationType == null )
@@ -83,13 +76,6 @@ protected AddActivationToAudienceAlphaInput() { }
8376 this . Enabled = enabled ;
8477 }
8578
86- /// <summary>
87- /// The Destination id.
88- /// </summary>
89- /// <value>The Destination id.</value>
90- [ DataMember ( Name = "destinationId" , IsRequired = true , EmitDefaultValue = true ) ]
91- public string DestinationId { get ; set ; }
92-
9379 /// <summary>
9480 /// Whether the event emitter should be created in an enabled state. Will trigger an audience run if enabled.
9581 /// </summary>
@@ -138,7 +124,6 @@ public override string ToString()
138124 {
139125 StringBuilder sb = new StringBuilder ( ) ;
140126 sb . Append ( "class AddActivationToAudienceAlphaInput {\n " ) ;
141- sb . Append ( " DestinationId: " ) . Append ( DestinationId ) . Append ( "\n " ) ;
142127 sb . Append ( " Enabled: " ) . Append ( Enabled ) . Append ( "\n " ) ;
143128 sb . Append ( " PerformFirstSync: " ) . Append ( PerformFirstSync ) . Append ( "\n " ) ;
144129 sb . Append ( " ActivationType: " ) . Append ( ActivationType ) . Append ( "\n " ) ;
@@ -180,11 +165,6 @@ public bool Equals(AddActivationToAudienceAlphaInput input)
180165 return false ;
181166 }
182167 return
183- (
184- this . DestinationId == input . DestinationId ||
185- ( this . DestinationId != null &&
186- this . DestinationId . Equals ( input . DestinationId ) )
187- ) &&
188168 (
189169 this . Enabled == input . Enabled ||
190170 this . Enabled . Equals ( input . Enabled )
@@ -224,10 +204,6 @@ public override int GetHashCode()
224204 unchecked // Overflow is fine, just wrap
225205 {
226206 int hashCode = 41 ;
227- if ( this . DestinationId != null )
228- {
229- hashCode = ( hashCode * 59 ) + this . DestinationId . GetHashCode ( ) ;
230- }
231207 hashCode = ( hashCode * 59 ) + this . Enabled . GetHashCode ( ) ;
232208 hashCode = ( hashCode * 59 ) + this . PerformFirstSync . GetHashCode ( ) ;
233209 if ( this . ActivationType != null )
0 commit comments