Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7674920

Browse files
author
APIs and Common Services team
committedJun 16, 2025·
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@f389aa89.
1 parent f0346d2 commit 7674920

File tree

3 files changed

+14
-38
lines changed

3 files changed

+14
-38
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", "{BF49AE1F-46C0-4111-B254-823B180AFB9A}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{0C723102-F0A0-477D-9A76-C0CD0F4EE67F}"
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-
{BF49AE1F-46C0-4111-B254-823B180AFB9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14-
{BF49AE1F-46C0-4111-B254-823B180AFB9A}.Debug|Any CPU.Build.0 = Debug|Any CPU
15-
{BF49AE1F-46C0-4111-B254-823B180AFB9A}.Release|Any CPU.ActiveCfg = Release|Any CPU
16-
{BF49AE1F-46C0-4111-B254-823B180AFB9A}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{0C723102-F0A0-477D-9A76-C0CD0F4EE67F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{0C723102-F0A0-477D-9A76-C0CD0F4EE67F}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{0C723102-F0A0-477D-9A76-C0CD0F4EE67F}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{0C723102-F0A0-477D-9A76-C0CD0F4EE67F}.Release|Any CPU.Build.0 = Release|Any CPU
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

‎src/Segment.PublicApi/Api/CustomerInsightsApi.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public interface ICustomerInsightsApiSync : IApiAccessor
3131
/// Create Download
3232
/// </summary>
3333
/// <remarks>
34-
/// Create Customer Insights Presigned URLs The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
34+
/// Create Customer Insights Presigned URLsThe rate limit for this endpoint is 30 requests per day per workspaceId, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
3535
/// </remarks>
3636
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
3737
/// <param name="createDownloadAlphaInput"></param>
@@ -43,7 +43,7 @@ public interface ICustomerInsightsApiSync : IApiAccessor
4343
/// Create Download
4444
/// </summary>
4545
/// <remarks>
46-
/// Create Customer Insights Presigned URLs The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
46+
/// Create Customer Insights Presigned URLsThe rate limit for this endpoint is 30 requests per day per workspaceId, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
4747
/// </remarks>
4848
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
4949
/// <param name="createDownloadAlphaInput"></param>
@@ -63,7 +63,7 @@ public interface ICustomerInsightsApiAsync : IApiAccessor
6363
/// Create Download
6464
/// </summary>
6565
/// <remarks>
66-
/// Create Customer Insights Presigned URLs The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
66+
/// Create Customer Insights Presigned URLsThe rate limit for this endpoint is 30 requests per day per workspaceId, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
6767
/// </remarks>
6868
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
6969
/// <param name="createDownloadAlphaInput"></param>
@@ -76,7 +76,7 @@ public interface ICustomerInsightsApiAsync : IApiAccessor
7676
/// Create Download
7777
/// </summary>
7878
/// <remarks>
79-
/// Create Customer Insights Presigned URLs The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
79+
/// Create Customer Insights Presigned URLsThe rate limit for this endpoint is 30 requests per day per workspaceId, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
8080
/// </remarks>
8181
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
8282
/// <param name="createDownloadAlphaInput"></param>
@@ -205,7 +205,7 @@ public Segment.PublicApi.Client.ExceptionFactory ExceptionFactory
205205
}
206206

207207
/// <summary>
208-
/// Create Download Create Customer Insights Presigned URLs The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
208+
/// Create Download Create Customer Insights Presigned URLsThe rate limit for this endpoint is 30 requests per day per workspaceId, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
209209
/// </summary>
210210
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
211211
/// <param name="createDownloadAlphaInput"></param>
@@ -218,7 +218,7 @@ public CreateDownload200Response CreateDownload(CreateDownloadAlphaInput createD
218218
}
219219

220220
/// <summary>
221-
/// Create Download Create Customer Insights Presigned URLs The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
221+
/// Create Download Create Customer Insights Presigned URLsThe rate limit for this endpoint is 30 requests per day per workspaceId, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
222222
/// </summary>
223223
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
224224
/// <param name="createDownloadAlphaInput"></param>
@@ -283,7 +283,7 @@ public Segment.PublicApi.Client.ApiResponse<CreateDownload200Response> CreateDow
283283
}
284284

285285
/// <summary>
286-
/// Create Download Create Customer Insights Presigned URLs The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
286+
/// Create Download Create Customer Insights Presigned URLsThe rate limit for this endpoint is 30 requests per day per workspaceId, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
287287
/// </summary>
288288
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
289289
/// <param name="createDownloadAlphaInput"></param>
@@ -297,7 +297,7 @@ public Segment.PublicApi.Client.ApiResponse<CreateDownload200Response> CreateDow
297297
}
298298

299299
/// <summary>
300-
/// Create Download Create Customer Insights Presigned URLs The rate limit for this endpoint is 1 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
300+
/// Create Download Create Customer Insights Presigned URLsThe rate limit for this endpoint is 30 requests per day per workspaceId, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information.
301301
/// </summary>
302302
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
303303
/// <param name="createDownloadAlphaInput"></param>

‎src/Segment.PublicApi/Model/CreateDownloadAlphaInput.cs

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,15 @@ protected CreateDownloadAlphaInput() { }
4141
/// Initializes a new instance of the <see cref="CreateDownloadAlphaInput" /> class.
4242
/// </summary>
4343
/// <param name="collectionId">The collection&#39;s unique id. (required).</param>
44-
/// <param name="workspaceId">The Workspace id for the collection. (required).</param>
4544
/// <param name="hour">The ISO8601 formatted timestamp corresponding to a specific hour and day to retrieve data for. E.g.: 2025-05-07T23:00:00Z Objects are bucketed by hour and a month of data is retained. (required).</param>
46-
public CreateDownloadAlphaInput(string collectionId = default(string), string workspaceId = default(string), string hour = default(string))
45+
public CreateDownloadAlphaInput(string collectionId = default(string), string hour = default(string))
4746
{
4847
// to ensure "collectionId" is required (not null)
4948
if (collectionId == null)
5049
{
5150
throw new ArgumentNullException("collectionId is a required property for CreateDownloadAlphaInput and cannot be null");
5251
}
5352
this.CollectionId = collectionId;
54-
// to ensure "workspaceId" is required (not null)
55-
if (workspaceId == null)
56-
{
57-
throw new ArgumentNullException("workspaceId is a required property for CreateDownloadAlphaInput and cannot be null");
58-
}
59-
this.WorkspaceId = workspaceId;
6053
// to ensure "hour" is required (not null)
6154
if (hour == null)
6255
{
@@ -72,13 +65,6 @@ protected CreateDownloadAlphaInput() { }
7265
[DataMember(Name = "collectionId", IsRequired = true, EmitDefaultValue = true)]
7366
public string CollectionId { get; set; }
7467

75-
/// <summary>
76-
/// The Workspace id for the collection.
77-
/// </summary>
78-
/// <value>The Workspace id for the collection.</value>
79-
[DataMember(Name = "workspaceId", IsRequired = true, EmitDefaultValue = true)]
80-
public string WorkspaceId { get; set; }
81-
8268
/// <summary>
8369
/// The ISO8601 formatted timestamp corresponding to a specific hour and day to retrieve data for. E.g.: 2025-05-07T23:00:00Z Objects are bucketed by hour and a month of data is retained.
8470
/// </summary>
@@ -95,7 +81,6 @@ public override string ToString()
9581
StringBuilder sb = new StringBuilder();
9682
sb.Append("class CreateDownloadAlphaInput {\n");
9783
sb.Append(" CollectionId: ").Append(CollectionId).Append("\n");
98-
sb.Append(" WorkspaceId: ").Append(WorkspaceId).Append("\n");
9984
sb.Append(" Hour: ").Append(Hour).Append("\n");
10085
sb.Append("}\n");
10186
return sb.ToString();
@@ -137,11 +122,6 @@ public bool Equals(CreateDownloadAlphaInput input)
137122
(this.CollectionId != null &&
138123
this.CollectionId.Equals(input.CollectionId))
139124
) &&
140-
(
141-
this.WorkspaceId == input.WorkspaceId ||
142-
(this.WorkspaceId != null &&
143-
this.WorkspaceId.Equals(input.WorkspaceId))
144-
) &&
145125
(
146126
this.Hour == input.Hour ||
147127
(this.Hour != null &&
@@ -162,10 +142,6 @@ public override int GetHashCode()
162142
{
163143
hashCode = (hashCode * 59) + this.CollectionId.GetHashCode();
164144
}
165-
if (this.WorkspaceId != null)
166-
{
167-
hashCode = (hashCode * 59) + this.WorkspaceId.GetHashCode();
168-
}
169145
if (this.Hour != null)
170146
{
171147
hashCode = (hashCode * 59) + this.Hour.GetHashCode();

0 commit comments

Comments
 (0)
Please sign in to comment.