Skip to content

Commit 898c3c5

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@86667078.
1 parent 9a3c38d commit 898c3c5

10 files changed

+397
-192
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", "{1C1CB6C5-6109-4EC5-80A4-02FAB11AA719}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{D2BB1FCB-2457-43D8-A3FC-CFE23068E2C2}"
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-
{1C1CB6C5-6109-4EC5-80A4-02FAB11AA719}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14-
{1C1CB6C5-6109-4EC5-80A4-02FAB11AA719}.Debug|Any CPU.Build.0 = Debug|Any CPU
15-
{1C1CB6C5-6109-4EC5-80A4-02FAB11AA719}.Release|Any CPU.ActiveCfg = Release|Any CPU
16-
{1C1CB6C5-6109-4EC5-80A4-02FAB11AA719}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{D2BB1FCB-2457-43D8-A3FC-CFE23068E2C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{D2BB1FCB-2457-43D8-A3FC-CFE23068E2C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{D2BB1FCB-2457-43D8-A3FC-CFE23068E2C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{D2BB1FCB-2457-43D8-A3FC-CFE23068E2C2}.Release|Any CPU.Build.0 = Release|Any CPU
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

src/Segment.PublicApi/Model/ActivationOutput.cs

Lines changed: 360 additions & 0 deletions
Large diffs are not rendered by default.

src/Segment.PublicApi/Model/ActivationSummaryOutput.cs

Lines changed: 0 additions & 155 deletions
This file was deleted.

src/Segment.PublicApi/Model/AddActivationToAudienceAlphaInput.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ protected AddActivationToAudienceAlphaInput() { }
4141
/// Initializes a new instance of the <see cref="AddActivationToAudienceAlphaInput" /> class.
4242
/// </summary>
4343
/// <param name="enabled">Whether the event emitter should be created in an enabled state. Will trigger an audience run if enabled..</param>
44-
/// <param name="performFirstSync">Whether to perform the first sync so the activation events are generated on the first audience sync. (required).</param>
44+
/// <param name="performResync">Whether to perform a resync after creation of the activation. (required).</param>
4545
/// <param name="activationType">Type of activation trigger. (required).</param>
4646
/// <param name="activationName">Name of the activation. (required).</param>
4747
/// <param name="personalization">personalization (required).</param>
4848
/// <param name="destinationMapping">destinationMapping (required).</param>
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))
49+
public AddActivationToAudienceAlphaInput(bool enabled = default(bool), bool performResync = default(bool), string activationType = default(string), string activationName = default(string), PersonalizationInput personalization = default(PersonalizationInput), DestinationSubscriptionConfiguration destinationMapping = default(DestinationSubscriptionConfiguration))
5050
{
51-
this.PerformFirstSync = performFirstSync;
51+
this.PerformResync = performResync;
5252
// to ensure "activationType" is required (not null)
5353
if (activationType == null)
5454
{
@@ -84,11 +84,11 @@ protected AddActivationToAudienceAlphaInput() { }
8484
public bool Enabled { get; set; }
8585

8686
/// <summary>
87-
/// Whether to perform the first sync so the activation events are generated on the first audience sync.
87+
/// Whether to perform a resync after creation of the activation.
8888
/// </summary>
89-
/// <value>Whether to perform the first sync so the activation events are generated on the first audience sync.</value>
90-
[DataMember(Name = "performFirstSync", IsRequired = true, EmitDefaultValue = true)]
91-
public bool PerformFirstSync { get; set; }
89+
/// <value>Whether to perform a resync after creation of the activation.</value>
90+
[DataMember(Name = "performResync", IsRequired = true, EmitDefaultValue = true)]
91+
public bool PerformResync { get; set; }
9292

9393
/// <summary>
9494
/// Type of activation trigger.
@@ -125,7 +125,7 @@ public override string ToString()
125125
StringBuilder sb = new StringBuilder();
126126
sb.Append("class AddActivationToAudienceAlphaInput {\n");
127127
sb.Append(" Enabled: ").Append(Enabled).Append("\n");
128-
sb.Append(" PerformFirstSync: ").Append(PerformFirstSync).Append("\n");
128+
sb.Append(" PerformResync: ").Append(PerformResync).Append("\n");
129129
sb.Append(" ActivationType: ").Append(ActivationType).Append("\n");
130130
sb.Append(" ActivationName: ").Append(ActivationName).Append("\n");
131131
sb.Append(" Personalization: ").Append(Personalization).Append("\n");
@@ -170,8 +170,8 @@ public bool Equals(AddActivationToAudienceAlphaInput input)
170170
this.Enabled.Equals(input.Enabled)
171171
) &&
172172
(
173-
this.PerformFirstSync == input.PerformFirstSync ||
174-
this.PerformFirstSync.Equals(input.PerformFirstSync)
173+
this.PerformResync == input.PerformResync ||
174+
this.PerformResync.Equals(input.PerformResync)
175175
) &&
176176
(
177177
this.ActivationType == input.ActivationType ||
@@ -205,7 +205,7 @@ public override int GetHashCode()
205205
{
206206
int hashCode = 41;
207207
hashCode = (hashCode * 59) + this.Enabled.GetHashCode();
208-
hashCode = (hashCode * 59) + this.PerformFirstSync.GetHashCode();
208+
hashCode = (hashCode * 59) + this.PerformResync.GetHashCode();
209209
if (this.ActivationType != null)
210210
{
211211
hashCode = (hashCode * 59) + this.ActivationType.GetHashCode();

src/Segment.PublicApi/Model/AddActivationToAudienceAlphaOutput.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected AddActivationToAudienceAlphaOutput() { }
4141
/// Initializes a new instance of the <see cref="AddActivationToAudienceAlphaOutput" /> class.
4242
/// </summary>
4343
/// <param name="activation">activation (required).</param>
44-
public AddActivationToAudienceAlphaOutput(ActivationSummaryOutput activation = default(ActivationSummaryOutput))
44+
public AddActivationToAudienceAlphaOutput(ActivationOutput activation = default(ActivationOutput))
4545
{
4646
// to ensure "activation" is required (not null)
4747
if (activation == null)
@@ -55,7 +55,7 @@ protected AddActivationToAudienceAlphaOutput() { }
5555
/// Gets or Sets Activation
5656
/// </summary>
5757
[DataMember(Name = "activation", IsRequired = true, EmitDefaultValue = true)]
58-
public ActivationSummaryOutput Activation { get; set; }
58+
public ActivationOutput Activation { get; set; }
5959

6060
/// <summary>
6161
/// Returns the string presentation of the object

src/Segment.PublicApi/Model/GetActivationFromAudienceOutput.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected GetActivationFromAudienceOutput() { }
4141
/// Initializes a new instance of the <see cref="GetActivationFromAudienceOutput" /> class.
4242
/// </summary>
4343
/// <param name="activation">activation (required).</param>
44-
public GetActivationFromAudienceOutput(ActivationSummaryOutput activation = default(ActivationSummaryOutput))
44+
public GetActivationFromAudienceOutput(ActivationOutput activation = default(ActivationOutput))
4545
{
4646
// to ensure "activation" is required (not null)
4747
if (activation == null)
@@ -55,7 +55,7 @@ protected GetActivationFromAudienceOutput() { }
5555
/// Gets or Sets Activation
5656
/// </summary>
5757
[DataMember(Name = "activation", IsRequired = true, EmitDefaultValue = true)]
58-
public ActivationSummaryOutput Activation { get; set; }
58+
public ActivationOutput Activation { get; set; }
5959

6060
/// <summary>
6161
/// Returns the string presentation of the object

src/Segment.PublicApi/Model/ListActivationsAlphaOutput.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected ListActivationsAlphaOutput() { }
4242
/// </summary>
4343
/// <param name="activations">A list of activation results. (required).</param>
4444
/// <param name="pagination">pagination.</param>
45-
public ListActivationsAlphaOutput(List<ActivationSummaryOutput> activations = default(List<ActivationSummaryOutput>), PaginationOutput pagination = default(PaginationOutput))
45+
public ListActivationsAlphaOutput(List<ActivationOutput> activations = default(List<ActivationOutput>), PaginationOutput pagination = default(PaginationOutput))
4646
{
4747
// to ensure "activations" is required (not null)
4848
if (activations == null)
@@ -58,7 +58,7 @@ protected ListActivationsAlphaOutput() { }
5858
/// </summary>
5959
/// <value>A list of activation results.</value>
6060
[DataMember(Name = "activations", IsRequired = true, EmitDefaultValue = true)]
61-
public List<ActivationSummaryOutput> Activations { get; set; }
61+
public List<ActivationOutput> Activations { get; set; }
6262

6363
/// <summary>
6464
/// Gets or Sets Pagination

src/Segment.PublicApi/Model/ListActivationsFromAudienceOutput.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected ListActivationsFromAudienceOutput() { }
4242
/// </summary>
4343
/// <param name="activations">A list of activation results. (required).</param>
4444
/// <param name="pagination">pagination.</param>
45-
public ListActivationsFromAudienceOutput(List<ActivationSummaryOutput> activations = default(List<ActivationSummaryOutput>), PaginationOutput pagination = default(PaginationOutput))
45+
public ListActivationsFromAudienceOutput(List<ActivationOutput> activations = default(List<ActivationOutput>), PaginationOutput pagination = default(PaginationOutput))
4646
{
4747
// to ensure "activations" is required (not null)
4848
if (activations == null)
@@ -58,7 +58,7 @@ protected ListActivationsFromAudienceOutput() { }
5858
/// </summary>
5959
/// <value>A list of activation results.</value>
6060
[DataMember(Name = "activations", IsRequired = true, EmitDefaultValue = true)]
61-
public List<ActivationSummaryOutput> Activations { get; set; }
61+
public List<ActivationOutput> Activations { get; set; }
6262

6363
/// <summary>
6464
/// Gets or Sets Pagination

src/Segment.PublicApi/Model/UpdateActivationForAudienceAlphaInput.cs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@ public partial class UpdateActivationForAudienceAlphaInput : IEquatable<UpdateAc
3939
/// <param name="activationName">Activation name..</param>
4040
/// <param name="personalization">personalization.</param>
4141
/// <param name="destinationMapping">destinationMapping.</param>
42-
/// <param name="performFirstSync">Whether to perform the first sync so the activation events are generated on the first audience sync..</param>
43-
public UpdateActivationForAudienceAlphaInput(bool enabled = default(bool), string activationName = default(string), PersonalizationInput personalization = default(PersonalizationInput), DestinationSubscriptionConfiguration destinationMapping = default(DestinationSubscriptionConfiguration), bool performFirstSync = default(bool))
42+
/// <param name="performResync">Whether to perform a resync after creation of the activation..</param>
43+
public UpdateActivationForAudienceAlphaInput(bool enabled = default(bool), string activationName = default(string), PersonalizationInput personalization = default(PersonalizationInput), DestinationSubscriptionConfiguration destinationMapping = default(DestinationSubscriptionConfiguration), bool performResync = default(bool))
4444
{
4545
this.Enabled = enabled;
4646
this.ActivationName = activationName;
4747
this.Personalization = personalization;
4848
this.DestinationMapping = destinationMapping;
49-
this.PerformFirstSync = performFirstSync;
49+
this.PerformResync = performResync;
5050
}
5151

5252
/// <summary>
@@ -76,11 +76,11 @@ public partial class UpdateActivationForAudienceAlphaInput : IEquatable<UpdateAc
7676
public DestinationSubscriptionConfiguration DestinationMapping { get; set; }
7777

7878
/// <summary>
79-
/// Whether to perform the first sync so the activation events are generated on the first audience sync.
79+
/// Whether to perform a resync after creation of the activation.
8080
/// </summary>
81-
/// <value>Whether to perform the first sync so the activation events are generated on the first audience sync.</value>
82-
[DataMember(Name = "performFirstSync", EmitDefaultValue = true)]
83-
public bool PerformFirstSync { get; set; }
81+
/// <value>Whether to perform a resync after creation of the activation.</value>
82+
[DataMember(Name = "performResync", EmitDefaultValue = true)]
83+
public bool PerformResync { get; set; }
8484

8585
/// <summary>
8686
/// Returns the string presentation of the object
@@ -94,7 +94,7 @@ public override string ToString()
9494
sb.Append(" ActivationName: ").Append(ActivationName).Append("\n");
9595
sb.Append(" Personalization: ").Append(Personalization).Append("\n");
9696
sb.Append(" DestinationMapping: ").Append(DestinationMapping).Append("\n");
97-
sb.Append(" PerformFirstSync: ").Append(PerformFirstSync).Append("\n");
97+
sb.Append(" PerformResync: ").Append(PerformResync).Append("\n");
9898
sb.Append("}\n");
9999
return sb.ToString();
100100
}
@@ -150,8 +150,8 @@ public bool Equals(UpdateActivationForAudienceAlphaInput input)
150150
this.DestinationMapping.Equals(input.DestinationMapping))
151151
) &&
152152
(
153-
this.PerformFirstSync == input.PerformFirstSync ||
154-
this.PerformFirstSync.Equals(input.PerformFirstSync)
153+
this.PerformResync == input.PerformResync ||
154+
this.PerformResync.Equals(input.PerformResync)
155155
);
156156
}
157157

@@ -177,7 +177,7 @@ public override int GetHashCode()
177177
{
178178
hashCode = (hashCode * 59) + this.DestinationMapping.GetHashCode();
179179
}
180-
hashCode = (hashCode * 59) + this.PerformFirstSync.GetHashCode();
180+
hashCode = (hashCode * 59) + this.PerformResync.GetHashCode();
181181
return hashCode;
182182
}
183183
}

0 commit comments

Comments
 (0)