Skip to content

Commit da078c7

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@0ed000c8.
1 parent d1eec5d commit da078c7

File tree

2 files changed

+6
-30
lines changed

2 files changed

+6
-30
lines changed

Segment.PublicApi.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22
# Visual Studio 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{59052343-00F8-4EE6-BB05-8AAD6A83AF07}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{3D21AB0E-15F0-4A1C-BA15-3998A6E286AC}"
66
EndProject
77
Global
88
GlobalSection(SolutionConfigurationPlatforms) = preSolution
99
Debug|Any CPU = Debug|Any CPU
1010
Release|Any CPU = Release|Any CPU
1111
EndGlobalSection
1212
GlobalSection(ProjectConfigurationPlatforms) = postSolution
13-
{59052343-00F8-4EE6-BB05-8AAD6A83AF07}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14-
{59052343-00F8-4EE6-BB05-8AAD6A83AF07}.Debug|Any CPU.Build.0 = Debug|Any CPU
15-
{59052343-00F8-4EE6-BB05-8AAD6A83AF07}.Release|Any CPU.ActiveCfg = Release|Any CPU
16-
{59052343-00F8-4EE6-BB05-8AAD6A83AF07}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{3D21AB0E-15F0-4A1C-BA15-3998A6E286AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{3D21AB0E-15F0-4A1C-BA15-3998A6E286AC}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{3D21AB0E-15F0-4A1C-BA15-3998A6E286AC}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{3D21AB0E-15F0-4A1C-BA15-3998A6E286AC}.Release|Any CPU.Build.0 = Release|Any CPU
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

src/Segment.PublicApi/Model/AddActivationToAudienceAlphaInput.cs

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)