@@ -31,6 +31,13 @@ public Destinations(HTTPClient defaultClient, HTTPClient securityClient, String
3131 this ._genVersion = genVersion ;
3232 }
3333
34+ /**
35+ * Create a destination
36+ * Creates a destination given a name, workspace id, and a json blob containing the configuration for the source.
37+ * @param request the request object containing all of the parameters for the API call
38+ * @return the response from the API call
39+ * @throws Exception if the API call fails
40+ */
3441 public com .airbyte .api .models .operations .CreateDestinationResponse createDestination (com .airbyte .api .models .shared .DestinationCreateRequest request ) throws Exception {
3542 String baseUrl = this ._serverUrl ;
3643 String url = com .airbyte .api .utils .Utils .generateURL (baseUrl , "/destinations" );
@@ -67,6 +74,12 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403 || httpRes.s
6774 return res ;
6875 }
6976
77+ /**
78+ * Delete a Destination
79+ * @param request the request object containing all of the parameters for the API call
80+ * @return the response from the API call
81+ * @throws Exception if the API call fails
82+ */
7083 public com .airbyte .api .models .operations .DeleteDestinationResponse deleteDestination (com .airbyte .api .models .operations .DeleteDestinationRequest request ) throws Exception {
7184 String baseUrl = this ._serverUrl ;
7285 String url = com .airbyte .api .utils .Utils .generateURL (com .airbyte .api .models .operations .DeleteDestinationRequest .class , baseUrl , "/destinations/{destinationId}" , request , null );
@@ -93,6 +106,12 @@ public com.airbyte.api.models.operations.DeleteDestinationResponse deleteDestina
93106 return res ;
94107 }
95108
109+ /**
110+ * Get Destination details
111+ * @param request the request object containing all of the parameters for the API call
112+ * @return the response from the API call
113+ * @throws Exception if the API call fails
114+ */
96115 public com .airbyte .api .models .operations .GetDestinationResponse getDestination (com .airbyte .api .models .operations .GetDestinationRequest request ) throws Exception {
97116 String baseUrl = this ._serverUrl ;
98117 String url = com .airbyte .api .utils .Utils .generateURL (com .airbyte .api .models .operations .GetDestinationRequest .class , baseUrl , "/destinations/{destinationId}" , request , null );
@@ -127,6 +146,12 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
127146 return res ;
128147 }
129148
149+ /**
150+ * List destinations
151+ * @param request the request object containing all of the parameters for the API call
152+ * @return the response from the API call
153+ * @throws Exception if the API call fails
154+ */
130155 public com .airbyte .api .models .operations .ListDestinationsResponse listDestinations (com .airbyte .api .models .operations .ListDestinationsRequest request ) throws Exception {
131156 String baseUrl = this ._serverUrl ;
132157 String url = com .airbyte .api .utils .Utils .generateURL (baseUrl , "/destinations" );
0 commit comments