@@ -31,13 +31,6 @@ public Sources(HTTPClient defaultClient, HTTPClient securityClient, String serve
3131 this ._genVersion = genVersion ;
3232 }
3333
34- /**
35- * Create a source
36- * Creates a source 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- */
4134 public com .airbyte .api .models .operations .CreateSourceResponse createSource (com .airbyte .api .models .shared .SourceCreateRequest request ) throws Exception {
4235 String baseUrl = this ._serverUrl ;
4336 String url = com .airbyte .api .utils .Utils .generateURL (baseUrl , "/sources" );
@@ -74,12 +67,6 @@ else if (httpRes.statusCode() == 400 || httpRes.statusCode() == 403) {
7467 return res ;
7568 }
7669
77- /**
78- * Delete a Source
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- */
8370 public com .airbyte .api .models .operations .DeleteSourceResponse deleteSource (com .airbyte .api .models .operations .DeleteSourceRequest request ) throws Exception {
8471 String baseUrl = this ._serverUrl ;
8572 String url = com .airbyte .api .utils .Utils .generateURL (com .airbyte .api .models .operations .DeleteSourceRequest .class , baseUrl , "/sources/{sourceId}" , request , null );
@@ -106,12 +93,6 @@ public com.airbyte.api.models.operations.DeleteSourceResponse deleteSource(com.a
10693 return res ;
10794 }
10895
109- /**
110- * Get Source 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- */
11596 public com .airbyte .api .models .operations .GetSourceResponse getSource (com .airbyte .api .models .operations .GetSourceRequest request ) throws Exception {
11697 String baseUrl = this ._serverUrl ;
11798 String url = com .airbyte .api .utils .Utils .generateURL (com .airbyte .api .models .operations .GetSourceRequest .class , baseUrl , "/sources/{sourceId}" , request , null );
@@ -146,17 +127,6 @@ else if (httpRes.statusCode() == 403 || httpRes.statusCode() == 404) {
146127 return res ;
147128 }
148129
149- /**
150- * Initiate OAuth for a source
151- * Given a source ID, workspace ID, and redirect URL, initiates OAuth for the source.
152- *
153- * This returns a fully formed URL for performing user authentication against the relevant source identity provider (IdP). Once authentication has been completed, the IdP will redirect to an Airbyte endpoint which will save the access and refresh tokens off as a secret and return the secret ID to the redirect URL specified in the `secret_id` query string parameter.
154- *
155- * That secret ID can be used to create a source with credentials in place of actual tokens.
156- * @param request the request object containing all of the parameters for the API call
157- * @return the response from the API call
158- * @throws Exception if the API call fails
159- */
160130 public com .airbyte .api .models .operations .InitiateOAuthResponse initiateOAuth (com .airbyte .api .models .shared .InitiateOauthRequest request ) throws Exception {
161131 String baseUrl = this ._serverUrl ;
162132 String url = com .airbyte .api .utils .Utils .generateURL (baseUrl , "/sources/initiateOAuth" );
@@ -188,12 +158,6 @@ public com.airbyte.api.models.operations.InitiateOAuthResponse initiateOAuth(com
188158 return res ;
189159 }
190160
191- /**
192- * List sources
193- * @param request the request object containing all of the parameters for the API call
194- * @return the response from the API call
195- * @throws Exception if the API call fails
196- */
197161 public com .airbyte .api .models .operations .ListSourcesResponse listSources (com .airbyte .api .models .operations .ListSourcesRequest request ) throws Exception {
198162 String baseUrl = this ._serverUrl ;
199163 String url = com .airbyte .api .utils .Utils .generateURL (baseUrl , "/sources" );
0 commit comments