More fixes of the gitea swagger api

See https://github.com/go-gitea/gitea/pull/4845
This commit is contained in:
Andrew Thornton 2018-10-20 13:57:43 +01:00
parent 4200ed2df5
commit 2d832e232d
No known key found for this signature in database
GPG Key ID: 3CDE74631F13A748
88 changed files with 892 additions and 636 deletions

View File

@ -15,7 +15,7 @@ Method | HTTP request | Description
<a name="adminCreateOrg"></a>
# **adminCreateOrg**
> Organization adminCreateOrg(username)
> Organization adminCreateOrg(username, organization)
Create an organization
@ -67,8 +67,9 @@ Token.setApiKey("YOUR API KEY");
AdminApi apiInstance = new AdminApi();
String username = "username_example"; // String | username of the user that will own the created organization
CreateOrgOption organization = new CreateOrgOption(); // CreateOrgOption |
try {
Organization result = apiInstance.adminCreateOrg(username);
Organization result = apiInstance.adminCreateOrg(username, organization);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#adminCreateOrg");
@ -81,6 +82,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **String**| username of the user that will own the created organization |
**organization** | [**CreateOrgOption**](CreateOrgOption.md)| |
### Return type
@ -97,7 +99,7 @@ Name | Type | Description | Notes
<a name="adminCreatePublicKey"></a>
# **adminCreatePublicKey**
> PublicKey adminCreatePublicKey(username)
> PublicKey adminCreatePublicKey(username, key)
Add a public key on behalf of a user
@ -149,8 +151,9 @@ Token.setApiKey("YOUR API KEY");
AdminApi apiInstance = new AdminApi();
String username = "username_example"; // String | username of the user
CreateKeyOption key = new CreateKeyOption(); // CreateKeyOption |
try {
PublicKey result = apiInstance.adminCreatePublicKey(username);
PublicKey result = apiInstance.adminCreatePublicKey(username, key);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#adminCreatePublicKey");
@ -163,6 +166,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **String**| username of the user |
**key** | [**CreateKeyOption**](CreateKeyOption.md)| | [optional]
### Return type
@ -179,7 +183,7 @@ Name | Type | Description | Notes
<a name="adminCreateRepo"></a>
# **adminCreateRepo**
> Repository adminCreateRepo(username)
> Repository adminCreateRepo(username, repository)
Create a repository on behalf a user
@ -231,8 +235,9 @@ Token.setApiKey("YOUR API KEY");
AdminApi apiInstance = new AdminApi();
String username = "username_example"; // String | username of the user. This user will own the created repository
CreateRepoOption repository = new CreateRepoOption(); // CreateRepoOption |
try {
Repository result = apiInstance.adminCreateRepo(username);
Repository result = apiInstance.adminCreateRepo(username, repository);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling AdminApi#adminCreateRepo");
@ -245,6 +250,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **String**| username of the user. This user will own the created repository |
**repository** | [**CreateRepoOption**](CreateRepoOption.md)| |
### Return type
@ -476,7 +482,7 @@ Token.setApiKey("YOUR API KEY");
AdminApi apiInstance = new AdminApi();
String username = "username_example"; // String | username of user
Integer id = 56; // Integer | id of the key to delete
Long id = 789L; // Long | id of the key to delete
try {
apiInstance.adminDeleteUserPublicKey(username, id);
} catch (ApiException e) {
@ -490,7 +496,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **String**| username of user |
**id** | **Integer**| id of the key to delete |
**id** | **Long**| id of the key to delete |
### Return type

View File

@ -90,7 +90,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue
Long index = 789L; // Long | index of the issue
IssueLabelsOption body = new IssueLabelsOption(); // IssueLabelsOption |
try {
List<Label> result = apiInstance.issueAddLabel(owner, repo, index, body);
@ -107,7 +107,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue |
**index** | **Long**| index of the issue |
**body** | [**IssueLabelsOption**](IssueLabelsOption.md)| | [optional]
### Return type
@ -178,7 +178,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | index of the issue to add tracked time to
Long id = 789L; // Long | index of the issue to add tracked time to
AddTimeOption body = new AddTimeOption(); // AddTimeOption |
try {
TrackedTime result = apiInstance.issueAddTime(owner, repo, id, body);
@ -195,7 +195,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| index of the issue to add tracked time to |
**id** | **Long**| index of the issue to add tracked time to |
**body** | [**AddTimeOption**](AddTimeOption.md)| | [optional]
### Return type
@ -266,7 +266,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue
Long index = 789L; // Long | index of the issue
try {
apiInstance.issueClearLabels(owner, repo, index);
} catch (ApiException e) {
@ -281,7 +281,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue |
**index** | **Long**| index of the issue |
### Return type
@ -351,7 +351,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue
Long index = 789L; // Long | index of the issue
CreateIssueCommentOption body = new CreateIssueCommentOption(); // CreateIssueCommentOption |
try {
Comment result = apiInstance.issueCreateComment(owner, repo, index, body);
@ -368,7 +368,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue |
**index** | **Long**| index of the issue |
**body** | [**CreateIssueCommentOption**](CreateIssueCommentOption.md)| | [optional]
### Return type
@ -697,7 +697,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of comment to delete
Long id = 789L; // Long | id of comment to delete
try {
apiInstance.issueDeleteComment(owner, repo, id);
} catch (ApiException e) {
@ -712,7 +712,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of comment to delete |
**id** | **Long**| id of comment to delete |
### Return type
@ -783,7 +783,7 @@ IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | this parameter is ignored
Integer id = 56; // Integer | id of comment to delete
Long id = 789L; // Long | id of comment to delete
try {
apiInstance.issueDeleteCommentDeprecated(owner, repo, index, id);
} catch (ApiException e) {
@ -799,7 +799,7 @@ Name | Type | Description | Notes
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| this parameter is ignored |
**id** | **Integer**| id of comment to delete |
**id** | **Long**| id of comment to delete |
### Return type
@ -869,7 +869,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the label to delete
Long id = 789L; // Long | id of the label to delete
try {
apiInstance.issueDeleteLabel(owner, repo, id);
} catch (ApiException e) {
@ -884,7 +884,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the label to delete |
**id** | **Long**| id of the label to delete |
### Return type
@ -954,7 +954,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the milestone to delete
Long id = 789L; // Long | id of the milestone to delete
try {
apiInstance.issueDeleteMilestone(owner, repo, id);
} catch (ApiException e) {
@ -969,7 +969,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the milestone to delete |
**id** | **Long**| id of the milestone to delete |
### Return type
@ -1039,7 +1039,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the comment to edit
Long id = 789L; // Long | id of the comment to edit
EditIssueCommentOption body = new EditIssueCommentOption(); // EditIssueCommentOption |
try {
Comment result = apiInstance.issueEditComment(owner, repo, id, body);
@ -1056,7 +1056,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the comment to edit |
**id** | **Long**| id of the comment to edit |
**body** | [**EditIssueCommentOption**](EditIssueCommentOption.md)| | [optional]
### Return type
@ -1128,7 +1128,7 @@ IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | this parameter is ignored
Integer id = 56; // Integer | id of the comment to edit
Long id = 789L; // Long | id of the comment to edit
EditIssueCommentOption body = new EditIssueCommentOption(); // EditIssueCommentOption |
try {
Comment result = apiInstance.issueEditCommentDeprecated(owner, repo, index, id, body);
@ -1146,7 +1146,7 @@ Name | Type | Description | Notes
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| this parameter is ignored |
**id** | **Integer**| id of the comment to edit |
**id** | **Long**| id of the comment to edit |
**body** | [**EditIssueCommentOption**](EditIssueCommentOption.md)| | [optional]
### Return type
@ -1217,7 +1217,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue to edit
Long index = 789L; // Long | index of the issue to edit
EditIssueOption body = new EditIssueOption(); // EditIssueOption |
try {
Issue result = apiInstance.issueEditIssue(owner, repo, index, body);
@ -1234,7 +1234,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue to edit |
**index** | **Long**| index of the issue to edit |
**body** | [**EditIssueOption**](EditIssueOption.md)| | [optional]
### Return type
@ -1305,7 +1305,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue to create or update a deadline on
Long index = 789L; // Long | index of the issue to create or update a deadline on
EditDeadlineOption body = new EditDeadlineOption(); // EditDeadlineOption |
try {
IssueDeadline result = apiInstance.issueEditIssueDeadline(owner, repo, index, body);
@ -1322,7 +1322,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue to create or update a deadline on |
**index** | **Long**| index of the issue to create or update a deadline on |
**body** | [**EditDeadlineOption**](EditDeadlineOption.md)| | [optional]
### Return type
@ -1393,7 +1393,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the label to edit
Long id = 789L; // Long | id of the label to edit
EditLabelOption body = new EditLabelOption(); // EditLabelOption |
try {
Label result = apiInstance.issueEditLabel(owner, repo, id, body);
@ -1410,7 +1410,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the label to edit |
**id** | **Long**| id of the label to edit |
**body** | [**EditLabelOption**](EditLabelOption.md)| | [optional]
### Return type
@ -1481,7 +1481,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the milestone
Long id = 789L; // Long | id of the milestone
EditMilestoneOption body = new EditMilestoneOption(); // EditMilestoneOption |
try {
Milestone result = apiInstance.issueEditMilestone(owner, repo, id, body);
@ -1498,7 +1498,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the milestone |
**id** | **Long**| id of the milestone |
**body** | [**EditMilestoneOption**](EditMilestoneOption.md)| | [optional]
### Return type
@ -1569,7 +1569,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue
Long index = 789L; // Long | index of the issue
String since = "since_example"; // String | if provided, only comments updated since the specified time are returned.
try {
List<Comment> result = apiInstance.issueGetComments(owner, repo, index, since);
@ -1586,7 +1586,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue |
**index** | **Long**| index of the issue |
**since** | **String**| if provided, only comments updated since the specified time are returned. | [optional]
### Return type
@ -1657,7 +1657,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue to get
Long index = 789L; // Long | index of the issue to get
try {
Issue result = apiInstance.issueGetIssue(owner, repo, index);
System.out.println(result);
@ -1673,7 +1673,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue to get |
**index** | **Long**| index of the issue to get |
### Return type
@ -1743,7 +1743,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the label to get
Long id = 789L; // Long | id of the label to get
try {
Label result = apiInstance.issueGetLabel(owner, repo, id);
System.out.println(result);
@ -1759,7 +1759,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the label to get |
**id** | **Long**| id of the label to get |
### Return type
@ -1829,7 +1829,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue
Long index = 789L; // Long | index of the issue
try {
List<Label> result = apiInstance.issueGetLabels(owner, repo, index);
System.out.println(result);
@ -1845,7 +1845,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue |
**index** | **Long**| index of the issue |
### Return type
@ -1915,7 +1915,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the milestone
Long id = 789L; // Long | id of the milestone
try {
Milestone result = apiInstance.issueGetMilestone(owner, repo, id);
System.out.println(result);
@ -1931,7 +1931,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the milestone |
**id** | **Long**| id of the milestone |
### Return type
@ -2345,8 +2345,8 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue
Integer id = 56; // Integer | id of the label to remove
Long index = 789L; // Long | index of the issue
Long id = 789L; // Long | id of the label to remove
try {
apiInstance.issueRemoveLabel(owner, repo, index, id);
} catch (ApiException e) {
@ -2361,8 +2361,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue |
**id** | **Integer**| id of the label to remove |
**index** | **Long**| index of the issue |
**id** | **Long**| id of the label to remove |
### Return type
@ -2432,7 +2432,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the issue
Long index = 789L; // Long | index of the issue
IssueLabelsOption body = new IssueLabelsOption(); // IssueLabelsOption |
try {
List<Label> result = apiInstance.issueReplaceLabels(owner, repo, index, body);
@ -2449,7 +2449,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the issue |
**index** | **Long**| index of the issue |
**body** | [**IssueLabelsOption**](IssueLabelsOption.md)| | [optional]
### Return type
@ -2520,7 +2520,7 @@ Token.setApiKey("YOUR API KEY");
IssueApi apiInstance = new IssueApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | index of the issue
Long id = 789L; // Long | index of the issue
try {
List<TrackedTime> result = apiInstance.issueTrackedTimes(owner, repo, id);
System.out.println(result);
@ -2536,7 +2536,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| index of the issue |
**id** | **Long**| index of the issue |
### Return type

View File

@ -172,7 +172,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
OrganizationApi apiInstance = new OrganizationApi();
Integer id = 56; // Integer | id of the team
Long id = 789L; // Long | id of the team
String username = "username_example"; // String | username of the user to add
try {
apiInstance.orgAddTeamMember(id, username);
@ -186,7 +186,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the team |
**id** | **Long**| id of the team |
**username** | **String**| username of the user to add |
### Return type
@ -255,7 +255,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
OrganizationApi apiInstance = new OrganizationApi();
Integer id = 56; // Integer | id of the team
Long id = 789L; // Long | id of the team
String org = "org_example"; // String | organization that owns the repo to add
String repo = "repo_example"; // String | name of the repo to add
try {
@ -270,7 +270,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the team |
**id** | **Long**| id of the team |
**org** | **String**| organization that owns the repo to add |
**repo** | **String**| name of the repo to add |
@ -372,7 +372,7 @@ null (empty response body)
<a name="orgCreateHook"></a>
# **orgCreateHook**
> List&lt;Branch&gt; orgCreateHook(org)
> List&lt;Branch&gt; orgCreateHook(org, body)
Create a hook
@ -424,8 +424,9 @@ Token.setApiKey("YOUR API KEY");
OrganizationApi apiInstance = new OrganizationApi();
String org = "org_example"; // String | name of the organization
CreateHookOption body = new CreateHookOption(); // CreateHookOption |
try {
List<Branch> result = apiInstance.orgCreateHook(org);
List<Branch> result = apiInstance.orgCreateHook(org, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationApi#orgCreateHook");
@ -438,6 +439,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| name of the organization |
**body** | [**CreateHookOption**](CreateHookOption.md)| |
### Return type
@ -590,7 +592,7 @@ Token.setApiKey("YOUR API KEY");
OrganizationApi apiInstance = new OrganizationApi();
String org = "org_example"; // String | name of the organization
Integer id = 56; // Integer | id of the hook to delete
Long id = 789L; // Long | id of the hook to delete
try {
apiInstance.orgDeleteHook(org, id);
} catch (ApiException e) {
@ -604,7 +606,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| name of the organization |
**id** | **Integer**| id of the hook to delete |
**id** | **Long**| id of the hook to delete |
### Return type
@ -755,7 +757,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
OrganizationApi apiInstance = new OrganizationApi();
Integer id = 56; // Integer | id of the team to delete
Long id = 789L; // Long | id of the team to delete
try {
apiInstance.orgDeleteTeam(id);
} catch (ApiException e) {
@ -768,7 +770,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the team to delete |
**id** | **Long**| id of the team to delete |
### Return type
@ -869,7 +871,7 @@ Name | Type | Description | Notes
<a name="orgEditHook"></a>
# **orgEditHook**
> List&lt;Branch&gt; orgEditHook(org, id)
> List&lt;Branch&gt; orgEditHook(org, id, body)
Update a hook
@ -921,9 +923,10 @@ Token.setApiKey("YOUR API KEY");
OrganizationApi apiInstance = new OrganizationApi();
String org = "org_example"; // String | name of the organization
Integer id = 56; // Integer | id of the hook to update
Long id = 789L; // Long | id of the hook to update
EditHookOption body = new EditHookOption(); // EditHookOption |
try {
List<Branch> result = apiInstance.orgEditHook(org, id);
List<Branch> result = apiInstance.orgEditHook(org, id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationApi#orgEditHook");
@ -936,7 +939,8 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| name of the organization |
**id** | **Integer**| id of the hook to update |
**id** | **Long**| id of the hook to update |
**body** | [**EditHookOption**](EditHookOption.md)| | [optional]
### Return type
@ -1171,7 +1175,7 @@ Token.setApiKey("YOUR API KEY");
OrganizationApi apiInstance = new OrganizationApi();
String org = "org_example"; // String | name of the organization
Integer id = 56; // Integer | id of the hook to get
Long id = 789L; // Long | id of the hook to get
try {
List<Branch> result = apiInstance.orgGetHook(org, id);
System.out.println(result);
@ -1186,7 +1190,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| name of the organization |
**id** | **Integer**| id of the hook to get |
**id** | **Long**| id of the hook to get |
### Return type
@ -1254,7 +1258,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
OrganizationApi apiInstance = new OrganizationApi();
Integer id = 56; // Integer | id of the team to get
Long id = 789L; // Long | id of the team to get
try {
Team result = apiInstance.orgGetTeam(id);
System.out.println(result);
@ -1268,7 +1272,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the team to get |
**id** | **Long**| id of the team to get |
### Return type
@ -1908,7 +1912,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
OrganizationApi apiInstance = new OrganizationApi();
Integer id = 56; // Integer | id of the team
Long id = 789L; // Long | id of the team
try {
List<User> result = apiInstance.orgListTeamMembers(id);
System.out.println(result);
@ -1922,7 +1926,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the team |
**id** | **Long**| id of the team |
### Return type
@ -1990,7 +1994,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
OrganizationApi apiInstance = new OrganizationApi();
Integer id = 56; // Integer | id of the team
Long id = 789L; // Long | id of the team
try {
List<Repository> result = apiInstance.orgListTeamRepos(id);
System.out.println(result);
@ -2004,7 +2008,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the team |
**id** | **Long**| id of the team |
### Return type
@ -2319,7 +2323,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
OrganizationApi apiInstance = new OrganizationApi();
Integer id = 56; // Integer | id of the team
Long id = 789L; // Long | id of the team
String username = "username_example"; // String | username of the user to remove
try {
apiInstance.orgRemoveTeamMember(id, username);
@ -2333,7 +2337,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the team |
**id** | **Long**| id of the team |
**username** | **String**| username of the user to remove |
### Return type
@ -2404,7 +2408,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
OrganizationApi apiInstance = new OrganizationApi();
Integer id = 56; // Integer | id of the team
Long id = 789L; // Long | id of the team
String org = "org_example"; // String | organization that owns the repo to remove
String repo = "repo_example"; // String | name of the repo to remove
try {
@ -2419,7 +2423,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the team |
**id** | **Long**| id of the team |
**org** | **String**| organization that owns the repo to remove |
**repo** | **String**| name of the repo to remove |

View File

@ -883,7 +883,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the release
Long id = 789L; // Long | id of the release
File attachment = new File("/path/to/file.txt"); // File | attachment to upload
String name = "name_example"; // String | name of the attachment
try {
@ -901,7 +901,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the release |
**id** | **Long**| id of the release |
**attachment** | **File**| attachment to upload |
**name** | **String**| name of the attachment | [optional]
@ -1229,7 +1229,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the hook to delete
Long id = 789L; // Long | id of the hook to delete
try {
apiInstance.repoDeleteHook(owner, repo, id);
} catch (ApiException e) {
@ -1244,7 +1244,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the hook to delete |
**id** | **Long**| id of the hook to delete |
### Return type
@ -1314,7 +1314,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the key to delete
Long id = 789L; // Long | id of the key to delete
try {
apiInstance.repoDeleteKey(owner, repo, id);
} catch (ApiException e) {
@ -1329,7 +1329,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the key to delete |
**id** | **Long**| id of the key to delete |
### Return type
@ -1399,7 +1399,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the release to delete
Long id = 789L; // Long | id of the release to delete
try {
apiInstance.repoDeleteRelease(owner, repo, id);
} catch (ApiException e) {
@ -1414,7 +1414,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the release to delete |
**id** | **Long**| id of the release to delete |
### Return type
@ -1484,8 +1484,8 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the release
Integer attachmentId = 56; // Integer | id of the attachment to delete
Long id = 789L; // Long | id of the release
Long attachmentId = 789L; // Long | id of the attachment to delete
try {
apiInstance.repoDeleteReleaseAttachment(owner, repo, id, attachmentId);
} catch (ApiException e) {
@ -1500,8 +1500,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the release |
**attachmentId** | **Integer**| id of the attachment to delete |
**id** | **Long**| id of the release |
**attachmentId** | **Long**| id of the attachment to delete |
### Return type
@ -1571,7 +1571,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | index of the hook
Long id = 789L; // Long | index of the hook
EditHookOption body = new EditHookOption(); // EditHookOption |
try {
List<Branch> result = apiInstance.repoEditHook(owner, repo, id, body);
@ -1588,7 +1588,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| index of the hook |
**id** | **Long**| index of the hook |
**body** | [**EditHookOption**](EditHookOption.md)| | [optional]
### Return type
@ -1659,7 +1659,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the pull request to edit
Long index = 789L; // Long | index of the pull request to edit
EditPullRequestOption body = new EditPullRequestOption(); // EditPullRequestOption |
try {
PullRequest result = apiInstance.repoEditPullRequest(owner, repo, index, body);
@ -1676,7 +1676,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the pull request to edit |
**index** | **Long**| index of the pull request to edit |
**body** | [**EditPullRequestOption**](EditPullRequestOption.md)| | [optional]
### Return type
@ -1747,7 +1747,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the release to edit
Long id = 789L; // Long | id of the release to edit
EditReleaseOption body = new EditReleaseOption(); // EditReleaseOption |
try {
Release result = apiInstance.repoEditRelease(owner, repo, id, body);
@ -1764,7 +1764,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the release to edit |
**id** | **Long**| id of the release to edit |
**body** | [**EditReleaseOption**](EditReleaseOption.md)| | [optional]
### Return type
@ -1835,8 +1835,8 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the release
Integer attachmentId = 56; // Integer | id of the attachment to edit
Long id = 789L; // Long | id of the release
Long attachmentId = 789L; // Long | id of the attachment to edit
EditAttachmentOptions body = new EditAttachmentOptions(); // EditAttachmentOptions |
try {
Attachment result = apiInstance.repoEditReleaseAttachment(owner, repo, id, attachmentId, body);
@ -1853,8 +1853,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the release |
**attachmentId** | **Integer**| id of the attachment to edit |
**id** | **Long**| id of the release |
**attachmentId** | **Long**| id of the attachment to edit |
**body** | [**EditAttachmentOptions**](EditAttachmentOptions.md)| | [optional]
### Return type
@ -2178,7 +2178,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
RepositoryApi apiInstance = new RepositoryApi();
Integer id = 56; // Integer | id of the repo to get
Long id = 789L; // Long | id of the repo to get
try {
Repository result = apiInstance.repoGetByID(id);
System.out.println(result);
@ -2192,7 +2192,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of the repo to get |
**id** | **Long**| id of the repo to get |
### Return type
@ -2433,7 +2433,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the hook to get
Long id = 789L; // Long | id of the hook to get
try {
List<Branch> result = apiInstance.repoGetHook(owner, repo, id);
System.out.println(result);
@ -2449,7 +2449,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the hook to get |
**id** | **Long**| id of the hook to get |
### Return type
@ -2519,7 +2519,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the key to get
Long id = 789L; // Long | id of the key to get
try {
DeployKey result = apiInstance.repoGetKey(owner, repo, id);
System.out.println(result);
@ -2535,7 +2535,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the key to get |
**id** | **Long**| id of the key to get |
### Return type
@ -2605,7 +2605,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the pull request to get
Long index = 789L; // Long | index of the pull request to get
try {
PullRequest result = apiInstance.repoGetPullRequest(owner, repo, index);
System.out.println(result);
@ -2621,7 +2621,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the pull request to get |
**index** | **Long**| index of the pull request to get |
### Return type
@ -2776,7 +2776,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the release to get
Long id = 789L; // Long | id of the release to get
try {
Release result = apiInstance.repoGetRelease(owner, repo, id);
System.out.println(result);
@ -2792,7 +2792,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the release to get |
**id** | **Long**| id of the release to get |
### Return type
@ -2862,8 +2862,8 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the release
Integer attachmentId = 56; // Integer | id of the attachment to get
Long id = 789L; // Long | id of the release
Long attachmentId = 789L; // Long | id of the attachment to get
try {
Attachment result = apiInstance.repoGetReleaseAttachment(owner, repo, id, attachmentId);
System.out.println(result);
@ -2879,8 +2879,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the release |
**attachmentId** | **Integer**| id of the attachment to get |
**id** | **Long**| id of the release |
**attachmentId** | **Long**| id of the attachment to get |
### Return type
@ -3233,7 +3233,7 @@ Name | Type | Description | Notes
<a name="repoListPullRequests"></a>
# **repoListPullRequests**
> List&lt;PullRequest&gt; repoListPullRequests(owner, repo)
> List&lt;PullRequest&gt; repoListPullRequests(owner, repo, page, state, sort, milestone, labels)
List a repo&#39;s pull requests
@ -3286,8 +3286,13 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer page = 56; // Integer | Page number
String state = "state_example"; // String | State of pull request: open or closed (optional)
String sort = "sort_example"; // String | Type of sort
Long milestone = 789L; // Long | ID of the milestone
List<Long> labels = Arrays.asList(56L); // List<Long> | Label IDs
try {
List<PullRequest> result = apiInstance.repoListPullRequests(owner, repo);
List<PullRequest> result = apiInstance.repoListPullRequests(owner, repo, page, state, sort, milestone, labels);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling RepositoryApi#repoListPullRequests");
@ -3301,6 +3306,11 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**page** | **Integer**| Page number | [optional]
**state** | **String**| State of pull request: open or closed (optional) | [optional] [enum: closed, open, all]
**sort** | **String**| Type of sort | [optional] [enum: oldest, recentupdate, leastupdate, mostcomment, leastcomment, priority]
**milestone** | **Long**| ID of the milestone | [optional]
**labels** | [**List&lt;Long&gt;**](Long.md)| Label IDs | [optional]
### Return type
@ -3370,7 +3380,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the release
Long id = 789L; // Long | id of the release
try {
List<Attachment> result = apiInstance.repoListReleaseAttachments(owner, repo, id);
System.out.println(result);
@ -3386,7 +3396,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the release |
**id** | **Long**| id of the release |
### Return type
@ -3794,7 +3804,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the pull request to merge
Long index = 789L; // Long | index of the pull request to merge
try {
apiInstance.repoMergePullRequest(owner, repo, index);
} catch (ApiException e) {
@ -3809,7 +3819,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the pull request to merge |
**index** | **Long**| index of the pull request to merge |
### Return type
@ -4044,7 +4054,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer index = 56; // Integer | index of the pull request
Long index = 789L; // Long | index of the pull request
try {
apiInstance.repoPullRequestIsMerged(owner, repo, index);
} catch (ApiException e) {
@ -4059,7 +4069,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**index** | **Integer**| index of the pull request |
**index** | **Long**| index of the pull request |
### Return type
@ -4128,7 +4138,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String q = "q_example"; // String | keyword
Integer uid = 56; // Integer | search only for repos that the user with the given id owns or contributes to
Long uid = 789L; // Long | search only for repos that the user with the given id owns or contributes to
Integer page = 56; // Integer | page number of results to return (1-based)
Integer limit = 56; // Integer | page size of results, maximum page size is 50
String mode = "mode_example"; // String | type of repository to search for. Supported values are \"fork\", \"source\", \"mirror\" and \"collaborative\"
@ -4149,7 +4159,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**q** | **String**| keyword | [optional]
**uid** | **Integer**| search only for repos that the user with the given id owns or contributes to | [optional]
**uid** | **Long**| search only for repos that the user with the given id owns or contributes to | [optional]
**page** | **Integer**| page number of results to return (1-based) | [optional]
**limit** | **Integer**| page size of results, maximum page size is 50 | [optional]
**mode** | **String**| type of repository to search for. Supported values are \&quot;fork\&quot;, \&quot;source\&quot;, \&quot;mirror\&quot; and \&quot;collaborative\&quot; | [optional]
@ -4225,7 +4235,7 @@ Token.setApiKey("YOUR API KEY");
RepositoryApi apiInstance = new RepositoryApi();
String owner = "owner_example"; // String | owner of the repo
String repo = "repo_example"; // String | name of the repo
Integer id = 56; // Integer | id of the hook to test
Long id = 789L; // Long | id of the hook to test
try {
apiInstance.repoTestHook(owner, repo, id);
} catch (ApiException e) {
@ -4240,7 +4250,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**owner** | **String**| owner of the repo |
**repo** | **String**| name of the repo |
**id** | **Integer**| id of the hook to test |
**id** | **Long**| id of the hook to test |
### Return type

View File

@ -674,7 +674,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
UserApi apiInstance = new UserApi();
Integer id = 56; // Integer | id of key to delete
Long id = 789L; // Long | id of key to delete
try {
apiInstance.userCurrentDeleteGPGKey(id);
} catch (ApiException e) {
@ -687,7 +687,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of key to delete |
**id** | **Long**| id of key to delete |
### Return type
@ -755,7 +755,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
UserApi apiInstance = new UserApi();
Integer id = 56; // Integer | id of key to delete
Long id = 789L; // Long | id of key to delete
try {
apiInstance.userCurrentDeleteKey(id);
} catch (ApiException e) {
@ -768,7 +768,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of key to delete |
**id** | **Long**| id of key to delete |
### Return type
@ -919,7 +919,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
UserApi apiInstance = new UserApi();
Integer id = 56; // Integer | id of key to get
Long id = 789L; // Long | id of key to get
try {
GPGKey result = apiInstance.userCurrentGetGPGKey(id);
System.out.println(result);
@ -933,7 +933,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of key to get |
**id** | **Long**| id of key to get |
### Return type
@ -1001,7 +1001,7 @@ Token.setApiKey("YOUR API KEY");
//Token.setApiKeyPrefix("Token");
UserApi apiInstance = new UserApi();
Integer id = 56; // Integer | id of key to get
Long id = 789L; // Long | id of key to get
try {
PublicKey result = apiInstance.userCurrentGetKey(id);
System.out.println(result);
@ -1015,7 +1015,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| id of key to get |
**id** | **Long**| id of key to get |
### Return type
@ -2036,7 +2036,7 @@ Token.setApiKey("YOUR API KEY");
UserApi apiInstance = new UserApi();
String username = "username_example"; // String | username of user
Integer token = 56; // Integer | token to be deleted
Long token = 789L; // Long | token to be deleted
try {
apiInstance.userDeleteAccessToken(username, token);
} catch (ApiException e) {
@ -2050,7 +2050,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **String**| username of user |
**token** | **Integer**| token to be deleted |
**token** | **Long**| token to be deleted |
### Return type
@ -3094,7 +3094,7 @@ Token.setApiKey("YOUR API KEY");
UserApi apiInstance = new UserApi();
String q = "q_example"; // String | keyword
Integer uid = 56; // Integer | ID of the user to search for
Long uid = 789L; // Long | ID of the user to search for
Integer limit = 56; // Integer | maximum number of users to return
try {
UserSearchList result = apiInstance.userSearch(q, uid, limit);
@ -3110,7 +3110,7 @@ try {
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**q** | **String**| keyword | [optional]
**uid** | **Integer**| ID of the user to search for | [optional]
**uid** | **Long**| ID of the user to search for | [optional]
**limit** | **Integer**| maximum number of users to return | [optional]
### Return type

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class ApiException extends Exception {
private int code = 0;
private Map<String, List<String>> responseHeaders = null;

View File

@ -13,7 +13,7 @@
package io.gitea;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Configuration {
private static ApiClient defaultApiClient = new ApiClient();

View File

@ -13,7 +13,7 @@
package io.gitea;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Pair {
private String name = "";
private String value = "";

View File

@ -13,7 +13,7 @@
package io.gitea;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).

View File

@ -27,6 +27,9 @@ import com.google.gson.reflect.TypeToken;
import java.io.IOException;
import io.gitea.model.CreateKeyOption;
import io.gitea.model.CreateOrgOption;
import io.gitea.model.CreateRepoOption;
import io.gitea.model.CreateUserOption;
import io.gitea.model.EditUserOption;
import io.gitea.model.Organization;
@ -62,13 +65,14 @@ public class AdminApi {
/**
* Build call for adminCreateOrg
* @param username username of the user that will own the created organization (required)
* @param organization (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call adminCreateOrgCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
public com.squareup.okhttp.Call adminCreateOrgCall(String username, CreateOrgOption organization, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = organization;
// create path and map variables
String localVarPath = "/admin/users/{username}/orgs"
@ -110,15 +114,20 @@ public class AdminApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call adminCreateOrgValidateBeforeCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call adminCreateOrgValidateBeforeCall(String username, CreateOrgOption organization, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'username' is set
if (username == null) {
throw new ApiException("Missing the required parameter 'username' when calling adminCreateOrg(Async)");
}
// verify the required parameter 'organization' is set
if (organization == null) {
throw new ApiException("Missing the required parameter 'organization' when calling adminCreateOrg(Async)");
}
com.squareup.okhttp.Call call = adminCreateOrgCall(username, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = adminCreateOrgCall(username, organization, progressListener, progressRequestListener);
return call;
}
@ -127,11 +136,12 @@ public class AdminApi {
* Create an organization
*
* @param username username of the user that will own the created organization (required)
* @param organization (required)
* @return Organization
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Organization adminCreateOrg(String username) throws ApiException {
ApiResponse<Organization> resp = adminCreateOrgWithHttpInfo(username);
public Organization adminCreateOrg(String username, CreateOrgOption organization) throws ApiException {
ApiResponse<Organization> resp = adminCreateOrgWithHttpInfo(username, organization);
return resp.getData();
}
@ -139,11 +149,12 @@ public class AdminApi {
* Create an organization
*
* @param username username of the user that will own the created organization (required)
* @param organization (required)
* @return ApiResponse&lt;Organization&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Organization> adminCreateOrgWithHttpInfo(String username) throws ApiException {
com.squareup.okhttp.Call call = adminCreateOrgValidateBeforeCall(username, null, null);
public ApiResponse<Organization> adminCreateOrgWithHttpInfo(String username, CreateOrgOption organization) throws ApiException {
com.squareup.okhttp.Call call = adminCreateOrgValidateBeforeCall(username, organization, null, null);
Type localVarReturnType = new TypeToken<Organization>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@ -152,11 +163,12 @@ public class AdminApi {
* Create an organization (asynchronously)
*
* @param username username of the user that will own the created organization (required)
* @param organization (required)
* @param callback The callback to be executed when the API call finishes
* @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 adminCreateOrgAsync(String username, final ApiCallback<Organization> callback) throws ApiException {
public com.squareup.okhttp.Call adminCreateOrgAsync(String username, CreateOrgOption organization, final ApiCallback<Organization> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -177,7 +189,7 @@ public class AdminApi {
};
}
com.squareup.okhttp.Call call = adminCreateOrgValidateBeforeCall(username, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = adminCreateOrgValidateBeforeCall(username, organization, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken<Organization>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
@ -185,13 +197,14 @@ public class AdminApi {
/**
* Build call for adminCreatePublicKey
* @param username username of the user (required)
* @param key (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call adminCreatePublicKeyCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
public com.squareup.okhttp.Call adminCreatePublicKeyCall(String username, CreateKeyOption key, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = key;
// create path and map variables
String localVarPath = "/admin/users/{username}/keys"
@ -233,7 +246,7 @@ public class AdminApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call adminCreatePublicKeyValidateBeforeCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call adminCreatePublicKeyValidateBeforeCall(String username, CreateKeyOption key, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'username' is set
if (username == null) {
@ -241,7 +254,7 @@ public class AdminApi {
}
com.squareup.okhttp.Call call = adminCreatePublicKeyCall(username, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = adminCreatePublicKeyCall(username, key, progressListener, progressRequestListener);
return call;
}
@ -250,11 +263,12 @@ public class AdminApi {
* Add a public key on behalf of a user
*
* @param username username of the user (required)
* @param key (optional)
* @return PublicKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public PublicKey adminCreatePublicKey(String username) throws ApiException {
ApiResponse<PublicKey> resp = adminCreatePublicKeyWithHttpInfo(username);
public PublicKey adminCreatePublicKey(String username, CreateKeyOption key) throws ApiException {
ApiResponse<PublicKey> resp = adminCreatePublicKeyWithHttpInfo(username, key);
return resp.getData();
}
@ -262,11 +276,12 @@ public class AdminApi {
* Add a public key on behalf of a user
*
* @param username username of the user (required)
* @param key (optional)
* @return ApiResponse&lt;PublicKey&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<PublicKey> adminCreatePublicKeyWithHttpInfo(String username) throws ApiException {
com.squareup.okhttp.Call call = adminCreatePublicKeyValidateBeforeCall(username, null, null);
public ApiResponse<PublicKey> adminCreatePublicKeyWithHttpInfo(String username, CreateKeyOption key) throws ApiException {
com.squareup.okhttp.Call call = adminCreatePublicKeyValidateBeforeCall(username, key, null, null);
Type localVarReturnType = new TypeToken<PublicKey>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@ -275,11 +290,12 @@ public class AdminApi {
* Add a public key on behalf of a user (asynchronously)
*
* @param username username of the user (required)
* @param key (optional)
* @param callback The callback to be executed when the API call finishes
* @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 adminCreatePublicKeyAsync(String username, final ApiCallback<PublicKey> callback) throws ApiException {
public com.squareup.okhttp.Call adminCreatePublicKeyAsync(String username, CreateKeyOption key, final ApiCallback<PublicKey> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -300,7 +316,7 @@ public class AdminApi {
};
}
com.squareup.okhttp.Call call = adminCreatePublicKeyValidateBeforeCall(username, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = adminCreatePublicKeyValidateBeforeCall(username, key, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken<PublicKey>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
@ -308,13 +324,14 @@ public class AdminApi {
/**
* Build call for adminCreateRepo
* @param username username of the user. This user will own the created repository (required)
* @param repository (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call adminCreateRepoCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
public com.squareup.okhttp.Call adminCreateRepoCall(String username, CreateRepoOption repository, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = repository;
// create path and map variables
String localVarPath = "/admin/users/{username}/repos"
@ -356,15 +373,20 @@ public class AdminApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call adminCreateRepoValidateBeforeCall(String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call adminCreateRepoValidateBeforeCall(String username, CreateRepoOption repository, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'username' is set
if (username == null) {
throw new ApiException("Missing the required parameter 'username' when calling adminCreateRepo(Async)");
}
// verify the required parameter 'repository' is set
if (repository == null) {
throw new ApiException("Missing the required parameter 'repository' when calling adminCreateRepo(Async)");
}
com.squareup.okhttp.Call call = adminCreateRepoCall(username, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = adminCreateRepoCall(username, repository, progressListener, progressRequestListener);
return call;
}
@ -373,11 +395,12 @@ public class AdminApi {
* Create a repository on behalf a user
*
* @param username username of the user. This user will own the created repository (required)
* @param repository (required)
* @return Repository
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Repository adminCreateRepo(String username) throws ApiException {
ApiResponse<Repository> resp = adminCreateRepoWithHttpInfo(username);
public Repository adminCreateRepo(String username, CreateRepoOption repository) throws ApiException {
ApiResponse<Repository> resp = adminCreateRepoWithHttpInfo(username, repository);
return resp.getData();
}
@ -385,11 +408,12 @@ public class AdminApi {
* Create a repository on behalf a user
*
* @param username username of the user. This user will own the created repository (required)
* @param repository (required)
* @return ApiResponse&lt;Repository&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Repository> adminCreateRepoWithHttpInfo(String username) throws ApiException {
com.squareup.okhttp.Call call = adminCreateRepoValidateBeforeCall(username, null, null);
public ApiResponse<Repository> adminCreateRepoWithHttpInfo(String username, CreateRepoOption repository) throws ApiException {
com.squareup.okhttp.Call call = adminCreateRepoValidateBeforeCall(username, repository, null, null);
Type localVarReturnType = new TypeToken<Repository>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@ -398,11 +422,12 @@ public class AdminApi {
* Create a repository on behalf a user (asynchronously)
*
* @param username username of the user. This user will own the created repository (required)
* @param repository (required)
* @param callback The callback to be executed when the API call finishes
* @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 adminCreateRepoAsync(String username, final ApiCallback<Repository> callback) throws ApiException {
public com.squareup.okhttp.Call adminCreateRepoAsync(String username, CreateRepoOption repository, final ApiCallback<Repository> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -423,7 +448,7 @@ public class AdminApi {
};
}
com.squareup.okhttp.Call call = adminCreateRepoValidateBeforeCall(username, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = adminCreateRepoValidateBeforeCall(username, repository, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken<Repository>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
@ -673,7 +698,7 @@ public class AdminApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call adminDeleteUserPublicKeyCall(String username, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call adminDeleteUserPublicKeyCall(String username, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -717,7 +742,7 @@ public class AdminApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call adminDeleteUserPublicKeyValidateBeforeCall(String username, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call adminDeleteUserPublicKeyValidateBeforeCall(String username, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'username' is set
if (username == null) {
@ -742,7 +767,7 @@ public class AdminApi {
* @param id id of the key to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void adminDeleteUserPublicKey(String username, Integer id) throws ApiException {
public void adminDeleteUserPublicKey(String username, Long id) throws ApiException {
adminDeleteUserPublicKeyWithHttpInfo(username, id);
}
@ -754,7 +779,7 @@ public class AdminApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> adminDeleteUserPublicKeyWithHttpInfo(String username, Integer id) throws ApiException {
public ApiResponse<Void> adminDeleteUserPublicKeyWithHttpInfo(String username, Long id) throws ApiException {
com.squareup.okhttp.Call call = adminDeleteUserPublicKeyValidateBeforeCall(username, id, null, null);
return apiClient.execute(call);
}
@ -768,7 +793,7 @@ public class AdminApi {
* @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 adminDeleteUserPublicKeyAsync(String username, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call adminDeleteUserPublicKeyAsync(String username, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;

View File

@ -81,7 +81,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueAddLabelCall(String owner, String repo, Integer index, IssueLabelsOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueAddLabelCall(String owner, String repo, Long index, IssueLabelsOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -126,7 +126,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueAddLabelValidateBeforeCall(String owner, String repo, Integer index, IssueLabelsOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueAddLabelValidateBeforeCall(String owner, String repo, Long index, IssueLabelsOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -159,7 +159,7 @@ public class IssueApi {
* @return List&lt;Label&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Label> issueAddLabel(String owner, String repo, Integer index, IssueLabelsOption body) throws ApiException {
public List<Label> issueAddLabel(String owner, String repo, Long index, IssueLabelsOption body) throws ApiException {
ApiResponse<List<Label>> resp = issueAddLabelWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@ -174,7 +174,7 @@ public class IssueApi {
* @return ApiResponse&lt;List&lt;Label&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Label>> issueAddLabelWithHttpInfo(String owner, String repo, Integer index, IssueLabelsOption body) throws ApiException {
public ApiResponse<List<Label>> issueAddLabelWithHttpInfo(String owner, String repo, Long index, IssueLabelsOption body) throws ApiException {
com.squareup.okhttp.Call call = issueAddLabelValidateBeforeCall(owner, repo, index, body, null, null);
Type localVarReturnType = new TypeToken<List<Label>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -191,7 +191,7 @@ public class IssueApi {
* @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 issueAddLabelAsync(String owner, String repo, Integer index, IssueLabelsOption body, final ApiCallback<List<Label>> callback) throws ApiException {
public com.squareup.okhttp.Call issueAddLabelAsync(String owner, String repo, Long index, IssueLabelsOption body, final ApiCallback<List<Label>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -228,7 +228,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueAddTimeCall(String owner, String repo, Integer id, AddTimeOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueAddTimeCall(String owner, String repo, Long id, AddTimeOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -273,7 +273,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueAddTimeValidateBeforeCall(String owner, String repo, Integer id, AddTimeOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueAddTimeValidateBeforeCall(String owner, String repo, Long id, AddTimeOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -306,7 +306,7 @@ public class IssueApi {
* @return TrackedTime
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public TrackedTime issueAddTime(String owner, String repo, Integer id, AddTimeOption body) throws ApiException {
public TrackedTime issueAddTime(String owner, String repo, Long id, AddTimeOption body) throws ApiException {
ApiResponse<TrackedTime> resp = issueAddTimeWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@ -321,7 +321,7 @@ public class IssueApi {
* @return ApiResponse&lt;TrackedTime&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<TrackedTime> issueAddTimeWithHttpInfo(String owner, String repo, Integer id, AddTimeOption body) throws ApiException {
public ApiResponse<TrackedTime> issueAddTimeWithHttpInfo(String owner, String repo, Long id, AddTimeOption body) throws ApiException {
com.squareup.okhttp.Call call = issueAddTimeValidateBeforeCall(owner, repo, id, body, null, null);
Type localVarReturnType = new TypeToken<TrackedTime>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -338,7 +338,7 @@ public class IssueApi {
* @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 issueAddTimeAsync(String owner, String repo, Integer id, AddTimeOption body, final ApiCallback<TrackedTime> callback) throws ApiException {
public com.squareup.okhttp.Call issueAddTimeAsync(String owner, String repo, Long id, AddTimeOption body, final ApiCallback<TrackedTime> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -374,7 +374,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueClearLabelsCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueClearLabelsCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -419,7 +419,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueClearLabelsValidateBeforeCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueClearLabelsValidateBeforeCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -450,7 +450,7 @@ public class IssueApi {
* @param index index of the issue (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void issueClearLabels(String owner, String repo, Integer index) throws ApiException {
public void issueClearLabels(String owner, String repo, Long index) throws ApiException {
issueClearLabelsWithHttpInfo(owner, repo, index);
}
@ -463,7 +463,7 @@ public class IssueApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> issueClearLabelsWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
public ApiResponse<Void> issueClearLabelsWithHttpInfo(String owner, String repo, Long index) throws ApiException {
com.squareup.okhttp.Call call = issueClearLabelsValidateBeforeCall(owner, repo, index, null, null);
return apiClient.execute(call);
}
@ -478,7 +478,7 @@ public class IssueApi {
* @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 issueClearLabelsAsync(String owner, String repo, Integer index, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call issueClearLabelsAsync(String owner, String repo, Long index, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -514,7 +514,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueCreateCommentCall(String owner, String repo, Integer index, CreateIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueCreateCommentCall(String owner, String repo, Long index, CreateIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -559,7 +559,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueCreateCommentValidateBeforeCall(String owner, String repo, Integer index, CreateIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueCreateCommentValidateBeforeCall(String owner, String repo, Long index, CreateIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -592,7 +592,7 @@ public class IssueApi {
* @return Comment
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Comment issueCreateComment(String owner, String repo, Integer index, CreateIssueCommentOption body) throws ApiException {
public Comment issueCreateComment(String owner, String repo, Long index, CreateIssueCommentOption body) throws ApiException {
ApiResponse<Comment> resp = issueCreateCommentWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@ -607,7 +607,7 @@ public class IssueApi {
* @return ApiResponse&lt;Comment&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Comment> issueCreateCommentWithHttpInfo(String owner, String repo, Integer index, CreateIssueCommentOption body) throws ApiException {
public ApiResponse<Comment> issueCreateCommentWithHttpInfo(String owner, String repo, Long index, CreateIssueCommentOption body) throws ApiException {
com.squareup.okhttp.Call call = issueCreateCommentValidateBeforeCall(owner, repo, index, body, null, null);
Type localVarReturnType = new TypeToken<Comment>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -624,7 +624,7 @@ public class IssueApi {
* @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 issueCreateCommentAsync(String owner, String repo, Integer index, CreateIssueCommentOption body, final ApiCallback<Comment> callback) throws ApiException {
public com.squareup.okhttp.Call issueCreateCommentAsync(String owner, String repo, Long index, CreateIssueCommentOption body, final ApiCallback<Comment> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1071,7 +1071,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueDeleteCommentCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueDeleteCommentCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1116,7 +1116,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueDeleteCommentValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueDeleteCommentValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -1147,7 +1147,7 @@ public class IssueApi {
* @param id id of comment to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void issueDeleteComment(String owner, String repo, Integer id) throws ApiException {
public void issueDeleteComment(String owner, String repo, Long id) throws ApiException {
issueDeleteCommentWithHttpInfo(owner, repo, id);
}
@ -1160,7 +1160,7 @@ public class IssueApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> issueDeleteCommentWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Void> issueDeleteCommentWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueDeleteCommentValidateBeforeCall(owner, repo, id, null, null);
return apiClient.execute(call);
}
@ -1175,7 +1175,7 @@ public class IssueApi {
* @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 issueDeleteCommentAsync(String owner, String repo, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call issueDeleteCommentAsync(String owner, String repo, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1213,7 +1213,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
public com.squareup.okhttp.Call issueDeleteCommentDeprecatedCall(String owner, String repo, Integer index, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueDeleteCommentDeprecatedCall(String owner, String repo, Integer index, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1260,7 +1260,7 @@ public class IssueApi {
@Deprecated
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueDeleteCommentDeprecatedValidateBeforeCall(String owner, String repo, Integer index, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueDeleteCommentDeprecatedValidateBeforeCall(String owner, String repo, Integer index, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -1299,7 +1299,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
public void issueDeleteCommentDeprecated(String owner, String repo, Integer index, Integer id) throws ApiException {
public void issueDeleteCommentDeprecated(String owner, String repo, Integer index, Long id) throws ApiException {
issueDeleteCommentDeprecatedWithHttpInfo(owner, repo, index, id);
}
@ -1315,7 +1315,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
public ApiResponse<Void> issueDeleteCommentDeprecatedWithHttpInfo(String owner, String repo, Integer index, Integer id) throws ApiException {
public ApiResponse<Void> issueDeleteCommentDeprecatedWithHttpInfo(String owner, String repo, Integer index, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueDeleteCommentDeprecatedValidateBeforeCall(owner, repo, index, id, null, null);
return apiClient.execute(call);
}
@ -1333,7 +1333,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
public com.squareup.okhttp.Call issueDeleteCommentDeprecatedAsync(String owner, String repo, Integer index, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call issueDeleteCommentDeprecatedAsync(String owner, String repo, Integer index, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1368,7 +1368,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueDeleteLabelCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueDeleteLabelCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1413,7 +1413,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueDeleteLabelValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueDeleteLabelValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -1444,7 +1444,7 @@ public class IssueApi {
* @param id id of the label to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void issueDeleteLabel(String owner, String repo, Integer id) throws ApiException {
public void issueDeleteLabel(String owner, String repo, Long id) throws ApiException {
issueDeleteLabelWithHttpInfo(owner, repo, id);
}
@ -1457,7 +1457,7 @@ public class IssueApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> issueDeleteLabelWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Void> issueDeleteLabelWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueDeleteLabelValidateBeforeCall(owner, repo, id, null, null);
return apiClient.execute(call);
}
@ -1472,7 +1472,7 @@ public class IssueApi {
* @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 issueDeleteLabelAsync(String owner, String repo, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call issueDeleteLabelAsync(String owner, String repo, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1507,7 +1507,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueDeleteMilestoneCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueDeleteMilestoneCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1552,7 +1552,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueDeleteMilestoneValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueDeleteMilestoneValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -1583,7 +1583,7 @@ public class IssueApi {
* @param id id of the milestone to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void issueDeleteMilestone(String owner, String repo, Integer id) throws ApiException {
public void issueDeleteMilestone(String owner, String repo, Long id) throws ApiException {
issueDeleteMilestoneWithHttpInfo(owner, repo, id);
}
@ -1596,7 +1596,7 @@ public class IssueApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> issueDeleteMilestoneWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Void> issueDeleteMilestoneWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueDeleteMilestoneValidateBeforeCall(owner, repo, id, null, null);
return apiClient.execute(call);
}
@ -1611,7 +1611,7 @@ public class IssueApi {
* @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 issueDeleteMilestoneAsync(String owner, String repo, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call issueDeleteMilestoneAsync(String owner, String repo, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1647,7 +1647,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueEditCommentCall(String owner, String repo, Integer id, EditIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueEditCommentCall(String owner, String repo, Long id, EditIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -1692,7 +1692,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueEditCommentValidateBeforeCall(String owner, String repo, Integer id, EditIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueEditCommentValidateBeforeCall(String owner, String repo, Long id, EditIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -1725,7 +1725,7 @@ public class IssueApi {
* @return Comment
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Comment issueEditComment(String owner, String repo, Integer id, EditIssueCommentOption body) throws ApiException {
public Comment issueEditComment(String owner, String repo, Long id, EditIssueCommentOption body) throws ApiException {
ApiResponse<Comment> resp = issueEditCommentWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@ -1740,7 +1740,7 @@ public class IssueApi {
* @return ApiResponse&lt;Comment&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Comment> issueEditCommentWithHttpInfo(String owner, String repo, Integer id, EditIssueCommentOption body) throws ApiException {
public ApiResponse<Comment> issueEditCommentWithHttpInfo(String owner, String repo, Long id, EditIssueCommentOption body) throws ApiException {
com.squareup.okhttp.Call call = issueEditCommentValidateBeforeCall(owner, repo, id, body, null, null);
Type localVarReturnType = new TypeToken<Comment>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -1757,7 +1757,7 @@ public class IssueApi {
* @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 issueEditCommentAsync(String owner, String repo, Integer id, EditIssueCommentOption body, final ApiCallback<Comment> callback) throws ApiException {
public com.squareup.okhttp.Call issueEditCommentAsync(String owner, String repo, Long id, EditIssueCommentOption body, final ApiCallback<Comment> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1797,7 +1797,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
public com.squareup.okhttp.Call issueEditCommentDeprecatedCall(String owner, String repo, Integer index, Integer id, EditIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueEditCommentDeprecatedCall(String owner, String repo, Integer index, Long id, EditIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -1844,7 +1844,7 @@ public class IssueApi {
@Deprecated
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueEditCommentDeprecatedValidateBeforeCall(String owner, String repo, Integer index, Integer id, EditIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueEditCommentDeprecatedValidateBeforeCall(String owner, String repo, Integer index, Long id, EditIssueCommentOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -1885,7 +1885,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
public Comment issueEditCommentDeprecated(String owner, String repo, Integer index, Integer id, EditIssueCommentOption body) throws ApiException {
public Comment issueEditCommentDeprecated(String owner, String repo, Integer index, Long id, EditIssueCommentOption body) throws ApiException {
ApiResponse<Comment> resp = issueEditCommentDeprecatedWithHttpInfo(owner, repo, index, id, body);
return resp.getData();
}
@ -1903,7 +1903,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
public ApiResponse<Comment> issueEditCommentDeprecatedWithHttpInfo(String owner, String repo, Integer index, Integer id, EditIssueCommentOption body) throws ApiException {
public ApiResponse<Comment> issueEditCommentDeprecatedWithHttpInfo(String owner, String repo, Integer index, Long id, EditIssueCommentOption body) throws ApiException {
com.squareup.okhttp.Call call = issueEditCommentDeprecatedValidateBeforeCall(owner, repo, index, id, body, null, null);
Type localVarReturnType = new TypeToken<Comment>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -1923,7 +1923,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
public com.squareup.okhttp.Call issueEditCommentDeprecatedAsync(String owner, String repo, Integer index, Integer id, EditIssueCommentOption body, final ApiCallback<Comment> callback) throws ApiException {
public com.squareup.okhttp.Call issueEditCommentDeprecatedAsync(String owner, String repo, Integer index, Long id, EditIssueCommentOption body, final ApiCallback<Comment> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1960,7 +1960,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueEditIssueCall(String owner, String repo, Integer index, EditIssueOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueEditIssueCall(String owner, String repo, Long index, EditIssueOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -2005,7 +2005,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueEditIssueValidateBeforeCall(String owner, String repo, Integer index, EditIssueOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueEditIssueValidateBeforeCall(String owner, String repo, Long index, EditIssueOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2038,7 +2038,7 @@ public class IssueApi {
* @return Issue
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Issue issueEditIssue(String owner, String repo, Integer index, EditIssueOption body) throws ApiException {
public Issue issueEditIssue(String owner, String repo, Long index, EditIssueOption body) throws ApiException {
ApiResponse<Issue> resp = issueEditIssueWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@ -2053,7 +2053,7 @@ public class IssueApi {
* @return ApiResponse&lt;Issue&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Issue> issueEditIssueWithHttpInfo(String owner, String repo, Integer index, EditIssueOption body) throws ApiException {
public ApiResponse<Issue> issueEditIssueWithHttpInfo(String owner, String repo, Long index, EditIssueOption body) throws ApiException {
com.squareup.okhttp.Call call = issueEditIssueValidateBeforeCall(owner, repo, index, body, null, null);
Type localVarReturnType = new TypeToken<Issue>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2070,7 +2070,7 @@ public class IssueApi {
* @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 issueEditIssueAsync(String owner, String repo, Integer index, EditIssueOption body, final ApiCallback<Issue> callback) throws ApiException {
public com.squareup.okhttp.Call issueEditIssueAsync(String owner, String repo, Long index, EditIssueOption body, final ApiCallback<Issue> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2107,7 +2107,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueEditIssueDeadlineCall(String owner, String repo, Integer index, EditDeadlineOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueEditIssueDeadlineCall(String owner, String repo, Long index, EditDeadlineOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -2152,7 +2152,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueEditIssueDeadlineValidateBeforeCall(String owner, String repo, Integer index, EditDeadlineOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueEditIssueDeadlineValidateBeforeCall(String owner, String repo, Long index, EditDeadlineOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2185,7 +2185,7 @@ public class IssueApi {
* @return IssueDeadline
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public IssueDeadline issueEditIssueDeadline(String owner, String repo, Integer index, EditDeadlineOption body) throws ApiException {
public IssueDeadline issueEditIssueDeadline(String owner, String repo, Long index, EditDeadlineOption body) throws ApiException {
ApiResponse<IssueDeadline> resp = issueEditIssueDeadlineWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@ -2200,7 +2200,7 @@ public class IssueApi {
* @return ApiResponse&lt;IssueDeadline&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<IssueDeadline> issueEditIssueDeadlineWithHttpInfo(String owner, String repo, Integer index, EditDeadlineOption body) throws ApiException {
public ApiResponse<IssueDeadline> issueEditIssueDeadlineWithHttpInfo(String owner, String repo, Long index, EditDeadlineOption body) throws ApiException {
com.squareup.okhttp.Call call = issueEditIssueDeadlineValidateBeforeCall(owner, repo, index, body, null, null);
Type localVarReturnType = new TypeToken<IssueDeadline>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2217,7 +2217,7 @@ public class IssueApi {
* @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 issueEditIssueDeadlineAsync(String owner, String repo, Integer index, EditDeadlineOption body, final ApiCallback<IssueDeadline> callback) throws ApiException {
public com.squareup.okhttp.Call issueEditIssueDeadlineAsync(String owner, String repo, Long index, EditDeadlineOption body, final ApiCallback<IssueDeadline> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2254,7 +2254,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueEditLabelCall(String owner, String repo, Integer id, EditLabelOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueEditLabelCall(String owner, String repo, Long id, EditLabelOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -2299,7 +2299,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueEditLabelValidateBeforeCall(String owner, String repo, Integer id, EditLabelOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueEditLabelValidateBeforeCall(String owner, String repo, Long id, EditLabelOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2332,7 +2332,7 @@ public class IssueApi {
* @return Label
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Label issueEditLabel(String owner, String repo, Integer id, EditLabelOption body) throws ApiException {
public Label issueEditLabel(String owner, String repo, Long id, EditLabelOption body) throws ApiException {
ApiResponse<Label> resp = issueEditLabelWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@ -2347,7 +2347,7 @@ public class IssueApi {
* @return ApiResponse&lt;Label&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Label> issueEditLabelWithHttpInfo(String owner, String repo, Integer id, EditLabelOption body) throws ApiException {
public ApiResponse<Label> issueEditLabelWithHttpInfo(String owner, String repo, Long id, EditLabelOption body) throws ApiException {
com.squareup.okhttp.Call call = issueEditLabelValidateBeforeCall(owner, repo, id, body, null, null);
Type localVarReturnType = new TypeToken<Label>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2364,7 +2364,7 @@ public class IssueApi {
* @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 issueEditLabelAsync(String owner, String repo, Integer id, EditLabelOption body, final ApiCallback<Label> callback) throws ApiException {
public com.squareup.okhttp.Call issueEditLabelAsync(String owner, String repo, Long id, EditLabelOption body, final ApiCallback<Label> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2401,7 +2401,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueEditMilestoneCall(String owner, String repo, Integer id, EditMilestoneOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueEditMilestoneCall(String owner, String repo, Long id, EditMilestoneOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -2446,7 +2446,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueEditMilestoneValidateBeforeCall(String owner, String repo, Integer id, EditMilestoneOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueEditMilestoneValidateBeforeCall(String owner, String repo, Long id, EditMilestoneOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2479,7 +2479,7 @@ public class IssueApi {
* @return Milestone
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Milestone issueEditMilestone(String owner, String repo, Integer id, EditMilestoneOption body) throws ApiException {
public Milestone issueEditMilestone(String owner, String repo, Long id, EditMilestoneOption body) throws ApiException {
ApiResponse<Milestone> resp = issueEditMilestoneWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@ -2494,7 +2494,7 @@ public class IssueApi {
* @return ApiResponse&lt;Milestone&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Milestone> issueEditMilestoneWithHttpInfo(String owner, String repo, Integer id, EditMilestoneOption body) throws ApiException {
public ApiResponse<Milestone> issueEditMilestoneWithHttpInfo(String owner, String repo, Long id, EditMilestoneOption body) throws ApiException {
com.squareup.okhttp.Call call = issueEditMilestoneValidateBeforeCall(owner, repo, id, body, null, null);
Type localVarReturnType = new TypeToken<Milestone>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2511,7 +2511,7 @@ public class IssueApi {
* @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 issueEditMilestoneAsync(String owner, String repo, Integer id, EditMilestoneOption body, final ApiCallback<Milestone> callback) throws ApiException {
public com.squareup.okhttp.Call issueEditMilestoneAsync(String owner, String repo, Long id, EditMilestoneOption body, final ApiCallback<Milestone> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2548,7 +2548,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueGetCommentsCall(String owner, String repo, Integer index, String since, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueGetCommentsCall(String owner, String repo, Long index, String since, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -2595,7 +2595,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueGetCommentsValidateBeforeCall(String owner, String repo, Integer index, String since, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueGetCommentsValidateBeforeCall(String owner, String repo, Long index, String since, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2628,7 +2628,7 @@ public class IssueApi {
* @return List&lt;Comment&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Comment> issueGetComments(String owner, String repo, Integer index, String since) throws ApiException {
public List<Comment> issueGetComments(String owner, String repo, Long index, String since) throws ApiException {
ApiResponse<List<Comment>> resp = issueGetCommentsWithHttpInfo(owner, repo, index, since);
return resp.getData();
}
@ -2643,7 +2643,7 @@ public class IssueApi {
* @return ApiResponse&lt;List&lt;Comment&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Comment>> issueGetCommentsWithHttpInfo(String owner, String repo, Integer index, String since) throws ApiException {
public ApiResponse<List<Comment>> issueGetCommentsWithHttpInfo(String owner, String repo, Long index, String since) throws ApiException {
com.squareup.okhttp.Call call = issueGetCommentsValidateBeforeCall(owner, repo, index, since, null, null);
Type localVarReturnType = new TypeToken<List<Comment>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2660,7 +2660,7 @@ public class IssueApi {
* @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 issueGetCommentsAsync(String owner, String repo, Integer index, String since, final ApiCallback<List<Comment>> callback) throws ApiException {
public com.squareup.okhttp.Call issueGetCommentsAsync(String owner, String repo, Long index, String since, final ApiCallback<List<Comment>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2696,7 +2696,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueGetIssueCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueGetIssueCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -2741,7 +2741,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueGetIssueValidateBeforeCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueGetIssueValidateBeforeCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2773,7 +2773,7 @@ public class IssueApi {
* @return Issue
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Issue issueGetIssue(String owner, String repo, Integer index) throws ApiException {
public Issue issueGetIssue(String owner, String repo, Long index) throws ApiException {
ApiResponse<Issue> resp = issueGetIssueWithHttpInfo(owner, repo, index);
return resp.getData();
}
@ -2787,7 +2787,7 @@ public class IssueApi {
* @return ApiResponse&lt;Issue&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Issue> issueGetIssueWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
public ApiResponse<Issue> issueGetIssueWithHttpInfo(String owner, String repo, Long index) throws ApiException {
com.squareup.okhttp.Call call = issueGetIssueValidateBeforeCall(owner, repo, index, null, null);
Type localVarReturnType = new TypeToken<Issue>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2803,7 +2803,7 @@ public class IssueApi {
* @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 issueGetIssueAsync(String owner, String repo, Integer index, final ApiCallback<Issue> callback) throws ApiException {
public com.squareup.okhttp.Call issueGetIssueAsync(String owner, String repo, Long index, final ApiCallback<Issue> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2839,7 +2839,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueGetLabelCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueGetLabelCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -2884,7 +2884,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueGetLabelValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueGetLabelValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2916,7 +2916,7 @@ public class IssueApi {
* @return Label
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Label issueGetLabel(String owner, String repo, Integer id) throws ApiException {
public Label issueGetLabel(String owner, String repo, Long id) throws ApiException {
ApiResponse<Label> resp = issueGetLabelWithHttpInfo(owner, repo, id);
return resp.getData();
}
@ -2930,7 +2930,7 @@ public class IssueApi {
* @return ApiResponse&lt;Label&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Label> issueGetLabelWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Label> issueGetLabelWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueGetLabelValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken<Label>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2946,7 +2946,7 @@ public class IssueApi {
* @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 issueGetLabelAsync(String owner, String repo, Integer id, final ApiCallback<Label> callback) throws ApiException {
public com.squareup.okhttp.Call issueGetLabelAsync(String owner, String repo, Long id, final ApiCallback<Label> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2982,7 +2982,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueGetLabelsCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueGetLabelsCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -3027,7 +3027,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueGetLabelsValidateBeforeCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueGetLabelsValidateBeforeCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -3059,7 +3059,7 @@ public class IssueApi {
* @return List&lt;Label&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Label> issueGetLabels(String owner, String repo, Integer index) throws ApiException {
public List<Label> issueGetLabels(String owner, String repo, Long index) throws ApiException {
ApiResponse<List<Label>> resp = issueGetLabelsWithHttpInfo(owner, repo, index);
return resp.getData();
}
@ -3073,7 +3073,7 @@ public class IssueApi {
* @return ApiResponse&lt;List&lt;Label&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Label>> issueGetLabelsWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
public ApiResponse<List<Label>> issueGetLabelsWithHttpInfo(String owner, String repo, Long index) throws ApiException {
com.squareup.okhttp.Call call = issueGetLabelsValidateBeforeCall(owner, repo, index, null, null);
Type localVarReturnType = new TypeToken<List<Label>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -3089,7 +3089,7 @@ public class IssueApi {
* @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 issueGetLabelsAsync(String owner, String repo, Integer index, final ApiCallback<List<Label>> callback) throws ApiException {
public com.squareup.okhttp.Call issueGetLabelsAsync(String owner, String repo, Long index, final ApiCallback<List<Label>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -3125,7 +3125,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueGetMilestoneCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueGetMilestoneCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -3170,7 +3170,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueGetMilestoneValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueGetMilestoneValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -3202,7 +3202,7 @@ public class IssueApi {
* @return Milestone
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Milestone issueGetMilestone(String owner, String repo, Integer id) throws ApiException {
public Milestone issueGetMilestone(String owner, String repo, Long id) throws ApiException {
ApiResponse<Milestone> resp = issueGetMilestoneWithHttpInfo(owner, repo, id);
return resp.getData();
}
@ -3216,7 +3216,7 @@ public class IssueApi {
* @return ApiResponse&lt;Milestone&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Milestone> issueGetMilestoneWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Milestone> issueGetMilestoneWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueGetMilestoneValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken<Milestone>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -3232,7 +3232,7 @@ public class IssueApi {
* @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 issueGetMilestoneAsync(String owner, String repo, Integer id, final ApiCallback<Milestone> callback) throws ApiException {
public com.squareup.okhttp.Call issueGetMilestoneAsync(String owner, String repo, Long id, final ApiCallback<Milestone> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -3825,7 +3825,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueRemoveLabelCall(String owner, String repo, Integer index, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueRemoveLabelCall(String owner, String repo, Long index, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -3871,7 +3871,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueRemoveLabelValidateBeforeCall(String owner, String repo, Integer index, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueRemoveLabelValidateBeforeCall(String owner, String repo, Long index, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -3908,7 +3908,7 @@ public class IssueApi {
* @param id id of the label to remove (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void issueRemoveLabel(String owner, String repo, Integer index, Integer id) throws ApiException {
public void issueRemoveLabel(String owner, String repo, Long index, Long id) throws ApiException {
issueRemoveLabelWithHttpInfo(owner, repo, index, id);
}
@ -3922,7 +3922,7 @@ public class IssueApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> issueRemoveLabelWithHttpInfo(String owner, String repo, Integer index, Integer id) throws ApiException {
public ApiResponse<Void> issueRemoveLabelWithHttpInfo(String owner, String repo, Long index, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueRemoveLabelValidateBeforeCall(owner, repo, index, id, null, null);
return apiClient.execute(call);
}
@ -3938,7 +3938,7 @@ public class IssueApi {
* @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 issueRemoveLabelAsync(String owner, String repo, Integer index, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call issueRemoveLabelAsync(String owner, String repo, Long index, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -3974,7 +3974,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueReplaceLabelsCall(String owner, String repo, Integer index, IssueLabelsOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueReplaceLabelsCall(String owner, String repo, Long index, IssueLabelsOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -4019,7 +4019,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueReplaceLabelsValidateBeforeCall(String owner, String repo, Integer index, IssueLabelsOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueReplaceLabelsValidateBeforeCall(String owner, String repo, Long index, IssueLabelsOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -4052,7 +4052,7 @@ public class IssueApi {
* @return List&lt;Label&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Label> issueReplaceLabels(String owner, String repo, Integer index, IssueLabelsOption body) throws ApiException {
public List<Label> issueReplaceLabels(String owner, String repo, Long index, IssueLabelsOption body) throws ApiException {
ApiResponse<List<Label>> resp = issueReplaceLabelsWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@ -4067,7 +4067,7 @@ public class IssueApi {
* @return ApiResponse&lt;List&lt;Label&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Label>> issueReplaceLabelsWithHttpInfo(String owner, String repo, Integer index, IssueLabelsOption body) throws ApiException {
public ApiResponse<List<Label>> issueReplaceLabelsWithHttpInfo(String owner, String repo, Long index, IssueLabelsOption body) throws ApiException {
com.squareup.okhttp.Call call = issueReplaceLabelsValidateBeforeCall(owner, repo, index, body, null, null);
Type localVarReturnType = new TypeToken<List<Label>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -4084,7 +4084,7 @@ public class IssueApi {
* @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 issueReplaceLabelsAsync(String owner, String repo, Integer index, IssueLabelsOption body, final ApiCallback<List<Label>> callback) throws ApiException {
public com.squareup.okhttp.Call issueReplaceLabelsAsync(String owner, String repo, Long index, IssueLabelsOption body, final ApiCallback<List<Label>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -4120,7 +4120,7 @@ public class IssueApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call issueTrackedTimesCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call issueTrackedTimesCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -4165,7 +4165,7 @@ public class IssueApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call issueTrackedTimesValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call issueTrackedTimesValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -4197,7 +4197,7 @@ public class IssueApi {
* @return List&lt;TrackedTime&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<TrackedTime> issueTrackedTimes(String owner, String repo, Integer id) throws ApiException {
public List<TrackedTime> issueTrackedTimes(String owner, String repo, Long id) throws ApiException {
ApiResponse<List<TrackedTime>> resp = issueTrackedTimesWithHttpInfo(owner, repo, id);
return resp.getData();
}
@ -4211,7 +4211,7 @@ public class IssueApi {
* @return ApiResponse&lt;List&lt;TrackedTime&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<TrackedTime>> issueTrackedTimesWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<List<TrackedTime>> issueTrackedTimesWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueTrackedTimesValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken<List<TrackedTime>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -4227,7 +4227,7 @@ public class IssueApi {
* @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 issueTrackedTimesAsync(String owner, String repo, Integer id, final ApiCallback<List<TrackedTime>> callback) throws ApiException {
public com.squareup.okhttp.Call issueTrackedTimesAsync(String owner, String repo, Long id, final ApiCallback<List<TrackedTime>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;

View File

@ -28,8 +28,10 @@ import java.io.IOException;
import io.gitea.model.Branch;
import io.gitea.model.CreateHookOption;
import io.gitea.model.CreateRepoOption;
import io.gitea.model.CreateTeamOption;
import io.gitea.model.EditHookOption;
import io.gitea.model.EditOrgOption;
import io.gitea.model.EditTeamOption;
import io.gitea.model.Organization;
@ -198,7 +200,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgAddTeamMemberCall(Integer id, String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgAddTeamMemberCall(Long id, String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -242,7 +244,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgAddTeamMemberValidateBeforeCall(Integer id, String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgAddTeamMemberValidateBeforeCall(Long id, String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -267,7 +269,7 @@ public class OrganizationApi {
* @param username username of the user to add (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void orgAddTeamMember(Integer id, String username) throws ApiException {
public void orgAddTeamMember(Long id, String username) throws ApiException {
orgAddTeamMemberWithHttpInfo(id, username);
}
@ -279,7 +281,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> orgAddTeamMemberWithHttpInfo(Integer id, String username) throws ApiException {
public ApiResponse<Void> orgAddTeamMemberWithHttpInfo(Long id, String username) throws ApiException {
com.squareup.okhttp.Call call = orgAddTeamMemberValidateBeforeCall(id, username, null, null);
return apiClient.execute(call);
}
@ -293,7 +295,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 orgAddTeamMemberAsync(Integer id, String username, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call orgAddTeamMemberAsync(Long id, String username, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -328,7 +330,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgAddTeamRepositoryCall(Integer id, String org, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgAddTeamRepositoryCall(Long id, String org, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -373,7 +375,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgAddTeamRepositoryValidateBeforeCall(Integer id, String org, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgAddTeamRepositoryValidateBeforeCall(Long id, String org, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -404,7 +406,7 @@ public class OrganizationApi {
* @param repo name of the repo to add (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void orgAddTeamRepository(Integer id, String org, String repo) throws ApiException {
public void orgAddTeamRepository(Long id, String org, String repo) throws ApiException {
orgAddTeamRepositoryWithHttpInfo(id, org, repo);
}
@ -417,7 +419,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> orgAddTeamRepositoryWithHttpInfo(Integer id, String org, String repo) throws ApiException {
public ApiResponse<Void> orgAddTeamRepositoryWithHttpInfo(Long id, String org, String repo) throws ApiException {
com.squareup.okhttp.Call call = orgAddTeamRepositoryValidateBeforeCall(id, org, repo, null, null);
return apiClient.execute(call);
}
@ -432,7 +434,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 orgAddTeamRepositoryAsync(Integer id, String org, String repo, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call orgAddTeamRepositoryAsync(Long id, String org, String repo, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -589,13 +591,14 @@ public class OrganizationApi {
/**
* Build call for orgCreateHook
* @param org name of the organization (required)
* @param body (required)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgCreateHookCall(String org, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
public com.squareup.okhttp.Call orgCreateHookCall(String org, CreateHookOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/orgs/{org}/hooks/"
@ -637,15 +640,20 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgCreateHookValidateBeforeCall(String org, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgCreateHookValidateBeforeCall(String org, CreateHookOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'org' is set
if (org == null) {
throw new ApiException("Missing the required parameter 'org' when calling orgCreateHook(Async)");
}
// verify the required parameter 'body' is set
if (body == null) {
throw new ApiException("Missing the required parameter 'body' when calling orgCreateHook(Async)");
}
com.squareup.okhttp.Call call = orgCreateHookCall(org, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = orgCreateHookCall(org, body, progressListener, progressRequestListener);
return call;
}
@ -654,11 +662,12 @@ public class OrganizationApi {
* Create a hook
*
* @param org name of the organization (required)
* @param body (required)
* @return List&lt;Branch&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Branch> orgCreateHook(String org) throws ApiException {
ApiResponse<List<Branch>> resp = orgCreateHookWithHttpInfo(org);
public List<Branch> orgCreateHook(String org, CreateHookOption body) throws ApiException {
ApiResponse<List<Branch>> resp = orgCreateHookWithHttpInfo(org, body);
return resp.getData();
}
@ -666,11 +675,12 @@ public class OrganizationApi {
* Create a hook
*
* @param org name of the organization (required)
* @param body (required)
* @return ApiResponse&lt;List&lt;Branch&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Branch>> orgCreateHookWithHttpInfo(String org) throws ApiException {
com.squareup.okhttp.Call call = orgCreateHookValidateBeforeCall(org, null, null);
public ApiResponse<List<Branch>> orgCreateHookWithHttpInfo(String org, CreateHookOption body) throws ApiException {
com.squareup.okhttp.Call call = orgCreateHookValidateBeforeCall(org, body, null, null);
Type localVarReturnType = new TypeToken<List<Branch>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@ -679,11 +689,12 @@ public class OrganizationApi {
* Create a hook (asynchronously)
*
* @param org name of the organization (required)
* @param body (required)
* @param callback The callback to be executed when the API call finishes
* @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 orgCreateHookAsync(String org, final ApiCallback<List<Branch>> callback) throws ApiException {
public com.squareup.okhttp.Call orgCreateHookAsync(String org, CreateHookOption body, final ApiCallback<List<Branch>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -704,7 +715,7 @@ public class OrganizationApi {
};
}
com.squareup.okhttp.Call call = orgCreateHookValidateBeforeCall(org, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = orgCreateHookValidateBeforeCall(org, body, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken<List<Branch>>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
@ -845,7 +856,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgDeleteHookCall(String org, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgDeleteHookCall(String org, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -889,7 +900,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgDeleteHookValidateBeforeCall(String org, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgDeleteHookValidateBeforeCall(String org, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'org' is set
if (org == null) {
@ -914,7 +925,7 @@ public class OrganizationApi {
* @param id id of the hook to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void orgDeleteHook(String org, Integer id) throws ApiException {
public void orgDeleteHook(String org, Long id) throws ApiException {
orgDeleteHookWithHttpInfo(org, id);
}
@ -926,7 +937,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> orgDeleteHookWithHttpInfo(String org, Integer id) throws ApiException {
public ApiResponse<Void> orgDeleteHookWithHttpInfo(String org, Long id) throws ApiException {
com.squareup.okhttp.Call call = orgDeleteHookValidateBeforeCall(org, id, null, null);
return apiClient.execute(call);
}
@ -940,7 +951,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 orgDeleteHookAsync(String org, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call orgDeleteHookAsync(String org, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1102,7 +1113,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgDeleteTeamCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgDeleteTeamCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1145,7 +1156,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgDeleteTeamValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgDeleteTeamValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -1164,7 +1175,7 @@ public class OrganizationApi {
* @param id id of the team to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void orgDeleteTeam(Integer id) throws ApiException {
public void orgDeleteTeam(Long id) throws ApiException {
orgDeleteTeamWithHttpInfo(id);
}
@ -1175,7 +1186,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> orgDeleteTeamWithHttpInfo(Integer id) throws ApiException {
public ApiResponse<Void> orgDeleteTeamWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = orgDeleteTeamValidateBeforeCall(id, null, null);
return apiClient.execute(call);
}
@ -1188,7 +1199,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 orgDeleteTeamAsync(Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call orgDeleteTeamAsync(Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1344,13 +1355,14 @@ public class OrganizationApi {
* Build call for orgEditHook
* @param org name of the organization (required)
* @param id id of the hook to update (required)
* @param body (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgEditHookCall(String org, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
public com.squareup.okhttp.Call orgEditHookCall(String org, Long id, EditHookOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
String localVarPath = "/orgs/{org}/hooks/{id}"
@ -1393,7 +1405,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgEditHookValidateBeforeCall(String org, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgEditHookValidateBeforeCall(String org, Long id, EditHookOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'org' is set
if (org == null) {
@ -1406,7 +1418,7 @@ public class OrganizationApi {
}
com.squareup.okhttp.Call call = orgEditHookCall(org, id, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = orgEditHookCall(org, id, body, progressListener, progressRequestListener);
return call;
}
@ -1416,11 +1428,12 @@ public class OrganizationApi {
*
* @param org name of the organization (required)
* @param id id of the hook to update (required)
* @param body (optional)
* @return List&lt;Branch&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Branch> orgEditHook(String org, Integer id) throws ApiException {
ApiResponse<List<Branch>> resp = orgEditHookWithHttpInfo(org, id);
public List<Branch> orgEditHook(String org, Long id, EditHookOption body) throws ApiException {
ApiResponse<List<Branch>> resp = orgEditHookWithHttpInfo(org, id, body);
return resp.getData();
}
@ -1429,11 +1442,12 @@ public class OrganizationApi {
*
* @param org name of the organization (required)
* @param id id of the hook to update (required)
* @param body (optional)
* @return ApiResponse&lt;List&lt;Branch&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Branch>> orgEditHookWithHttpInfo(String org, Integer id) throws ApiException {
com.squareup.okhttp.Call call = orgEditHookValidateBeforeCall(org, id, null, null);
public ApiResponse<List<Branch>> orgEditHookWithHttpInfo(String org, Long id, EditHookOption body) throws ApiException {
com.squareup.okhttp.Call call = orgEditHookValidateBeforeCall(org, id, body, null, null);
Type localVarReturnType = new TypeToken<List<Branch>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@ -1443,11 +1457,12 @@ public class OrganizationApi {
*
* @param org name of the organization (required)
* @param id id of the hook to update (required)
* @param body (optional)
* @param callback The callback to be executed when the API call finishes
* @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 orgEditHookAsync(String org, Integer id, final ApiCallback<List<Branch>> callback) throws ApiException {
public com.squareup.okhttp.Call orgEditHookAsync(String org, Long id, EditHookOption body, final ApiCallback<List<Branch>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1468,7 +1483,7 @@ public class OrganizationApi {
};
}
com.squareup.okhttp.Call call = orgEditHookValidateBeforeCall(org, id, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = orgEditHookValidateBeforeCall(org, id, body, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken<List<Branch>>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
@ -1732,7 +1747,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgGetHookCall(String org, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgGetHookCall(String org, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1776,7 +1791,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgGetHookValidateBeforeCall(String org, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgGetHookValidateBeforeCall(String org, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'org' is set
if (org == null) {
@ -1802,7 +1817,7 @@ public class OrganizationApi {
* @return List&lt;Branch&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Branch> orgGetHook(String org, Integer id) throws ApiException {
public List<Branch> orgGetHook(String org, Long id) throws ApiException {
ApiResponse<List<Branch>> resp = orgGetHookWithHttpInfo(org, id);
return resp.getData();
}
@ -1815,7 +1830,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;List&lt;Branch&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Branch>> orgGetHookWithHttpInfo(String org, Integer id) throws ApiException {
public ApiResponse<List<Branch>> orgGetHookWithHttpInfo(String org, Long id) throws ApiException {
com.squareup.okhttp.Call call = orgGetHookValidateBeforeCall(org, id, null, null);
Type localVarReturnType = new TypeToken<List<Branch>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -1830,7 +1845,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 orgGetHookAsync(String org, Integer id, final ApiCallback<List<Branch>> callback) throws ApiException {
public com.squareup.okhttp.Call orgGetHookAsync(String org, Long id, final ApiCallback<List<Branch>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1864,7 +1879,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgGetTeamCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgGetTeamCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1907,7 +1922,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgGetTeamValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgGetTeamValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -1927,7 +1942,7 @@ public class OrganizationApi {
* @return Team
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Team orgGetTeam(Integer id) throws ApiException {
public Team orgGetTeam(Long id) throws ApiException {
ApiResponse<Team> resp = orgGetTeamWithHttpInfo(id);
return resp.getData();
}
@ -1939,7 +1954,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;Team&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Team> orgGetTeamWithHttpInfo(Integer id) throws ApiException {
public ApiResponse<Team> orgGetTeamWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = orgGetTeamValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken<Team>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -1953,7 +1968,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 orgGetTeamAsync(Integer id, final ApiCallback<Team> callback) throws ApiException {
public com.squareup.okhttp.Call orgGetTeamAsync(Long id, final ApiCallback<Team> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2850,7 +2865,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgListTeamMembersCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgListTeamMembersCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -2893,7 +2908,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgListTeamMembersValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgListTeamMembersValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -2913,7 +2928,7 @@ public class OrganizationApi {
* @return List&lt;User&gt;
* @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 {
public List<User> orgListTeamMembers(Long id) throws ApiException {
ApiResponse<List<User>> resp = orgListTeamMembersWithHttpInfo(id);
return resp.getData();
}
@ -2925,7 +2940,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;List&lt;User&gt;&gt;
* @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<List<User>> orgListTeamMembersWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = orgListTeamMembersValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken<List<User>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2939,7 +2954,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(Long id, final ApiCallback<List<User>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2973,7 +2988,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgListTeamReposCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgListTeamReposCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -3016,7 +3031,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgListTeamReposValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgListTeamReposValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -3036,7 +3051,7 @@ public class OrganizationApi {
* @return List&lt;Repository&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Repository> orgListTeamRepos(Integer id) throws ApiException {
public List<Repository> orgListTeamRepos(Long id) throws ApiException {
ApiResponse<List<Repository>> resp = orgListTeamReposWithHttpInfo(id);
return resp.getData();
}
@ -3048,7 +3063,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;List&lt;Repository&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Repository>> orgListTeamReposWithHttpInfo(Integer id) throws ApiException {
public ApiResponse<List<Repository>> orgListTeamReposWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = orgListTeamReposValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken<List<Repository>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -3062,7 +3077,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 orgListTeamReposAsync(Integer id, final ApiCallback<List<Repository>> callback) throws ApiException {
public com.squareup.okhttp.Call orgListTeamReposAsync(Long id, final ApiCallback<List<Repository>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -3472,7 +3487,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgRemoveTeamMemberCall(Integer id, String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgRemoveTeamMemberCall(Long id, String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -3516,7 +3531,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgRemoveTeamMemberValidateBeforeCall(Integer id, String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgRemoveTeamMemberValidateBeforeCall(Long id, String username, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -3541,7 +3556,7 @@ public class OrganizationApi {
* @param username username of the user to remove (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void orgRemoveTeamMember(Integer id, String username) throws ApiException {
public void orgRemoveTeamMember(Long id, String username) throws ApiException {
orgRemoveTeamMemberWithHttpInfo(id, username);
}
@ -3553,7 +3568,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> orgRemoveTeamMemberWithHttpInfo(Integer id, String username) throws ApiException {
public ApiResponse<Void> orgRemoveTeamMemberWithHttpInfo(Long id, String username) throws ApiException {
com.squareup.okhttp.Call call = orgRemoveTeamMemberValidateBeforeCall(id, username, null, null);
return apiClient.execute(call);
}
@ -3567,7 +3582,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 orgRemoveTeamMemberAsync(Integer id, String username, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call orgRemoveTeamMemberAsync(Long id, String username, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -3602,7 +3617,7 @@ public class OrganizationApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call orgRemoveTeamRepositoryCall(Integer id, String org, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call orgRemoveTeamRepositoryCall(Long id, String org, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -3647,7 +3662,7 @@ public class OrganizationApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call orgRemoveTeamRepositoryValidateBeforeCall(Integer id, String org, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call orgRemoveTeamRepositoryValidateBeforeCall(Long id, String org, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -3678,7 +3693,7 @@ public class OrganizationApi {
* @param repo name of the repo to remove (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void orgRemoveTeamRepository(Integer id, String org, String repo) throws ApiException {
public void orgRemoveTeamRepository(Long id, String org, String repo) throws ApiException {
orgRemoveTeamRepositoryWithHttpInfo(id, org, repo);
}
@ -3691,7 +3706,7 @@ public class OrganizationApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> orgRemoveTeamRepositoryWithHttpInfo(Integer id, String org, String repo) throws ApiException {
public ApiResponse<Void> orgRemoveTeamRepositoryWithHttpInfo(Long id, String org, String repo) throws ApiException {
com.squareup.okhttp.Call call = orgRemoveTeamRepositoryValidateBeforeCall(id, org, repo, null, null);
return apiClient.execute(call);
}
@ -3706,7 +3721,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 orgRemoveTeamRepositoryAsync(Integer id, String org, String repo, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call orgRemoveTeamRepositoryAsync(Long id, String org, String repo, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;

View File

@ -1307,7 +1307,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoCreateReleaseAttachmentCall(String owner, String repo, Integer id, File attachment, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoCreateReleaseAttachmentCall(String owner, String repo, Long id, File attachment, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1356,7 +1356,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoCreateReleaseAttachmentValidateBeforeCall(String owner, String repo, Integer id, File attachment, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoCreateReleaseAttachmentValidateBeforeCall(String owner, String repo, Long id, File attachment, String name, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -1395,7 +1395,7 @@ public class RepositoryApi {
* @return Attachment
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Attachment repoCreateReleaseAttachment(String owner, String repo, Integer id, File attachment, String name) throws ApiException {
public Attachment repoCreateReleaseAttachment(String owner, String repo, Long id, File attachment, String name) throws ApiException {
ApiResponse<Attachment> resp = repoCreateReleaseAttachmentWithHttpInfo(owner, repo, id, attachment, name);
return resp.getData();
}
@ -1411,7 +1411,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Attachment&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Attachment> repoCreateReleaseAttachmentWithHttpInfo(String owner, String repo, Integer id, File attachment, String name) throws ApiException {
public ApiResponse<Attachment> repoCreateReleaseAttachmentWithHttpInfo(String owner, String repo, Long id, File attachment, String name) throws ApiException {
com.squareup.okhttp.Call call = repoCreateReleaseAttachmentValidateBeforeCall(owner, repo, id, attachment, name, null, null);
Type localVarReturnType = new TypeToken<Attachment>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -1429,7 +1429,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 repoCreateReleaseAttachmentAsync(String owner, String repo, Integer id, File attachment, String name, final ApiCallback<Attachment> callback) throws ApiException {
public com.squareup.okhttp.Call repoCreateReleaseAttachmentAsync(String owner, String repo, Long id, File attachment, String name, final ApiCallback<Attachment> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1880,7 +1880,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoDeleteHookCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoDeleteHookCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1925,7 +1925,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoDeleteHookValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoDeleteHookValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -1956,7 +1956,7 @@ public class RepositoryApi {
* @param id id of the hook to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void repoDeleteHook(String owner, String repo, Integer id) throws ApiException {
public void repoDeleteHook(String owner, String repo, Long id) throws ApiException {
repoDeleteHookWithHttpInfo(owner, repo, id);
}
@ -1969,7 +1969,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> repoDeleteHookWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Void> repoDeleteHookWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = repoDeleteHookValidateBeforeCall(owner, repo, id, null, null);
return apiClient.execute(call);
}
@ -1984,7 +1984,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 repoDeleteHookAsync(String owner, String repo, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call repoDeleteHookAsync(String owner, String repo, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2019,7 +2019,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoDeleteKeyCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoDeleteKeyCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -2064,7 +2064,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoDeleteKeyValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoDeleteKeyValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2095,7 +2095,7 @@ public class RepositoryApi {
* @param id id of the key to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void repoDeleteKey(String owner, String repo, Integer id) throws ApiException {
public void repoDeleteKey(String owner, String repo, Long id) throws ApiException {
repoDeleteKeyWithHttpInfo(owner, repo, id);
}
@ -2108,7 +2108,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> repoDeleteKeyWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Void> repoDeleteKeyWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = repoDeleteKeyValidateBeforeCall(owner, repo, id, null, null);
return apiClient.execute(call);
}
@ -2123,7 +2123,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 repoDeleteKeyAsync(String owner, String repo, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call repoDeleteKeyAsync(String owner, String repo, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2158,7 +2158,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoDeleteReleaseCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoDeleteReleaseCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -2203,7 +2203,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoDeleteReleaseValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoDeleteReleaseValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2234,7 +2234,7 @@ public class RepositoryApi {
* @param id id of the release to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void repoDeleteRelease(String owner, String repo, Integer id) throws ApiException {
public void repoDeleteRelease(String owner, String repo, Long id) throws ApiException {
repoDeleteReleaseWithHttpInfo(owner, repo, id);
}
@ -2247,7 +2247,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> repoDeleteReleaseWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Void> repoDeleteReleaseWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = repoDeleteReleaseValidateBeforeCall(owner, repo, id, null, null);
return apiClient.execute(call);
}
@ -2262,7 +2262,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 repoDeleteReleaseAsync(String owner, String repo, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call repoDeleteReleaseAsync(String owner, String repo, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2298,7 +2298,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoDeleteReleaseAttachmentCall(String owner, String repo, Integer id, Integer attachmentId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoDeleteReleaseAttachmentCall(String owner, String repo, Long id, Long attachmentId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -2344,7 +2344,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoDeleteReleaseAttachmentValidateBeforeCall(String owner, String repo, Integer id, Integer attachmentId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoDeleteReleaseAttachmentValidateBeforeCall(String owner, String repo, Long id, Long attachmentId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2381,7 +2381,7 @@ public class RepositoryApi {
* @param attachmentId id of the attachment to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void repoDeleteReleaseAttachment(String owner, String repo, Integer id, Integer attachmentId) throws ApiException {
public void repoDeleteReleaseAttachment(String owner, String repo, Long id, Long attachmentId) throws ApiException {
repoDeleteReleaseAttachmentWithHttpInfo(owner, repo, id, attachmentId);
}
@ -2395,7 +2395,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> repoDeleteReleaseAttachmentWithHttpInfo(String owner, String repo, Integer id, Integer attachmentId) throws ApiException {
public ApiResponse<Void> repoDeleteReleaseAttachmentWithHttpInfo(String owner, String repo, Long id, Long attachmentId) throws ApiException {
com.squareup.okhttp.Call call = repoDeleteReleaseAttachmentValidateBeforeCall(owner, repo, id, attachmentId, null, null);
return apiClient.execute(call);
}
@ -2411,7 +2411,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 repoDeleteReleaseAttachmentAsync(String owner, String repo, Integer id, Integer attachmentId, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call repoDeleteReleaseAttachmentAsync(String owner, String repo, Long id, Long attachmentId, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2447,7 +2447,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoEditHookCall(String owner, String repo, Integer id, EditHookOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoEditHookCall(String owner, String repo, Long id, EditHookOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -2492,7 +2492,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoEditHookValidateBeforeCall(String owner, String repo, Integer id, EditHookOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoEditHookValidateBeforeCall(String owner, String repo, Long id, EditHookOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2525,7 +2525,7 @@ public class RepositoryApi {
* @return List&lt;Branch&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Branch> repoEditHook(String owner, String repo, Integer id, EditHookOption body) throws ApiException {
public List<Branch> repoEditHook(String owner, String repo, Long id, EditHookOption body) throws ApiException {
ApiResponse<List<Branch>> resp = repoEditHookWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@ -2540,7 +2540,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;List&lt;Branch&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Branch>> repoEditHookWithHttpInfo(String owner, String repo, Integer id, EditHookOption body) throws ApiException {
public ApiResponse<List<Branch>> repoEditHookWithHttpInfo(String owner, String repo, Long id, EditHookOption body) throws ApiException {
com.squareup.okhttp.Call call = repoEditHookValidateBeforeCall(owner, repo, id, body, null, null);
Type localVarReturnType = new TypeToken<List<Branch>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2557,7 +2557,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 repoEditHookAsync(String owner, String repo, Integer id, EditHookOption body, final ApiCallback<List<Branch>> callback) throws ApiException {
public com.squareup.okhttp.Call repoEditHookAsync(String owner, String repo, Long id, EditHookOption body, final ApiCallback<List<Branch>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2594,7 +2594,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoEditPullRequestCall(String owner, String repo, Integer index, EditPullRequestOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoEditPullRequestCall(String owner, String repo, Long index, EditPullRequestOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -2639,7 +2639,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoEditPullRequestValidateBeforeCall(String owner, String repo, Integer index, EditPullRequestOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoEditPullRequestValidateBeforeCall(String owner, String repo, Long index, EditPullRequestOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2672,7 +2672,7 @@ public class RepositoryApi {
* @return PullRequest
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public PullRequest repoEditPullRequest(String owner, String repo, Integer index, EditPullRequestOption body) throws ApiException {
public PullRequest repoEditPullRequest(String owner, String repo, Long index, EditPullRequestOption body) throws ApiException {
ApiResponse<PullRequest> resp = repoEditPullRequestWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@ -2687,7 +2687,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;PullRequest&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<PullRequest> repoEditPullRequestWithHttpInfo(String owner, String repo, Integer index, EditPullRequestOption body) throws ApiException {
public ApiResponse<PullRequest> repoEditPullRequestWithHttpInfo(String owner, String repo, Long index, EditPullRequestOption body) throws ApiException {
com.squareup.okhttp.Call call = repoEditPullRequestValidateBeforeCall(owner, repo, index, body, null, null);
Type localVarReturnType = new TypeToken<PullRequest>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2704,7 +2704,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 repoEditPullRequestAsync(String owner, String repo, Integer index, EditPullRequestOption body, final ApiCallback<PullRequest> callback) throws ApiException {
public com.squareup.okhttp.Call repoEditPullRequestAsync(String owner, String repo, Long index, EditPullRequestOption body, final ApiCallback<PullRequest> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2741,7 +2741,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoEditReleaseCall(String owner, String repo, Integer id, EditReleaseOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoEditReleaseCall(String owner, String repo, Long id, EditReleaseOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -2786,7 +2786,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoEditReleaseValidateBeforeCall(String owner, String repo, Integer id, EditReleaseOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoEditReleaseValidateBeforeCall(String owner, String repo, Long id, EditReleaseOption body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2819,7 +2819,7 @@ public class RepositoryApi {
* @return Release
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Release repoEditRelease(String owner, String repo, Integer id, EditReleaseOption body) throws ApiException {
public Release repoEditRelease(String owner, String repo, Long id, EditReleaseOption body) throws ApiException {
ApiResponse<Release> resp = repoEditReleaseWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@ -2834,7 +2834,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Release&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Release> repoEditReleaseWithHttpInfo(String owner, String repo, Integer id, EditReleaseOption body) throws ApiException {
public ApiResponse<Release> repoEditReleaseWithHttpInfo(String owner, String repo, Long id, EditReleaseOption body) throws ApiException {
com.squareup.okhttp.Call call = repoEditReleaseValidateBeforeCall(owner, repo, id, body, null, null);
Type localVarReturnType = new TypeToken<Release>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -2851,7 +2851,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 repoEditReleaseAsync(String owner, String repo, Integer id, EditReleaseOption body, final ApiCallback<Release> callback) throws ApiException {
public com.squareup.okhttp.Call repoEditReleaseAsync(String owner, String repo, Long id, EditReleaseOption body, final ApiCallback<Release> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2889,7 +2889,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoEditReleaseAttachmentCall(String owner, String repo, Integer id, Integer attachmentId, EditAttachmentOptions body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoEditReleaseAttachmentCall(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@ -2935,7 +2935,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoEditReleaseAttachmentValidateBeforeCall(String owner, String repo, Integer id, Integer attachmentId, EditAttachmentOptions body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoEditReleaseAttachmentValidateBeforeCall(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -2974,7 +2974,7 @@ public class RepositoryApi {
* @return Attachment
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Attachment repoEditReleaseAttachment(String owner, String repo, Integer id, Integer attachmentId, EditAttachmentOptions body) throws ApiException {
public Attachment repoEditReleaseAttachment(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body) throws ApiException {
ApiResponse<Attachment> resp = repoEditReleaseAttachmentWithHttpInfo(owner, repo, id, attachmentId, body);
return resp.getData();
}
@ -2990,7 +2990,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Attachment&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Attachment> repoEditReleaseAttachmentWithHttpInfo(String owner, String repo, Integer id, Integer attachmentId, EditAttachmentOptions body) throws ApiException {
public ApiResponse<Attachment> repoEditReleaseAttachmentWithHttpInfo(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body) throws ApiException {
com.squareup.okhttp.Call call = repoEditReleaseAttachmentValidateBeforeCall(owner, repo, id, attachmentId, body, null, null);
Type localVarReturnType = new TypeToken<Attachment>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -3008,7 +3008,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 repoEditReleaseAttachmentAsync(String owner, String repo, Integer id, Integer attachmentId, EditAttachmentOptions body, final ApiCallback<Attachment> callback) throws ApiException {
public com.squareup.okhttp.Call repoEditReleaseAttachmentAsync(String owner, String repo, Long id, Long attachmentId, EditAttachmentOptions body, final ApiCallback<Attachment> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -3457,7 +3457,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoGetByIDCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoGetByIDCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -3500,7 +3500,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoGetByIDValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoGetByIDValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -3520,7 +3520,7 @@ public class RepositoryApi {
* @return Repository
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Repository repoGetByID(Integer id) throws ApiException {
public Repository repoGetByID(Long id) throws ApiException {
ApiResponse<Repository> resp = repoGetByIDWithHttpInfo(id);
return resp.getData();
}
@ -3532,7 +3532,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Repository&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Repository> repoGetByIDWithHttpInfo(Integer id) throws ApiException {
public ApiResponse<Repository> repoGetByIDWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = repoGetByIDValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken<Repository>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -3546,7 +3546,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 repoGetByIDAsync(Integer id, final ApiCallback<Repository> callback) throws ApiException {
public com.squareup.okhttp.Call repoGetByIDAsync(Long id, final ApiCallback<Repository> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -3864,7 +3864,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoGetHookCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoGetHookCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -3909,7 +3909,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoGetHookValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoGetHookValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -3941,7 +3941,7 @@ public class RepositoryApi {
* @return List&lt;Branch&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Branch> repoGetHook(String owner, String repo, Integer id) throws ApiException {
public List<Branch> repoGetHook(String owner, String repo, Long id) throws ApiException {
ApiResponse<List<Branch>> resp = repoGetHookWithHttpInfo(owner, repo, id);
return resp.getData();
}
@ -3955,7 +3955,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;List&lt;Branch&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Branch>> repoGetHookWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<List<Branch>> repoGetHookWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = repoGetHookValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken<List<Branch>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -3971,7 +3971,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 repoGetHookAsync(String owner, String repo, Integer id, final ApiCallback<List<Branch>> callback) throws ApiException {
public com.squareup.okhttp.Call repoGetHookAsync(String owner, String repo, Long id, final ApiCallback<List<Branch>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -4007,7 +4007,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoGetKeyCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoGetKeyCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -4052,7 +4052,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoGetKeyValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoGetKeyValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -4084,7 +4084,7 @@ public class RepositoryApi {
* @return DeployKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public DeployKey repoGetKey(String owner, String repo, Integer id) throws ApiException {
public DeployKey repoGetKey(String owner, String repo, Long id) throws ApiException {
ApiResponse<DeployKey> resp = repoGetKeyWithHttpInfo(owner, repo, id);
return resp.getData();
}
@ -4098,7 +4098,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;DeployKey&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<DeployKey> repoGetKeyWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<DeployKey> repoGetKeyWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = repoGetKeyValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken<DeployKey>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -4114,7 +4114,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 repoGetKeyAsync(String owner, String repo, Integer id, final ApiCallback<DeployKey> callback) throws ApiException {
public com.squareup.okhttp.Call repoGetKeyAsync(String owner, String repo, Long id, final ApiCallback<DeployKey> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -4150,7 +4150,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoGetPullRequestCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoGetPullRequestCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -4195,7 +4195,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoGetPullRequestValidateBeforeCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoGetPullRequestValidateBeforeCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -4227,7 +4227,7 @@ public class RepositoryApi {
* @return PullRequest
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public PullRequest repoGetPullRequest(String owner, String repo, Integer index) throws ApiException {
public PullRequest repoGetPullRequest(String owner, String repo, Long index) throws ApiException {
ApiResponse<PullRequest> resp = repoGetPullRequestWithHttpInfo(owner, repo, index);
return resp.getData();
}
@ -4241,7 +4241,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;PullRequest&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<PullRequest> repoGetPullRequestWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
public ApiResponse<PullRequest> repoGetPullRequestWithHttpInfo(String owner, String repo, Long index) throws ApiException {
com.squareup.okhttp.Call call = repoGetPullRequestValidateBeforeCall(owner, repo, index, null, null);
Type localVarReturnType = new TypeToken<PullRequest>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -4257,7 +4257,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 repoGetPullRequestAsync(String owner, String repo, Integer index, final ApiCallback<PullRequest> callback) throws ApiException {
public com.squareup.okhttp.Call repoGetPullRequestAsync(String owner, String repo, Long index, final ApiCallback<PullRequest> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -4432,7 +4432,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoGetReleaseCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoGetReleaseCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -4477,7 +4477,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoGetReleaseValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoGetReleaseValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -4509,7 +4509,7 @@ public class RepositoryApi {
* @return Release
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Release repoGetRelease(String owner, String repo, Integer id) throws ApiException {
public Release repoGetRelease(String owner, String repo, Long id) throws ApiException {
ApiResponse<Release> resp = repoGetReleaseWithHttpInfo(owner, repo, id);
return resp.getData();
}
@ -4523,7 +4523,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Release&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Release> repoGetReleaseWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Release> repoGetReleaseWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = repoGetReleaseValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken<Release>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -4539,7 +4539,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 repoGetReleaseAsync(String owner, String repo, Integer id, final ApiCallback<Release> callback) throws ApiException {
public com.squareup.okhttp.Call repoGetReleaseAsync(String owner, String repo, Long id, final ApiCallback<Release> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -4576,7 +4576,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoGetReleaseAttachmentCall(String owner, String repo, Integer id, Integer attachmentId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoGetReleaseAttachmentCall(String owner, String repo, Long id, Long attachmentId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -4622,7 +4622,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoGetReleaseAttachmentValidateBeforeCall(String owner, String repo, Integer id, Integer attachmentId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoGetReleaseAttachmentValidateBeforeCall(String owner, String repo, Long id, Long attachmentId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -4660,7 +4660,7 @@ public class RepositoryApi {
* @return Attachment
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public Attachment repoGetReleaseAttachment(String owner, String repo, Integer id, Integer attachmentId) throws ApiException {
public Attachment repoGetReleaseAttachment(String owner, String repo, Long id, Long attachmentId) throws ApiException {
ApiResponse<Attachment> resp = repoGetReleaseAttachmentWithHttpInfo(owner, repo, id, attachmentId);
return resp.getData();
}
@ -4675,7 +4675,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Attachment&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Attachment> repoGetReleaseAttachmentWithHttpInfo(String owner, String repo, Integer id, Integer attachmentId) throws ApiException {
public ApiResponse<Attachment> repoGetReleaseAttachmentWithHttpInfo(String owner, String repo, Long id, Long attachmentId) throws ApiException {
com.squareup.okhttp.Call call = repoGetReleaseAttachmentValidateBeforeCall(owner, repo, id, attachmentId, null, null);
Type localVarReturnType = new TypeToken<Attachment>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -4692,7 +4692,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 repoGetReleaseAttachmentAsync(String owner, String repo, Integer id, Integer attachmentId, final ApiCallback<Attachment> callback) throws ApiException {
public com.squareup.okhttp.Call repoGetReleaseAttachmentAsync(String owner, String repo, Long id, Long attachmentId, final ApiCallback<Attachment> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -5254,12 +5254,17 @@ public class RepositoryApi {
* Build call for repoListPullRequests
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param page Page number (optional)
* @param state State of pull request: open or closed (optional) (optional)
* @param sort Type of sort (optional)
* @param milestone ID of the milestone (optional)
* @param labels Label IDs (optional)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoListPullRequestsCall(String owner, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoListPullRequestsCall(String owner, String repo, Integer page, String state, String sort, Long milestone, List<Long> labels, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -5269,6 +5274,16 @@ public class RepositoryApi {
List<Pair> localVarQueryParams = new ArrayList<Pair>();
List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
if (page != null)
localVarQueryParams.addAll(apiClient.parameterToPair("page", page));
if (state != null)
localVarQueryParams.addAll(apiClient.parameterToPair("state", state));
if (sort != null)
localVarQueryParams.addAll(apiClient.parameterToPair("sort", sort));
if (milestone != null)
localVarQueryParams.addAll(apiClient.parameterToPair("milestone", milestone));
if (labels != null)
localVarCollectionQueryParams.addAll(apiClient.parameterToPairs("multi", "labels", labels));
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
@ -5303,7 +5318,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoListPullRequestsValidateBeforeCall(String owner, String repo, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoListPullRequestsValidateBeforeCall(String owner, String repo, Integer page, String state, String sort, Long milestone, List<Long> labels, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -5316,7 +5331,7 @@ public class RepositoryApi {
}
com.squareup.okhttp.Call call = repoListPullRequestsCall(owner, repo, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = repoListPullRequestsCall(owner, repo, page, state, sort, milestone, labels, progressListener, progressRequestListener);
return call;
}
@ -5326,11 +5341,16 @@ public class RepositoryApi {
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param page Page number (optional)
* @param state State of pull request: open or closed (optional) (optional)
* @param sort Type of sort (optional)
* @param milestone ID of the milestone (optional)
* @param labels Label IDs (optional)
* @return List&lt;PullRequest&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<PullRequest> repoListPullRequests(String owner, String repo) throws ApiException {
ApiResponse<List<PullRequest>> resp = repoListPullRequestsWithHttpInfo(owner, repo);
public List<PullRequest> repoListPullRequests(String owner, String repo, Integer page, String state, String sort, Long milestone, List<Long> labels) throws ApiException {
ApiResponse<List<PullRequest>> resp = repoListPullRequestsWithHttpInfo(owner, repo, page, state, sort, milestone, labels);
return resp.getData();
}
@ -5339,11 +5359,16 @@ public class RepositoryApi {
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param page Page number (optional)
* @param state State of pull request: open or closed (optional) (optional)
* @param sort Type of sort (optional)
* @param milestone ID of the milestone (optional)
* @param labels Label IDs (optional)
* @return ApiResponse&lt;List&lt;PullRequest&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<PullRequest>> repoListPullRequestsWithHttpInfo(String owner, String repo) throws ApiException {
com.squareup.okhttp.Call call = repoListPullRequestsValidateBeforeCall(owner, repo, null, null);
public ApiResponse<List<PullRequest>> repoListPullRequestsWithHttpInfo(String owner, String repo, Integer page, String state, String sort, Long milestone, List<Long> labels) throws ApiException {
com.squareup.okhttp.Call call = repoListPullRequestsValidateBeforeCall(owner, repo, page, state, sort, milestone, labels, null, null);
Type localVarReturnType = new TypeToken<List<PullRequest>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@ -5353,11 +5378,16 @@ public class RepositoryApi {
*
* @param owner owner of the repo (required)
* @param repo name of the repo (required)
* @param page Page number (optional)
* @param state State of pull request: open or closed (optional) (optional)
* @param sort Type of sort (optional)
* @param milestone ID of the milestone (optional)
* @param labels Label IDs (optional)
* @param callback The callback to be executed when the API call finishes
* @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 repoListPullRequestsAsync(String owner, String repo, final ApiCallback<List<PullRequest>> callback) throws ApiException {
public com.squareup.okhttp.Call repoListPullRequestsAsync(String owner, String repo, Integer page, String state, String sort, Long milestone, List<Long> labels, final ApiCallback<List<PullRequest>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -5378,7 +5408,7 @@ public class RepositoryApi {
};
}
com.squareup.okhttp.Call call = repoListPullRequestsValidateBeforeCall(owner, repo, progressListener, progressRequestListener);
com.squareup.okhttp.Call call = repoListPullRequestsValidateBeforeCall(owner, repo, page, state, sort, milestone, labels, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken<List<PullRequest>>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
@ -5393,7 +5423,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoListReleaseAttachmentsCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoListReleaseAttachmentsCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -5438,7 +5468,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoListReleaseAttachmentsValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoListReleaseAttachmentsValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -5470,7 +5500,7 @@ public class RepositoryApi {
* @return List&lt;Attachment&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public List<Attachment> repoListReleaseAttachments(String owner, String repo, Integer id) throws ApiException {
public List<Attachment> repoListReleaseAttachments(String owner, String repo, Long id) throws ApiException {
ApiResponse<List<Attachment>> resp = repoListReleaseAttachmentsWithHttpInfo(owner, repo, id);
return resp.getData();
}
@ -5484,7 +5514,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;List&lt;Attachment&gt;&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<List<Attachment>> repoListReleaseAttachmentsWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<List<Attachment>> repoListReleaseAttachmentsWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = repoListReleaseAttachmentsValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken<List<Attachment>>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -5500,7 +5530,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 repoListReleaseAttachmentsAsync(String owner, String repo, Integer id, final ApiCallback<List<Attachment>> callback) throws ApiException {
public com.squareup.okhttp.Call repoListReleaseAttachmentsAsync(String owner, String repo, Long id, final ApiCallback<List<Attachment>> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -6078,7 +6108,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoMergePullRequestCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoMergePullRequestCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -6123,7 +6153,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoMergePullRequestValidateBeforeCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoMergePullRequestValidateBeforeCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -6154,7 +6184,7 @@ public class RepositoryApi {
* @param index index of the pull request to merge (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void repoMergePullRequest(String owner, String repo, Integer index) throws ApiException {
public void repoMergePullRequest(String owner, String repo, Long index) throws ApiException {
repoMergePullRequestWithHttpInfo(owner, repo, index);
}
@ -6167,7 +6197,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> repoMergePullRequestWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
public ApiResponse<Void> repoMergePullRequestWithHttpInfo(String owner, String repo, Long index) throws ApiException {
com.squareup.okhttp.Call call = repoMergePullRequestValidateBeforeCall(owner, repo, index, null, null);
return apiClient.execute(call);
}
@ -6182,7 +6212,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 repoMergePullRequestAsync(String owner, String repo, Integer index, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call repoMergePullRequestAsync(String owner, String repo, Long index, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -6463,7 +6493,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoPullRequestIsMergedCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoPullRequestIsMergedCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -6508,7 +6538,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoPullRequestIsMergedValidateBeforeCall(String owner, String repo, Integer index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoPullRequestIsMergedValidateBeforeCall(String owner, String repo, Long index, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -6539,7 +6569,7 @@ public class RepositoryApi {
* @param index index of the pull request (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void repoPullRequestIsMerged(String owner, String repo, Integer index) throws ApiException {
public void repoPullRequestIsMerged(String owner, String repo, Long index) throws ApiException {
repoPullRequestIsMergedWithHttpInfo(owner, repo, index);
}
@ -6552,7 +6582,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> repoPullRequestIsMergedWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
public ApiResponse<Void> repoPullRequestIsMergedWithHttpInfo(String owner, String repo, Long index) throws ApiException {
com.squareup.okhttp.Call call = repoPullRequestIsMergedValidateBeforeCall(owner, repo, index, null, null);
return apiClient.execute(call);
}
@ -6567,7 +6597,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 repoPullRequestIsMergedAsync(String owner, String repo, Integer index, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call repoPullRequestIsMergedAsync(String owner, String repo, Long index, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -6607,7 +6637,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoSearchCall(String q, Integer uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoSearchCall(String q, Long uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -6665,7 +6695,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoSearchValidateBeforeCall(String q, Integer uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoSearchValidateBeforeCall(String q, Long uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
com.squareup.okhttp.Call call = repoSearchCall(q, uid, page, limit, mode, exclusive, sort, order, progressListener, progressRequestListener);
@ -6687,7 +6717,7 @@ public class RepositoryApi {
* @return SearchResults
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public SearchResults repoSearch(String q, Integer uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order) throws ApiException {
public SearchResults repoSearch(String q, Long uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order) throws ApiException {
ApiResponse<SearchResults> resp = repoSearchWithHttpInfo(q, uid, page, limit, mode, exclusive, sort, order);
return resp.getData();
}
@ -6706,7 +6736,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;SearchResults&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<SearchResults> repoSearchWithHttpInfo(String q, Integer uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order) throws ApiException {
public ApiResponse<SearchResults> repoSearchWithHttpInfo(String q, Long uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order) throws ApiException {
com.squareup.okhttp.Call call = repoSearchValidateBeforeCall(q, uid, page, limit, mode, exclusive, sort, order, null, null);
Type localVarReturnType = new TypeToken<SearchResults>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -6727,7 +6757,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 repoSearchAsync(String q, Integer uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order, final ApiCallback<SearchResults> callback) throws ApiException {
public com.squareup.okhttp.Call repoSearchAsync(String q, Long uid, Integer page, Integer limit, String mode, Boolean exclusive, String sort, String order, final ApiCallback<SearchResults> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -6763,7 +6793,7 @@ public class RepositoryApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call repoTestHookCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call repoTestHookCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -6808,7 +6838,7 @@ public class RepositoryApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call repoTestHookValidateBeforeCall(String owner, String repo, Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call repoTestHookValidateBeforeCall(String owner, String repo, Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'owner' is set
if (owner == null) {
@ -6839,7 +6869,7 @@ public class RepositoryApi {
* @param id id of the hook to test (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void repoTestHook(String owner, String repo, Integer id) throws ApiException {
public void repoTestHook(String owner, String repo, Long id) throws ApiException {
repoTestHookWithHttpInfo(owner, repo, id);
}
@ -6852,7 +6882,7 @@ public class RepositoryApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> repoTestHookWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
public ApiResponse<Void> repoTestHookWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = repoTestHookValidateBeforeCall(owner, repo, id, null, null);
return apiClient.execute(call);
}
@ -6867,7 +6897,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 repoTestHookAsync(String owner, String repo, Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call repoTestHookAsync(String owner, String repo, Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;

View File

@ -932,7 +932,7 @@ public class UserApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call userCurrentDeleteGPGKeyCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call userCurrentDeleteGPGKeyCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -975,7 +975,7 @@ public class UserApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call userCurrentDeleteGPGKeyValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call userCurrentDeleteGPGKeyValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -994,7 +994,7 @@ public class UserApi {
* @param id id of key to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void userCurrentDeleteGPGKey(Integer id) throws ApiException {
public void userCurrentDeleteGPGKey(Long id) throws ApiException {
userCurrentDeleteGPGKeyWithHttpInfo(id);
}
@ -1005,7 +1005,7 @@ public class UserApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> userCurrentDeleteGPGKeyWithHttpInfo(Integer id) throws ApiException {
public ApiResponse<Void> userCurrentDeleteGPGKeyWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = userCurrentDeleteGPGKeyValidateBeforeCall(id, null, null);
return apiClient.execute(call);
}
@ -1018,7 +1018,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 userCurrentDeleteGPGKeyAsync(Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call userCurrentDeleteGPGKeyAsync(Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1051,7 +1051,7 @@ public class UserApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call userCurrentDeleteKeyCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call userCurrentDeleteKeyCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1094,7 +1094,7 @@ public class UserApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call userCurrentDeleteKeyValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call userCurrentDeleteKeyValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -1113,7 +1113,7 @@ public class UserApi {
* @param id id of key to delete (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void userCurrentDeleteKey(Integer id) throws ApiException {
public void userCurrentDeleteKey(Long id) throws ApiException {
userCurrentDeleteKeyWithHttpInfo(id);
}
@ -1124,7 +1124,7 @@ public class UserApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> userCurrentDeleteKeyWithHttpInfo(Integer id) throws ApiException {
public ApiResponse<Void> userCurrentDeleteKeyWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = userCurrentDeleteKeyValidateBeforeCall(id, null, null);
return apiClient.execute(call);
}
@ -1137,7 +1137,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 userCurrentDeleteKeyAsync(Integer id, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call userCurrentDeleteKeyAsync(Long id, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1299,7 +1299,7 @@ public class UserApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call userCurrentGetGPGKeyCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call userCurrentGetGPGKeyCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1342,7 +1342,7 @@ public class UserApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call userCurrentGetGPGKeyValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call userCurrentGetGPGKeyValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -1362,7 +1362,7 @@ public class UserApi {
* @return GPGKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public GPGKey userCurrentGetGPGKey(Integer id) throws ApiException {
public GPGKey userCurrentGetGPGKey(Long id) throws ApiException {
ApiResponse<GPGKey> resp = userCurrentGetGPGKeyWithHttpInfo(id);
return resp.getData();
}
@ -1374,7 +1374,7 @@ public class UserApi {
* @return ApiResponse&lt;GPGKey&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<GPGKey> userCurrentGetGPGKeyWithHttpInfo(Integer id) throws ApiException {
public ApiResponse<GPGKey> userCurrentGetGPGKeyWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = userCurrentGetGPGKeyValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken<GPGKey>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -1388,7 +1388,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 userCurrentGetGPGKeyAsync(Integer id, final ApiCallback<GPGKey> callback) throws ApiException {
public com.squareup.okhttp.Call userCurrentGetGPGKeyAsync(Long id, final ApiCallback<GPGKey> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -1422,7 +1422,7 @@ public class UserApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call userCurrentGetKeyCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call userCurrentGetKeyCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -1465,7 +1465,7 @@ public class UserApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call userCurrentGetKeyValidateBeforeCall(Integer id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call userCurrentGetKeyValidateBeforeCall(Long id, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'id' is set
if (id == null) {
@ -1485,7 +1485,7 @@ public class UserApi {
* @return PublicKey
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public PublicKey userCurrentGetKey(Integer id) throws ApiException {
public PublicKey userCurrentGetKey(Long id) throws ApiException {
ApiResponse<PublicKey> resp = userCurrentGetKeyWithHttpInfo(id);
return resp.getData();
}
@ -1497,7 +1497,7 @@ public class UserApi {
* @return ApiResponse&lt;PublicKey&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<PublicKey> userCurrentGetKeyWithHttpInfo(Integer id) throws ApiException {
public ApiResponse<PublicKey> userCurrentGetKeyWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = userCurrentGetKeyValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken<PublicKey>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -1511,7 +1511,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 userCurrentGetKeyAsync(Integer id, final ApiCallback<PublicKey> callback) throws ApiException {
public com.squareup.okhttp.Call userCurrentGetKeyAsync(Long id, final ApiCallback<PublicKey> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -2932,7 +2932,7 @@ public class UserApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call userDeleteAccessTokenCall(String username, Integer token, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call userDeleteAccessTokenCall(String username, Long token, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -2976,7 +2976,7 @@ public class UserApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call userDeleteAccessTokenValidateBeforeCall(String username, Integer token, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call userDeleteAccessTokenValidateBeforeCall(String username, Long token, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
// verify the required parameter 'username' is set
if (username == null) {
@ -3001,7 +3001,7 @@ public class UserApi {
* @param token token to be deleted (required)
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public void userDeleteAccessToken(String username, Integer token) throws ApiException {
public void userDeleteAccessToken(String username, Long token) throws ApiException {
userDeleteAccessTokenWithHttpInfo(username, token);
}
@ -3013,7 +3013,7 @@ public class UserApi {
* @return ApiResponse&lt;Void&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<Void> userDeleteAccessTokenWithHttpInfo(String username, Integer token) throws ApiException {
public ApiResponse<Void> userDeleteAccessTokenWithHttpInfo(String username, Long token) throws ApiException {
com.squareup.okhttp.Call call = userDeleteAccessTokenValidateBeforeCall(username, token, null, null);
return apiClient.execute(call);
}
@ -3027,7 +3027,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 userDeleteAccessTokenAsync(String username, Integer token, final ApiCallback<Void> callback) throws ApiException {
public com.squareup.okhttp.Call userDeleteAccessTokenAsync(String username, Long token, final ApiCallback<Void> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
@ -4508,7 +4508,7 @@ public class UserApi {
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
*/
public com.squareup.okhttp.Call userSearchCall(String q, Integer uid, Integer limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
public com.squareup.okhttp.Call userSearchCall(String q, Long uid, Integer limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@ -4556,7 +4556,7 @@ public class UserApi {
}
@SuppressWarnings("rawtypes")
private com.squareup.okhttp.Call userSearchValidateBeforeCall(String q, Integer uid, Integer limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
private com.squareup.okhttp.Call userSearchValidateBeforeCall(String q, Long uid, Integer limit, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
com.squareup.okhttp.Call call = userSearchCall(q, uid, limit, progressListener, progressRequestListener);
@ -4573,7 +4573,7 @@ public class UserApi {
* @return UserSearchList
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public UserSearchList userSearch(String q, Integer uid, Integer limit) throws ApiException {
public UserSearchList userSearch(String q, Long uid, Integer limit) throws ApiException {
ApiResponse<UserSearchList> resp = userSearchWithHttpInfo(q, uid, limit);
return resp.getData();
}
@ -4587,7 +4587,7 @@ public class UserApi {
* @return ApiResponse&lt;UserSearchList&gt;
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
public ApiResponse<UserSearchList> userSearchWithHttpInfo(String q, Integer uid, Integer limit) throws ApiException {
public ApiResponse<UserSearchList> userSearchWithHttpInfo(String q, Long uid, Integer limit) throws ApiException {
com.squareup.okhttp.Call call = userSearchValidateBeforeCall(q, uid, limit, null, null);
Type localVarReturnType = new TypeToken<UserSearchList>(){}.getType();
return apiClient.execute(call, localVarReturnType);
@ -4603,7 +4603,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 uid, Integer limit, final ApiCallback<UserSearchList> callback) throws ApiException {
public com.squareup.okhttp.Call userSearchAsync(String q, Long uid, Integer limit, final ApiCallback<UserSearchList> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class OAuth implements Authentication {
private String accessToken;

View File

@ -27,7 +27,7 @@ import java.io.IOException;
* AccessToken represents a API access token.
*/
@ApiModel(description = "AccessToken represents a API access token.")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class AccessToken {
@SerializedName("id")
private Long id = null;

View File

@ -26,7 +26,7 @@ import java.io.IOException;
/**
* AccessTokenName
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class AccessTokenName {
@SerializedName("name")
private String name = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class AddCollaboratorOption {
@SerializedName("permission")
private String permission = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class AddTimeOption {
@SerializedName("time")
private Long time = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Attachment {
@SerializedName("browser_download_url")
private String browserDownloadUrl = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Branch {
@SerializedName("commit")
private PayloadCommit commit = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Comment {
@SerializedName("body")
private String body = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateEmailOption {
@SerializedName("emails")
private List<String> emails = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateForkOption {
@SerializedName("organization")
private String organization = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateGPGKeyOption {
@SerializedName("armored_public_key")
private String armoredPublicKey = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateHookOption {
@SerializedName("active")
private Boolean active = false;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateIssueCommentOption {
@SerializedName("body")
private String body = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateIssueOption {
@SerializedName("assignee")
private String assignee = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateKeyOption {
@SerializedName("key")
private String key = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateLabelOption {
@SerializedName("color")
private String color = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateMilestoneOption {
@SerializedName("description")
private String description = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateOrgOption {
@SerializedName("description")
private String description = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreatePullRequestOption {
@SerializedName("assignee")
private String assignee = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateReleaseOption {
@SerializedName("body")
private String body = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateRepoOption {
@SerializedName("auto_init")
private Boolean autoInit = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateStatusOption {
@SerializedName("context")
private String context = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateTeamOption {
@SerializedName("description")
private String description = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class CreateUserOption {
@SerializedName("email")
private String email = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class DeleteEmailOption {
@SerializedName("emails")
private List<String> emails = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class DeployKey {
@SerializedName("created_at")
private OffsetDateTime createdAt = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditAttachmentOptions {
@SerializedName("name")
private String name = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditDeadlineOption {
@SerializedName("due_date")
private OffsetDateTime dueDate = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditHookOption {
@SerializedName("active")
private Boolean active = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditIssueCommentOption {
@SerializedName("body")
private String body = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditIssueOption {
@SerializedName("assignee")
private String assignee = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditLabelOption {
@SerializedName("color")
private String color = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditMilestoneOption {
@SerializedName("description")
private String description = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditOrgOption {
@SerializedName("description")
private String description = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditPullRequestOption {
@SerializedName("assignee")
private String assignee = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditReleaseOption {
@SerializedName("body")
private String body = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditTeamOption {
@SerializedName("description")
private String description = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class EditUserOption {
@SerializedName("active")
private Boolean active = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Email {
@SerializedName("email")
private String email = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class GPGKey {
@SerializedName("can_certify")
private Boolean canCertify = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class GPGKeyEmail {
@SerializedName("email")
private String email = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Issue {
@SerializedName("assignee")
private User assignee = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class IssueDeadline {
@SerializedName("due_date")
private OffsetDateTime dueDate = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class IssueLabelsOption {
@SerializedName("labels")
private List<Long> labels = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Label {
@SerializedName("color")
private String color = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class MarkdownOption {
@SerializedName("Context")
private String context = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class MigrateRepoForm {
@SerializedName("auth_password")
private String authPassword = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Milestone {
@SerializedName("closed_at")
private OffsetDateTime closedAt = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Organization {
@SerializedName("avatar_url")
private String avatarUrl = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class PRBranchInfo {
@SerializedName("label")
private String label = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class PayloadCommit {
@SerializedName("author")
private PayloadUser author = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class PayloadCommitVerification {
@SerializedName("payload")
private String payload = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class PayloadUser {
@SerializedName("email")
private String email = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Permission {
@SerializedName("admin")
private Boolean admin = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class PublicKey {
@SerializedName("created_at")
private OffsetDateTime createdAt = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class PullRequest {
@SerializedName("assignee")
private User assignee = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class PullRequestMeta {
@SerializedName("merged")
private Boolean merged = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Release {
@SerializedName("assets")
private List<Attachment> assets = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Repository {
@SerializedName("clone_url")
private String cloneUrl = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class SearchResults {
@SerializedName("data")
private List<Repository> data = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class ServerVersion {
@SerializedName("version")
private String version = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Status {
@SerializedName("context")
private String context = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class Team {
@SerializedName("description")
private String description = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class TrackedTime {
@SerializedName("created")
private OffsetDateTime created = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class User {
@SerializedName("avatar_url")
private String avatarUrl = null;

View File

@ -30,7 +30,7 @@ import java.util.List;
* UserSearchList
*/
@ApiModel(description = "UserSearchList")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class UserSearchList {
@SerializedName("data")
private List<User> data = null;

View File

@ -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-10-19T20:26:09.531+01:00")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-10-20T18:39:27.321+01:00")
public class WatchInfo {
@SerializedName("created_at")
private OffsetDateTime createdAt = null;

View File

@ -14,6 +14,9 @@
package io.gitea.api;
import io.gitea.ApiException;
import io.gitea.model.CreateKeyOption;
import io.gitea.model.CreateOrgOption;
import io.gitea.model.CreateRepoOption;
import io.gitea.model.CreateUserOption;
import io.gitea.model.EditUserOption;
import io.gitea.model.Organization;
@ -48,7 +51,8 @@ public class AdminApiTest {
@Test
public void adminCreateOrgTest() throws ApiException {
String username = null;
Organization response = api.adminCreateOrg(username);
CreateOrgOption organization = null;
Organization response = api.adminCreateOrg(username, organization);
// TODO: test validations
}
@ -64,7 +68,8 @@ public class AdminApiTest {
@Test
public void adminCreatePublicKeyTest() throws ApiException {
String username = null;
PublicKey response = api.adminCreatePublicKey(username);
CreateKeyOption key = null;
PublicKey response = api.adminCreatePublicKey(username, key);
// TODO: test validations
}
@ -80,7 +85,8 @@ public class AdminApiTest {
@Test
public void adminCreateRepoTest() throws ApiException {
String username = null;
Repository response = api.adminCreateRepo(username);
CreateRepoOption repository = null;
Repository response = api.adminCreateRepo(username, repository);
// TODO: test validations
}
@ -128,7 +134,7 @@ public class AdminApiTest {
@Test
public void adminDeleteUserPublicKeyTest() throws ApiException {
String username = null;
Integer id = null;
Long id = null;
api.adminDeleteUserPublicKey(username, id);
// TODO: test validations

View File

@ -60,7 +60,7 @@ public class IssueApiTest {
public void issueAddLabelTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
IssueLabelsOption body = null;
List<Label> response = api.issueAddLabel(owner, repo, index, body);
@ -79,7 +79,7 @@ public class IssueApiTest {
public void issueAddTimeTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
AddTimeOption body = null;
TrackedTime response = api.issueAddTime(owner, repo, id, body);
@ -98,7 +98,7 @@ public class IssueApiTest {
public void issueClearLabelsTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
api.issueClearLabels(owner, repo, index);
// TODO: test validations
@ -116,7 +116,7 @@ public class IssueApiTest {
public void issueCreateCommentTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
CreateIssueCommentOption body = null;
Comment response = api.issueCreateComment(owner, repo, index, body);
@ -189,7 +189,7 @@ public class IssueApiTest {
public void issueDeleteCommentTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
api.issueDeleteComment(owner, repo, id);
// TODO: test validations
@ -208,7 +208,7 @@ public class IssueApiTest {
String owner = null;
String repo = null;
Integer index = null;
Integer id = null;
Long id = null;
api.issueDeleteCommentDeprecated(owner, repo, index, id);
// TODO: test validations
@ -226,7 +226,7 @@ public class IssueApiTest {
public void issueDeleteLabelTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
api.issueDeleteLabel(owner, repo, id);
// TODO: test validations
@ -244,7 +244,7 @@ public class IssueApiTest {
public void issueDeleteMilestoneTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
api.issueDeleteMilestone(owner, repo, id);
// TODO: test validations
@ -262,7 +262,7 @@ public class IssueApiTest {
public void issueEditCommentTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
EditIssueCommentOption body = null;
Comment response = api.issueEditComment(owner, repo, id, body);
@ -282,7 +282,7 @@ public class IssueApiTest {
String owner = null;
String repo = null;
Integer index = null;
Integer id = null;
Long id = null;
EditIssueCommentOption body = null;
Comment response = api.issueEditCommentDeprecated(owner, repo, index, id, body);
@ -301,7 +301,7 @@ public class IssueApiTest {
public void issueEditIssueTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
EditIssueOption body = null;
Issue response = api.issueEditIssue(owner, repo, index, body);
@ -320,7 +320,7 @@ public class IssueApiTest {
public void issueEditIssueDeadlineTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
EditDeadlineOption body = null;
IssueDeadline response = api.issueEditIssueDeadline(owner, repo, index, body);
@ -339,7 +339,7 @@ public class IssueApiTest {
public void issueEditLabelTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
EditLabelOption body = null;
Label response = api.issueEditLabel(owner, repo, id, body);
@ -358,7 +358,7 @@ public class IssueApiTest {
public void issueEditMilestoneTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
EditMilestoneOption body = null;
Milestone response = api.issueEditMilestone(owner, repo, id, body);
@ -377,7 +377,7 @@ public class IssueApiTest {
public void issueGetCommentsTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
String since = null;
List<Comment> response = api.issueGetComments(owner, repo, index, since);
@ -396,7 +396,7 @@ public class IssueApiTest {
public void issueGetIssueTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
Issue response = api.issueGetIssue(owner, repo, index);
// TODO: test validations
@ -414,7 +414,7 @@ public class IssueApiTest {
public void issueGetLabelTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
Label response = api.issueGetLabel(owner, repo, id);
// TODO: test validations
@ -432,7 +432,7 @@ public class IssueApiTest {
public void issueGetLabelsTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
List<Label> response = api.issueGetLabels(owner, repo, index);
// TODO: test validations
@ -450,7 +450,7 @@ public class IssueApiTest {
public void issueGetMilestoneTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
Milestone response = api.issueGetMilestone(owner, repo, id);
// TODO: test validations
@ -540,8 +540,8 @@ public class IssueApiTest {
public void issueRemoveLabelTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Integer id = null;
Long index = null;
Long id = null;
api.issueRemoveLabel(owner, repo, index, id);
// TODO: test validations
@ -559,7 +559,7 @@ public class IssueApiTest {
public void issueReplaceLabelsTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
IssueLabelsOption body = null;
List<Label> response = api.issueReplaceLabels(owner, repo, index, body);
@ -578,7 +578,7 @@ public class IssueApiTest {
public void issueTrackedTimesTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
List<TrackedTime> response = api.issueTrackedTimes(owner, repo, id);
// TODO: test validations

View File

@ -15,8 +15,10 @@ package io.gitea.api;
import io.gitea.ApiException;
import io.gitea.model.Branch;
import io.gitea.model.CreateHookOption;
import io.gitea.model.CreateRepoOption;
import io.gitea.model.CreateTeamOption;
import io.gitea.model.EditHookOption;
import io.gitea.model.EditOrgOption;
import io.gitea.model.EditTeamOption;
import io.gitea.model.Organization;
@ -67,7 +69,7 @@ public class OrganizationApiTest {
*/
@Test
public void orgAddTeamMemberTest() throws ApiException {
Integer id = null;
Long id = null;
String username = null;
api.orgAddTeamMember(id, username);
@ -84,7 +86,7 @@ public class OrganizationApiTest {
*/
@Test
public void orgAddTeamRepositoryTest() throws ApiException {
Integer id = null;
Long id = null;
String org = null;
String repo = null;
api.orgAddTeamRepository(id, org, repo);
@ -120,7 +122,8 @@ public class OrganizationApiTest {
@Test
public void orgCreateHookTest() throws ApiException {
String org = null;
List<Branch> response = api.orgCreateHook(org);
CreateHookOption body = null;
List<Branch> response = api.orgCreateHook(org, body);
// TODO: test validations
}
@ -153,7 +156,7 @@ public class OrganizationApiTest {
@Test
public void orgDeleteHookTest() throws ApiException {
String org = null;
Integer id = null;
Long id = null;
api.orgDeleteHook(org, id);
// TODO: test validations
@ -186,7 +189,7 @@ public class OrganizationApiTest {
*/
@Test
public void orgDeleteTeamTest() throws ApiException {
Integer id = null;
Long id = null;
api.orgDeleteTeam(id);
// TODO: test validations
@ -220,8 +223,9 @@ public class OrganizationApiTest {
@Test
public void orgEditHookTest() throws ApiException {
String org = null;
Integer id = null;
List<Branch> response = api.orgEditHook(org, id);
Long id = null;
EditHookOption body = null;
List<Branch> response = api.orgEditHook(org, id, body);
// TODO: test validations
}
@ -270,7 +274,7 @@ public class OrganizationApiTest {
@Test
public void orgGetHookTest() throws ApiException {
String org = null;
Integer id = null;
Long id = null;
List<Branch> response = api.orgGetHook(org, id);
// TODO: test validations
@ -286,7 +290,7 @@ public class OrganizationApiTest {
*/
@Test
public void orgGetTeamTest() throws ApiException {
Integer id = null;
Long id = null;
Team response = api.orgGetTeam(id);
// TODO: test validations
@ -415,7 +419,7 @@ public class OrganizationApiTest {
*/
@Test
public void orgListTeamMembersTest() throws ApiException {
Integer id = null;
Long id = null;
List<User> response = api.orgListTeamMembers(id);
// TODO: test validations
@ -431,7 +435,7 @@ public class OrganizationApiTest {
*/
@Test
public void orgListTeamReposTest() throws ApiException {
Integer id = null;
Long id = null;
List<Repository> response = api.orgListTeamRepos(id);
// TODO: test validations
@ -496,7 +500,7 @@ public class OrganizationApiTest {
*/
@Test
public void orgRemoveTeamMemberTest() throws ApiException {
Integer id = null;
Long id = null;
String username = null;
api.orgRemoveTeamMember(id, username);
@ -513,7 +517,7 @@ public class OrganizationApiTest {
*/
@Test
public void orgRemoveTeamRepositoryTest() throws ApiException {
Integer id = null;
Long id = null;
String org = null;
String repo = null;
api.orgRemoveTeamRepository(id, org, repo);

View File

@ -228,7 +228,7 @@ public class RepositoryApiTest {
public void repoCreateReleaseAttachmentTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
File attachment = null;
String name = null;
Attachment response = api.repoCreateReleaseAttachment(owner, repo, id, attachment, name);
@ -302,7 +302,7 @@ public class RepositoryApiTest {
public void repoDeleteHookTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
api.repoDeleteHook(owner, repo, id);
// TODO: test validations
@ -320,7 +320,7 @@ public class RepositoryApiTest {
public void repoDeleteKeyTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
api.repoDeleteKey(owner, repo, id);
// TODO: test validations
@ -338,7 +338,7 @@ public class RepositoryApiTest {
public void repoDeleteReleaseTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
api.repoDeleteRelease(owner, repo, id);
// TODO: test validations
@ -356,8 +356,8 @@ public class RepositoryApiTest {
public void repoDeleteReleaseAttachmentTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Integer attachmentId = null;
Long id = null;
Long attachmentId = null;
api.repoDeleteReleaseAttachment(owner, repo, id, attachmentId);
// TODO: test validations
@ -375,7 +375,7 @@ public class RepositoryApiTest {
public void repoEditHookTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
EditHookOption body = null;
List<Branch> response = api.repoEditHook(owner, repo, id, body);
@ -394,7 +394,7 @@ public class RepositoryApiTest {
public void repoEditPullRequestTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
EditPullRequestOption body = null;
PullRequest response = api.repoEditPullRequest(owner, repo, index, body);
@ -413,7 +413,7 @@ public class RepositoryApiTest {
public void repoEditReleaseTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
EditReleaseOption body = null;
Release response = api.repoEditRelease(owner, repo, id, body);
@ -432,8 +432,8 @@ public class RepositoryApiTest {
public void repoEditReleaseAttachmentTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Integer attachmentId = null;
Long id = null;
Long attachmentId = null;
EditAttachmentOptions body = null;
Attachment response = api.repoEditReleaseAttachment(owner, repo, id, attachmentId, body);
@ -503,7 +503,7 @@ public class RepositoryApiTest {
*/
@Test
public void repoGetByIDTest() throws ApiException {
Integer id = null;
Long id = null;
Repository response = api.repoGetByID(id);
// TODO: test validations
@ -557,7 +557,7 @@ public class RepositoryApiTest {
public void repoGetHookTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
List<Branch> response = api.repoGetHook(owner, repo, id);
// TODO: test validations
@ -575,7 +575,7 @@ public class RepositoryApiTest {
public void repoGetKeyTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
DeployKey response = api.repoGetKey(owner, repo, id);
// TODO: test validations
@ -593,7 +593,7 @@ public class RepositoryApiTest {
public void repoGetPullRequestTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
PullRequest response = api.repoGetPullRequest(owner, repo, index);
// TODO: test validations
@ -629,7 +629,7 @@ public class RepositoryApiTest {
public void repoGetReleaseTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
Release response = api.repoGetRelease(owner, repo, id);
// TODO: test validations
@ -647,8 +647,8 @@ public class RepositoryApiTest {
public void repoGetReleaseAttachmentTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Integer attachmentId = null;
Long id = null;
Long attachmentId = null;
Attachment response = api.repoGetReleaseAttachment(owner, repo, id, attachmentId);
// TODO: test validations
@ -734,7 +734,12 @@ public class RepositoryApiTest {
public void repoListPullRequestsTest() throws ApiException {
String owner = null;
String repo = null;
List<PullRequest> response = api.repoListPullRequests(owner, repo);
Integer page = null;
String state = null;
String sort = null;
Long milestone = null;
List<Long> labels = null;
List<PullRequest> response = api.repoListPullRequests(owner, repo, page, state, sort, milestone, labels);
// TODO: test validations
}
@ -751,7 +756,7 @@ public class RepositoryApiTest {
public void repoListReleaseAttachmentsTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
List<Attachment> response = api.repoListReleaseAttachments(owner, repo, id);
// TODO: test validations
@ -838,7 +843,7 @@ public class RepositoryApiTest {
public void repoMergePullRequestTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
api.repoMergePullRequest(owner, repo, index);
// TODO: test validations
@ -889,7 +894,7 @@ public class RepositoryApiTest {
public void repoPullRequestIsMergedTest() throws ApiException {
String owner = null;
String repo = null;
Integer index = null;
Long index = null;
api.repoPullRequestIsMerged(owner, repo, index);
// TODO: test validations
@ -906,7 +911,7 @@ public class RepositoryApiTest {
@Test
public void repoSearchTest() throws ApiException {
String q = null;
Integer uid = null;
Long uid = null;
Integer page = null;
Integer limit = null;
String mode = null;
@ -930,7 +935,7 @@ public class RepositoryApiTest {
public void repoTestHookTest() throws ApiException {
String owner = null;
String repo = null;
Integer id = null;
Long id = null;
api.repoTestHook(owner, repo, id);
// TODO: test validations

View File

@ -170,7 +170,7 @@ public class UserApiTest {
*/
@Test
public void userCurrentDeleteGPGKeyTest() throws ApiException {
Integer id = null;
Long id = null;
api.userCurrentDeleteGPGKey(id);
// TODO: test validations
@ -186,7 +186,7 @@ public class UserApiTest {
*/
@Test
public void userCurrentDeleteKeyTest() throws ApiException {
Integer id = null;
Long id = null;
api.userCurrentDeleteKey(id);
// TODO: test validations
@ -219,7 +219,7 @@ public class UserApiTest {
*/
@Test
public void userCurrentGetGPGKeyTest() throws ApiException {
Integer id = null;
Long id = null;
GPGKey response = api.userCurrentGetGPGKey(id);
// TODO: test validations
@ -235,7 +235,7 @@ public class UserApiTest {
*/
@Test
public void userCurrentGetKeyTest() throws ApiException {
Integer id = null;
Long id = null;
PublicKey response = api.userCurrentGetKey(id);
// TODO: test validations
@ -437,7 +437,7 @@ public class UserApiTest {
@Test
public void userDeleteAccessTokenTest() throws ApiException {
String username = null;
Integer token = null;
Long token = null;
api.userDeleteAccessToken(username, token);
// TODO: test validations
@ -644,7 +644,7 @@ public class UserApiTest {
@Test
public void userSearchTest() throws ApiException {
String q = null;
Integer uid = null;
Long uid = null;
Integer limit = null;
UserSearchList response = api.userSearch(q, uid, limit);

View File

@ -150,6 +150,13 @@
"name": "username",
"in": "path",
"required": true
},
{
"name": "key",
"in": "body",
"schema": {
"$ref": "#/definitions/CreateKeyOption"
}
}
],
"responses": {
@ -185,6 +192,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the key to delete",
"name": "id",
"in": "path",
@ -224,6 +232,14 @@
"name": "username",
"in": "path",
"required": true
},
{
"name": "organization",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateOrgOption"
}
}
],
"responses": {
@ -259,6 +275,14 @@
"name": "username",
"in": "path",
"required": true
},
{
"name": "repository",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateRepoOption"
}
}
],
"responses": {
@ -488,6 +512,14 @@
"name": "org",
"in": "path",
"required": true
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CreateHookOption"
}
}
],
"responses": {
@ -517,6 +549,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the hook to get",
"name": "id",
"in": "path",
@ -548,6 +581,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the hook to delete",
"name": "id",
"in": "path",
@ -582,10 +616,18 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the hook to update",
"name": "id",
"in": "path",
"required": true
},
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/EditHookOption"
}
}
],
"responses": {
@ -940,6 +982,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "search only for repos that the user with the given id owns or contributes to",
"name": "uid",
"in": "query"
@ -1582,6 +1625,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the hook to get",
"name": "id",
"in": "path",
@ -1620,6 +1664,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the hook to delete",
"name": "id",
"in": "path",
@ -1661,6 +1706,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the hook",
"name": "id",
"in": "path",
@ -1708,6 +1754,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the hook to test",
"name": "id",
"in": "path",
@ -1876,6 +1923,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of comment to delete",
"name": "id",
"in": "path",
@ -1917,6 +1965,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the comment to edit",
"name": "id",
"in": "path",
@ -1964,6 +2013,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue",
"name": "id",
"in": "path",
@ -2005,6 +2055,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue to add tracked time to",
"name": "id",
"in": "path",
@ -2058,6 +2109,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue to get",
"name": "index",
"in": "path",
@ -2099,6 +2151,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue to edit",
"name": "index",
"in": "path",
@ -2146,6 +2199,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue",
"name": "index",
"in": "path",
@ -2193,6 +2247,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue",
"name": "index",
"in": "path",
@ -2245,6 +2300,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of comment to delete",
"name": "id",
"in": "path",
@ -2294,6 +2350,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the comment to edit",
"name": "id",
"in": "path",
@ -2344,6 +2401,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue to create or update a deadline on",
"name": "index",
"in": "path",
@ -2397,6 +2455,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue",
"name": "index",
"in": "path",
@ -2441,6 +2500,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue",
"name": "index",
"in": "path",
@ -2489,6 +2549,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue",
"name": "index",
"in": "path",
@ -2534,6 +2595,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue",
"name": "index",
"in": "path",
@ -2574,6 +2636,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the issue",
"name": "index",
"in": "path",
@ -2581,6 +2644,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the label to remove",
"name": "id",
"in": "path",
@ -2695,6 +2759,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the key to get",
"name": "id",
"in": "path",
@ -2730,6 +2795,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the key to delete",
"name": "id",
"in": "path",
@ -2844,6 +2910,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the label to get",
"name": "id",
"in": "path",
@ -2879,6 +2946,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the label to delete",
"name": "id",
"in": "path",
@ -2920,6 +2988,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the label to edit",
"name": "id",
"in": "path",
@ -3041,6 +3110,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the milestone",
"name": "id",
"in": "path",
@ -3076,6 +3146,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the milestone to delete",
"name": "id",
"in": "path",
@ -3117,6 +3188,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the milestone",
"name": "id",
"in": "path",
@ -3194,6 +3266,55 @@
"name": "repo",
"in": "path",
"required": true
},
{
"type": "integer",
"description": "Page number",
"name": "page",
"in": "query"
},
{
"enum": [
"closed",
"open",
"all"
],
"type": "string",
"description": "State of pull request: open or closed (optional)",
"name": "state",
"in": "query"
},
{
"enum": [
"oldest",
"recentupdate",
"leastupdate",
"mostcomment",
"leastcomment",
"priority"
],
"type": "string",
"description": "Type of sort",
"name": "sort",
"in": "query"
},
{
"type": "integer",
"format": "int64",
"description": "ID of the milestone",
"name": "milestone",
"in": "query"
},
{
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"collectionFormat": "multi",
"description": "Label IDs",
"name": "labels",
"in": "query"
}
],
"responses": {
@ -3271,6 +3392,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the pull request to get",
"name": "index",
"in": "path",
@ -3312,6 +3434,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the pull request to edit",
"name": "index",
"in": "path",
@ -3359,6 +3482,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the pull request",
"name": "index",
"in": "path",
@ -3400,6 +3524,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "index of the pull request to merge",
"name": "index",
"in": "path",
@ -3557,6 +3682,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the release to get",
"name": "id",
"in": "path",
@ -3592,6 +3718,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the release to delete",
"name": "id",
"in": "path",
@ -3633,6 +3760,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the release to edit",
"name": "id",
"in": "path",
@ -3680,6 +3808,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the release",
"name": "id",
"in": "path",
@ -3721,6 +3850,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the release",
"name": "id",
"in": "path",
@ -3774,6 +3904,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the release",
"name": "id",
"in": "path",
@ -3781,6 +3912,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the attachment to get",
"name": "attachment_id",
"in": "path",
@ -3819,6 +3951,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the release",
"name": "id",
"in": "path",
@ -3826,6 +3959,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the attachment to delete",
"name": "attachment_id",
"in": "path",
@ -3867,6 +4001,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the release",
"name": "id",
"in": "path",
@ -3874,6 +4009,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "id of the attachment to edit",
"name": "attachment_id",
"in": "path",
@ -4217,6 +4353,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the repo to get",
"name": "id",
"in": "path",
@ -4243,6 +4380,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the team to get",
"name": "id",
"in": "path",
@ -4264,6 +4402,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the team to delete",
"name": "id",
"in": "path",
@ -4324,6 +4463,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the team",
"name": "id",
"in": "path",
@ -4350,6 +4490,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the team",
"name": "id",
"in": "path",
@ -4381,6 +4522,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the team",
"name": "id",
"in": "path",
@ -4414,6 +4556,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the team",
"name": "id",
"in": "path",
@ -4440,6 +4583,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the team",
"name": "id",
"in": "path",
@ -4479,6 +4623,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of the team",
"name": "id",
"in": "path",
@ -4776,6 +4921,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of key to get",
"name": "id",
"in": "path",
@ -4803,6 +4949,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of key to delete",
"name": "id",
"in": "path",
@ -4879,6 +5026,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of key to get",
"name": "id",
"in": "path",
@ -4906,6 +5054,7 @@
"parameters": [
{
"type": "integer",
"format": "int64",
"description": "id of key to delete",
"name": "id",
"in": "path",
@ -5172,6 +5321,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "ID of the user to search for",
"name": "uid",
"in": "query"
@ -5523,6 +5673,7 @@
},
{
"type": "integer",
"format": "int64",
"description": "token to be deleted",
"name": "token",
"in": "path",