@@ -40,21 +40,14 @@ protected AddActivationToAudienceAlphaInput() { }
40
40
/// <summary>
41
41
/// Initializes a new instance of the <see cref="AddActivationToAudienceAlphaInput" /> class.
42
42
/// </summary>
43
- /// <param name="destinationId">The Destination id. (required).</param>
44
43
/// <param name="enabled">Whether the event emitter should be created in an enabled state. Will trigger an audience run if enabled..</param>
45
44
/// <param name="performFirstSync">Whether to perform the first sync so the activation events are generated on the first audience sync. (required).</param>
46
45
/// <param name="activationType">Type of activation trigger. (required).</param>
47
46
/// <param name="activationName">Name of the activation. (required).</param>
48
47
/// <param name="personalization">personalization (required).</param>
49
48
/// <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 ) )
51
50
{
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 ;
58
51
this . PerformFirstSync = performFirstSync ;
59
52
// to ensure "activationType" is required (not null)
60
53
if ( activationType == null )
@@ -83,13 +76,6 @@ protected AddActivationToAudienceAlphaInput() { }
83
76
this . Enabled = enabled ;
84
77
}
85
78
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
-
93
79
/// <summary>
94
80
/// Whether the event emitter should be created in an enabled state. Will trigger an audience run if enabled.
95
81
/// </summary>
@@ -138,7 +124,6 @@ public override string ToString()
138
124
{
139
125
StringBuilder sb = new StringBuilder ( ) ;
140
126
sb . Append ( "class AddActivationToAudienceAlphaInput {\n " ) ;
141
- sb . Append ( " DestinationId: " ) . Append ( DestinationId ) . Append ( "\n " ) ;
142
127
sb . Append ( " Enabled: " ) . Append ( Enabled ) . Append ( "\n " ) ;
143
128
sb . Append ( " PerformFirstSync: " ) . Append ( PerformFirstSync ) . Append ( "\n " ) ;
144
129
sb . Append ( " ActivationType: " ) . Append ( ActivationType ) . Append ( "\n " ) ;
@@ -180,11 +165,6 @@ public bool Equals(AddActivationToAudienceAlphaInput input)
180
165
return false ;
181
166
}
182
167
return
183
- (
184
- this . DestinationId == input . DestinationId ||
185
- ( this . DestinationId != null &&
186
- this . DestinationId . Equals ( input . DestinationId ) )
187
- ) &&
188
168
(
189
169
this . Enabled == input . Enabled ||
190
170
this . Enabled . Equals ( input . Enabled )
@@ -224,10 +204,6 @@ public override int GetHashCode()
224
204
unchecked // Overflow is fine, just wrap
225
205
{
226
206
int hashCode = 41 ;
227
- if ( this . DestinationId != null )
228
- {
229
- hashCode = ( hashCode * 59 ) + this . DestinationId . GetHashCode ( ) ;
230
- }
231
207
hashCode = ( hashCode * 59 ) + this . Enabled . GetHashCode ( ) ;
232
208
hashCode = ( hashCode * 59 ) + this . PerformFirstSync . GetHashCode ( ) ;
233
209
if ( this . ActivationType != null )
0 commit comments