Skip to content

Commit c61407d

Browse files
author
Azure DevOps
committed
Auto generated by swagger-codegen-cli
1 parent 1059c2d commit c61407d

861 files changed

Lines changed: 1054 additions & 858 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Flipdish Open API v1.0
44
- API version: v1.0
5-
- Build date: 2026-06-17T09:33:26.595Z
5+
- Build date: 2026-06-22T13:22:01.499Z
66

77
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
88

@@ -617,6 +617,7 @@ Class | Method | HTTP request | Description
617617
*TeammatesApi* | [**getTeammatesByAppId**](docs/TeammatesApi.md#getTeammatesByAppId) | **GET** /api/v1.0/{appId}/teammates |
618618
*TeammatesApi* | [**grantaccess**](docs/TeammatesApi.md#grantaccess) | **POST** /api/v1.0/{appId}/teammates/grantaccess |
619619
*TeammatesApi* | [**redeemInvitation**](docs/TeammatesApi.md#redeemInvitation) | **GET** /api/v1.0/{appId}/teammates/redeem/{otc} |
620+
*TeammatesApi* | [**teammateMobileRedirect**](docs/TeammatesApi.md#teammateMobileRedirect) | **GET** /api/v1.0/teammates/mobile-redirect |
620621
*TeammatesApi* | [**teammatesAcceptInvitation**](docs/TeammatesApi.md#teammatesAcceptInvitation) | **GET** /api/v1.0/{appId}/teammates/accept/{otc} |
621622
*TeammatesApi* | [**teammatesAcceptInvitations**](docs/TeammatesApi.md#teammatesAcceptInvitations) | **POST** /api/v1.0/teammates/acceptInvitations |
622623
*TeammatesApi* | [**teammatesPendingInvitations**](docs/TeammatesApi.md#teammatesPendingInvitations) | **GET** /api/v1.0/teammates/pending-invitations |

docs/TeammatesApi.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Method | HTTP request | Description
1010
[**getTeammatesByAppId**](TeammatesApi.md#getTeammatesByAppId) | **GET** /api/v1.0/{appId}/teammates |
1111
[**grantaccess**](TeammatesApi.md#grantaccess) | **POST** /api/v1.0/{appId}/teammates/grantaccess |
1212
[**redeemInvitation**](TeammatesApi.md#redeemInvitation) | **GET** /api/v1.0/{appId}/teammates/redeem/{otc} |
13+
[**teammateMobileRedirect**](TeammatesApi.md#teammateMobileRedirect) | **GET** /api/v1.0/teammates/mobile-redirect |
1314
[**teammatesAcceptInvitation**](TeammatesApi.md#teammatesAcceptInvitation) | **GET** /api/v1.0/{appId}/teammates/accept/{otc} |
1415
[**teammatesAcceptInvitations**](TeammatesApi.md#teammatesAcceptInvitations) | **POST** /api/v1.0/teammates/acceptInvitations |
1516
[**teammatesPendingInvitations**](TeammatesApi.md#teammatesPendingInvitations) | **GET** /api/v1.0/teammates/pending-invitations |
@@ -326,6 +327,57 @@ Name | Type | Description | Notes
326327

327328
[oauth2](../README.md#oauth2)
328329

330+
### HTTP request headers
331+
332+
- **Content-Type**: Not defined
333+
- **Accept**: application/json, text/json, application/xml, text/xml
334+
335+
<a name="teammateMobileRedirect"></a>
336+
# **teammateMobileRedirect**
337+
> Object teammateMobileRedirect(portalUrl)
338+
339+
340+
341+
### Example
342+
```java
343+
// Import classes:
344+
//import com.flipdish.apiclient.ApiClient;
345+
//import com.flipdish.apiclient.ApiException;
346+
//import com.flipdish.apiclient.Configuration;
347+
//import com.flipdish.apiclient.auth.*;
348+
//import com.flipdish.apiclient.api.TeammatesApi;
349+
350+
ApiClient defaultClient = Configuration.getDefaultApiClient();
351+
352+
// Configure OAuth2 access token for authorization: oauth2
353+
OAuth oauth2 = (OAuth) defaultClient.getAuthentication("oauth2");
354+
oauth2.setAccessToken("YOUR ACCESS TOKEN");
355+
356+
TeammatesApi apiInstance = new TeammatesApi();
357+
String portalUrl = "portalUrl_example"; // String |
358+
try {
359+
Object result = apiInstance.teammateMobileRedirect(portalUrl);
360+
System.out.println(result);
361+
} catch (ApiException e) {
362+
System.err.println("Exception when calling TeammatesApi#teammateMobileRedirect");
363+
e.printStackTrace();
364+
}
365+
```
366+
367+
### Parameters
368+
369+
Name | Type | Description | Notes
370+
------------- | ------------- | ------------- | -------------
371+
**portalUrl** | **String**| |
372+
373+
### Return type
374+
375+
**Object**
376+
377+
### Authorization
378+
379+
[oauth2](../README.md#oauth2)
380+
329381
### HTTP request headers
330382

331383
- **Content-Type**: Not defined

src/main/java/com/flipdish/apiclient/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.List;
1818

19-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-17T09:33:26.595Z")
19+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-22T13:22:01.499Z")
2020
public class ApiException extends Exception {
2121
private int code = 0;
2222
private Map<String, List<String>> responseHeaders = null;

src/main/java/com/flipdish/apiclient/Configuration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package com.flipdish.apiclient;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-17T09:33:26.595Z")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-22T13:22:01.499Z")
1717
public class Configuration {
1818
private static ApiClient defaultApiClient = new ApiClient();
1919

src/main/java/com/flipdish/apiclient/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package com.flipdish.apiclient;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-17T09:33:26.595Z")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-22T13:22:01.499Z")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

src/main/java/com/flipdish/apiclient/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package com.flipdish.apiclient;
1515

16-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-17T09:33:26.595Z")
16+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-22T13:22:01.499Z")
1717
public class StringUtil {
1818
/**
1919
* Check if the given array contains the given value (with case-insensitive comparison).

src/main/java/com/flipdish/apiclient/api/TeammatesApi.java

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,133 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
869869
apiClient.executeAsync(call, localVarReturnType, callback);
870870
return call;
871871
}
872+
/**
873+
* Build call for teammateMobileRedirect
874+
* @param portalUrl (required)
875+
* @param progressListener Progress listener
876+
* @param progressRequestListener Progress request listener
877+
* @return Call to execute
878+
* @throws ApiException If fail to serialize the request body object
879+
*/
880+
public com.squareup.okhttp.Call teammateMobileRedirectCall(String portalUrl, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
881+
Object localVarPostBody = null;
882+
883+
// create path and map variables
884+
String localVarPath = "/api/v1.0/teammates/mobile-redirect";
885+
886+
List<Pair> localVarQueryParams = new ArrayList<Pair>();
887+
List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
888+
if (portalUrl != null)
889+
localVarQueryParams.addAll(apiClient.parameterToPair("portalUrl", portalUrl));
890+
891+
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
892+
893+
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
894+
895+
final String[] localVarAccepts = {
896+
"application/json", "text/json", "application/xml", "text/xml"
897+
};
898+
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
899+
if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
900+
901+
final String[] localVarContentTypes = {
902+
903+
};
904+
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
905+
localVarHeaderParams.put("Content-Type", localVarContentType);
906+
907+
if(progressListener != null) {
908+
apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
909+
@Override
910+
public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
911+
com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
912+
return originalResponse.newBuilder()
913+
.body(new ProgressResponseBody(originalResponse.body(), progressListener))
914+
.build();
915+
}
916+
});
917+
}
918+
919+
String[] localVarAuthNames = new String[] { "oauth2" };
920+
if (headers != null) {
921+
localVarHeaderParams.putAll(headers);
922+
}
923+
return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
924+
}
925+
926+
@SuppressWarnings("rawtypes")
927+
private com.squareup.okhttp.Call teammateMobileRedirectValidateBeforeCall(String portalUrl, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
928+
929+
// verify the required parameter 'portalUrl' is set
930+
if (portalUrl == null) {
931+
throw new ApiException("Missing the required parameter 'portalUrl' when calling teammateMobileRedirect(Async)");
932+
}
933+
934+
935+
com.squareup.okhttp.Call call = teammateMobileRedirectCall(portalUrl, progressListener, progressRequestListener);
936+
return call;
937+
938+
}
939+
940+
/**
941+
*
942+
*
943+
* @param portalUrl (required)
944+
* @return Object
945+
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
946+
*/
947+
public Object teammateMobileRedirect(String portalUrl) throws ApiException {
948+
ApiResponse<Object> resp = teammateMobileRedirectWithHttpInfo(portalUrl);
949+
return resp.getData();
950+
}
951+
952+
/**
953+
*
954+
*
955+
* @param portalUrl (required)
956+
* @return ApiResponse&lt;Object&gt;
957+
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
958+
*/
959+
public ApiResponse<Object> teammateMobileRedirectWithHttpInfo(String portalUrl) throws ApiException {
960+
com.squareup.okhttp.Call call = teammateMobileRedirectValidateBeforeCall(portalUrl, null, null);
961+
Type localVarReturnType = new TypeToken<Object>(){}.getType();
962+
return apiClient.execute(call, localVarReturnType);
963+
}
964+
965+
/**
966+
* (asynchronously)
967+
*
968+
* @param portalUrl (required)
969+
* @param callback The callback to be executed when the API call finishes
970+
* @return The request call
971+
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
972+
*/
973+
public com.squareup.okhttp.Call teammateMobileRedirectAsync(String portalUrl, final ApiCallback<Object> callback) throws ApiException {
974+
975+
ProgressResponseBody.ProgressListener progressListener = null;
976+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
977+
978+
if (callback != null) {
979+
progressListener = new ProgressResponseBody.ProgressListener() {
980+
@Override
981+
public void update(long bytesRead, long contentLength, boolean done) {
982+
callback.onDownloadProgress(bytesRead, contentLength, done);
983+
}
984+
};
985+
986+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
987+
@Override
988+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
989+
callback.onUploadProgress(bytesWritten, contentLength, done);
990+
}
991+
};
992+
}
993+
994+
com.squareup.okhttp.Call call = teammateMobileRedirectValidateBeforeCall(portalUrl, progressListener, progressRequestListener);
995+
Type localVarReturnType = new TypeToken<Object>(){}.getType();
996+
apiClient.executeAsync(call, localVarReturnType, callback);
997+
return call;
998+
}
872999
/**
8731000
* Build call for teammatesAcceptInvitation
8741001
* @param otc (required)

src/main/java/com/flipdish/apiclient/auth/ApiKeyAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.Map;
1919
import java.util.List;
2020

21-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-17T09:33:26.595Z")
21+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-22T13:22:01.499Z")
2222
public class ApiKeyAuth implements Authentication {
2323
private final String location;
2424
private final String paramName;

src/main/java/com/flipdish/apiclient/auth/OAuth.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import java.util.Map;
1919
import java.util.List;
2020

21-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-17T09:33:26.595Z")
21+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-22T13:22:01.499Z")
2222
public class OAuth implements Authentication {
2323
private String accessToken;
2424

src/main/java/com/flipdish/apiclient/model/Accept.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* Accept
2929
*/
3030
@ApiModel(description = "Accept")
31-
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-17T09:33:26.595Z")
31+
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2026-06-22T13:22:01.499Z")
3232
public class Accept {
3333
@SerializedName("EstimatedMinutesForDelivery")
3434
private Integer estimatedMinutesForDelivery = null;

0 commit comments

Comments
 (0)