Skip to content

Commit 3b6ca00

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 605485f commit 3b6ca00

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

docs/DeletionAndSuppressionApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public class Example {
244244
245245
Delete Regulation
246246

247-
Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the `Regulation Deleted` event in the [audit trail](/tag/Audit-Trail).
247+
Deletes a regulation from the Workspace. The regulation must be in the initialized state to be deleted. • When called, this endpoint may generate the `Regulation Deleted` event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**: this endpoint has been deprecated according to the guidelines, and may experience reduced SLA guarantees.
248248

249249
### Example
250250

src/main/java/com/segment/publicapi/api/DeletionAndSuppressionApi.java

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,10 @@ public okhttp3.Call createWorkspaceRegulationAsync(
699699
* <tr><td> 422 </td><td> Validation failure </td><td> - </td></tr>
700700
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
701701
* </table>
702+
*
703+
* @deprecated
702704
*/
705+
@Deprecated
703706
public okhttp3.Call deleteRegulationCall(String regulateId, final ApiCallback _callback)
704707
throws ApiException {
705708
String basePath = null;
@@ -763,6 +766,7 @@ public okhttp3.Call deleteRegulationCall(String regulateId, final ApiCallback _c
763766
_callback);
764767
}
765768

769+
@Deprecated
766770
@SuppressWarnings("rawtypes")
767771
private okhttp3.Call deleteRegulationValidateBeforeCall(
768772
String regulateId, final ApiCallback _callback) throws ApiException {
@@ -779,7 +783,9 @@ private okhttp3.Call deleteRegulationValidateBeforeCall(
779783
/**
780784
* Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the
781785
* initialized state to be deleted. • When called, this endpoint may generate the
782-
* &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
786+
* &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**:
787+
* this endpoint has been deprecated according to the guidelines, and may experience reduced SLA
788+
* guarantees.
783789
*
784790
* @param regulateId (required)
785791
* @return DeleteRegulation200Response
@@ -793,7 +799,10 @@ private okhttp3.Call deleteRegulationValidateBeforeCall(
793799
* <tr><td> 422 </td><td> Validation failure </td><td> - </td></tr>
794800
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
795801
* </table>
802+
*
803+
* @deprecated
796804
*/
805+
@Deprecated
797806
public DeleteRegulation200Response deleteRegulation(String regulateId) throws ApiException {
798807
ApiResponse<DeleteRegulation200Response> localVarResp =
799808
deleteRegulationWithHttpInfo(regulateId);
@@ -803,7 +812,9 @@ public DeleteRegulation200Response deleteRegulation(String regulateId) throws Ap
803812
/**
804813
* Delete Regulation Deletes a regulation from the Workspace. The regulation must be in the
805814
* initialized state to be deleted. • When called, this endpoint may generate the
806-
* &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
815+
* &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**:
816+
* this endpoint has been deprecated according to the guidelines, and may experience reduced SLA
817+
* guarantees.
807818
*
808819
* @param regulateId (required)
809820
* @return ApiResponse&lt;DeleteRegulation200Response&gt;
@@ -817,7 +828,10 @@ public DeleteRegulation200Response deleteRegulation(String regulateId) throws Ap
817828
* <tr><td> 422 </td><td> Validation failure </td><td> - </td></tr>
818829
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
819830
* </table>
831+
*
832+
* @deprecated
820833
*/
834+
@Deprecated
821835
public ApiResponse<DeleteRegulation200Response> deleteRegulationWithHttpInfo(String regulateId)
822836
throws ApiException {
823837
okhttp3.Call localVarCall = deleteRegulationValidateBeforeCall(regulateId, null);
@@ -828,7 +842,9 @@ public ApiResponse<DeleteRegulation200Response> deleteRegulationWithHttpInfo(Str
828842
/**
829843
* Delete Regulation (asynchronously) Deletes a regulation from the Workspace. The regulation
830844
* must be in the initialized state to be deleted. • When called, this endpoint may generate the
831-
* &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail).
845+
* &#x60;Regulation Deleted&#x60; event in the [audit trail](/tag/Audit-Trail). **DEPRECATED**:
846+
* this endpoint has been deprecated according to the guidelines, and may experience reduced SLA
847+
* guarantees.
832848
*
833849
* @param regulateId (required)
834850
* @param _callback The callback to be executed when the API call finishes
@@ -843,7 +859,10 @@ public ApiResponse<DeleteRegulation200Response> deleteRegulationWithHttpInfo(Str
843859
* <tr><td> 422 </td><td> Validation failure </td><td> - </td></tr>
844860
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
845861
* </table>
862+
*
863+
* @deprecated
846864
*/
865+
@Deprecated
847866
public okhttp3.Call deleteRegulationAsync(
848867
String regulateId, final ApiCallback<DeleteRegulation200Response> _callback)
849868
throws ApiException {

0 commit comments

Comments
 (0)