Package io.gitea.api

Class OrganizationApi

java.lang.Object
io.gitea.api.OrganizationApi

public class OrganizationApi
extends java.lang.Object
  • Constructor Details

  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • createOrgRepoCall

      public com.squareup.okhttp.Call createOrgRepoCall​(java.lang.String org, CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for createOrgRepo
      Parameters:
      org - name of organization (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • createOrgRepo

      public Repository createOrgRepo​(java.lang.String org, CreateRepoOption body) throws ApiException
      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 ApiException
      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
    • createOrgRepoAsync

      public com.squareup.okhttp.Call createOrgRepoAsync​(java.lang.String org, CreateRepoOption body, ApiCallback<Repository> callback) throws ApiException
      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
    • createOrgRepoDeprecatedCall

      @Deprecated public com.squareup.okhttp.Call createOrgRepoDeprecatedCall​(java.lang.String org, CreateRepoOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Deprecated.
      Build call for createOrgRepoDeprecated
      Parameters:
      org - name of organization (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - 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 ApiException
      Deprecated.
      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 ApiException
      Deprecated.
      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 ApiException
      Deprecated.
      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 ApiException
      Build call for orgAddTeamMember
      Parameters:
      id - id of the team (required)
      username - username of the user to add (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgAddTeamMember

      public void orgAddTeamMember​(java.lang.Long id, java.lang.String username) throws ApiException
      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 ApiException
      Add 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 ApiException
      Add 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      Add 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 ApiException
      Add 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 ApiException
      Add 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 ApiException
      Build call for orgConcealMember
      Parameters:
      org - name of the organization (required)
      username - username of the user (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgConcealMember

      public void orgConcealMember​(java.lang.String org, java.lang.String username) throws ApiException
      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 ApiException
      Conceal 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 ApiException
      Conceal 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 ApiException
      Build call for orgCreate
      Parameters:
      organization - (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgCreate

      public Organization orgCreate​(CreateOrgOption organization) throws ApiException
      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 ApiException
      Create 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 ApiException
      Create 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 ApiException
      Build call for orgCreateHook
      Parameters:
      org - name of the organization (required)
      body - (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgCreateHook

      public Hook orgCreateHook​(java.lang.String org, CreateHookOption body) throws ApiException
      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 ApiException
      Create 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 ApiException
      Create 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 ApiException
      Build call for orgCreateLabel
      Parameters:
      org - name of the organization (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgCreateLabel

      public Label orgCreateLabel​(java.lang.String org, CreateLabelOption body) throws ApiException
      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 ApiException
      Create 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 ApiException
      Create 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 ApiException
      Build call for orgCreateTeam
      Parameters:
      org - name of the organization (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgCreateTeam

      public Team orgCreateTeam​(java.lang.String org, CreateTeamOption body) throws ApiException
      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 ApiException
      Create 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 ApiException
      Create 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 ApiException
      Build call for orgDelete
      Parameters:
      org - organization that is to be deleted (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgDelete

      public void orgDelete​(java.lang.String org) throws ApiException
      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

      public ApiResponse<java.lang.Void> orgDeleteWithHttpInfo​(java.lang.String org) throws ApiException
      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 ApiException
      Delete 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 ApiException
      Build call for orgDeleteHook
      Parameters:
      org - name of the organization (required)
      id - id of the hook to delete (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgDeleteHook

      public void orgDeleteHook​(java.lang.String org, java.lang.Long id) throws ApiException
      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 ApiException
      Delete 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 ApiException
      Delete 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 ApiException
      Build call for orgDeleteLabel
      Parameters:
      org - name of the organization (required)
      id - id of the label to delete (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgDeleteLabel

      public void orgDeleteLabel​(java.lang.String org, java.lang.Long id) throws ApiException
      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 ApiException
      Delete 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 ApiException
      Delete 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 ApiException
      Build call for orgDeleteMember
      Parameters:
      org - name of the organization (required)
      username - username of the user (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgDeleteMember

      public void orgDeleteMember​(java.lang.String org, java.lang.String username) throws ApiException
      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 ApiException
      Remove 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 ApiException
      Remove 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 ApiException
      Build call for orgDeleteTeam
      Parameters:
      id - id of the team to delete (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgDeleteTeam

      public void orgDeleteTeam​(java.lang.Long id) throws ApiException
      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 ApiException
      Delete 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 ApiException
      Delete 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 ApiException
      Build call for orgEdit
      Parameters:
      org - name of the organization to edit (required)
      body - (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgEdit

      public Organization orgEdit​(java.lang.String org, EditOrgOption body) throws ApiException
      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 ApiException
      Edit 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 ApiException
      Edit 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 ApiException
      Build call for orgEditHook
      Parameters:
      org - name of the organization (required)
      id - id of the hook to update (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - 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 ApiException
      Update 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 ApiException
      Update 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 ApiException
      Update 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 ApiException
      Build call for orgEditLabel
      Parameters:
      org - name of the organization (required)
      id - id of the label to edit (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - 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 ApiException
      Update 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 ApiException
      Update 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 ApiException
      Update 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 ApiException
      Build call for orgEditTeam
      Parameters:
      id - id of the team to edit (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgEditTeam

      public Team orgEditTeam​(java.lang.Integer id, EditTeamOption body) throws ApiException
      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 ApiException
      Edit 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 ApiException
      Edit 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 ApiException
      Build call for orgGet
      Parameters:
      org - name of the organization to get (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgGet

      public Organization orgGet​(java.lang.String org) throws ApiException
      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

      public ApiResponse<Organization> orgGetWithHttpInfo​(java.lang.String org) throws ApiException
      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 ApiException
      Get 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 ApiException
      Build call for orgGetAll
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      progressListener - Progress listener
      progressRequestListener - 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 ApiException
      Get 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 ApiException
      Get 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 ApiException
      Get 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 ApiException
      Build call for orgGetHook
      Parameters:
      org - name of the organization (required)
      id - id of the hook to get (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgGetHook

      public Hook orgGetHook​(java.lang.String org, java.lang.Long id) throws ApiException
      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 ApiException
      Get 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 ApiException
      Get 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 ApiException
      Build call for orgGetLabel
      Parameters:
      org - name of the organization (required)
      id - id of the label to get (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgGetLabel

      public Label orgGetLabel​(java.lang.String org, java.lang.Long id) throws ApiException
      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 ApiException
      Get 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 ApiException
      Get 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 ApiException
      Build call for orgGetTeam
      Parameters:
      id - id of the team to get (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgGetTeam

      public Team orgGetTeam​(java.lang.Long id) throws ApiException
      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

      public ApiResponse<Team> orgGetTeamWithHttpInfo​(java.lang.Long id) throws ApiException
      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 ApiException
      Get 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 ApiException
      Build call for orgIsMember
      Parameters:
      org - name of the organization (required)
      username - username of the user (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgIsMember

      public void orgIsMember​(java.lang.String org, java.lang.String username) throws ApiException
      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 ApiException
      Check 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 ApiException
      Check 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 ApiException
      Build call for orgIsPublicMember
      Parameters:
      org - name of the organization (required)
      username - username of the user (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgIsPublicMember

      public void orgIsPublicMember​(java.lang.String org, java.lang.String username) throws ApiException
      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 ApiException
      Check 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 ApiException
      Check 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 ApiException
      Build call for orgListCurrentUserOrgs
      Parameters:
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      progressListener - Progress listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build call for orgListTeamMember
      Parameters:
      id - id of the team (required)
      username - username of the member to list (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgListTeamMember

      public User orgListTeamMember​(java.lang.Long id, java.lang.String username) throws ApiException
      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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      List 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 ApiException
      List 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 ApiException
      List 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 ApiException
      Build call for orgPublicizeMember
      Parameters:
      org - name of the organization (required)
      username - username of the user (required)
      progressListener - Progress listener
      progressRequestListener - 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 ApiException
      Publicize 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 ApiException
      Publicize 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 ApiException
      Publicize 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 ApiException
      Build call for orgRemoveTeamMember
      Parameters:
      id - id of the team (required)
      username - username of the user to remove (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • orgRemoveTeamMember

      public void orgRemoveTeamMember​(java.lang.Long id, java.lang.String username) throws ApiException
      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 ApiException
      Remove 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 ApiException
      Remove 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      Remove 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 ApiException
      Remove 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 ApiException
      Remove 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 ApiException
      Build 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 listener
      progressRequestListener - 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 ApiException
      Search 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 ApiException
      Search 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 ApiException
      Search 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