Package io.gitea.api
Class OrganizationApi
java.lang.Object
io.gitea.api.OrganizationApi
public class OrganizationApi
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description OrganizationApi()OrganizationApi(ApiClient apiClient) -
Method Summary
Modifier and Type Method Description RepositorycreateOrgRepo(java.lang.String org, CreateRepoOption body)Create a repository in an organizationcom.squareup.okhttp.CallcreateOrgRepoAsync(java.lang.String org, CreateRepoOption body, ApiCallback<Repository> callback)Create a repository in an organization (asynchronously)com.squareup.okhttp.CallcreateOrgRepoCall(java.lang.String org, CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for createOrgRepoRepositorycreateOrgRepoDeprecated(java.lang.String org, CreateRepoOption body)Deprecated.com.squareup.okhttp.CallcreateOrgRepoDeprecatedAsync(java.lang.String org, CreateRepoOption body, ApiCallback<Repository> callback)Deprecated.com.squareup.okhttp.CallcreateOrgRepoDeprecatedCall(java.lang.String org, CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Deprecated.ApiResponse<Repository>createOrgRepoDeprecatedWithHttpInfo(java.lang.String org, CreateRepoOption body)Deprecated.ApiResponse<Repository>createOrgRepoWithHttpInfo(java.lang.String org, CreateRepoOption body)Create a repository in an organizationApiClientgetApiClient()voidorgAddTeamMember(java.lang.Long id, java.lang.String username)Add a team membercom.squareup.okhttp.CallorgAddTeamMemberAsync(java.lang.Long id, java.lang.String username, ApiCallback<java.lang.Void> callback)Add a team member (asynchronously)com.squareup.okhttp.CallorgAddTeamMemberCall(java.lang.Long id, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgAddTeamMemberApiResponse<java.lang.Void>orgAddTeamMemberWithHttpInfo(java.lang.Long id, java.lang.String username)Add a team membervoidorgAddTeamRepository(java.lang.Long id, java.lang.String org, java.lang.String repo)Add a repository to a teamcom.squareup.okhttp.CallorgAddTeamRepositoryAsync(java.lang.Long id, java.lang.String org, java.lang.String repo, ApiCallback<java.lang.Void> callback)Add a repository to a team (asynchronously)com.squareup.okhttp.CallorgAddTeamRepositoryCall(java.lang.Long id, java.lang.String org, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgAddTeamRepositoryApiResponse<java.lang.Void>orgAddTeamRepositoryWithHttpInfo(java.lang.Long id, java.lang.String org, java.lang.String repo)Add a repository to a teamvoidorgConcealMember(java.lang.String org, java.lang.String username)Conceal a user's membershipcom.squareup.okhttp.CallorgConcealMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback)Conceal a user's membership (asynchronously)com.squareup.okhttp.CallorgConcealMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgConcealMemberApiResponse<java.lang.Void>orgConcealMemberWithHttpInfo(java.lang.String org, java.lang.String username)Conceal a user's membershipOrganizationorgCreate(CreateOrgOption organization)Create an organizationcom.squareup.okhttp.CallorgCreateAsync(CreateOrgOption organization, ApiCallback<Organization> callback)Create an organization (asynchronously)com.squareup.okhttp.CallorgCreateCall(CreateOrgOption organization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgCreateHookorgCreateHook(java.lang.String org, CreateHookOption body)Create a hookcom.squareup.okhttp.CallorgCreateHookAsync(java.lang.String org, CreateHookOption body, ApiCallback<Hook> callback)Create a hook (asynchronously)com.squareup.okhttp.CallorgCreateHookCall(java.lang.String org, CreateHookOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgCreateHookApiResponse<Hook>orgCreateHookWithHttpInfo(java.lang.String org, CreateHookOption body)Create a hookLabelorgCreateLabel(java.lang.String org, CreateLabelOption body)Create a label for an organizationcom.squareup.okhttp.CallorgCreateLabelAsync(java.lang.String org, CreateLabelOption body, ApiCallback<Label> callback)Create a label for an organization (asynchronously)com.squareup.okhttp.CallorgCreateLabelCall(java.lang.String org, CreateLabelOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgCreateLabelApiResponse<Label>orgCreateLabelWithHttpInfo(java.lang.String org, CreateLabelOption body)Create a label for an organizationTeamorgCreateTeam(java.lang.String org, CreateTeamOption body)Create a teamcom.squareup.okhttp.CallorgCreateTeamAsync(java.lang.String org, CreateTeamOption body, ApiCallback<Team> callback)Create a team (asynchronously)com.squareup.okhttp.CallorgCreateTeamCall(java.lang.String org, CreateTeamOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgCreateTeamApiResponse<Team>orgCreateTeamWithHttpInfo(java.lang.String org, CreateTeamOption body)Create a teamApiResponse<Organization>orgCreateWithHttpInfo(CreateOrgOption organization)Create an organizationvoidorgDelete(java.lang.String org)Delete an organizationcom.squareup.okhttp.CallorgDeleteAsync(java.lang.String org, ApiCallback<java.lang.Void> callback)Delete an organization (asynchronously)com.squareup.okhttp.CallorgDeleteCall(java.lang.String org, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgDeletevoidorgDeleteHook(java.lang.String org, java.lang.Long id)Delete a hookcom.squareup.okhttp.CallorgDeleteHookAsync(java.lang.String org, java.lang.Long id, ApiCallback<java.lang.Void> callback)Delete a hook (asynchronously)com.squareup.okhttp.CallorgDeleteHookCall(java.lang.String org, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgDeleteHookApiResponse<java.lang.Void>orgDeleteHookWithHttpInfo(java.lang.String org, java.lang.Long id)Delete a hookvoidorgDeleteLabel(java.lang.String org, java.lang.Long id)Delete a labelcom.squareup.okhttp.CallorgDeleteLabelAsync(java.lang.String org, java.lang.Long id, ApiCallback<java.lang.Void> callback)Delete a label (asynchronously)com.squareup.okhttp.CallorgDeleteLabelCall(java.lang.String org, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgDeleteLabelApiResponse<java.lang.Void>orgDeleteLabelWithHttpInfo(java.lang.String org, java.lang.Long id)Delete a labelvoidorgDeleteMember(java.lang.String org, java.lang.String username)Remove a member from an organizationcom.squareup.okhttp.CallorgDeleteMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback)Remove a member from an organization (asynchronously)com.squareup.okhttp.CallorgDeleteMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgDeleteMemberApiResponse<java.lang.Void>orgDeleteMemberWithHttpInfo(java.lang.String org, java.lang.String username)Remove a member from an organizationvoidorgDeleteTeam(java.lang.Long id)Delete a teamcom.squareup.okhttp.CallorgDeleteTeamAsync(java.lang.Long id, ApiCallback<java.lang.Void> callback)Delete a team (asynchronously)com.squareup.okhttp.CallorgDeleteTeamCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgDeleteTeamApiResponse<java.lang.Void>orgDeleteTeamWithHttpInfo(java.lang.Long id)Delete a teamApiResponse<java.lang.Void>orgDeleteWithHttpInfo(java.lang.String org)Delete an organizationOrganizationorgEdit(java.lang.String org, EditOrgOption body)Edit an organizationcom.squareup.okhttp.CallorgEditAsync(java.lang.String org, EditOrgOption body, ApiCallback<Organization> callback)Edit an organization (asynchronously)com.squareup.okhttp.CallorgEditCall(java.lang.String org, EditOrgOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgEditHookorgEditHook(java.lang.String org, java.lang.Long id, EditHookOption body)Update a hookcom.squareup.okhttp.CallorgEditHookAsync(java.lang.String org, java.lang.Long id, EditHookOption body, ApiCallback<Hook> callback)Update a hook (asynchronously)com.squareup.okhttp.CallorgEditHookCall(java.lang.String org, java.lang.Long id, EditHookOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgEditHookApiResponse<Hook>orgEditHookWithHttpInfo(java.lang.String org, java.lang.Long id, EditHookOption body)Update a hookLabelorgEditLabel(java.lang.String org, java.lang.Long id, EditLabelOption body)Update a labelcom.squareup.okhttp.CallorgEditLabelAsync(java.lang.String org, java.lang.Long id, EditLabelOption body, ApiCallback<Label> callback)Update a label (asynchronously)com.squareup.okhttp.CallorgEditLabelCall(java.lang.String org, java.lang.Long id, EditLabelOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgEditLabelApiResponse<Label>orgEditLabelWithHttpInfo(java.lang.String org, java.lang.Long id, EditLabelOption body)Update a labelTeamorgEditTeam(java.lang.Integer id, EditTeamOption body)Edit a teamcom.squareup.okhttp.CallorgEditTeamAsync(java.lang.Integer id, EditTeamOption body, ApiCallback<Team> callback)Edit a team (asynchronously)com.squareup.okhttp.CallorgEditTeamCall(java.lang.Integer id, EditTeamOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgEditTeamApiResponse<Team>orgEditTeamWithHttpInfo(java.lang.Integer id, EditTeamOption body)Edit a teamApiResponse<Organization>orgEditWithHttpInfo(java.lang.String org, EditOrgOption body)Edit an organizationOrganizationorgGet(java.lang.String org)Get an organizationjava.util.List<Organization>orgGetAll(java.lang.Integer page, java.lang.Integer limit)Get list of organizationscom.squareup.okhttp.CallorgGetAllAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Organization>> callback)Get list of organizations (asynchronously)com.squareup.okhttp.CallorgGetAllCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgGetAllApiResponse<java.util.List<Organization>>orgGetAllWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)Get list of organizationscom.squareup.okhttp.CallorgGetAsync(java.lang.String org, ApiCallback<Organization> callback)Get an organization (asynchronously)com.squareup.okhttp.CallorgGetCall(java.lang.String org, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgGetHookorgGetHook(java.lang.String org, java.lang.Long id)Get a hookcom.squareup.okhttp.CallorgGetHookAsync(java.lang.String org, java.lang.Long id, ApiCallback<Hook> callback)Get a hook (asynchronously)com.squareup.okhttp.CallorgGetHookCall(java.lang.String org, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgGetHookApiResponse<Hook>orgGetHookWithHttpInfo(java.lang.String org, java.lang.Long id)Get a hookLabelorgGetLabel(java.lang.String org, java.lang.Long id)Get a single labelcom.squareup.okhttp.CallorgGetLabelAsync(java.lang.String org, java.lang.Long id, ApiCallback<Label> callback)Get a single label (asynchronously)com.squareup.okhttp.CallorgGetLabelCall(java.lang.String org, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgGetLabelApiResponse<Label>orgGetLabelWithHttpInfo(java.lang.String org, java.lang.Long id)Get a single labelTeamorgGetTeam(java.lang.Long id)Get a teamcom.squareup.okhttp.CallorgGetTeamAsync(java.lang.Long id, ApiCallback<Team> callback)Get a team (asynchronously)com.squareup.okhttp.CallorgGetTeamCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgGetTeamApiResponse<Team>orgGetTeamWithHttpInfo(java.lang.Long id)Get a teamApiResponse<Organization>orgGetWithHttpInfo(java.lang.String org)Get an organizationvoidorgIsMember(java.lang.String org, java.lang.String username)Check if a user is a member of an organizationcom.squareup.okhttp.CallorgIsMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback)Check if a user is a member of an organization (asynchronously)com.squareup.okhttp.CallorgIsMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgIsMemberApiResponse<java.lang.Void>orgIsMemberWithHttpInfo(java.lang.String org, java.lang.String username)Check if a user is a member of an organizationvoidorgIsPublicMember(java.lang.String org, java.lang.String username)Check if a user is a public member of an organizationcom.squareup.okhttp.CallorgIsPublicMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback)Check if a user is a public member of an organization (asynchronously)com.squareup.okhttp.CallorgIsPublicMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgIsPublicMemberApiResponse<java.lang.Void>orgIsPublicMemberWithHttpInfo(java.lang.String org, java.lang.String username)Check if a user is a public member of an organizationjava.util.List<Organization>orgListCurrentUserOrgs(java.lang.Integer page, java.lang.Integer limit)List the current user's organizationscom.squareup.okhttp.CallorgListCurrentUserOrgsAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Organization>> callback)List the current user's organizations (asynchronously)com.squareup.okhttp.CallorgListCurrentUserOrgsCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListCurrentUserOrgsApiResponse<java.util.List<Organization>>orgListCurrentUserOrgsWithHttpInfo(java.lang.Integer page, java.lang.Integer limit)List the current user's organizationsjava.util.List<Hook>orgListHooks(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's webhookscom.squareup.okhttp.CallorgListHooksAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Hook>> callback)List an organization's webhooks (asynchronously)com.squareup.okhttp.CallorgListHooksCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListHooksApiResponse<java.util.List<Hook>>orgListHooksWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's webhooksjava.util.List<Label>orgListLabels(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's labelscom.squareup.okhttp.CallorgListLabelsAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Label>> callback)List an organization's labels (asynchronously)com.squareup.okhttp.CallorgListLabelsCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListLabelsApiResponse<java.util.List<Label>>orgListLabelsWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's labelsjava.util.List<User>orgListMembers(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's memberscom.squareup.okhttp.CallorgListMembersAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback)List an organization's members (asynchronously)com.squareup.okhttp.CallorgListMembersCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListMembersApiResponse<java.util.List<User>>orgListMembersWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's membersjava.util.List<User>orgListPublicMembers(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's public memberscom.squareup.okhttp.CallorgListPublicMembersAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback)List an organization's public members (asynchronously)com.squareup.okhttp.CallorgListPublicMembersCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListPublicMembersApiResponse<java.util.List<User>>orgListPublicMembersWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's public membersjava.util.List<Repository>orgListRepos(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's reposcom.squareup.okhttp.CallorgListReposAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback)List an organization's repos (asynchronously)com.squareup.okhttp.CallorgListReposCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListReposApiResponse<java.util.List<Repository>>orgListReposWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's reposUserorgListTeamMember(java.lang.Long id, java.lang.String username)List a particular member of teamcom.squareup.okhttp.CallorgListTeamMemberAsync(java.lang.Long id, java.lang.String username, ApiCallback<User> callback)List a particular member of team (asynchronously)com.squareup.okhttp.CallorgListTeamMemberCall(java.lang.Long id, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListTeamMemberjava.util.List<User>orgListTeamMembers(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit)List a team's memberscom.squareup.okhttp.CallorgListTeamMembersAsync(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback)List a team's members (asynchronously)com.squareup.okhttp.CallorgListTeamMembersCall(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListTeamMembersApiResponse<java.util.List<User>>orgListTeamMembersWithHttpInfo(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit)List a team's membersApiResponse<User>orgListTeamMemberWithHttpInfo(java.lang.Long id, java.lang.String username)List a particular member of teamjava.util.List<Repository>orgListTeamRepos(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit)List a team's reposcom.squareup.okhttp.CallorgListTeamReposAsync(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback)List a team's repos (asynchronously)com.squareup.okhttp.CallorgListTeamReposCall(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListTeamReposApiResponse<java.util.List<Repository>>orgListTeamReposWithHttpInfo(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit)List a team's reposjava.util.List<Team>orgListTeams(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's teamscom.squareup.okhttp.CallorgListTeamsAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Team>> callback)List an organization's teams (asynchronously)com.squareup.okhttp.CallorgListTeamsCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListTeamsApiResponse<java.util.List<Team>>orgListTeamsWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit)List an organization's teamsjava.util.List<Organization>orgListUserOrgs(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List a user's organizationscom.squareup.okhttp.CallorgListUserOrgsAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Organization>> callback)List a user's organizations (asynchronously)com.squareup.okhttp.CallorgListUserOrgsCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgListUserOrgsApiResponse<java.util.List<Organization>>orgListUserOrgsWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit)List a user's organizationsvoidorgPublicizeMember(java.lang.String org, java.lang.String username)Publicize a user's membershipcom.squareup.okhttp.CallorgPublicizeMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback)Publicize a user's membership (asynchronously)com.squareup.okhttp.CallorgPublicizeMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgPublicizeMemberApiResponse<java.lang.Void>orgPublicizeMemberWithHttpInfo(java.lang.String org, java.lang.String username)Publicize a user's membershipvoidorgRemoveTeamMember(java.lang.Long id, java.lang.String username)Remove a team membercom.squareup.okhttp.CallorgRemoveTeamMemberAsync(java.lang.Long id, java.lang.String username, ApiCallback<java.lang.Void> callback)Remove a team member (asynchronously)com.squareup.okhttp.CallorgRemoveTeamMemberCall(java.lang.Long id, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgRemoveTeamMemberApiResponse<java.lang.Void>orgRemoveTeamMemberWithHttpInfo(java.lang.Long id, java.lang.String username)Remove a team membervoidorgRemoveTeamRepository(java.lang.Long id, java.lang.String org, java.lang.String repo)Remove a repository from a team This does not delete the repository, it only removes the repository from the team.com.squareup.okhttp.CallorgRemoveTeamRepositoryAsync(java.lang.Long id, java.lang.String org, java.lang.String repo, ApiCallback<java.lang.Void> callback)Remove a repository from a team (asynchronously) This does not delete the repository, it only removes the repository from the team.com.squareup.okhttp.CallorgRemoveTeamRepositoryCall(java.lang.Long id, java.lang.String org, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for orgRemoveTeamRepositoryApiResponse<java.lang.Void>orgRemoveTeamRepositoryWithHttpInfo(java.lang.Long id, java.lang.String org, java.lang.String repo)Remove a repository from a team This does not delete the repository, it only removes the repository from the team.voidsetApiClient(ApiClient apiClient)InlineResponse200teamSearch(java.lang.String org, java.lang.String q, java.lang.Boolean includeDesc, java.lang.Integer page, java.lang.Integer limit)Search for teams within an organizationcom.squareup.okhttp.CallteamSearchAsync(java.lang.String org, java.lang.String q, java.lang.Boolean includeDesc, java.lang.Integer page, java.lang.Integer limit, ApiCallback<InlineResponse200> callback)Search for teams within an organization (asynchronously)com.squareup.okhttp.CallteamSearchCall(java.lang.String org, java.lang.String q, java.lang.Boolean includeDesc, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for teamSearchApiResponse<InlineResponse200>teamSearchWithHttpInfo(java.lang.String org, java.lang.String q, java.lang.Boolean includeDesc, java.lang.Integer page, java.lang.Integer limit)Search for teams within an organization
-
Constructor Details
-
OrganizationApi
public OrganizationApi() -
OrganizationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createOrgRepoCall
public com.squareup.okhttp.Call createOrgRepoCall(java.lang.String org, CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for createOrgRepo- Parameters:
org- name of organization (required)body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createOrgRepo
Create a repository in an organization- Parameters:
org- name of organization (required)body- (optional)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createOrgRepoWithHttpInfo
public ApiResponse<Repository> createOrgRepoWithHttpInfo(java.lang.String org, CreateRepoOption body) throws ApiExceptionCreate a repository in an organization- Parameters:
org- name of organization (required)body- (optional)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createOrgRepoAsync
public com.squareup.okhttp.Call createOrgRepoAsync(java.lang.String org, CreateRepoOption body, ApiCallback<Repository> callback) throws ApiExceptionCreate a repository in an organization (asynchronously)- Parameters:
org- name of organization (required)body- (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
createOrgRepoDeprecatedCall
@Deprecated public com.squareup.okhttp.Call createOrgRepoDeprecatedCall(java.lang.String org, CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionDeprecated.Build call for createOrgRepoDeprecated- Parameters:
org- name of organization (required)body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createOrgRepoDeprecated
@Deprecated public Repository createOrgRepoDeprecated(java.lang.String org, CreateRepoOption body) throws ApiExceptionDeprecated.Create a repository in an organization- Parameters:
org- name of organization (required)body- (optional)- Returns:
- Repository
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createOrgRepoDeprecatedWithHttpInfo
@Deprecated public ApiResponse<Repository> createOrgRepoDeprecatedWithHttpInfo(java.lang.String org, CreateRepoOption body) throws ApiExceptionDeprecated.Create a repository in an organization- Parameters:
org- name of organization (required)body- (optional)- Returns:
- ApiResponse<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createOrgRepoDeprecatedAsync
@Deprecated public com.squareup.okhttp.Call createOrgRepoDeprecatedAsync(java.lang.String org, CreateRepoOption body, ApiCallback<Repository> callback) throws ApiExceptionDeprecated.Create a repository in an organization (asynchronously)- Parameters:
org- name of organization (required)body- (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgAddTeamMemberCall
public com.squareup.okhttp.Call orgAddTeamMemberCall(java.lang.Long id, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgAddTeamMember- Parameters:
id- id of the team (required)username- username of the user to add (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgAddTeamMember
Add a team member- Parameters:
id- id of the team (required)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
-
orgAddTeamMemberWithHttpInfo
public ApiResponse<java.lang.Void> orgAddTeamMemberWithHttpInfo(java.lang.Long id, java.lang.String username) throws ApiExceptionAdd a team member- Parameters:
id- id of the team (required)username- username of the user to add (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgAddTeamMemberAsync
public com.squareup.okhttp.Call orgAddTeamMemberAsync(java.lang.Long id, java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiExceptionAdd a team member (asynchronously)- Parameters:
id- id of the team (required)username- username of the user to add (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgAddTeamRepositoryCall
public com.squareup.okhttp.Call orgAddTeamRepositoryCall(java.lang.Long id, java.lang.String org, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgAddTeamRepository- Parameters:
id- id of the team (required)org- organization that owns the repo to add (required)repo- name of the repo to add (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgAddTeamRepository
public void orgAddTeamRepository(java.lang.Long id, java.lang.String org, java.lang.String repo) throws ApiExceptionAdd a repository to a team- Parameters:
id- id of the team (required)org- organization that owns the repo to add (required)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
-
orgAddTeamRepositoryWithHttpInfo
public ApiResponse<java.lang.Void> orgAddTeamRepositoryWithHttpInfo(java.lang.Long id, java.lang.String org, java.lang.String repo) throws ApiExceptionAdd a repository to a team- Parameters:
id- id of the team (required)org- organization that owns the repo to add (required)repo- name of the repo to add (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgAddTeamRepositoryAsync
public com.squareup.okhttp.Call orgAddTeamRepositoryAsync(java.lang.Long id, java.lang.String org, java.lang.String repo, ApiCallback<java.lang.Void> callback) throws ApiExceptionAdd a repository to a team (asynchronously)- Parameters:
id- id of the team (required)org- organization that owns the repo to add (required)repo- name of the repo to add (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgConcealMemberCall
public com.squareup.okhttp.Call orgConcealMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgConcealMember- Parameters:
org- name of the organization (required)username- username of the user (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgConcealMember
Conceal a user's membership- Parameters:
org- name of the organization (required)username- username of the user (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgConcealMemberWithHttpInfo
public ApiResponse<java.lang.Void> orgConcealMemberWithHttpInfo(java.lang.String org, java.lang.String username) throws ApiExceptionConceal a user's membership- Parameters:
org- name of the organization (required)username- username of the user (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgConcealMemberAsync
public com.squareup.okhttp.Call orgConcealMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiExceptionConceal a user's membership (asynchronously)- Parameters:
org- name of the organization (required)username- username of the user (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgCreateCall
public com.squareup.okhttp.Call orgCreateCall(CreateOrgOption organization, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgCreate- Parameters:
organization- (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgCreate
Create an organization- Parameters:
organization- (required)- Returns:
- Organization
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgCreateWithHttpInfo
public ApiResponse<Organization> orgCreateWithHttpInfo(CreateOrgOption organization) throws ApiExceptionCreate an organization- Parameters:
organization- (required)- Returns:
- ApiResponse<Organization>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgCreateAsync
public com.squareup.okhttp.Call orgCreateAsync(CreateOrgOption organization, ApiCallback<Organization> callback) throws ApiExceptionCreate an organization (asynchronously)- Parameters:
organization- (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgCreateHookCall
public com.squareup.okhttp.Call orgCreateHookCall(java.lang.String org, CreateHookOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgCreateHook- Parameters:
org- name of the organization (required)body- (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgCreateHook
Create a hook- Parameters:
org- name of the organization (required)body- (required)- Returns:
- Hook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgCreateHookWithHttpInfo
public ApiResponse<Hook> orgCreateHookWithHttpInfo(java.lang.String org, CreateHookOption body) throws ApiExceptionCreate a hook- Parameters:
org- name of the organization (required)body- (required)- Returns:
- ApiResponse<Hook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgCreateHookAsync
public com.squareup.okhttp.Call orgCreateHookAsync(java.lang.String org, CreateHookOption body, ApiCallback<Hook> callback) throws ApiExceptionCreate a hook (asynchronously)- Parameters:
org- name of the organization (required)body- (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgCreateLabelCall
public com.squareup.okhttp.Call orgCreateLabelCall(java.lang.String org, CreateLabelOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgCreateLabel- Parameters:
org- name of the organization (required)body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgCreateLabel
Create a label for an organization- Parameters:
org- name of the organization (required)body- (optional)- Returns:
- Label
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgCreateLabelWithHttpInfo
public ApiResponse<Label> orgCreateLabelWithHttpInfo(java.lang.String org, CreateLabelOption body) throws ApiExceptionCreate a label for an organization- Parameters:
org- name of the organization (required)body- (optional)- Returns:
- ApiResponse<Label>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgCreateLabelAsync
public com.squareup.okhttp.Call orgCreateLabelAsync(java.lang.String org, CreateLabelOption body, ApiCallback<Label> callback) throws ApiExceptionCreate a label for an organization (asynchronously)- Parameters:
org- name of the organization (required)body- (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgCreateTeamCall
public com.squareup.okhttp.Call orgCreateTeamCall(java.lang.String org, CreateTeamOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgCreateTeam- Parameters:
org- name of the organization (required)body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgCreateTeam
Create a team- Parameters:
org- name of the organization (required)body- (optional)- Returns:
- Team
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgCreateTeamWithHttpInfo
public ApiResponse<Team> orgCreateTeamWithHttpInfo(java.lang.String org, CreateTeamOption body) throws ApiExceptionCreate a team- Parameters:
org- name of the organization (required)body- (optional)- Returns:
- ApiResponse<Team>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgCreateTeamAsync
public com.squareup.okhttp.Call orgCreateTeamAsync(java.lang.String org, CreateTeamOption body, ApiCallback<Team> callback) throws ApiExceptionCreate a team (asynchronously)- Parameters:
org- name of the organization (required)body- (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgDeleteCall
public com.squareup.okhttp.Call orgDeleteCall(java.lang.String org, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgDelete- Parameters:
org- organization that is to be deleted (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgDelete
Delete an organization- Parameters:
org- organization that is to be deleted (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgDeleteWithHttpInfo
Delete an organization- Parameters:
org- organization that is to be deleted (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgDeleteAsync
public com.squareup.okhttp.Call orgDeleteAsync(java.lang.String org, ApiCallback<java.lang.Void> callback) throws ApiExceptionDelete an organization (asynchronously)- Parameters:
org- organization that is to be deleted (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgDeleteHookCall
public com.squareup.okhttp.Call orgDeleteHookCall(java.lang.String org, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgDeleteHook- Parameters:
org- name of the organization (required)id- id of the hook to delete (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgDeleteHook
Delete a hook- Parameters:
org- name of the organization (required)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
-
orgDeleteHookWithHttpInfo
public ApiResponse<java.lang.Void> orgDeleteHookWithHttpInfo(java.lang.String org, java.lang.Long id) throws ApiExceptionDelete a hook- Parameters:
org- name of the organization (required)id- id of the hook to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgDeleteHookAsync
public com.squareup.okhttp.Call orgDeleteHookAsync(java.lang.String org, java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiExceptionDelete a hook (asynchronously)- Parameters:
org- name of the organization (required)id- id of the hook to delete (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgDeleteLabelCall
public com.squareup.okhttp.Call orgDeleteLabelCall(java.lang.String org, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgDeleteLabel- Parameters:
org- name of the organization (required)id- id of the label to delete (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgDeleteLabel
Delete a label- Parameters:
org- name of the organization (required)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
-
orgDeleteLabelWithHttpInfo
public ApiResponse<java.lang.Void> orgDeleteLabelWithHttpInfo(java.lang.String org, java.lang.Long id) throws ApiExceptionDelete a label- Parameters:
org- name of the organization (required)id- id of the label to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgDeleteLabelAsync
public com.squareup.okhttp.Call orgDeleteLabelAsync(java.lang.String org, java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiExceptionDelete a label (asynchronously)- Parameters:
org- name of the organization (required)id- id of the label to delete (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgDeleteMemberCall
public com.squareup.okhttp.Call orgDeleteMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgDeleteMember- Parameters:
org- name of the organization (required)username- username of the user (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgDeleteMember
Remove a member from an organization- Parameters:
org- name of the organization (required)username- username of the user (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgDeleteMemberWithHttpInfo
public ApiResponse<java.lang.Void> orgDeleteMemberWithHttpInfo(java.lang.String org, java.lang.String username) throws ApiExceptionRemove a member from an organization- Parameters:
org- name of the organization (required)username- username of the user (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgDeleteMemberAsync
public com.squareup.okhttp.Call orgDeleteMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiExceptionRemove a member from an organization (asynchronously)- Parameters:
org- name of the organization (required)username- username of the user (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgDeleteTeamCall
public com.squareup.okhttp.Call orgDeleteTeamCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgDeleteTeam- Parameters:
id- id of the team to delete (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgDeleteTeam
Delete a team- Parameters:
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
-
orgDeleteTeamWithHttpInfo
public ApiResponse<java.lang.Void> orgDeleteTeamWithHttpInfo(java.lang.Long id) throws ApiExceptionDelete a team- Parameters:
id- id of the team to delete (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgDeleteTeamAsync
public com.squareup.okhttp.Call orgDeleteTeamAsync(java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiExceptionDelete a team (asynchronously)- Parameters:
id- id of the team to delete (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgEditCall
public com.squareup.okhttp.Call orgEditCall(java.lang.String org, EditOrgOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgEdit- Parameters:
org- name of the organization to edit (required)body- (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgEdit
Edit an organization- Parameters:
org- name of the organization to edit (required)body- (required)- Returns:
- Organization
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgEditWithHttpInfo
public ApiResponse<Organization> orgEditWithHttpInfo(java.lang.String org, EditOrgOption body) throws ApiExceptionEdit an organization- Parameters:
org- name of the organization to edit (required)body- (required)- Returns:
- ApiResponse<Organization>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgEditAsync
public com.squareup.okhttp.Call orgEditAsync(java.lang.String org, EditOrgOption body, ApiCallback<Organization> callback) throws ApiExceptionEdit an organization (asynchronously)- Parameters:
org- name of the organization to edit (required)body- (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgEditHookCall
public com.squareup.okhttp.Call orgEditHookCall(java.lang.String org, java.lang.Long id, EditHookOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgEditHook- Parameters:
org- name of the organization (required)id- id of the hook to update (required)body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgEditHook
public Hook orgEditHook(java.lang.String org, java.lang.Long id, EditHookOption body) throws ApiExceptionUpdate a hook- Parameters:
org- name of the organization (required)id- id of the hook to update (required)body- (optional)- Returns:
- Hook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgEditHookWithHttpInfo
public ApiResponse<Hook> orgEditHookWithHttpInfo(java.lang.String org, java.lang.Long id, EditHookOption body) throws ApiExceptionUpdate a hook- Parameters:
org- name of the organization (required)id- id of the hook to update (required)body- (optional)- Returns:
- ApiResponse<Hook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgEditHookAsync
public com.squareup.okhttp.Call orgEditHookAsync(java.lang.String org, java.lang.Long id, EditHookOption body, ApiCallback<Hook> callback) throws ApiExceptionUpdate a hook (asynchronously)- Parameters:
org- name of the organization (required)id- id of the hook to update (required)body- (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgEditLabelCall
public com.squareup.okhttp.Call orgEditLabelCall(java.lang.String org, java.lang.Long id, EditLabelOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgEditLabel- Parameters:
org- name of the organization (required)id- id of the label to edit (required)body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgEditLabel
public Label orgEditLabel(java.lang.String org, java.lang.Long id, EditLabelOption body) throws ApiExceptionUpdate a label- Parameters:
org- name of the organization (required)id- id of the label to edit (required)body- (optional)- Returns:
- Label
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgEditLabelWithHttpInfo
public ApiResponse<Label> orgEditLabelWithHttpInfo(java.lang.String org, java.lang.Long id, EditLabelOption body) throws ApiExceptionUpdate a label- Parameters:
org- name of the organization (required)id- id of the label to edit (required)body- (optional)- Returns:
- ApiResponse<Label>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgEditLabelAsync
public com.squareup.okhttp.Call orgEditLabelAsync(java.lang.String org, java.lang.Long id, EditLabelOption body, ApiCallback<Label> callback) throws ApiExceptionUpdate a label (asynchronously)- Parameters:
org- name of the organization (required)id- id of the label to edit (required)body- (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgEditTeamCall
public com.squareup.okhttp.Call orgEditTeamCall(java.lang.Integer id, EditTeamOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgEditTeam- Parameters:
id- id of the team to edit (required)body- (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgEditTeam
Edit a team- Parameters:
id- id of the team to edit (required)body- (optional)- Returns:
- Team
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgEditTeamWithHttpInfo
public ApiResponse<Team> orgEditTeamWithHttpInfo(java.lang.Integer id, EditTeamOption body) throws ApiExceptionEdit a team- Parameters:
id- id of the team to edit (required)body- (optional)- Returns:
- ApiResponse<Team>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgEditTeamAsync
public com.squareup.okhttp.Call orgEditTeamAsync(java.lang.Integer id, EditTeamOption body, ApiCallback<Team> callback) throws ApiExceptionEdit a team (asynchronously)- Parameters:
id- id of the team to edit (required)body- (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgGetCall
public com.squareup.okhttp.Call orgGetCall(java.lang.String org, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgGet- Parameters:
org- name of the organization to get (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgGet
Get an organization- Parameters:
org- name of the organization to get (required)- Returns:
- Organization
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetWithHttpInfo
Get an organization- Parameters:
org- name of the organization to get (required)- Returns:
- ApiResponse<Organization>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetAsync
public com.squareup.okhttp.Call orgGetAsync(java.lang.String org, ApiCallback<Organization> callback) throws ApiExceptionGet an organization (asynchronously)- Parameters:
org- name of the organization to get (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgGetAllCall
public com.squareup.okhttp.Call orgGetAllCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgGetAll- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgGetAll
public java.util.List<Organization> orgGetAll(java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionGet list of organizations- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Organization>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetAllWithHttpInfo
public ApiResponse<java.util.List<Organization>> orgGetAllWithHttpInfo(java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionGet list of organizations- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Organization>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetAllAsync
public com.squareup.okhttp.Call orgGetAllAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Organization>> callback) throws ApiExceptionGet list of organizations (asynchronously)- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgGetHookCall
public com.squareup.okhttp.Call orgGetHookCall(java.lang.String org, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgGetHook- Parameters:
org- name of the organization (required)id- id of the hook to get (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgGetHook
Get a hook- Parameters:
org- name of the organization (required)id- id of the hook to get (required)- Returns:
- Hook
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetHookWithHttpInfo
public ApiResponse<Hook> orgGetHookWithHttpInfo(java.lang.String org, java.lang.Long id) throws ApiExceptionGet a hook- Parameters:
org- name of the organization (required)id- id of the hook to get (required)- Returns:
- ApiResponse<Hook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetHookAsync
public com.squareup.okhttp.Call orgGetHookAsync(java.lang.String org, java.lang.Long id, ApiCallback<Hook> callback) throws ApiExceptionGet a hook (asynchronously)- Parameters:
org- name of the organization (required)id- id of the hook to get (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgGetLabelCall
public com.squareup.okhttp.Call orgGetLabelCall(java.lang.String org, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgGetLabel- Parameters:
org- name of the organization (required)id- id of the label to get (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgGetLabel
Get a single label- Parameters:
org- name of the organization (required)id- id of the label to get (required)- Returns:
- Label
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetLabelWithHttpInfo
public ApiResponse<Label> orgGetLabelWithHttpInfo(java.lang.String org, java.lang.Long id) throws ApiExceptionGet a single label- Parameters:
org- name of the organization (required)id- id of the label to get (required)- Returns:
- ApiResponse<Label>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetLabelAsync
public com.squareup.okhttp.Call orgGetLabelAsync(java.lang.String org, java.lang.Long id, ApiCallback<Label> callback) throws ApiExceptionGet a single label (asynchronously)- Parameters:
org- name of the organization (required)id- id of the label to get (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgGetTeamCall
public com.squareup.okhttp.Call orgGetTeamCall(java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgGetTeam- Parameters:
id- id of the team to get (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgGetTeam
Get a team- Parameters:
id- id of the team to get (required)- Returns:
- Team
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetTeamWithHttpInfo
Get a team- Parameters:
id- id of the team to get (required)- Returns:
- ApiResponse<Team>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgGetTeamAsync
public com.squareup.okhttp.Call orgGetTeamAsync(java.lang.Long id, ApiCallback<Team> callback) throws ApiExceptionGet a team (asynchronously)- Parameters:
id- id of the team to get (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgIsMemberCall
public com.squareup.okhttp.Call orgIsMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgIsMember- Parameters:
org- name of the organization (required)username- username of the user (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgIsMember
Check if a user is a member of an organization- Parameters:
org- name of the organization (required)username- username of the user (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgIsMemberWithHttpInfo
public ApiResponse<java.lang.Void> orgIsMemberWithHttpInfo(java.lang.String org, java.lang.String username) throws ApiExceptionCheck if a user is a member of an organization- Parameters:
org- name of the organization (required)username- username of the user (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgIsMemberAsync
public com.squareup.okhttp.Call orgIsMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiExceptionCheck if a user is a member of an organization (asynchronously)- Parameters:
org- name of the organization (required)username- username of the user (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgIsPublicMemberCall
public com.squareup.okhttp.Call orgIsPublicMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgIsPublicMember- Parameters:
org- name of the organization (required)username- username of the user (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgIsPublicMember
Check if a user is a public member of an organization- Parameters:
org- name of the organization (required)username- username of the user (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgIsPublicMemberWithHttpInfo
public ApiResponse<java.lang.Void> orgIsPublicMemberWithHttpInfo(java.lang.String org, java.lang.String username) throws ApiExceptionCheck if a user is a public member of an organization- Parameters:
org- name of the organization (required)username- username of the user (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgIsPublicMemberAsync
public com.squareup.okhttp.Call orgIsPublicMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiExceptionCheck if a user is a public member of an organization (asynchronously)- Parameters:
org- name of the organization (required)username- username of the user (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListCurrentUserOrgsCall
public com.squareup.okhttp.Call orgListCurrentUserOrgsCall(java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListCurrentUserOrgs- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListCurrentUserOrgs
public java.util.List<Organization> orgListCurrentUserOrgs(java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList the current user's organizations- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Organization>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListCurrentUserOrgsWithHttpInfo
public ApiResponse<java.util.List<Organization>> orgListCurrentUserOrgsWithHttpInfo(java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList the current user's organizations- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Organization>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListCurrentUserOrgsAsync
public com.squareup.okhttp.Call orgListCurrentUserOrgsAsync(java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Organization>> callback) throws ApiExceptionList the current user's organizations (asynchronously)- Parameters:
page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListHooksCall
public com.squareup.okhttp.Call orgListHooksCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListHooks- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListHooks
public java.util.List<Hook> orgListHooks(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's webhooks- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Hook>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListHooksWithHttpInfo
public ApiResponse<java.util.List<Hook>> orgListHooksWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's webhooks- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Hook>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListHooksAsync
public com.squareup.okhttp.Call orgListHooksAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Hook>> callback) throws ApiExceptionList an organization's webhooks (asynchronously)- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListLabelsCall
public com.squareup.okhttp.Call orgListLabelsCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListLabels- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListLabels
public java.util.List<Label> orgListLabels(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's labels- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Label>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListLabelsWithHttpInfo
public ApiResponse<java.util.List<Label>> orgListLabelsWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's labels- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Label>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListLabelsAsync
public com.squareup.okhttp.Call orgListLabelsAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Label>> callback) throws ApiExceptionList an organization's labels (asynchronously)- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListMembersCall
public com.squareup.okhttp.Call orgListMembersCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListMembers- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListMembers
public java.util.List<User> orgListMembers(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's members- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListMembersWithHttpInfo
public ApiResponse<java.util.List<User>> orgListMembersWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's members- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<User>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListMembersAsync
public com.squareup.okhttp.Call orgListMembersAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiExceptionList an organization's members (asynchronously)- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListPublicMembersCall
public com.squareup.okhttp.Call orgListPublicMembersCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListPublicMembers- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListPublicMembers
public java.util.List<User> orgListPublicMembers(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's public members- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListPublicMembersWithHttpInfo
public ApiResponse<java.util.List<User>> orgListPublicMembersWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's public members- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<User>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListPublicMembersAsync
public com.squareup.okhttp.Call orgListPublicMembersAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiExceptionList an organization's public members (asynchronously)- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListReposCall
public com.squareup.okhttp.Call orgListReposCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListRepos- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListRepos
public java.util.List<Repository> orgListRepos(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's repos- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListReposWithHttpInfo
public ApiResponse<java.util.List<Repository>> orgListReposWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's repos- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Repository>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListReposAsync
public com.squareup.okhttp.Call orgListReposAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback) throws ApiExceptionList an organization's repos (asynchronously)- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListTeamMemberCall
public com.squareup.okhttp.Call orgListTeamMemberCall(java.lang.Long id, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListTeamMember- Parameters:
id- id of the team (required)username- username of the member to list (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListTeamMember
List a particular member of team- Parameters:
id- id of the team (required)username- username of the member to list (required)- Returns:
- User
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListTeamMemberWithHttpInfo
public ApiResponse<User> orgListTeamMemberWithHttpInfo(java.lang.Long id, java.lang.String username) throws ApiExceptionList a particular member of team- Parameters:
id- id of the team (required)username- username of the member to list (required)- Returns:
- ApiResponse<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListTeamMemberAsync
public com.squareup.okhttp.Call orgListTeamMemberAsync(java.lang.Long id, java.lang.String username, ApiCallback<User> callback) throws ApiExceptionList a particular member of team (asynchronously)- Parameters:
id- id of the team (required)username- username of the member to list (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListTeamMembersCall
public com.squareup.okhttp.Call orgListTeamMembersCall(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListTeamMembers- Parameters:
id- id of the team (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListTeamMembers
public java.util.List<User> orgListTeamMembers(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList a team's members- Parameters:
id- id of the team (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<User>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListTeamMembersWithHttpInfo
public ApiResponse<java.util.List<User>> orgListTeamMembersWithHttpInfo(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList a team's members- Parameters:
id- id of the team (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<User>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListTeamMembersAsync
public com.squareup.okhttp.Call orgListTeamMembersAsync(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiExceptionList a team's members (asynchronously)- Parameters:
id- id of the team (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListTeamReposCall
public com.squareup.okhttp.Call orgListTeamReposCall(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListTeamRepos- Parameters:
id- id of the team (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListTeamRepos
public java.util.List<Repository> orgListTeamRepos(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList a team's repos- Parameters:
id- id of the team (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Repository>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListTeamReposWithHttpInfo
public ApiResponse<java.util.List<Repository>> orgListTeamReposWithHttpInfo(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList a team's repos- Parameters:
id- id of the team (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Repository>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListTeamReposAsync
public com.squareup.okhttp.Call orgListTeamReposAsync(java.lang.Long id, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Repository>> callback) throws ApiExceptionList a team's repos (asynchronously)- Parameters:
id- id of the team (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListTeamsCall
public com.squareup.okhttp.Call orgListTeamsCall(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListTeams- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListTeams
public java.util.List<Team> orgListTeams(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's teams- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Team>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListTeamsWithHttpInfo
public ApiResponse<java.util.List<Team>> orgListTeamsWithHttpInfo(java.lang.String org, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList an organization's teams- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Team>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListTeamsAsync
public com.squareup.okhttp.Call orgListTeamsAsync(java.lang.String org, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Team>> callback) throws ApiExceptionList an organization's teams (asynchronously)- Parameters:
org- name of the organization (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgListUserOrgsCall
public com.squareup.okhttp.Call orgListUserOrgsCall(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgListUserOrgs- Parameters:
username- username of user (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgListUserOrgs
public java.util.List<Organization> orgListUserOrgs(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList a user's organizations- Parameters:
username- username of user (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- List<Organization>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListUserOrgsWithHttpInfo
public ApiResponse<java.util.List<Organization>> orgListUserOrgsWithHttpInfo(java.lang.String username, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionList a user's organizations- Parameters:
username- username of user (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<List<Organization>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgListUserOrgsAsync
public com.squareup.okhttp.Call orgListUserOrgsAsync(java.lang.String username, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Organization>> callback) throws ApiExceptionList a user's organizations (asynchronously)- Parameters:
username- username of user (required)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgPublicizeMemberCall
public com.squareup.okhttp.Call orgPublicizeMemberCall(java.lang.String org, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgPublicizeMember- Parameters:
org- name of the organization (required)username- username of the user (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgPublicizeMember
public void orgPublicizeMember(java.lang.String org, java.lang.String username) throws ApiExceptionPublicize a user's membership- Parameters:
org- name of the organization (required)username- username of the user (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgPublicizeMemberWithHttpInfo
public ApiResponse<java.lang.Void> orgPublicizeMemberWithHttpInfo(java.lang.String org, java.lang.String username) throws ApiExceptionPublicize a user's membership- Parameters:
org- name of the organization (required)username- username of the user (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgPublicizeMemberAsync
public com.squareup.okhttp.Call orgPublicizeMemberAsync(java.lang.String org, java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiExceptionPublicize a user's membership (asynchronously)- Parameters:
org- name of the organization (required)username- username of the user (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgRemoveTeamMemberCall
public com.squareup.okhttp.Call orgRemoveTeamMemberCall(java.lang.Long id, java.lang.String username, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgRemoveTeamMember- Parameters:
id- id of the team (required)username- username of the user to remove (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgRemoveTeamMember
Remove a team member- Parameters:
id- id of the team (required)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
-
orgRemoveTeamMemberWithHttpInfo
public ApiResponse<java.lang.Void> orgRemoveTeamMemberWithHttpInfo(java.lang.Long id, java.lang.String username) throws ApiExceptionRemove a team member- Parameters:
id- id of the team (required)username- username of the user to remove (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgRemoveTeamMemberAsync
public com.squareup.okhttp.Call orgRemoveTeamMemberAsync(java.lang.Long id, java.lang.String username, ApiCallback<java.lang.Void> callback) throws ApiExceptionRemove a team member (asynchronously)- Parameters:
id- id of the team (required)username- username of the user to remove (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
orgRemoveTeamRepositoryCall
public com.squareup.okhttp.Call orgRemoveTeamRepositoryCall(java.lang.Long id, java.lang.String org, java.lang.String repo, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for orgRemoveTeamRepository- Parameters:
id- id of the team (required)org- organization that owns the repo to remove (required)repo- name of the repo to remove (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
orgRemoveTeamRepository
public void orgRemoveTeamRepository(java.lang.Long id, java.lang.String org, java.lang.String repo) throws ApiExceptionRemove a repository from a team This does not delete the repository, it only removes the repository from the team.- Parameters:
id- id of the team (required)org- organization that owns the repo to remove (required)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
-
orgRemoveTeamRepositoryWithHttpInfo
public ApiResponse<java.lang.Void> orgRemoveTeamRepositoryWithHttpInfo(java.lang.Long id, java.lang.String org, java.lang.String repo) throws ApiExceptionRemove a repository from a team This does not delete the repository, it only removes the repository from the team.- Parameters:
id- id of the team (required)org- organization that owns the repo to remove (required)repo- name of the repo to remove (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
orgRemoveTeamRepositoryAsync
public com.squareup.okhttp.Call orgRemoveTeamRepositoryAsync(java.lang.Long id, java.lang.String org, java.lang.String repo, ApiCallback<java.lang.Void> callback) throws ApiExceptionRemove a repository from a team (asynchronously) This does not delete the repository, it only removes the repository from the team.- Parameters:
id- id of the team (required)org- organization that owns the repo to remove (required)repo- name of the repo to remove (required)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
teamSearchCall
public com.squareup.okhttp.Call teamSearchCall(java.lang.String org, java.lang.String q, java.lang.Boolean includeDesc, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiExceptionBuild call for teamSearch- Parameters:
org- name of the organization (required)q- keywords to search (optional)includeDesc- include search within team description (defaults to true) (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
teamSearch
public InlineResponse200 teamSearch(java.lang.String org, java.lang.String q, java.lang.Boolean includeDesc, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionSearch for teams within an organization- Parameters:
org- name of the organization (required)q- keywords to search (optional)includeDesc- include search within team description (defaults to true) (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- InlineResponse200
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
teamSearchWithHttpInfo
public ApiResponse<InlineResponse200> teamSearchWithHttpInfo(java.lang.String org, java.lang.String q, java.lang.Boolean includeDesc, java.lang.Integer page, java.lang.Integer limit) throws ApiExceptionSearch for teams within an organization- Parameters:
org- name of the organization (required)q- keywords to search (optional)includeDesc- include search within team description (defaults to true) (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)- Returns:
- ApiResponse<InlineResponse200>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
teamSearchAsync
public com.squareup.okhttp.Call teamSearchAsync(java.lang.String org, java.lang.String q, java.lang.Boolean includeDesc, java.lang.Integer page, java.lang.Integer limit, ApiCallback<InlineResponse200> callback) throws ApiExceptionSearch for teams within an organization (asynchronously)- Parameters:
org- name of the organization (required)q- keywords to search (optional)includeDesc- include search within team description (defaults to true) (optional)page- page number of results to return (1-based) (optional)limit- page size of results (optional)callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-