diff --git a/docs/AdminApi.md b/docs/AdminApi.md
index a2a2b89..8c58f9c 100644
--- a/docs/AdminApi.md
+++ b/docs/AdminApi.md
@@ -15,7 +15,7 @@ Method | HTTP request | Description
# **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
# **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
# **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
diff --git a/docs/IssueApi.md b/docs/IssueApi.md
index f6dfe1b..1e1f1ef 100644
--- a/docs/IssueApi.md
+++ b/docs/IssueApi.md
@@ -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 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 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 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 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 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
diff --git a/docs/OrganizationApi.md b/docs/OrganizationApi.md
index 3c69723..fdff348 100644
--- a/docs/OrganizationApi.md
+++ b/docs/OrganizationApi.md
@@ -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)
# **orgCreateHook**
-> List<Branch> orgCreateHook(org)
+> List<Branch> 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 result = apiInstance.orgCreateHook(org);
+ List 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
# **orgEditHook**
-> List<Branch> orgEditHook(org, id)
+> List<Branch> 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 result = apiInstance.orgEditHook(org, id);
+ List 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 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 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 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 |
diff --git a/docs/RepositoryApi.md b/docs/RepositoryApi.md
index 1b59023..34a8043 100644
--- a/docs/RepositoryApi.md
+++ b/docs/RepositoryApi.md
@@ -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 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 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
# **repoListPullRequests**
-> List<PullRequest> repoListPullRequests(owner, repo)
+> List<PullRequest> repoListPullRequests(owner, repo, page, state, sort, milestone, labels)
List a repo'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 labels = Arrays.asList(56L); // List | Label IDs
try {
- List result = apiInstance.repoListPullRequests(owner, repo);
+ List 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<Long>**](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 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 \"fork\", \"source\", \"mirror\" and \"collaborative\" | [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
diff --git a/docs/UserApi.md b/docs/UserApi.md
index 4f0c036..ef1b49f 100644
--- a/docs/UserApi.md
+++ b/docs/UserApi.md
@@ -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
diff --git a/src/main/java/io/gitea/ApiException.java b/src/main/java/io/gitea/ApiException.java
index 3503008..4ad5ea4 100644
--- a/src/main/java/io/gitea/ApiException.java
+++ b/src/main/java/io/gitea/ApiException.java
@@ -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> responseHeaders = null;
diff --git a/src/main/java/io/gitea/Configuration.java b/src/main/java/io/gitea/Configuration.java
index ad6b0ae..e0d0e92 100644
--- a/src/main/java/io/gitea/Configuration.java
+++ b/src/main/java/io/gitea/Configuration.java
@@ -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();
diff --git a/src/main/java/io/gitea/Pair.java b/src/main/java/io/gitea/Pair.java
index 18e553d..e37b299 100644
--- a/src/main/java/io/gitea/Pair.java
+++ b/src/main/java/io/gitea/Pair.java
@@ -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 = "";
diff --git a/src/main/java/io/gitea/StringUtil.java b/src/main/java/io/gitea/StringUtil.java
index c913b2a..0d3a4b2 100644
--- a/src/main/java/io/gitea/StringUtil.java
+++ b/src/main/java/io/gitea/StringUtil.java
@@ -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).
diff --git a/src/main/java/io/gitea/api/AdminApi.java b/src/main/java/io/gitea/api/AdminApi.java
index bbed918..35b2500 100644
--- a/src/main/java/io/gitea/api/AdminApi.java
+++ b/src/main/java/io/gitea/api/AdminApi.java
@@ -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 resp = adminCreateOrgWithHttpInfo(username);
+ public Organization adminCreateOrg(String username, CreateOrgOption organization) throws ApiException {
+ ApiResponse 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<Organization>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse adminCreateOrgWithHttpInfo(String username) throws ApiException {
- com.squareup.okhttp.Call call = adminCreateOrgValidateBeforeCall(username, null, null);
+ public ApiResponse adminCreateOrgWithHttpInfo(String username, CreateOrgOption organization) throws ApiException {
+ com.squareup.okhttp.Call call = adminCreateOrgValidateBeforeCall(username, organization, null, null);
Type localVarReturnType = new TypeToken(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call adminCreateOrgAsync(String username, CreateOrgOption organization, final ApiCallback 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(){}.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 resp = adminCreatePublicKeyWithHttpInfo(username);
+ public PublicKey adminCreatePublicKey(String username, CreateKeyOption key) throws ApiException {
+ ApiResponse 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<PublicKey>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse adminCreatePublicKeyWithHttpInfo(String username) throws ApiException {
- com.squareup.okhttp.Call call = adminCreatePublicKeyValidateBeforeCall(username, null, null);
+ public ApiResponse adminCreatePublicKeyWithHttpInfo(String username, CreateKeyOption key) throws ApiException {
+ com.squareup.okhttp.Call call = adminCreatePublicKeyValidateBeforeCall(username, key, null, null);
Type localVarReturnType = new TypeToken(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call adminCreatePublicKeyAsync(String username, CreateKeyOption key, final ApiCallback 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(){}.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 resp = adminCreateRepoWithHttpInfo(username);
+ public Repository adminCreateRepo(String username, CreateRepoOption repository) throws ApiException {
+ ApiResponse 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<Repository>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse adminCreateRepoWithHttpInfo(String username) throws ApiException {
- com.squareup.okhttp.Call call = adminCreateRepoValidateBeforeCall(username, null, null);
+ public ApiResponse adminCreateRepoWithHttpInfo(String username, CreateRepoOption repository) throws ApiException {
+ com.squareup.okhttp.Call call = adminCreateRepoValidateBeforeCall(username, repository, null, null);
Type localVarReturnType = new TypeToken(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call adminCreateRepoAsync(String username, CreateRepoOption repository, final ApiCallback 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(){}.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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse adminDeleteUserPublicKeyWithHttpInfo(String username, Integer id) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call adminDeleteUserPublicKeyAsync(String username, Long id, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
diff --git a/src/main/java/io/gitea/api/IssueApi.java b/src/main/java/io/gitea/api/IssueApi.java
index 240ce9c..ecb36df 100644
--- a/src/main/java/io/gitea/api/IssueApi.java
+++ b/src/main/java/io/gitea/api/IssueApi.java
@@ -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<Label>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List issueAddLabel(String owner, String repo, Integer index, IssueLabelsOption body) throws ApiException {
+ public List issueAddLabel(String owner, String repo, Long index, IssueLabelsOption body) throws ApiException {
ApiResponse> resp = issueAddLabelWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@@ -174,7 +174,7 @@ public class IssueApi {
* @return ApiResponse<List<Label>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> issueAddLabelWithHttpInfo(String owner, String repo, Integer index, IssueLabelsOption body) throws ApiException {
+ public ApiResponse> 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>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call issueAddLabelAsync(String owner, String repo, Long index, IssueLabelsOption body, final ApiCallback> 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 resp = issueAddTimeWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@@ -321,7 +321,7 @@ public class IssueApi {
* @return ApiResponse<TrackedTime>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueAddTimeWithHttpInfo(String owner, String repo, Integer id, AddTimeOption body) throws ApiException {
+ public ApiResponse 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(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueAddTimeAsync(String owner, String repo, Long id, AddTimeOption body, final ApiCallback 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueClearLabelsWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueClearLabelsAsync(String owner, String repo, Long index, final ApiCallback 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 resp = issueCreateCommentWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@@ -607,7 +607,7 @@ public class IssueApi {
* @return ApiResponse<Comment>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueCreateCommentWithHttpInfo(String owner, String repo, Integer index, CreateIssueCommentOption body) throws ApiException {
+ public ApiResponse 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(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueCreateCommentAsync(String owner, String repo, Long index, CreateIssueCommentOption body, final ApiCallback 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueDeleteCommentWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueDeleteCommentAsync(String owner, String repo, Long id, final ApiCallback 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 issueDeleteCommentDeprecatedWithHttpInfo(String owner, String repo, Integer index, Integer id) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueDeleteCommentDeprecatedAsync(String owner, String repo, Integer index, Long id, final ApiCallback 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueDeleteLabelWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueDeleteLabelAsync(String owner, String repo, Long id, final ApiCallback 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueDeleteMilestoneWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueDeleteMilestoneAsync(String owner, String repo, Long id, final ApiCallback 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 resp = issueEditCommentWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@@ -1740,7 +1740,7 @@ public class IssueApi {
* @return ApiResponse<Comment>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueEditCommentWithHttpInfo(String owner, String repo, Integer id, EditIssueCommentOption body) throws ApiException {
+ public ApiResponse 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(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueEditCommentAsync(String owner, String repo, Long id, EditIssueCommentOption body, final ApiCallback 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 resp = issueEditCommentDeprecatedWithHttpInfo(owner, repo, index, id, body);
return resp.getData();
}
@@ -1903,7 +1903,7 @@ public class IssueApi {
* @deprecated
*/
@Deprecated
- public ApiResponse issueEditCommentDeprecatedWithHttpInfo(String owner, String repo, Integer index, Integer id, EditIssueCommentOption body) throws ApiException {
+ public ApiResponse 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(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueEditCommentDeprecatedAsync(String owner, String repo, Integer index, Long id, EditIssueCommentOption body, final ApiCallback 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 resp = issueEditIssueWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@@ -2053,7 +2053,7 @@ public class IssueApi {
* @return ApiResponse<Issue>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueEditIssueWithHttpInfo(String owner, String repo, Integer index, EditIssueOption body) throws ApiException {
+ public ApiResponse 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(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueEditIssueAsync(String owner, String repo, Long index, EditIssueOption body, final ApiCallback 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 resp = issueEditIssueDeadlineWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@@ -2200,7 +2200,7 @@ public class IssueApi {
* @return ApiResponse<IssueDeadline>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueEditIssueDeadlineWithHttpInfo(String owner, String repo, Integer index, EditDeadlineOption body) throws ApiException {
+ public ApiResponse 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(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueEditIssueDeadlineAsync(String owner, String repo, Long index, EditDeadlineOption body, final ApiCallback 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 resp = issueEditLabelWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@@ -2347,7 +2347,7 @@ public class IssueApi {
* @return ApiResponse<Label>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueEditLabelWithHttpInfo(String owner, String repo, Integer id, EditLabelOption body) throws ApiException {
+ public ApiResponse 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(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueEditLabelAsync(String owner, String repo, Long id, EditLabelOption body, final ApiCallback 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 resp = issueEditMilestoneWithHttpInfo(owner, repo, id, body);
return resp.getData();
}
@@ -2494,7 +2494,7 @@ public class IssueApi {
* @return ApiResponse<Milestone>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueEditMilestoneWithHttpInfo(String owner, String repo, Integer id, EditMilestoneOption body) throws ApiException {
+ public ApiResponse 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(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueEditMilestoneAsync(String owner, String repo, Long id, EditMilestoneOption body, final ApiCallback 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<Comment>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List issueGetComments(String owner, String repo, Integer index, String since) throws ApiException {
+ public List issueGetComments(String owner, String repo, Long index, String since) throws ApiException {
ApiResponse> resp = issueGetCommentsWithHttpInfo(owner, repo, index, since);
return resp.getData();
}
@@ -2643,7 +2643,7 @@ public class IssueApi {
* @return ApiResponse<List<Comment>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> issueGetCommentsWithHttpInfo(String owner, String repo, Integer index, String since) throws ApiException {
+ public ApiResponse> 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>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call issueGetCommentsAsync(String owner, String repo, Long index, String since, final ApiCallback> 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 resp = issueGetIssueWithHttpInfo(owner, repo, index);
return resp.getData();
}
@@ -2787,7 +2787,7 @@ public class IssueApi {
* @return ApiResponse<Issue>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueGetIssueWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
+ public ApiResponse issueGetIssueWithHttpInfo(String owner, String repo, Long index) throws ApiException {
com.squareup.okhttp.Call call = issueGetIssueValidateBeforeCall(owner, repo, index, null, null);
Type localVarReturnType = new TypeToken(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueGetIssueAsync(String owner, String repo, Long index, final ApiCallback 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 resp = issueGetLabelWithHttpInfo(owner, repo, id);
return resp.getData();
}
@@ -2930,7 +2930,7 @@ public class IssueApi {
* @return ApiResponse<Label>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueGetLabelWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
+ public ApiResponse issueGetLabelWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueGetLabelValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueGetLabelAsync(String owner, String repo, Long id, final ApiCallback 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<Label>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List issueGetLabels(String owner, String repo, Integer index) throws ApiException {
+ public List issueGetLabels(String owner, String repo, Long index) throws ApiException {
ApiResponse> resp = issueGetLabelsWithHttpInfo(owner, repo, index);
return resp.getData();
}
@@ -3073,7 +3073,7 @@ public class IssueApi {
* @return ApiResponse<List<Label>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> issueGetLabelsWithHttpInfo(String owner, String repo, Integer index) throws ApiException {
+ public ApiResponse> issueGetLabelsWithHttpInfo(String owner, String repo, Long index) throws ApiException {
com.squareup.okhttp.Call call = issueGetLabelsValidateBeforeCall(owner, repo, index, null, null);
Type localVarReturnType = new TypeToken>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call issueGetLabelsAsync(String owner, String repo, Long index, final ApiCallback> 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 resp = issueGetMilestoneWithHttpInfo(owner, repo, id);
return resp.getData();
}
@@ -3216,7 +3216,7 @@ public class IssueApi {
* @return ApiResponse<Milestone>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueGetMilestoneWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
+ public ApiResponse issueGetMilestoneWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueGetMilestoneValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueGetMilestoneAsync(String owner, String repo, Long id, final ApiCallback 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse issueRemoveLabelWithHttpInfo(String owner, String repo, Integer index, Integer id) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call issueRemoveLabelAsync(String owner, String repo, Long index, Long id, final ApiCallback 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<Label>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List issueReplaceLabels(String owner, String repo, Integer index, IssueLabelsOption body) throws ApiException {
+ public List issueReplaceLabels(String owner, String repo, Long index, IssueLabelsOption body) throws ApiException {
ApiResponse> resp = issueReplaceLabelsWithHttpInfo(owner, repo, index, body);
return resp.getData();
}
@@ -4067,7 +4067,7 @@ public class IssueApi {
* @return ApiResponse<List<Label>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> issueReplaceLabelsWithHttpInfo(String owner, String repo, Integer index, IssueLabelsOption body) throws ApiException {
+ public ApiResponse> 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>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call issueReplaceLabelsAsync(String owner, String repo, Long index, IssueLabelsOption body, final ApiCallback> 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<TrackedTime>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List issueTrackedTimes(String owner, String repo, Integer id) throws ApiException {
+ public List issueTrackedTimes(String owner, String repo, Long id) throws ApiException {
ApiResponse> resp = issueTrackedTimesWithHttpInfo(owner, repo, id);
return resp.getData();
}
@@ -4211,7 +4211,7 @@ public class IssueApi {
* @return ApiResponse<List<TrackedTime>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> issueTrackedTimesWithHttpInfo(String owner, String repo, Integer id) throws ApiException {
+ public ApiResponse> issueTrackedTimesWithHttpInfo(String owner, String repo, Long id) throws ApiException {
com.squareup.okhttp.Call call = issueTrackedTimesValidateBeforeCall(owner, repo, id, null, null);
Type localVarReturnType = new TypeToken>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call issueTrackedTimesAsync(String owner, String repo, Long id, final ApiCallback> callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
diff --git a/src/main/java/io/gitea/api/OrganizationApi.java b/src/main/java/io/gitea/api/OrganizationApi.java
index d9a52e1..4dca277 100644
--- a/src/main/java/io/gitea/api/OrganizationApi.java
+++ b/src/main/java/io/gitea/api/OrganizationApi.java
@@ -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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgAddTeamMemberWithHttpInfo(Integer id, String username) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call orgAddTeamMemberAsync(Long id, String username, final ApiCallback 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgAddTeamRepositoryWithHttpInfo(Integer id, String org, String repo) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call orgAddTeamRepositoryAsync(Long id, String org, String repo, final ApiCallback 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<Branch>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List orgCreateHook(String org) throws ApiException {
- ApiResponse> resp = orgCreateHookWithHttpInfo(org);
+ public List orgCreateHook(String org, CreateHookOption body) throws ApiException {
+ ApiResponse> 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<List<Branch>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> orgCreateHookWithHttpInfo(String org) throws ApiException {
- com.squareup.okhttp.Call call = orgCreateHookValidateBeforeCall(org, null, null);
+ public ApiResponse> orgCreateHookWithHttpInfo(String org, CreateHookOption body) throws ApiException {
+ com.squareup.okhttp.Call call = orgCreateHookValidateBeforeCall(org, body, null, null);
Type localVarReturnType = new TypeToken>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call orgCreateHookAsync(String org, CreateHookOption body, final ApiCallback> 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>(){}.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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgDeleteHookWithHttpInfo(String org, Integer id) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call orgDeleteHookAsync(String org, Long id, final ApiCallback 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgDeleteTeamWithHttpInfo(Integer id) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call orgDeleteTeamAsync(Long id, final ApiCallback 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<Branch>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List orgEditHook(String org, Integer id) throws ApiException {
- ApiResponse> resp = orgEditHookWithHttpInfo(org, id);
+ public List orgEditHook(String org, Long id, EditHookOption body) throws ApiException {
+ ApiResponse> 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<List<Branch>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> orgEditHookWithHttpInfo(String org, Integer id) throws ApiException {
- com.squareup.okhttp.Call call = orgEditHookValidateBeforeCall(org, id, null, null);
+ public ApiResponse> orgEditHookWithHttpInfo(String org, Long id, EditHookOption body) throws ApiException {
+ com.squareup.okhttp.Call call = orgEditHookValidateBeforeCall(org, id, body, null, null);
Type localVarReturnType = new TypeToken>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call orgEditHookAsync(String org, Long id, EditHookOption body, final ApiCallback> 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>(){}.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<Branch>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List orgGetHook(String org, Integer id) throws ApiException {
+ public List orgGetHook(String org, Long id) throws ApiException {
ApiResponse> resp = orgGetHookWithHttpInfo(org, id);
return resp.getData();
}
@@ -1815,7 +1830,7 @@ public class OrganizationApi {
* @return ApiResponse<List<Branch>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> orgGetHookWithHttpInfo(String org, Integer id) throws ApiException {
+ public ApiResponse> orgGetHookWithHttpInfo(String org, Long id) throws ApiException {
com.squareup.okhttp.Call call = orgGetHookValidateBeforeCall(org, id, null, null);
Type localVarReturnType = new TypeToken>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call orgGetHookAsync(String org, Long id, final ApiCallback> 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 resp = orgGetTeamWithHttpInfo(id);
return resp.getData();
}
@@ -1939,7 +1954,7 @@ public class OrganizationApi {
* @return ApiResponse<Team>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgGetTeamWithHttpInfo(Integer id) throws ApiException {
+ public ApiResponse orgGetTeamWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = orgGetTeamValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken(){}.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 callback) throws ApiException {
+ public com.squareup.okhttp.Call orgGetTeamAsync(Long id, final ApiCallback 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<User>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List orgListTeamMembers(Integer id) throws ApiException {
+ public List orgListTeamMembers(Long id) throws ApiException {
ApiResponse> resp = orgListTeamMembersWithHttpInfo(id);
return resp.getData();
}
@@ -2925,7 +2940,7 @@ public class OrganizationApi {
* @return ApiResponse<List<User>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> orgListTeamMembersWithHttpInfo(Integer id) throws ApiException {
+ public ApiResponse> orgListTeamMembersWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = orgListTeamMembersValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call orgListTeamMembersAsync(Long id, final ApiCallback> 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<Repository>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public List orgListTeamRepos(Integer id) throws ApiException {
+ public List orgListTeamRepos(Long id) throws ApiException {
ApiResponse> resp = orgListTeamReposWithHttpInfo(id);
return resp.getData();
}
@@ -3048,7 +3063,7 @@ public class OrganizationApi {
* @return ApiResponse<List<Repository>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse> orgListTeamReposWithHttpInfo(Integer id) throws ApiException {
+ public ApiResponse> orgListTeamReposWithHttpInfo(Long id) throws ApiException {
com.squareup.okhttp.Call call = orgListTeamReposValidateBeforeCall(id, null, null);
Type localVarReturnType = new TypeToken>(){}.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> callback) throws ApiException {
+ public com.squareup.okhttp.Call orgListTeamReposAsync(Long id, final ApiCallback> 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgRemoveTeamMemberWithHttpInfo(Integer id, String username) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call orgRemoveTeamMemberAsync(Long id, String username, final ApiCallback 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<Void>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse orgRemoveTeamRepositoryWithHttpInfo(Integer id, String org, String repo) throws ApiException {
+ public ApiResponse 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 callback) throws ApiException {
+ public com.squareup.okhttp.Call orgRemoveTeamRepositoryAsync(Long id, String org, String repo, final ApiCallback callback) throws ApiException {
ProgressResponseBody.ProgressListener progressListener = null;
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
diff --git a/src/main/java/io/gitea/api/RepositoryApi.java b/src/main/java/io/gitea/api/RepositoryApi.java
index 2481eac..278c76a 100644
--- a/src/main/java/io/gitea/api/RepositoryApi.java
+++ b/src/main/java/io/gitea/api/RepositoryApi.java
@@ -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 resp = repoCreateReleaseAttachmentWithHttpInfo(owner, repo, id, attachment, name);
return resp.getData();
}
@@ -1411,7 +1411,7 @@ public class RepositoryApi {
* @return ApiResponse<Attachment>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
*/
- public ApiResponse repoCreateReleaseAttachmentWithHttpInfo(String owner, String repo, Integer id, File attachment, String name) throws ApiException {
+ public ApiResponse