Skip to content

Commit 81bcaab

Browse files
author
APIs and Common Services team
committed
Automated SDK update
This updates the SDK from internal repo commit segmentio/public-api@1f118b52.
1 parent 41e49d3 commit 81bcaab

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
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", "{74CD5E05-1D52-4EBE-80C0-0CF0F688E32C}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Segment.PublicApi", "src\Segment.PublicApi\Segment.PublicApi.csproj", "{4CA1C2DE-9642-452F-A517-1255F65B8903}"
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-
{74CD5E05-1D52-4EBE-80C0-0CF0F688E32C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14-
{74CD5E05-1D52-4EBE-80C0-0CF0F688E32C}.Debug|Any CPU.Build.0 = Debug|Any CPU
15-
{74CD5E05-1D52-4EBE-80C0-0CF0F688E32C}.Release|Any CPU.ActiveCfg = Release|Any CPU
16-
{74CD5E05-1D52-4EBE-80C0-0CF0F688E32C}.Release|Any CPU.Build.0 = Release|Any CPU
13+
{4CA1C2DE-9642-452F-A517-1255F65B8903}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
14+
{4CA1C2DE-9642-452F-A517-1255F65B8903}.Debug|Any CPU.Build.0 = Debug|Any CPU
15+
{4CA1C2DE-9642-452F-A517-1255F65B8903}.Release|Any CPU.ActiveCfg = Release|Any CPU
16+
{4CA1C2DE-9642-452F-A517-1255F65B8903}.Release|Any CPU.Build.0 = Release|Any CPU
1717
EndGlobalSection
1818
GlobalSection(SolutionProperties) = preSolution
1919
HideSolutionNode = FALSE

src/Segment.PublicApi/Api/DeletionAndSuppressionApi.cs

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,24 +104,26 @@ public interface IDeletionAndSuppressionApiSync : IApiAccessor
104104
/// Delete Regulation
105105
/// </summary>
106106
/// <remarks>
107-
/// Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
107+
/// Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
108108
/// </remarks>
109109
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
110110
/// <param name="regulateId"></param>
111111
/// <param name="operationIndex">Index associated with the operation.</param>
112112
/// <returns>DeleteRegulation200Response</returns>
113+
[Obsolete]
113114
DeleteRegulation200Response DeleteRegulation(string regulateId, int operationIndex = 0);
114115

115116
/// <summary>
116117
/// Delete Regulation
117118
/// </summary>
118119
/// <remarks>
119-
/// Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
120+
/// Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
120121
/// </remarks>
121122
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
122123
/// <param name="regulateId"></param>
123124
/// <param name="operationIndex">Index associated with the operation.</param>
124125
/// <returns>ApiResponse of DeleteRegulation200Response</returns>
126+
[Obsolete]
125127
ApiResponse<DeleteRegulation200Response> DeleteRegulationWithHttpInfo(string regulateId, int operationIndex = 0);
126128
/// <summary>
127129
/// Get Regulation
@@ -317,26 +319,28 @@ public interface IDeletionAndSuppressionApiAsync : IApiAccessor
317319
/// Delete Regulation
318320
/// </summary>
319321
/// <remarks>
320-
/// Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
322+
/// Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
321323
/// </remarks>
322324
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
323325
/// <param name="regulateId"></param>
324326
/// <param name="operationIndex">Index associated with the operation.</param>
325327
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
326328
/// <returns>Task of DeleteRegulation200Response</returns>
329+
[Obsolete]
327330
System.Threading.Tasks.Task<DeleteRegulation200Response> DeleteRegulationAsync(string regulateId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
328331

329332
/// <summary>
330333
/// Delete Regulation
331334
/// </summary>
332335
/// <remarks>
333-
/// Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
336+
/// Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
334337
/// </remarks>
335338
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
336339
/// <param name="regulateId"></param>
337340
/// <param name="operationIndex">Index associated with the operation.</param>
338341
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
339342
/// <returns>Task of ApiResponse (DeleteRegulation200Response)</returns>
343+
[Obsolete]
340344
System.Threading.Tasks.Task<ApiResponse<DeleteRegulation200Response>> DeleteRegulationWithHttpInfoAsync(string regulateId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
341345
/// <summary>
342346
/// Get Regulation
@@ -1115,25 +1119,27 @@ public Segment.PublicApi.Client.ApiResponse<CreateWorkspaceRegulation200Response
11151119
}
11161120

11171121
/// <summary>
1118-
/// Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
1122+
/// Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
11191123
/// </summary>
11201124
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
11211125
/// <param name="regulateId"></param>
11221126
/// <param name="operationIndex">Index associated with the operation.</param>
11231127
/// <returns>DeleteRegulation200Response</returns>
1128+
[Obsolete]
11241129
public DeleteRegulation200Response DeleteRegulation(string regulateId, int operationIndex = 0)
11251130
{
11261131
Segment.PublicApi.Client.ApiResponse<DeleteRegulation200Response> localVarResponse = DeleteRegulationWithHttpInfo(regulateId);
11271132
return localVarResponse.Data;
11281133
}
11291134

11301135
/// <summary>
1131-
/// Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
1136+
/// Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
11321137
/// </summary>
11331138
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
11341139
/// <param name="regulateId"></param>
11351140
/// <param name="operationIndex">Index associated with the operation.</param>
11361141
/// <returns>ApiResponse of DeleteRegulation200Response</returns>
1142+
[Obsolete]
11371143
public Segment.PublicApi.Client.ApiResponse<DeleteRegulation200Response> DeleteRegulationWithHttpInfo(string regulateId, int operationIndex = 0)
11381144
{
11391145
// verify the required parameter 'regulateId' is set
@@ -1194,27 +1200,29 @@ public Segment.PublicApi.Client.ApiResponse<DeleteRegulation200Response> DeleteR
11941200
}
11951201

11961202
/// <summary>
1197-
/// Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
1203+
/// Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
11981204
/// </summary>
11991205
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
12001206
/// <param name="regulateId"></param>
12011207
/// <param name="operationIndex">Index associated with the operation.</param>
12021208
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
12031209
/// <returns>Task of DeleteRegulation200Response</returns>
1210+
[Obsolete]
12041211
public async System.Threading.Tasks.Task<DeleteRegulation200Response> DeleteRegulationAsync(string regulateId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
12051212
{
12061213
Segment.PublicApi.Client.ApiResponse<DeleteRegulation200Response> localVarResponse = await DeleteRegulationWithHttpInfoAsync(regulateId, operationIndex, cancellationToken).ConfigureAwait(false);
12071214
return localVarResponse.Data;
12081215
}
12091216

12101217
/// <summary>
1211-
/// Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
1218+
/// Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
12121219
/// </summary>
12131220
/// <exception cref="Segment.PublicApi.Client.ApiException">Thrown when fails to make API call</exception>
12141221
/// <param name="regulateId"></param>
12151222
/// <param name="operationIndex">Index associated with the operation.</param>
12161223
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
12171224
/// <returns>Task of ApiResponse (DeleteRegulation200Response)</returns>
1225+
[Obsolete]
12181226
public async System.Threading.Tasks.Task<Segment.PublicApi.Client.ApiResponse<DeleteRegulation200Response>> DeleteRegulationWithHttpInfoAsync(string regulateId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
12191227
{
12201228
// verify the required parameter 'regulateId' is set

0 commit comments

Comments
 (0)