Fix UserList
This commit is contained in:
parent
0c4e130c5d
commit
1bdd4f017d
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
#Fri Aug 24 16:07:07 BST 2018
|
||||
#Fri Aug 24 18:26:55 BST 2018
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||
org.eclipse.jdt.core.compiler.source=1.7
|
||||
|
|
|
|||
|
|
@ -1383,7 +1383,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="orgListMembers"></a>
|
||||
# **orgListMembers**
|
||||
> List<User> orgListMembers(org)
|
||||
> UserList orgListMembers(org)
|
||||
|
||||
List an organization's members
|
||||
|
||||
|
|
@ -1424,7 +1424,7 @@ Token.setApiKey("YOUR API KEY");
|
|||
OrganizationApi apiInstance = new OrganizationApi();
|
||||
String org = "org_example"; // String | name of the organization
|
||||
try {
|
||||
List<User> result = apiInstance.orgListMembers(org);
|
||||
UserList result = apiInstance.orgListMembers(org);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling OrganizationApi#orgListMembers");
|
||||
|
|
@ -1440,7 +1440,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
@ -1453,7 +1453,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="orgListPublicMembers"></a>
|
||||
# **orgListPublicMembers**
|
||||
> List<User> orgListPublicMembers(org)
|
||||
> UserList orgListPublicMembers(org)
|
||||
|
||||
List an organization's public members
|
||||
|
||||
|
|
@ -1494,7 +1494,7 @@ Token.setApiKey("YOUR API KEY");
|
|||
OrganizationApi apiInstance = new OrganizationApi();
|
||||
String org = "org_example"; // String | name of the organization
|
||||
try {
|
||||
List<User> result = apiInstance.orgListPublicMembers(org);
|
||||
UserList result = apiInstance.orgListPublicMembers(org);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling OrganizationApi#orgListPublicMembers");
|
||||
|
|
@ -1510,7 +1510,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
@ -1593,7 +1593,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="orgListTeamMembers"></a>
|
||||
# **orgListTeamMembers**
|
||||
> List<User> orgListTeamMembers(id)
|
||||
> UserList orgListTeamMembers(id)
|
||||
|
||||
List a team's members
|
||||
|
||||
|
|
@ -1634,7 +1634,7 @@ Token.setApiKey("YOUR API KEY");
|
|||
OrganizationApi apiInstance = new OrganizationApi();
|
||||
Integer id = 56; // Integer | id of the team
|
||||
try {
|
||||
List<User> result = apiInstance.orgListTeamMembers(id);
|
||||
UserList result = apiInstance.orgListTeamMembers(id);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling OrganizationApi#orgListTeamMembers");
|
||||
|
|
@ -1650,7 +1650,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
|
|||
|
|
@ -2573,7 +2573,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="repoListCollaborators"></a>
|
||||
# **repoListCollaborators**
|
||||
> List<User> repoListCollaborators(owner, repo)
|
||||
> UserList repoListCollaborators(owner, repo)
|
||||
|
||||
List a repository's collaborators
|
||||
|
||||
|
|
@ -2615,7 +2615,7 @@ RepositoryApi apiInstance = new RepositoryApi();
|
|||
String owner = "owner_example"; // String | owner of the repo
|
||||
String repo = "repo_example"; // String | name of the repo
|
||||
try {
|
||||
List<User> result = apiInstance.repoListCollaborators(owner, repo);
|
||||
UserList result = apiInstance.repoListCollaborators(owner, repo);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling RepositoryApi#repoListCollaborators");
|
||||
|
|
@ -2632,7 +2632,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
@ -3007,7 +3007,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="repoListStargazers"></a>
|
||||
# **repoListStargazers**
|
||||
> List<User> repoListStargazers(owner, repo)
|
||||
> UserList repoListStargazers(owner, repo)
|
||||
|
||||
List a repo's stargazers
|
||||
|
||||
|
|
@ -3049,7 +3049,7 @@ RepositoryApi apiInstance = new RepositoryApi();
|
|||
String owner = "owner_example"; // String | owner of the repo
|
||||
String repo = "repo_example"; // String | name of the repo
|
||||
try {
|
||||
List<User> result = apiInstance.repoListStargazers(owner, repo);
|
||||
UserList result = apiInstance.repoListStargazers(owner, repo);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling RepositoryApi#repoListStargazers");
|
||||
|
|
@ -3066,7 +3066,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
@ -3153,7 +3153,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="repoListSubscribers"></a>
|
||||
# **repoListSubscribers**
|
||||
> List<User> repoListSubscribers(owner, repo)
|
||||
> UserList repoListSubscribers(owner, repo)
|
||||
|
||||
List a repo's watchers
|
||||
|
||||
|
|
@ -3195,7 +3195,7 @@ RepositoryApi apiInstance = new RepositoryApi();
|
|||
String owner = "owner_example"; // String | owner of the repo
|
||||
String repo = "repo_example"; // String | name of the repo
|
||||
try {
|
||||
List<User> result = apiInstance.repoListSubscribers(owner, repo);
|
||||
UserList result = apiInstance.repoListSubscribers(owner, repo);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling RepositoryApi#repoListSubscribers");
|
||||
|
|
@ -3212,7 +3212,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
|
|||
|
|
@ -885,7 +885,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="userCurrentListFollowers"></a>
|
||||
# **userCurrentListFollowers**
|
||||
> List<User> userCurrentListFollowers()
|
||||
> UserList userCurrentListFollowers()
|
||||
|
||||
List the authenticated user's followers
|
||||
|
||||
|
|
@ -925,7 +925,7 @@ Token.setApiKey("YOUR API KEY");
|
|||
|
||||
UserApi apiInstance = new UserApi();
|
||||
try {
|
||||
List<User> result = apiInstance.userCurrentListFollowers();
|
||||
UserList result = apiInstance.userCurrentListFollowers();
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling UserApi#userCurrentListFollowers");
|
||||
|
|
@ -938,7 +938,7 @@ This endpoint does not need any parameter.
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
@ -951,7 +951,7 @@ This endpoint does not need any parameter.
|
|||
|
||||
<a name="userCurrentListFollowing"></a>
|
||||
# **userCurrentListFollowing**
|
||||
> List<User> userCurrentListFollowing()
|
||||
> UserList userCurrentListFollowing()
|
||||
|
||||
List the users that the authenticated user is following
|
||||
|
||||
|
|
@ -991,7 +991,7 @@ Token.setApiKey("YOUR API KEY");
|
|||
|
||||
UserApi apiInstance = new UserApi();
|
||||
try {
|
||||
List<User> result = apiInstance.userCurrentListFollowing();
|
||||
UserList result = apiInstance.userCurrentListFollowing();
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling UserApi#userCurrentListFollowing");
|
||||
|
|
@ -1004,7 +1004,7 @@ This endpoint does not need any parameter.
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
@ -2104,7 +2104,7 @@ This endpoint does not need any parameter.
|
|||
|
||||
<a name="userListFollowers"></a>
|
||||
# **userListFollowers**
|
||||
> List<User> userListFollowers(username)
|
||||
> UserList userListFollowers(username)
|
||||
|
||||
List the given user's followers
|
||||
|
||||
|
|
@ -2145,7 +2145,7 @@ Token.setApiKey("YOUR API KEY");
|
|||
UserApi apiInstance = new UserApi();
|
||||
String username = "username_example"; // String | username of user
|
||||
try {
|
||||
List<User> result = apiInstance.userListFollowers(username);
|
||||
UserList result = apiInstance.userListFollowers(username);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling UserApi#userListFollowers");
|
||||
|
|
@ -2161,7 +2161,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
@ -2174,7 +2174,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="userListFollowing"></a>
|
||||
# **userListFollowing**
|
||||
> List<User> userListFollowing(username)
|
||||
> UserList userListFollowing(username)
|
||||
|
||||
List the users that the given user is following
|
||||
|
||||
|
|
@ -2215,7 +2215,7 @@ Token.setApiKey("YOUR API KEY");
|
|||
UserApi apiInstance = new UserApi();
|
||||
String username = "username_example"; // String | username of user
|
||||
try {
|
||||
List<User> result = apiInstance.userListFollowing(username);
|
||||
UserList result = apiInstance.userListFollowing(username);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling UserApi#userListFollowing");
|
||||
|
|
@ -2231,7 +2231,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
@ -2594,7 +2594,7 @@ Name | Type | Description | Notes
|
|||
|
||||
<a name="userSearch"></a>
|
||||
# **userSearch**
|
||||
> List<User> userSearch(q, limit)
|
||||
> UserList userSearch(q, limit)
|
||||
|
||||
Search for users
|
||||
|
||||
|
|
@ -2636,7 +2636,7 @@ UserApi apiInstance = new UserApi();
|
|||
String q = "q_example"; // String | keyword
|
||||
Integer limit = 56; // Integer | maximum number of users to return
|
||||
try {
|
||||
List<User> result = apiInstance.userSearch(q, limit);
|
||||
UserList result = apiInstance.userSearch(q, limit);
|
||||
System.out.println(result);
|
||||
} catch (ApiException e) {
|
||||
System.err.println("Exception when calling UserApi#userSearch");
|
||||
|
|
@ -2653,7 +2653,7 @@ Name | Type | Description | Notes
|
|||
|
||||
### Return type
|
||||
|
||||
[**List<User>**](User.md)
|
||||
[**UserList**](UserList.md)
|
||||
|
||||
### Authorization
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
# UserList
|
||||
|
||||
## Properties
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**data** | [**List<User>**](User.md) | | [optional]
|
||||
**ok** | **Boolean** | | [optional]
|
||||
|
||||
|
||||
|
||||
|
|
@ -8,12 +8,12 @@ git_repo_id=$2
|
|||
release_note=$3
|
||||
|
||||
if [ "$git_user_id" = "" ]; then
|
||||
git_user_id="zeripath"
|
||||
git_user_id="GIT_USER_ID"
|
||||
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
||||
fi
|
||||
|
||||
if [ "$git_repo_id" = "" ]; then
|
||||
git_repo_id="gitea-java"
|
||||
git_repo_id="GIT_REPO_ID"
|
||||
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
||||
fi
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,5 +1,5 @@
|
|||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ package io.gitea;
|
|||
import java.util.Map;
|
||||
import java.util.List;
|
||||
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class ApiException extends Exception {
|
||||
private int code = 0;
|
||||
private Map<String, List<String>> responseHeaders = null;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
package io.gitea;
|
||||
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Configuration {
|
||||
private static ApiClient defaultApiClient = new ApiClient();
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
package io.gitea;
|
||||
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Pair {
|
||||
private String name = "";
|
||||
private String value = "";
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
package io.gitea;
|
||||
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class StringUtil {
|
||||
/**
|
||||
* Check if the given array contains the given value (with case-insensitive comparison).
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import io.gitea.model.EditTeamOption;
|
|||
import io.gitea.model.Organization;
|
||||
import io.gitea.model.Repository;
|
||||
import io.gitea.model.Team;
|
||||
import io.gitea.model.User;
|
||||
import io.gitea.model.UserList;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -2541,11 +2541,11 @@ public class OrganizationApi {
|
|||
* List an organization's members
|
||||
*
|
||||
* @param org name of the organization (required)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> orgListMembers(String org) throws ApiException {
|
||||
ApiResponse<List<User>> resp = orgListMembersWithHttpInfo(org);
|
||||
public UserList orgListMembers(String org) throws ApiException {
|
||||
ApiResponse<UserList> resp = orgListMembersWithHttpInfo(org);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -2553,12 +2553,12 @@ public class OrganizationApi {
|
|||
* List an organization's members
|
||||
*
|
||||
* @param org name of the organization (required)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> orgListMembersWithHttpInfo(String org) throws ApiException {
|
||||
public ApiResponse<UserList> orgListMembersWithHttpInfo(String org) throws ApiException {
|
||||
com.squareup.okhttp.Call call = orgListMembersValidateBeforeCall(org, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -2570,7 +2570,7 @@ public class OrganizationApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call orgListMembersAsync(String org, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call orgListMembersAsync(String org, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -2592,7 +2592,7 @@ public class OrganizationApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = orgListMembersValidateBeforeCall(org, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
@ -2664,11 +2664,11 @@ public class OrganizationApi {
|
|||
* List an organization's public members
|
||||
*
|
||||
* @param org name of the organization (required)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> orgListPublicMembers(String org) throws ApiException {
|
||||
ApiResponse<List<User>> resp = orgListPublicMembersWithHttpInfo(org);
|
||||
public UserList orgListPublicMembers(String org) throws ApiException {
|
||||
ApiResponse<UserList> resp = orgListPublicMembersWithHttpInfo(org);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -2676,12 +2676,12 @@ public class OrganizationApi {
|
|||
* List an organization's public members
|
||||
*
|
||||
* @param org name of the organization (required)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> orgListPublicMembersWithHttpInfo(String org) throws ApiException {
|
||||
public ApiResponse<UserList> orgListPublicMembersWithHttpInfo(String org) throws ApiException {
|
||||
com.squareup.okhttp.Call call = orgListPublicMembersValidateBeforeCall(org, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -2693,7 +2693,7 @@ public class OrganizationApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call orgListPublicMembersAsync(String org, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call orgListPublicMembersAsync(String org, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -2715,7 +2715,7 @@ public class OrganizationApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = orgListPublicMembersValidateBeforeCall(org, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
@ -2910,11 +2910,11 @@ public class OrganizationApi {
|
|||
* List a team's members
|
||||
*
|
||||
* @param id id of the team (required)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> orgListTeamMembers(Integer id) throws ApiException {
|
||||
ApiResponse<List<User>> resp = orgListTeamMembersWithHttpInfo(id);
|
||||
public UserList orgListTeamMembers(Integer id) throws ApiException {
|
||||
ApiResponse<UserList> resp = orgListTeamMembersWithHttpInfo(id);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -2922,12 +2922,12 @@ public class OrganizationApi {
|
|||
* List a team's members
|
||||
*
|
||||
* @param id id of the team (required)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> orgListTeamMembersWithHttpInfo(Integer id) throws ApiException {
|
||||
public ApiResponse<UserList> orgListTeamMembersWithHttpInfo(Integer id) throws ApiException {
|
||||
com.squareup.okhttp.Call call = orgListTeamMembersValidateBeforeCall(id, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -2939,7 +2939,7 @@ public class OrganizationApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call orgListTeamMembersAsync(Integer id, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call orgListTeamMembersAsync(Integer id, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -2961,7 +2961,7 @@ public class OrganizationApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = orgListTeamMembersValidateBeforeCall(id, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ import io.gitea.model.Repository;
|
|||
import io.gitea.model.SearchResults;
|
||||
import io.gitea.model.Status;
|
||||
import io.gitea.model.TrackedTime;
|
||||
import io.gitea.model.User;
|
||||
import io.gitea.model.UserList;
|
||||
import io.gitea.model.WatchInfo;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
|
|
@ -4927,11 +4927,11 @@ public class RepositoryApi {
|
|||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> repoListCollaborators(String owner, String repo) throws ApiException {
|
||||
ApiResponse<List<User>> resp = repoListCollaboratorsWithHttpInfo(owner, repo);
|
||||
public UserList repoListCollaborators(String owner, String repo) throws ApiException {
|
||||
ApiResponse<UserList> resp = repoListCollaboratorsWithHttpInfo(owner, repo);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -4940,12 +4940,12 @@ public class RepositoryApi {
|
|||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> repoListCollaboratorsWithHttpInfo(String owner, String repo) throws ApiException {
|
||||
public ApiResponse<UserList> repoListCollaboratorsWithHttpInfo(String owner, String repo) throws ApiException {
|
||||
com.squareup.okhttp.Call call = repoListCollaboratorsValidateBeforeCall(owner, repo, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -4958,7 +4958,7 @@ public class RepositoryApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call repoListCollaboratorsAsync(String owner, String repo, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call repoListCollaboratorsAsync(String owner, String repo, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -4980,7 +4980,7 @@ public class RepositoryApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = repoListCollaboratorsValidateBeforeCall(owner, repo, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
@ -5735,11 +5735,11 @@ public class RepositoryApi {
|
|||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> repoListStargazers(String owner, String repo) throws ApiException {
|
||||
ApiResponse<List<User>> resp = repoListStargazersWithHttpInfo(owner, repo);
|
||||
public UserList repoListStargazers(String owner, String repo) throws ApiException {
|
||||
ApiResponse<UserList> resp = repoListStargazersWithHttpInfo(owner, repo);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -5748,12 +5748,12 @@ public class RepositoryApi {
|
|||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> repoListStargazersWithHttpInfo(String owner, String repo) throws ApiException {
|
||||
public ApiResponse<UserList> repoListStargazersWithHttpInfo(String owner, String repo) throws ApiException {
|
||||
com.squareup.okhttp.Call call = repoListStargazersValidateBeforeCall(owner, repo, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -5766,7 +5766,7 @@ public class RepositoryApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call repoListStargazersAsync(String owner, String repo, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call repoListStargazersAsync(String owner, String repo, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -5788,7 +5788,7 @@ public class RepositoryApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = repoListStargazersValidateBeforeCall(owner, repo, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
@ -6011,11 +6011,11 @@ public class RepositoryApi {
|
|||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> repoListSubscribers(String owner, String repo) throws ApiException {
|
||||
ApiResponse<List<User>> resp = repoListSubscribersWithHttpInfo(owner, repo);
|
||||
public UserList repoListSubscribers(String owner, String repo) throws ApiException {
|
||||
ApiResponse<UserList> resp = repoListSubscribersWithHttpInfo(owner, repo);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -6024,12 +6024,12 @@ public class RepositoryApi {
|
|||
*
|
||||
* @param owner owner of the repo (required)
|
||||
* @param repo name of the repo (required)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> repoListSubscribersWithHttpInfo(String owner, String repo) throws ApiException {
|
||||
public ApiResponse<UserList> repoListSubscribersWithHttpInfo(String owner, String repo) throws ApiException {
|
||||
com.squareup.okhttp.Call call = repoListSubscribersValidateBeforeCall(owner, repo, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -6042,7 +6042,7 @@ public class RepositoryApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call repoListSubscribersAsync(String owner, String repo, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call repoListSubscribersAsync(String owner, String repo, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -6064,7 +6064,7 @@ public class RepositoryApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = repoListSubscribersValidateBeforeCall(owner, repo, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ import io.gitea.model.PublicKey;
|
|||
import io.gitea.model.Repository;
|
||||
import io.gitea.model.TrackedTime;
|
||||
import io.gitea.model.User;
|
||||
import io.gitea.model.UserList;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -1586,23 +1587,23 @@ public class UserApi {
|
|||
/**
|
||||
* List the authenticated user's followers
|
||||
*
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> userCurrentListFollowers() throws ApiException {
|
||||
ApiResponse<List<User>> resp = userCurrentListFollowersWithHttpInfo();
|
||||
public UserList userCurrentListFollowers() throws ApiException {
|
||||
ApiResponse<UserList> resp = userCurrentListFollowersWithHttpInfo();
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
/**
|
||||
* List the authenticated user's followers
|
||||
*
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> userCurrentListFollowersWithHttpInfo() throws ApiException {
|
||||
public ApiResponse<UserList> userCurrentListFollowersWithHttpInfo() throws ApiException {
|
||||
com.squareup.okhttp.Call call = userCurrentListFollowersValidateBeforeCall(null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -1613,7 +1614,7 @@ public class UserApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call userCurrentListFollowersAsync(final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call userCurrentListFollowersAsync(final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -1635,7 +1636,7 @@ public class UserApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = userCurrentListFollowersValidateBeforeCall(progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
@ -1699,23 +1700,23 @@ public class UserApi {
|
|||
/**
|
||||
* List the users that the authenticated user is following
|
||||
*
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> userCurrentListFollowing() throws ApiException {
|
||||
ApiResponse<List<User>> resp = userCurrentListFollowingWithHttpInfo();
|
||||
public UserList userCurrentListFollowing() throws ApiException {
|
||||
ApiResponse<UserList> resp = userCurrentListFollowingWithHttpInfo();
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
/**
|
||||
* List the users that the authenticated user is following
|
||||
*
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> userCurrentListFollowingWithHttpInfo() throws ApiException {
|
||||
public ApiResponse<UserList> userCurrentListFollowingWithHttpInfo() throws ApiException {
|
||||
com.squareup.okhttp.Call call = userCurrentListFollowingValidateBeforeCall(null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -1726,7 +1727,7 @@ public class UserApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call userCurrentListFollowingAsync(final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call userCurrentListFollowingAsync(final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -1748,7 +1749,7 @@ public class UserApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = userCurrentListFollowingValidateBeforeCall(progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
@ -3690,11 +3691,11 @@ public class UserApi {
|
|||
* List the given user's followers
|
||||
*
|
||||
* @param username username of user (required)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> userListFollowers(String username) throws ApiException {
|
||||
ApiResponse<List<User>> resp = userListFollowersWithHttpInfo(username);
|
||||
public UserList userListFollowers(String username) throws ApiException {
|
||||
ApiResponse<UserList> resp = userListFollowersWithHttpInfo(username);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -3702,12 +3703,12 @@ public class UserApi {
|
|||
* List the given user's followers
|
||||
*
|
||||
* @param username username of user (required)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> userListFollowersWithHttpInfo(String username) throws ApiException {
|
||||
public ApiResponse<UserList> userListFollowersWithHttpInfo(String username) throws ApiException {
|
||||
com.squareup.okhttp.Call call = userListFollowersValidateBeforeCall(username, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -3719,7 +3720,7 @@ public class UserApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call userListFollowersAsync(String username, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call userListFollowersAsync(String username, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -3741,7 +3742,7 @@ public class UserApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = userListFollowersValidateBeforeCall(username, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
@ -3813,11 +3814,11 @@ public class UserApi {
|
|||
* List the users that the given user is following
|
||||
*
|
||||
* @param username username of user (required)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> userListFollowing(String username) throws ApiException {
|
||||
ApiResponse<List<User>> resp = userListFollowingWithHttpInfo(username);
|
||||
public UserList userListFollowing(String username) throws ApiException {
|
||||
ApiResponse<UserList> resp = userListFollowingWithHttpInfo(username);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -3825,12 +3826,12 @@ public class UserApi {
|
|||
* List the users that the given user is following
|
||||
*
|
||||
* @param username username of user (required)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> userListFollowingWithHttpInfo(String username) throws ApiException {
|
||||
public ApiResponse<UserList> userListFollowingWithHttpInfo(String username) throws ApiException {
|
||||
com.squareup.okhttp.Call call = userListFollowingValidateBeforeCall(username, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -3842,7 +3843,7 @@ public class UserApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call userListFollowingAsync(String username, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call userListFollowingAsync(String username, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -3864,7 +3865,7 @@ public class UserApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = userListFollowingValidateBeforeCall(username, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
@ -4551,11 +4552,11 @@ public class UserApi {
|
|||
*
|
||||
* @param q keyword (optional)
|
||||
* @param limit maximum number of users to return (optional)
|
||||
* @return List<User>
|
||||
* @return UserList
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public List<User> userSearch(String q, Integer limit) throws ApiException {
|
||||
ApiResponse<List<User>> resp = userSearchWithHttpInfo(q, limit);
|
||||
public UserList userSearch(String q, Integer limit) throws ApiException {
|
||||
ApiResponse<UserList> resp = userSearchWithHttpInfo(q, limit);
|
||||
return resp.getData();
|
||||
}
|
||||
|
||||
|
|
@ -4564,12 +4565,12 @@ public class UserApi {
|
|||
*
|
||||
* @param q keyword (optional)
|
||||
* @param limit maximum number of users to return (optional)
|
||||
* @return ApiResponse<List<User>>
|
||||
* @return ApiResponse<UserList>
|
||||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
|
||||
*/
|
||||
public ApiResponse<List<User>> userSearchWithHttpInfo(String q, Integer limit) throws ApiException {
|
||||
public ApiResponse<UserList> userSearchWithHttpInfo(String q, Integer limit) throws ApiException {
|
||||
com.squareup.okhttp.Call call = userSearchValidateBeforeCall(q, limit, null, null);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
return apiClient.execute(call, localVarReturnType);
|
||||
}
|
||||
|
||||
|
|
@ -4582,7 +4583,7 @@ public class UserApi {
|
|||
* @return The request call
|
||||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
|
||||
*/
|
||||
public com.squareup.okhttp.Call userSearchAsync(String q, Integer limit, final ApiCallback<List<User>> callback) throws ApiException {
|
||||
public com.squareup.okhttp.Call userSearchAsync(String q, Integer limit, final ApiCallback<UserList> callback) throws ApiException {
|
||||
|
||||
ProgressResponseBody.ProgressListener progressListener = null;
|
||||
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
|
||||
|
|
@ -4604,7 +4605,7 @@ public class UserApi {
|
|||
}
|
||||
|
||||
com.squareup.okhttp.Call call = userSearchValidateBeforeCall(q, limit, progressListener, progressRequestListener);
|
||||
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
|
||||
Type localVarReturnType = new TypeToken<UserList>(){}.getType();
|
||||
apiClient.executeAsync(call, localVarReturnType, callback);
|
||||
return call;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import io.gitea.Pair;
|
|||
import java.util.Map;
|
||||
import java.util.List;
|
||||
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class ApiKeyAuth implements Authentication {
|
||||
private final String location;
|
||||
private final String paramName;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import io.gitea.Pair;
|
|||
import java.util.Map;
|
||||
import java.util.List;
|
||||
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class OAuth implements Authentication {
|
||||
private String accessToken;
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* AddCollaboratorOption options when adding a user as a collaborator of a repository
|
||||
*/
|
||||
@ApiModel(description = "AddCollaboratorOption options when adding a user as a collaborator of a repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class AddCollaboratorOption {
|
||||
@SerializedName("permission")
|
||||
private String permission = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* AddTimeOption options for adding time to an issue
|
||||
*/
|
||||
@ApiModel(description = "AddTimeOption options for adding time to an issue")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class AddTimeOption {
|
||||
@SerializedName("time")
|
||||
private Long time = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* Attachment a generic attachment
|
||||
*/
|
||||
@ApiModel(description = "Attachment a generic attachment")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Attachment {
|
||||
@SerializedName("browser_download_url")
|
||||
private String browserDownloadUrl = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import java.io.IOException;
|
|||
* Branch represents a repository branch
|
||||
*/
|
||||
@ApiModel(description = "Branch represents a repository branch")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Branch {
|
||||
@SerializedName("commit")
|
||||
private PayloadCommit commit = null;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* Comment represents a comment on a commit or issue
|
||||
*/
|
||||
@ApiModel(description = "Comment represents a comment on a commit or issue")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Comment {
|
||||
@SerializedName("body")
|
||||
private String body = null;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import java.util.List;
|
|||
* CreateEmailOption options when creating email addresses
|
||||
*/
|
||||
@ApiModel(description = "CreateEmailOption options when creating email addresses")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateEmailOption {
|
||||
@SerializedName("emails")
|
||||
private List<String> emails = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateForkOption options for creating a fork
|
||||
*/
|
||||
@ApiModel(description = "CreateForkOption options for creating a fork")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateForkOption {
|
||||
@SerializedName("organization")
|
||||
private String organization = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateGPGKeyOption options create user GPG key
|
||||
*/
|
||||
@ApiModel(description = "CreateGPGKeyOption options create user GPG key")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateGPGKeyOption {
|
||||
@SerializedName("armored_public_key")
|
||||
private String armoredPublicKey = null;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import java.util.Map;
|
|||
* CreateHookOption options when create a hook
|
||||
*/
|
||||
@ApiModel(description = "CreateHookOption options when create a hook")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateHookOption {
|
||||
@SerializedName("active")
|
||||
private Boolean active = false;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateIssueCommentOption options for creating a comment on an issue
|
||||
*/
|
||||
@ApiModel(description = "CreateIssueCommentOption options for creating a comment on an issue")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateIssueCommentOption {
|
||||
@SerializedName("body")
|
||||
private String body = null;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* CreateIssueOption options to create one issue
|
||||
*/
|
||||
@ApiModel(description = "CreateIssueOption options to create one issue")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateIssueOption {
|
||||
@SerializedName("assignee")
|
||||
private String assignee = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateKeyOption options when creating a key
|
||||
*/
|
||||
@ApiModel(description = "CreateKeyOption options when creating a key")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateKeyOption {
|
||||
@SerializedName("key")
|
||||
private String key = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateLabelOption options for creating a label
|
||||
*/
|
||||
@ApiModel(description = "CreateLabelOption options for creating a label")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateLabelOption {
|
||||
@SerializedName("color")
|
||||
private String color = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* CreateMilestoneOption options for creating a milestone
|
||||
*/
|
||||
@ApiModel(description = "CreateMilestoneOption options for creating a milestone")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateMilestoneOption {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateOrgOption options for creating an organization
|
||||
*/
|
||||
@ApiModel(description = "CreateOrgOption options for creating an organization")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateOrgOption {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* CreatePullRequestOption options when creating a pull request
|
||||
*/
|
||||
@ApiModel(description = "CreatePullRequestOption options when creating a pull request")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreatePullRequestOption {
|
||||
@SerializedName("assignee")
|
||||
private String assignee = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateReleaseOption options when creating a release
|
||||
*/
|
||||
@ApiModel(description = "CreateReleaseOption options when creating a release")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateReleaseOption {
|
||||
@SerializedName("body")
|
||||
private String body = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateRepoOption options when creating repository
|
||||
*/
|
||||
@ApiModel(description = "CreateRepoOption options when creating repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateRepoOption {
|
||||
@SerializedName("auto_init")
|
||||
private Boolean autoInit = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateStatusOption holds the information needed to create a new Status for a Commit
|
||||
*/
|
||||
@ApiModel(description = "CreateStatusOption holds the information needed to create a new Status for a Commit")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateStatusOption {
|
||||
@SerializedName("context")
|
||||
private String context = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateTeamOption options for creating a team
|
||||
*/
|
||||
@ApiModel(description = "CreateTeamOption options for creating a team")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateTeamOption {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* CreateUserOption create user options
|
||||
*/
|
||||
@ApiModel(description = "CreateUserOption create user options")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class CreateUserOption {
|
||||
@SerializedName("email")
|
||||
private String email = null;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import java.util.List;
|
|||
* DeleteEmailOption options when deleting email addresses
|
||||
*/
|
||||
@ApiModel(description = "DeleteEmailOption options when deleting email addresses")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class DeleteEmailOption {
|
||||
@SerializedName("emails")
|
||||
private List<String> emails = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* DeployKey a deploy key
|
||||
*/
|
||||
@ApiModel(description = "DeployKey a deploy key")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class DeployKey {
|
||||
@SerializedName("created_at")
|
||||
private OffsetDateTime createdAt = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* EditAttachmentOptions options for editing attachments
|
||||
*/
|
||||
@ApiModel(description = "EditAttachmentOptions options for editing attachments")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditAttachmentOptions {
|
||||
@SerializedName("name")
|
||||
private String name = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* EditDeadlineOption options for creating a deadline
|
||||
*/
|
||||
@ApiModel(description = "EditDeadlineOption options for creating a deadline")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditDeadlineOption {
|
||||
@SerializedName("due_date")
|
||||
private OffsetDateTime dueDate = null;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import java.util.Map;
|
|||
* EditHookOption options when modify one hook
|
||||
*/
|
||||
@ApiModel(description = "EditHookOption options when modify one hook")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditHookOption {
|
||||
@SerializedName("active")
|
||||
private Boolean active = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* EditIssueCommentOption options for editing a comment
|
||||
*/
|
||||
@ApiModel(description = "EditIssueCommentOption options for editing a comment")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditIssueCommentOption {
|
||||
@SerializedName("body")
|
||||
private String body = null;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* EditIssueOption options for editing an issue
|
||||
*/
|
||||
@ApiModel(description = "EditIssueOption options for editing an issue")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditIssueOption {
|
||||
@SerializedName("assignee")
|
||||
private String assignee = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* EditLabelOption options for editing a label
|
||||
*/
|
||||
@ApiModel(description = "EditLabelOption options for editing a label")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditLabelOption {
|
||||
@SerializedName("color")
|
||||
private String color = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* EditMilestoneOption options for editing a milestone
|
||||
*/
|
||||
@ApiModel(description = "EditMilestoneOption options for editing a milestone")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditMilestoneOption {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* EditOrgOption options for editing an organization
|
||||
*/
|
||||
@ApiModel(description = "EditOrgOption options for editing an organization")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditOrgOption {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* EditPullRequestOption options when modify pull request
|
||||
*/
|
||||
@ApiModel(description = "EditPullRequestOption options when modify pull request")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditPullRequestOption {
|
||||
@SerializedName("assignee")
|
||||
private String assignee = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* EditReleaseOption options when editing a release
|
||||
*/
|
||||
@ApiModel(description = "EditReleaseOption options when editing a release")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditReleaseOption {
|
||||
@SerializedName("body")
|
||||
private String body = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* EditTeamOption options for editing a team
|
||||
*/
|
||||
@ApiModel(description = "EditTeamOption options for editing a team")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditTeamOption {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* EditUserOption edit user options
|
||||
*/
|
||||
@ApiModel(description = "EditUserOption edit user options")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class EditUserOption {
|
||||
@SerializedName("active")
|
||||
private Boolean active = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* Email an email address belonging to a user
|
||||
*/
|
||||
@ApiModel(description = "Email an email address belonging to a user")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Email {
|
||||
@SerializedName("email")
|
||||
private String email = null;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* GPGKey a user GPG key to sign commit and tag in repository
|
||||
*/
|
||||
@ApiModel(description = "GPGKey a user GPG key to sign commit and tag in repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class GPGKey {
|
||||
@SerializedName("can_certify")
|
||||
private Boolean canCertify = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* GPGKeyEmail an email attached to a GPGKey
|
||||
*/
|
||||
@ApiModel(description = "GPGKeyEmail an email attached to a GPGKey")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class GPGKeyEmail {
|
||||
@SerializedName("email")
|
||||
private String email = null;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* Issue represents an issue in a repository
|
||||
*/
|
||||
@ApiModel(description = "Issue represents an issue in a repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Issue {
|
||||
@SerializedName("assignee")
|
||||
private User assignee = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* IssueDeadline represents an issue deadline
|
||||
*/
|
||||
@ApiModel(description = "IssueDeadline represents an issue deadline")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class IssueDeadline {
|
||||
@SerializedName("due_date")
|
||||
private OffsetDateTime dueDate = null;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import java.util.List;
|
|||
* IssueLabelsOption a collection of labels
|
||||
*/
|
||||
@ApiModel(description = "IssueLabelsOption a collection of labels")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class IssueLabelsOption {
|
||||
@SerializedName("labels")
|
||||
private List<Long> labels = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* Label a label to an issue or a pr
|
||||
*/
|
||||
@ApiModel(description = "Label a label to an issue or a pr")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Label {
|
||||
@SerializedName("color")
|
||||
private String color = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* MarkdownOption markdown options
|
||||
*/
|
||||
@ApiModel(description = "MarkdownOption markdown options")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class MarkdownOption {
|
||||
@SerializedName("Context")
|
||||
private String context = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* MigrateRepoForm form for migrating repository
|
||||
*/
|
||||
@ApiModel(description = "MigrateRepoForm form for migrating repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class MigrateRepoForm {
|
||||
@SerializedName("auth_password")
|
||||
private String authPassword = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* Milestone milestone is a collection of issues on one repository
|
||||
*/
|
||||
@ApiModel(description = "Milestone milestone is a collection of issues on one repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Milestone {
|
||||
@SerializedName("closed_at")
|
||||
private OffsetDateTime closedAt = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* Organization represents an organization
|
||||
*/
|
||||
@ApiModel(description = "Organization represents an organization")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Organization {
|
||||
@SerializedName("avatar_url")
|
||||
private String avatarUrl = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import java.io.IOException;
|
|||
* PRBranchInfo information about a branch
|
||||
*/
|
||||
@ApiModel(description = "PRBranchInfo information about a branch")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class PRBranchInfo {
|
||||
@SerializedName("label")
|
||||
private String label = null;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* PayloadCommit represents a commit
|
||||
*/
|
||||
@ApiModel(description = "PayloadCommit represents a commit")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class PayloadCommit {
|
||||
@SerializedName("author")
|
||||
private PayloadUser author = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* PayloadCommitVerification represents the GPG verification of a commit
|
||||
*/
|
||||
@ApiModel(description = "PayloadCommitVerification represents the GPG verification of a commit")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class PayloadCommitVerification {
|
||||
@SerializedName("payload")
|
||||
private String payload = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* PayloadUser represents the author or committer of a commit
|
||||
*/
|
||||
@ApiModel(description = "PayloadUser represents the author or committer of a commit")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class PayloadUser {
|
||||
@SerializedName("email")
|
||||
private String email = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* Permission represents a set of permissions
|
||||
*/
|
||||
@ApiModel(description = "Permission represents a set of permissions")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Permission {
|
||||
@SerializedName("admin")
|
||||
private Boolean admin = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* PublicKey publickey is a user key to push code to repository
|
||||
*/
|
||||
@ApiModel(description = "PublicKey publickey is a user key to push code to repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class PublicKey {
|
||||
@SerializedName("created_at")
|
||||
private OffsetDateTime createdAt = null;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* PullRequest represents a pull request
|
||||
*/
|
||||
@ApiModel(description = "PullRequest represents a pull request")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class PullRequest {
|
||||
@SerializedName("assignee")
|
||||
private User assignee = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* PullRequestMeta PR info if an issue is a PR
|
||||
*/
|
||||
@ApiModel(description = "PullRequestMeta PR info if an issue is a PR")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class PullRequestMeta {
|
||||
@SerializedName("merged")
|
||||
private Boolean merged = null;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* Release represents a repository release
|
||||
*/
|
||||
@ApiModel(description = "Release represents a repository release")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Release {
|
||||
@SerializedName("assets")
|
||||
private List<Attachment> assets = null;
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* Repository represents a repository
|
||||
*/
|
||||
@ApiModel(description = "Repository represents a repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Repository {
|
||||
@SerializedName("clone_url")
|
||||
private String cloneUrl = null;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ import java.util.List;
|
|||
* SearchResults results of a successful search
|
||||
*/
|
||||
@ApiModel(description = "SearchResults results of a successful search")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class SearchResults {
|
||||
@SerializedName("data")
|
||||
private List<Repository> data = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* ServerVersion wraps the version of the server
|
||||
*/
|
||||
@ApiModel(description = "ServerVersion wraps the version of the server")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class ServerVersion {
|
||||
@SerializedName("version")
|
||||
private String version = null;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* Status holds a single Status of a single Commit
|
||||
*/
|
||||
@ApiModel(description = "Status holds a single Status of a single Commit")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Status {
|
||||
@SerializedName("context")
|
||||
private String context = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* Team represents a team in an organization
|
||||
*/
|
||||
@ApiModel(description = "Team represents a team in an organization")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class Team {
|
||||
@SerializedName("description")
|
||||
private String description = null;
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* TrackedTime worked time for an issue / pr
|
||||
*/
|
||||
@ApiModel(description = "TrackedTime worked time for an issue / pr")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class TrackedTime {
|
||||
@SerializedName("created")
|
||||
private OffsetDateTime created = null;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.io.IOException;
|
|||
* User represents a user
|
||||
*/
|
||||
@ApiModel(description = "User represents a user")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class User {
|
||||
@SerializedName("avatar_url")
|
||||
private String avatarUrl = null;
|
||||
|
|
|
|||
|
|
@ -0,0 +1,128 @@
|
|||
/*
|
||||
* Gitea API.
|
||||
* This documentation describes the Gitea API.
|
||||
*
|
||||
* OpenAPI spec version: 1.1.1
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
package io.gitea.model;
|
||||
|
||||
import java.util.Objects;
|
||||
import com.google.gson.TypeAdapter;
|
||||
import com.google.gson.annotations.JsonAdapter;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.google.gson.stream.JsonReader;
|
||||
import com.google.gson.stream.JsonWriter;
|
||||
import io.gitea.model.User;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* UserList
|
||||
*/
|
||||
@ApiModel(description = "UserList")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class UserList {
|
||||
@SerializedName("data")
|
||||
private List<User> data = null;
|
||||
|
||||
@SerializedName("ok")
|
||||
private Boolean ok = null;
|
||||
|
||||
public UserList data(List<User> data) {
|
||||
this.data = data;
|
||||
return this;
|
||||
}
|
||||
|
||||
public UserList addDataItem(User dataItem) {
|
||||
if (this.data == null) {
|
||||
this.data = new ArrayList<User>();
|
||||
}
|
||||
this.data.add(dataItem);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get data
|
||||
* @return data
|
||||
**/
|
||||
@ApiModelProperty(value = "")
|
||||
public List<User> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<User> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public UserList ok(Boolean ok) {
|
||||
this.ok = ok;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get ok
|
||||
* @return ok
|
||||
**/
|
||||
@ApiModelProperty(value = "")
|
||||
public Boolean isOk() {
|
||||
return ok;
|
||||
}
|
||||
|
||||
public void setOk(Boolean ok) {
|
||||
this.ok = ok;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(java.lang.Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
UserList userList = (UserList) o;
|
||||
return Objects.equals(this.data, userList.data) &&
|
||||
Objects.equals(this.ok, userList.ok);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(data, ok);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("class UserList {\n");
|
||||
|
||||
sb.append(" data: ").append(toIndentedString(data)).append("\n");
|
||||
sb.append(" ok: ").append(toIndentedString(ok)).append("\n");
|
||||
sb.append("}");
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert the given object to string with each line indented by 4 spaces
|
||||
* (except the first line).
|
||||
*/
|
||||
private String toIndentedString(java.lang.Object o) {
|
||||
if (o == null) {
|
||||
return "null";
|
||||
}
|
||||
return o.toString().replace("\n", "\n ");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ import org.threeten.bp.OffsetDateTime;
|
|||
* WatchInfo represents an API watch status of one repository
|
||||
*/
|
||||
@ApiModel(description = "WatchInfo represents an API watch status of one repository")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-21T19:43:15.059+01:00")
|
||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-08-24T18:24:48.590+01:00")
|
||||
public class WatchInfo {
|
||||
@SerializedName("created_at")
|
||||
private OffsetDateTime createdAt = null;
|
||||
|
|
|
|||
|
|
@ -7554,6 +7554,23 @@
|
|||
},
|
||||
"x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
|
||||
},
|
||||
"UserList": {
|
||||
"description": "UserList",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"x-go-name": "Data"
|
||||
},
|
||||
"ok": {
|
||||
"type": "boolean",
|
||||
"x-go-name": "Ok"
|
||||
}
|
||||
}
|
||||
},
|
||||
"WatchInfo": {
|
||||
"description": "WatchInfo represents an API watch status of one repository",
|
||||
"type": "object",
|
||||
|
|
@ -7903,10 +7920,7 @@
|
|||
"UserList": {
|
||||
"description": "UserList",
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/User"
|
||||
}
|
||||
"$ref": "#/definitions/UserList"
|
||||
}
|
||||
},
|
||||
"WatchInfo": {
|
||||
|
|
@ -7998,4 +8012,4 @@
|
|||
"AuthorizationHeaderToken": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue