Package io.gitea.api

Class IssueApi

java.lang.Object
io.gitea.api.IssueApi

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

  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient​(ApiClient apiClient)
    • issueAddLabelCall

      public com.squareup.okhttp.Call issueAddLabelCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, IssueLabelsOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueAddLabel
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueAddLabel

      public java.util.List<Label> issueAddLabel​(java.lang.String owner, java.lang.String repo, java.lang.Long index, IssueLabelsOption body) throws ApiException
      Add a label to an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      Returns:
      List<Label>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueAddLabelWithHttpInfo

      public ApiResponse<java.util.List<Label>> issueAddLabelWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, IssueLabelsOption body) throws ApiException
      Add a label to an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      Returns:
      ApiResponse<List<Label>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueAddLabelAsync

      public com.squareup.okhttp.Call issueAddLabelAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, IssueLabelsOption body, ApiCallback<java.util.List<Label>> callback) throws ApiException
      Add a label to an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueAddSubscriptionCall

      public com.squareup.okhttp.Call issueAddSubscriptionCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueAddSubscription
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - user to subscribe (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueAddSubscription

      public void issueAddSubscription​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user) throws ApiException
      Subscribe user to issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - user to subscribe (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueAddSubscriptionWithHttpInfo

      public ApiResponse<java.lang.Void> issueAddSubscriptionWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user) throws ApiException
      Subscribe user to issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - user to subscribe (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueAddSubscriptionAsync

      public com.squareup.okhttp.Call issueAddSubscriptionAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user, ApiCallback<java.lang.Void> callback) throws ApiException
      Subscribe user to issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - user to subscribe (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
    • issueAddTimeCall

      public com.squareup.okhttp.Call issueAddTimeCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, AddTimeOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueAddTime
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueAddTime

      public TrackedTime issueAddTime​(java.lang.String owner, java.lang.String repo, java.lang.Long index, AddTimeOption body) throws ApiException
      Add tracked time to a issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      Returns:
      TrackedTime
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueAddTimeWithHttpInfo

      public ApiResponse<TrackedTime> issueAddTimeWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, AddTimeOption body) throws ApiException
      Add tracked time to a issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      Returns:
      ApiResponse<TrackedTime>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueAddTimeAsync

      public com.squareup.okhttp.Call issueAddTimeAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, AddTimeOption body, ApiCallback<TrackedTime> callback) throws ApiException
      Add tracked time to a issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueCheckSubscriptionCall

      public com.squareup.okhttp.Call issueCheckSubscriptionCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueCheckSubscription
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueCheckSubscription

      public WatchInfo issueCheckSubscription​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Check if user is subscribed to an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      Returns:
      WatchInfo
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCheckSubscriptionWithHttpInfo

      public ApiResponse<WatchInfo> issueCheckSubscriptionWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Check if user is subscribed to an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      Returns:
      ApiResponse<WatchInfo>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCheckSubscriptionAsync

      public com.squareup.okhttp.Call issueCheckSubscriptionAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ApiCallback<WatchInfo> callback) throws ApiException
      Check if user is subscribed to an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueClearLabelsCall

      public com.squareup.okhttp.Call issueClearLabelsCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueClearLabels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueClearLabels

      public void issueClearLabels​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Remove all labels from an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueClearLabelsWithHttpInfo

      public ApiResponse<java.lang.Void> issueClearLabelsWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Remove all labels from an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueClearLabelsAsync

      public com.squareup.okhttp.Call issueClearLabelsAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ApiCallback<java.lang.Void> callback) throws ApiException
      Remove all labels from an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueCreateCommentCall

      public com.squareup.okhttp.Call issueCreateCommentCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, CreateIssueCommentOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueCreateComment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueCreateComment

      public Comment issueCreateComment​(java.lang.String owner, java.lang.String repo, java.lang.Long index, CreateIssueCommentOption body) throws ApiException
      Add a comment to an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      Returns:
      Comment
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCreateCommentWithHttpInfo

      public ApiResponse<Comment> issueCreateCommentWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, CreateIssueCommentOption body) throws ApiException
      Add a comment to an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      Returns:
      ApiResponse<Comment>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCreateCommentAsync

      public com.squareup.okhttp.Call issueCreateCommentAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, CreateIssueCommentOption body, ApiCallback<Comment> callback) throws ApiException
      Add a comment to an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueCreateIssueCall

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

      public Issue issueCreateIssue​(java.lang.String owner, java.lang.String repo, CreateIssueOption body) throws ApiException
      Create an issue. If using deadline only the date will be taken into account, and time of day ignored.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      body - (optional)
      Returns:
      Issue
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCreateIssueWithHttpInfo

      public ApiResponse<Issue> issueCreateIssueWithHttpInfo​(java.lang.String owner, java.lang.String repo, CreateIssueOption body) throws ApiException
      Create an issue. If using deadline only the date will be taken into account, and time of day ignored.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      body - (optional)
      Returns:
      ApiResponse<Issue>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCreateIssueAsync

      public com.squareup.okhttp.Call issueCreateIssueAsync​(java.lang.String owner, java.lang.String repo, CreateIssueOption body, ApiCallback<Issue> callback) throws ApiException
      Create an issue. If using deadline only the date will be taken into account, and time of day ignored. (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueCreateLabelCall

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

      public Label issueCreateLabel​(java.lang.String owner, java.lang.String repo, CreateLabelOption body) throws ApiException
      Create a label
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      body - (optional)
      Returns:
      Label
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCreateLabelWithHttpInfo

      public ApiResponse<Label> issueCreateLabelWithHttpInfo​(java.lang.String owner, java.lang.String repo, CreateLabelOption body) throws ApiException
      Create a label
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      body - (optional)
      Returns:
      ApiResponse<Label>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCreateLabelAsync

      public com.squareup.okhttp.Call issueCreateLabelAsync​(java.lang.String owner, java.lang.String repo, CreateLabelOption body, ApiCallback<Label> callback) throws ApiException
      Create a label (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueCreateMilestoneCall

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

      public Milestone issueCreateMilestone​(java.lang.String owner, java.lang.String repo, CreateMilestoneOption body) throws ApiException
      Create a milestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      body - (optional)
      Returns:
      Milestone
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCreateMilestoneWithHttpInfo

      public ApiResponse<Milestone> issueCreateMilestoneWithHttpInfo​(java.lang.String owner, java.lang.String repo, CreateMilestoneOption body) throws ApiException
      Create a milestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      body - (optional)
      Returns:
      ApiResponse<Milestone>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueCreateMilestoneAsync

      public com.squareup.okhttp.Call issueCreateMilestoneAsync​(java.lang.String owner, java.lang.String repo, CreateMilestoneOption body, ApiCallback<Milestone> callback) throws ApiException
      Create a milestone (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueDeleteCommentCall

      public com.squareup.okhttp.Call issueDeleteCommentCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueDeleteComment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of comment to delete (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueDeleteComment

      public void issueDeleteComment​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Delete a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of comment to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteCommentWithHttpInfo

      public ApiResponse<java.lang.Void> issueDeleteCommentWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Delete a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of comment to delete (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteCommentAsync

      public com.squareup.okhttp.Call issueDeleteCommentAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete a comment (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of comment 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
    • issueDeleteCommentDeprecatedCall

      @Deprecated public com.squareup.okhttp.Call issueDeleteCommentDeprecatedCall​(java.lang.String owner, java.lang.String repo, java.lang.Integer index, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Deprecated.
      Build call for issueDeleteCommentDeprecated
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - this parameter is ignored (required)
      id - id of comment to delete (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueDeleteCommentDeprecated

      @Deprecated public void issueDeleteCommentDeprecated​(java.lang.String owner, java.lang.String repo, java.lang.Integer index, java.lang.Long id) throws ApiException
      Deprecated.
      Delete a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - this parameter is ignored (required)
      id - id of comment to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteCommentDeprecatedWithHttpInfo

      @Deprecated public ApiResponse<java.lang.Void> issueDeleteCommentDeprecatedWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Integer index, java.lang.Long id) throws ApiException
      Deprecated.
      Delete a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - this parameter is ignored (required)
      id - id of comment to delete (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteCommentDeprecatedAsync

      @Deprecated public com.squareup.okhttp.Call issueDeleteCommentDeprecatedAsync​(java.lang.String owner, java.lang.String repo, java.lang.Integer index, java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      Deprecated.
      Delete a comment (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - this parameter is ignored (required)
      id - id of comment 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
    • issueDeleteCommentReactionCall

      public com.squareup.okhttp.Call issueDeleteCommentReactionCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditReactionOption content, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueDeleteCommentReaction
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      content - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueDeleteCommentReaction

      public void issueDeleteCommentReaction​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditReactionOption content) throws ApiException
      Remove a reaction from a comment of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      content - (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteCommentReactionWithHttpInfo

      public ApiResponse<java.lang.Void> issueDeleteCommentReactionWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditReactionOption content) throws ApiException
      Remove a reaction from a comment of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      content - (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteCommentReactionAsync

      public com.squareup.okhttp.Call issueDeleteCommentReactionAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditReactionOption content, ApiCallback<java.lang.Void> callback) throws ApiException
      Remove a reaction from a comment of an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      content - (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
    • issueDeleteIssueReactionCall

      public com.squareup.okhttp.Call issueDeleteIssueReactionCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditReactionOption content, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueDeleteIssueReaction
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      content - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueDeleteIssueReaction

      public void issueDeleteIssueReaction​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditReactionOption content) throws ApiException
      Remove a reaction from an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      content - (optional)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteIssueReactionWithHttpInfo

      public ApiResponse<java.lang.Void> issueDeleteIssueReactionWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditReactionOption content) throws ApiException
      Remove a reaction from an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      content - (optional)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteIssueReactionAsync

      public com.squareup.okhttp.Call issueDeleteIssueReactionAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditReactionOption content, ApiCallback<java.lang.Void> callback) throws ApiException
      Remove a reaction from an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      content - (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
    • issueDeleteLabelCall

      public com.squareup.okhttp.Call issueDeleteLabelCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueDeleteLabel
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueDeleteLabel

      public void issueDeleteLabel​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Delete a label
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueDeleteLabelWithHttpInfo

      public ApiResponse<java.lang.Void> issueDeleteLabelWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Delete a label
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueDeleteLabelAsync

      public com.squareup.okhttp.Call issueDeleteLabelAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete a label (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueDeleteMilestoneCall

      public com.squareup.okhttp.Call issueDeleteMilestoneCall​(java.lang.String owner, java.lang.String repo, java.lang.String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueDeleteMilestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to delete, identified by ID and if not available by name (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueDeleteMilestone

      public void issueDeleteMilestone​(java.lang.String owner, java.lang.String repo, java.lang.String id) throws ApiException
      Delete a milestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to delete, identified by ID and if not available by name (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteMilestoneWithHttpInfo

      public ApiResponse<java.lang.Void> issueDeleteMilestoneWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.String id) throws ApiException
      Delete a milestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to delete, identified by ID and if not available by name (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteMilestoneAsync

      public com.squareup.okhttp.Call issueDeleteMilestoneAsync​(java.lang.String owner, java.lang.String repo, java.lang.String id, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete a milestone (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to delete, identified by ID and if not available by name (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
    • issueDeleteStopWatchCall

      public com.squareup.okhttp.Call issueDeleteStopWatchCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueDeleteStopWatch
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to stop the stopwatch on (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueDeleteStopWatch

      public void issueDeleteStopWatch​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Delete an issue's existing stopwatch.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to stop the stopwatch on (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteStopWatchWithHttpInfo

      public ApiResponse<java.lang.Void> issueDeleteStopWatchWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Delete an issue's existing stopwatch.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to stop the stopwatch on (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteStopWatchAsync

      public com.squareup.okhttp.Call issueDeleteStopWatchAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete an issue's existing stopwatch. (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to stop the stopwatch on (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
    • issueDeleteSubscriptionCall

      public com.squareup.okhttp.Call issueDeleteSubscriptionCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueDeleteSubscription
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - user witch unsubscribe (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueDeleteSubscription

      public void issueDeleteSubscription​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user) throws ApiException
      Unsubscribe user from issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - user witch unsubscribe (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteSubscriptionWithHttpInfo

      public ApiResponse<java.lang.Void> issueDeleteSubscriptionWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user) throws ApiException
      Unsubscribe user from issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - user witch unsubscribe (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteSubscriptionAsync

      public com.squareup.okhttp.Call issueDeleteSubscriptionAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user, ApiCallback<java.lang.Void> callback) throws ApiException
      Unsubscribe user from issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - user witch unsubscribe (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
    • issueDeleteTimeCall

      public com.squareup.okhttp.Call issueDeleteTimeCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueDeleteTime
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      id - id of time to delete (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueDeleteTime

      public void issueDeleteTime​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Long id) throws ApiException
      Delete specific tracked time
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      id - id of time to delete (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteTimeWithHttpInfo

      public ApiResponse<java.lang.Void> issueDeleteTimeWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Long id) throws ApiException
      Delete specific tracked time
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      id - id of time to delete (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueDeleteTimeAsync

      public com.squareup.okhttp.Call issueDeleteTimeAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      Delete specific tracked time (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      id - id of time 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
    • issueEditCommentCall

      public com.squareup.okhttp.Call issueEditCommentCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditIssueCommentOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueEditComment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment 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
    • issueEditComment

      public Comment issueEditComment​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditIssueCommentOption body) throws ApiException
      Edit a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      body - (optional)
      Returns:
      Comment
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditCommentWithHttpInfo

      public ApiResponse<Comment> issueEditCommentWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditIssueCommentOption body) throws ApiException
      Edit a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      body - (optional)
      Returns:
      ApiResponse<Comment>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditCommentAsync

      public com.squareup.okhttp.Call issueEditCommentAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditIssueCommentOption body, ApiCallback<Comment> callback) throws ApiException
      Edit a comment (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment 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
    • issueEditCommentDeprecatedCall

      @Deprecated public com.squareup.okhttp.Call issueEditCommentDeprecatedCall​(java.lang.String owner, java.lang.String repo, java.lang.Integer index, java.lang.Long id, EditIssueCommentOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Deprecated.
      Build call for issueEditCommentDeprecated
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - this parameter is ignored (required)
      id - id of the comment 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
    • issueEditCommentDeprecated

      @Deprecated public Comment issueEditCommentDeprecated​(java.lang.String owner, java.lang.String repo, java.lang.Integer index, java.lang.Long id, EditIssueCommentOption body) throws ApiException
      Deprecated.
      Edit a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - this parameter is ignored (required)
      id - id of the comment to edit (required)
      body - (optional)
      Returns:
      Comment
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditCommentDeprecatedWithHttpInfo

      @Deprecated public ApiResponse<Comment> issueEditCommentDeprecatedWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Integer index, java.lang.Long id, EditIssueCommentOption body) throws ApiException
      Deprecated.
      Edit a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - this parameter is ignored (required)
      id - id of the comment to edit (required)
      body - (optional)
      Returns:
      ApiResponse<Comment>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditCommentDeprecatedAsync

      @Deprecated public com.squareup.okhttp.Call issueEditCommentDeprecatedAsync​(java.lang.String owner, java.lang.String repo, java.lang.Integer index, java.lang.Long id, EditIssueCommentOption body, ApiCallback<Comment> callback) throws ApiException
      Deprecated.
      Edit a comment (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - this parameter is ignored (required)
      id - id of the comment 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
    • issueEditIssueCall

      public com.squareup.okhttp.Call issueEditIssueCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditIssueOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueEditIssue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue 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
    • issueEditIssue

      public Issue issueEditIssue​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditIssueOption body) throws ApiException
      Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to edit (required)
      body - (optional)
      Returns:
      Issue
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditIssueWithHttpInfo

      public ApiResponse<Issue> issueEditIssueWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditIssueOption body) throws ApiException
      Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to edit (required)
      body - (optional)
      Returns:
      ApiResponse<Issue>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditIssueAsync

      public com.squareup.okhttp.Call issueEditIssueAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditIssueOption body, ApiCallback<Issue> callback) throws ApiException
      Edit an issue. If using deadline only the date will be taken into account, and time of day ignored. (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue 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
    • issueEditIssueDeadlineCall

      public com.squareup.okhttp.Call issueEditIssueDeadlineCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditDeadlineOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueEditIssueDeadline
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to create or update a deadline on (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueEditIssueDeadline

      public IssueDeadline issueEditIssueDeadline​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditDeadlineOption body) throws ApiException
      Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to create or update a deadline on (required)
      body - (optional)
      Returns:
      IssueDeadline
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditIssueDeadlineWithHttpInfo

      public ApiResponse<IssueDeadline> issueEditIssueDeadlineWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditDeadlineOption body) throws ApiException
      Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to create or update a deadline on (required)
      body - (optional)
      Returns:
      ApiResponse<IssueDeadline>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditIssueDeadlineAsync

      public com.squareup.okhttp.Call issueEditIssueDeadlineAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditDeadlineOption body, ApiCallback<IssueDeadline> callback) throws ApiException
      Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored. (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to create or update a deadline on (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
    • issueEditLabelCall

      public com.squareup.okhttp.Call issueEditLabelCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditLabelOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueEditLabel
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueEditLabel

      public Label issueEditLabel​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditLabelOption body) throws ApiException
      Update a label
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueEditLabelWithHttpInfo

      public ApiResponse<Label> issueEditLabelWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditLabelOption body) throws ApiException
      Update a label
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueEditLabelAsync

      public com.squareup.okhttp.Call issueEditLabelAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditLabelOption body, ApiCallback<Label> callback) throws ApiException
      Update a label (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueEditMilestoneCall

      public com.squareup.okhttp.Call issueEditMilestoneCall​(java.lang.String owner, java.lang.String repo, java.lang.String id, EditMilestoneOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueEditMilestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to edit, identified by ID and if not available by name (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueEditMilestone

      public Milestone issueEditMilestone​(java.lang.String owner, java.lang.String repo, java.lang.String id, EditMilestoneOption body) throws ApiException
      Update a milestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to edit, identified by ID and if not available by name (required)
      body - (optional)
      Returns:
      Milestone
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditMilestoneWithHttpInfo

      public ApiResponse<Milestone> issueEditMilestoneWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.String id, EditMilestoneOption body) throws ApiException
      Update a milestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to edit, identified by ID and if not available by name (required)
      body - (optional)
      Returns:
      ApiResponse<Milestone>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueEditMilestoneAsync

      public com.squareup.okhttp.Call issueEditMilestoneAsync​(java.lang.String owner, java.lang.String repo, java.lang.String id, EditMilestoneOption body, ApiCallback<Milestone> callback) throws ApiException
      Update a milestone (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to edit, identified by ID and if not available by name (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
    • issueGetCommentCall

      public com.squareup.okhttp.Call issueGetCommentCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetComment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueGetComment

      public Comment issueGetComment​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Get a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment (required)
      Returns:
      Comment
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetCommentWithHttpInfo

      public ApiResponse<Comment> issueGetCommentWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Get a comment
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment (required)
      Returns:
      ApiResponse<Comment>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetCommentAsync

      public com.squareup.okhttp.Call issueGetCommentAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ApiCallback<Comment> callback) throws ApiException
      Get a comment (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment (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
    • issueGetCommentReactionsCall

      public com.squareup.okhttp.Call issueGetCommentReactionsCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetCommentReactions
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueGetCommentReactions

      public java.util.List<Reaction> issueGetCommentReactions​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Get a list of reactions from a comment of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      Returns:
      List<Reaction>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetCommentReactionsWithHttpInfo

      public ApiResponse<java.util.List<Reaction>> issueGetCommentReactionsWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Get a list of reactions from a comment of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      Returns:
      ApiResponse<List<Reaction>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetCommentReactionsAsync

      public com.squareup.okhttp.Call issueGetCommentReactionsAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ApiCallback<java.util.List<Reaction>> callback) throws ApiException
      Get a list of reactions from a comment of an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (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
    • issueGetCommentsCall

      public com.squareup.okhttp.Call issueGetCommentsCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetComments
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      since - if provided, only comments updated since the specified time are returned. (optional)
      before - if provided, only comments updated before the provided time are returned. (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueGetComments

      public java.util.List<Comment> issueGetComments​(java.lang.String owner, java.lang.String repo, java.lang.Long index, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before) throws ApiException
      List all comments on an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      since - if provided, only comments updated since the specified time are returned. (optional)
      before - if provided, only comments updated before the provided time are returned. (optional)
      Returns:
      List<Comment>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetCommentsWithHttpInfo

      public ApiResponse<java.util.List<Comment>> issueGetCommentsWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before) throws ApiException
      List all comments on an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      since - if provided, only comments updated since the specified time are returned. (optional)
      before - if provided, only comments updated before the provided time are returned. (optional)
      Returns:
      ApiResponse<List<Comment>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetCommentsAsync

      public com.squareup.okhttp.Call issueGetCommentsAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, ApiCallback<java.util.List<Comment>> callback) throws ApiException
      List all comments on an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      since - if provided, only comments updated since the specified time are returned. (optional)
      before - if provided, only comments updated before the provided time are returned. (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
    • issueGetIssueCall

      public com.squareup.okhttp.Call issueGetIssueCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetIssue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to get (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueGetIssue

      public Issue issueGetIssue​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Get an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to get (required)
      Returns:
      Issue
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetIssueWithHttpInfo

      public ApiResponse<Issue> issueGetIssueWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Get an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to get (required)
      Returns:
      ApiResponse<Issue>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetIssueAsync

      public com.squareup.okhttp.Call issueGetIssueAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ApiCallback<Issue> callback) throws ApiException
      Get an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue 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
    • issueGetIssueReactionsCall

      public com.squareup.okhttp.Call issueGetIssueReactionsCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetIssueReactions
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueGetIssueReactions

      public java.util.List<Reaction> issueGetIssueReactions​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get a list reactions of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Reaction>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetIssueReactionsWithHttpInfo

      public ApiResponse<java.util.List<Reaction>> issueGetIssueReactionsWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get a list reactions of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Reaction>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetIssueReactionsAsync

      public com.squareup.okhttp.Call issueGetIssueReactionsAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Reaction>> callback) throws ApiException
      Get a list reactions of an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueGetLabelCall

      public com.squareup.okhttp.Call issueGetLabelCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetLabel
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueGetLabel

      public Label issueGetLabel​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Get a single label
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueGetLabelWithHttpInfo

      public ApiResponse<Label> issueGetLabelWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id) throws ApiException
      Get a single label
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueGetLabelAsync

      public com.squareup.okhttp.Call issueGetLabelAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, ApiCallback<Label> callback) throws ApiException
      Get a single label (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueGetLabelsCall

      public com.squareup.okhttp.Call issueGetLabelsCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetLabels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueGetLabels

      public java.util.List<Label> issueGetLabels​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Get an issue's labels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      Returns:
      List<Label>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetLabelsWithHttpInfo

      public ApiResponse<java.util.List<Label>> issueGetLabelsWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Get an issue's labels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      Returns:
      ApiResponse<List<Label>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetLabelsAsync

      public com.squareup.okhttp.Call issueGetLabelsAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ApiCallback<java.util.List<Label>> callback) throws ApiException
      Get an issue's labels (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueGetMilestoneCall

      public com.squareup.okhttp.Call issueGetMilestoneCall​(java.lang.String owner, java.lang.String repo, java.lang.String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetMilestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to get, identified by ID and if not available by name (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueGetMilestone

      public Milestone issueGetMilestone​(java.lang.String owner, java.lang.String repo, java.lang.String id) throws ApiException
      Get a milestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to get, identified by ID and if not available by name (required)
      Returns:
      Milestone
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetMilestoneWithHttpInfo

      public ApiResponse<Milestone> issueGetMilestoneWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.String id) throws ApiException
      Get a milestone
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to get, identified by ID and if not available by name (required)
      Returns:
      ApiResponse<Milestone>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetMilestoneAsync

      public com.squareup.okhttp.Call issueGetMilestoneAsync​(java.lang.String owner, java.lang.String repo, java.lang.String id, ApiCallback<Milestone> callback) throws ApiException
      Get a milestone (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - the milestone to get, identified by ID and if not available by name (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
    • issueGetMilestonesListCall

      public com.squareup.okhttp.Call issueGetMilestonesListCall​(java.lang.String owner, java.lang.String repo, java.lang.String state, java.lang.String name, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetMilestonesList
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      state - Milestone state, Recognised values are open, closed and all. Defaults to \"open\" (optional)
      name - filter by milestone name (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
    • issueGetMilestonesList

      public java.util.List<Milestone> issueGetMilestonesList​(java.lang.String owner, java.lang.String repo, java.lang.String state, java.lang.String name, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get all of a repository's opened milestones
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      state - Milestone state, Recognised values are open, closed and all. Defaults to \"open\" (optional)
      name - filter by milestone name (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Milestone>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetMilestonesListWithHttpInfo

      public ApiResponse<java.util.List<Milestone>> issueGetMilestonesListWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.String state, java.lang.String name, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get all of a repository's opened milestones
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      state - Milestone state, Recognised values are open, closed and all. Defaults to \"open\" (optional)
      name - filter by milestone name (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Milestone>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetMilestonesListAsync

      public com.squareup.okhttp.Call issueGetMilestonesListAsync​(java.lang.String owner, java.lang.String repo, java.lang.String state, java.lang.String name, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Milestone>> callback) throws ApiException
      Get all of a repository's opened milestones (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      state - Milestone state, Recognised values are open, closed and all. Defaults to \"open\" (optional)
      name - filter by milestone name (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
    • issueGetRepoCommentsCall

      public com.squareup.okhttp.Call issueGetRepoCommentsCall​(java.lang.String owner, java.lang.String repo, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueGetRepoComments
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      since - if provided, only comments updated since the provided time are returned. (optional)
      before - if provided, only comments updated before the provided time are returned. (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
    • issueGetRepoComments

      public java.util.List<Comment> issueGetRepoComments​(java.lang.String owner, java.lang.String repo, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List all comments in a repository
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      since - if provided, only comments updated since the provided time are returned. (optional)
      before - if provided, only comments updated before the provided time are returned. (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Comment>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetRepoCommentsWithHttpInfo

      public ApiResponse<java.util.List<Comment>> issueGetRepoCommentsWithHttpInfo​(java.lang.String owner, java.lang.String repo, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List all comments in a repository
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      since - if provided, only comments updated since the provided time are returned. (optional)
      before - if provided, only comments updated before the provided time are returned. (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Comment>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueGetRepoCommentsAsync

      public com.squareup.okhttp.Call issueGetRepoCommentsAsync​(java.lang.String owner, java.lang.String repo, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Comment>> callback) throws ApiException
      List all comments in a repository (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      since - if provided, only comments updated since the provided time are returned. (optional)
      before - if provided, only comments updated before the provided time are returned. (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
    • issueListIssuesCall

      public com.squareup.okhttp.Call issueListIssuesCall​(java.lang.String owner, java.lang.String repo, java.lang.String state, java.lang.String labels, java.lang.String q, java.lang.String type, java.lang.String milestones, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.String createdBy, java.lang.String assignedBy, java.lang.String mentionedBy, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueListIssues
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      state - whether issue is open or closed (optional)
      labels - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded (optional)
      q - search string (optional)
      type - filter by type (issues / pulls) if set (optional)
      milestones - comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded (optional)
      since - Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
      createdBy - filter (issues / pulls) created to (optional)
      assignedBy - filter (issues / pulls) assigned to (optional)
      mentionedBy - filter (issues / pulls) mentioning to (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
    • issueListIssues

      public java.util.List<Issue> issueListIssues​(java.lang.String owner, java.lang.String repo, java.lang.String state, java.lang.String labels, java.lang.String q, java.lang.String type, java.lang.String milestones, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.String createdBy, java.lang.String assignedBy, java.lang.String mentionedBy, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List a repository's issues
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      state - whether issue is open or closed (optional)
      labels - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded (optional)
      q - search string (optional)
      type - filter by type (issues / pulls) if set (optional)
      milestones - comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded (optional)
      since - Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
      createdBy - filter (issues / pulls) created to (optional)
      assignedBy - filter (issues / pulls) assigned to (optional)
      mentionedBy - filter (issues / pulls) mentioning to (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Issue>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueListIssuesWithHttpInfo

      public ApiResponse<java.util.List<Issue>> issueListIssuesWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.String state, java.lang.String labels, java.lang.String q, java.lang.String type, java.lang.String milestones, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.String createdBy, java.lang.String assignedBy, java.lang.String mentionedBy, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List a repository's issues
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      state - whether issue is open or closed (optional)
      labels - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded (optional)
      q - search string (optional)
      type - filter by type (issues / pulls) if set (optional)
      milestones - comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded (optional)
      since - Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
      createdBy - filter (issues / pulls) created to (optional)
      assignedBy - filter (issues / pulls) assigned to (optional)
      mentionedBy - filter (issues / pulls) mentioning to (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Issue>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueListIssuesAsync

      public com.squareup.okhttp.Call issueListIssuesAsync​(java.lang.String owner, java.lang.String repo, java.lang.String state, java.lang.String labels, java.lang.String q, java.lang.String type, java.lang.String milestones, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.String createdBy, java.lang.String assignedBy, java.lang.String mentionedBy, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Issue>> callback) throws ApiException
      List a repository's issues (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      state - whether issue is open or closed (optional)
      labels - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded (optional)
      q - search string (optional)
      type - filter by type (issues / pulls) if set (optional)
      milestones - comma separated list of milestone names or ids. It uses names and fall back to ids. Fetch only issues that have any of this milestones. Non existent milestones are discarded (optional)
      since - Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
      createdBy - filter (issues / pulls) created to (optional)
      assignedBy - filter (issues / pulls) assigned to (optional)
      mentionedBy - filter (issues / pulls) mentioning to (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
    • issueListLabelsCall

      public com.squareup.okhttp.Call issueListLabelsCall​(java.lang.String owner, java.lang.String repo, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueListLabels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueListLabels

      public java.util.List<Label> issueListLabels​(java.lang.String owner, java.lang.String repo, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get all of a repository's labels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueListLabelsWithHttpInfo

      public ApiResponse<java.util.List<Label>> issueListLabelsWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get all of a repository's labels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issueListLabelsAsync

      public com.squareup.okhttp.Call issueListLabelsAsync​(java.lang.String owner, java.lang.String repo, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Label>> callback) throws ApiException
      Get all of a repository's labels (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (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
    • issuePostCommentReactionCall

      public com.squareup.okhttp.Call issuePostCommentReactionCall​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditReactionOption content, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issuePostCommentReaction
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      content - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issuePostCommentReaction

      public Reaction issuePostCommentReaction​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditReactionOption content) throws ApiException
      Add a reaction to a comment of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      content - (optional)
      Returns:
      Reaction
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issuePostCommentReactionWithHttpInfo

      public ApiResponse<Reaction> issuePostCommentReactionWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditReactionOption content) throws ApiException
      Add a reaction to a comment of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      content - (optional)
      Returns:
      ApiResponse<Reaction>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issuePostCommentReactionAsync

      public com.squareup.okhttp.Call issuePostCommentReactionAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long id, EditReactionOption content, ApiCallback<Reaction> callback) throws ApiException
      Add a reaction to a comment of an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      id - id of the comment to edit (required)
      content - (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
    • issuePostIssueReactionCall

      public com.squareup.okhttp.Call issuePostIssueReactionCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditReactionOption content, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issuePostIssueReaction
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      content - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issuePostIssueReaction

      public Reaction issuePostIssueReaction​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditReactionOption content) throws ApiException
      Add a reaction to an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      content - (optional)
      Returns:
      Reaction
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issuePostIssueReactionWithHttpInfo

      public ApiResponse<Reaction> issuePostIssueReactionWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditReactionOption content) throws ApiException
      Add a reaction to an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      content - (optional)
      Returns:
      ApiResponse<Reaction>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issuePostIssueReactionAsync

      public com.squareup.okhttp.Call issuePostIssueReactionAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, EditReactionOption content, ApiCallback<Reaction> callback) throws ApiException
      Add a reaction to an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      content - (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
    • issueRemoveLabelCall

      public com.squareup.okhttp.Call issueRemoveLabelCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Long id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueRemoveLabel
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      id - id of the label to remove (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueRemoveLabel

      public void issueRemoveLabel​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Long id) throws ApiException
      Remove a label from an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      id - id of the label to remove (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueRemoveLabelWithHttpInfo

      public ApiResponse<java.lang.Void> issueRemoveLabelWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Long id) throws ApiException
      Remove a label from an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      id - id of the label to remove (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueRemoveLabelAsync

      public com.squareup.okhttp.Call issueRemoveLabelAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Long id, ApiCallback<java.lang.Void> callback) throws ApiException
      Remove a label from an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      id - id of the label 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
    • issueReplaceLabelsCall

      public com.squareup.okhttp.Call issueReplaceLabelsCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, IssueLabelsOption body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueReplaceLabels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueReplaceLabels

      public java.util.List<Label> issueReplaceLabels​(java.lang.String owner, java.lang.String repo, java.lang.Long index, IssueLabelsOption body) throws ApiException
      Replace an issue's labels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      Returns:
      List<Label>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueReplaceLabelsWithHttpInfo

      public ApiResponse<java.util.List<Label>> issueReplaceLabelsWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, IssueLabelsOption body) throws ApiException
      Replace an issue's labels
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      body - (optional)
      Returns:
      ApiResponse<List<Label>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueReplaceLabelsAsync

      public com.squareup.okhttp.Call issueReplaceLabelsAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, IssueLabelsOption body, ApiCallback<java.util.List<Label>> callback) throws ApiException
      Replace an issue's labels (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueResetTimeCall

      public com.squareup.okhttp.Call issueResetTimeCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueResetTime
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to add tracked time to (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueResetTime

      public void issueResetTime​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Reset a tracked time of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to add tracked time to (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueResetTimeWithHttpInfo

      public ApiResponse<java.lang.Void> issueResetTimeWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Reset a tracked time of an issue
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to add tracked time to (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueResetTimeAsync

      public com.squareup.okhttp.Call issueResetTimeAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ApiCallback<java.lang.Void> callback) throws ApiException
      Reset a tracked time of an issue (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to add tracked time to (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
    • issueSearchIssuesCall

      public com.squareup.okhttp.Call issueSearchIssuesCall​(java.lang.String state, java.lang.String labels, java.lang.String milestones, java.lang.String q, java.lang.Long priorityRepoId, java.lang.String type, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Boolean assigned, java.lang.Boolean created, java.lang.Boolean mentioned, java.lang.Boolean reviewRequested, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueSearchIssues
      Parameters:
      state - whether issue is open or closed (optional)
      labels - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded (optional)
      milestones - comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded (optional)
      q - search string (optional)
      priorityRepoId - repository to prioritize in the results (optional)
      type - filter by type (issues / pulls) if set (optional)
      since - Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
      assigned - filter (issues / pulls) assigned to you, default is false (optional)
      created - filter (issues / pulls) created by you, default is false (optional)
      mentioned - filter (issues / pulls) mentioning you, default is false (optional)
      reviewRequested - filter pulls requesting your review, default is false (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
    • issueSearchIssues

      public java.util.List<Issue> issueSearchIssues​(java.lang.String state, java.lang.String labels, java.lang.String milestones, java.lang.String q, java.lang.Long priorityRepoId, java.lang.String type, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Boolean assigned, java.lang.Boolean created, java.lang.Boolean mentioned, java.lang.Boolean reviewRequested, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Search for issues across the repositories that the user has access to
      Parameters:
      state - whether issue is open or closed (optional)
      labels - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded (optional)
      milestones - comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded (optional)
      q - search string (optional)
      priorityRepoId - repository to prioritize in the results (optional)
      type - filter by type (issues / pulls) if set (optional)
      since - Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
      assigned - filter (issues / pulls) assigned to you, default is false (optional)
      created - filter (issues / pulls) created by you, default is false (optional)
      mentioned - filter (issues / pulls) mentioning you, default is false (optional)
      reviewRequested - filter pulls requesting your review, default is false (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<Issue>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueSearchIssuesWithHttpInfo

      public ApiResponse<java.util.List<Issue>> issueSearchIssuesWithHttpInfo​(java.lang.String state, java.lang.String labels, java.lang.String milestones, java.lang.String q, java.lang.Long priorityRepoId, java.lang.String type, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Boolean assigned, java.lang.Boolean created, java.lang.Boolean mentioned, java.lang.Boolean reviewRequested, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Search for issues across the repositories that the user has access to
      Parameters:
      state - whether issue is open or closed (optional)
      labels - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded (optional)
      milestones - comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded (optional)
      q - search string (optional)
      priorityRepoId - repository to prioritize in the results (optional)
      type - filter by type (issues / pulls) if set (optional)
      since - Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
      assigned - filter (issues / pulls) assigned to you, default is false (optional)
      created - filter (issues / pulls) created by you, default is false (optional)
      mentioned - filter (issues / pulls) mentioning you, default is false (optional)
      reviewRequested - filter pulls requesting your review, default is false (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<Issue>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueSearchIssuesAsync

      public com.squareup.okhttp.Call issueSearchIssuesAsync​(java.lang.String state, java.lang.String labels, java.lang.String milestones, java.lang.String q, java.lang.Long priorityRepoId, java.lang.String type, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Boolean assigned, java.lang.Boolean created, java.lang.Boolean mentioned, java.lang.Boolean reviewRequested, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<Issue>> callback) throws ApiException
      Search for issues across the repositories that the user has access to (asynchronously)
      Parameters:
      state - whether issue is open or closed (optional)
      labels - comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded (optional)
      milestones - comma separated list of milestone names. Fetch only issues that have any of this milestones. Non existent are discarded (optional)
      q - search string (optional)
      priorityRepoId - repository to prioritize in the results (optional)
      type - filter by type (issues / pulls) if set (optional)
      since - Only show notifications updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show notifications updated before the given time. This is a timestamp in RFC 3339 format (optional)
      assigned - filter (issues / pulls) assigned to you, default is false (optional)
      created - filter (issues / pulls) created by you, default is false (optional)
      mentioned - filter (issues / pulls) mentioning you, default is false (optional)
      reviewRequested - filter pulls requesting your review, default is false (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
    • issueStartStopWatchCall

      public com.squareup.okhttp.Call issueStartStopWatchCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueStartStopWatch
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to create the stopwatch on (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueStartStopWatch

      public void issueStartStopWatch​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Start stopwatch on an issue.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to create the stopwatch on (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueStartStopWatchWithHttpInfo

      public ApiResponse<java.lang.Void> issueStartStopWatchWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Start stopwatch on an issue.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to create the stopwatch on (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueStartStopWatchAsync

      public com.squareup.okhttp.Call issueStartStopWatchAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ApiCallback<java.lang.Void> callback) throws ApiException
      Start stopwatch on an issue. (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to create the stopwatch on (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
    • issueStopStopWatchCall

      public com.squareup.okhttp.Call issueStopStopWatchCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueStopStopWatch
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to stop the stopwatch on (required)
      progressListener - Progress listener
      progressRequestListener - Progress request listener
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • issueStopStopWatch

      public void issueStopStopWatch​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Stop an issue's existing stopwatch.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to stop the stopwatch on (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueStopStopWatchWithHttpInfo

      public ApiResponse<java.lang.Void> issueStopStopWatchWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index) throws ApiException
      Stop an issue's existing stopwatch.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to stop the stopwatch on (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueStopStopWatchAsync

      public com.squareup.okhttp.Call issueStopStopWatchAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, ApiCallback<java.lang.Void> callback) throws ApiException
      Stop an issue's existing stopwatch. (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue to stop the stopwatch on (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
    • issueSubscriptionsCall

      public com.squareup.okhttp.Call issueSubscriptionsCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueSubscriptions
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueSubscriptions

      public java.util.List<User> issueSubscriptions​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get users who subscribed on an issue.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueSubscriptionsWithHttpInfo

      public ApiResponse<java.util.List<User>> issueSubscriptionsWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      Get users who subscribed on an issue.
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueSubscriptionsAsync

      public com.squareup.okhttp.Call issueSubscriptionsAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<User>> callback) throws ApiException
      Get users who subscribed on an issue. (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (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
    • issueTrackedTimesCall

      public com.squareup.okhttp.Call issueTrackedTimesCall​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Integer page, java.lang.Integer limit, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
      Build call for issueTrackedTimes
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - optional filter by user (available for issue managers) (optional)
      since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (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
    • issueTrackedTimes

      public java.util.List<TrackedTime> issueTrackedTimes​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List an issue's tracked times
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - optional filter by user (available for issue managers) (optional)
      since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      List<TrackedTime>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueTrackedTimesWithHttpInfo

      public ApiResponse<java.util.List<TrackedTime>> issueTrackedTimesWithHttpInfo​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Integer page, java.lang.Integer limit) throws ApiException
      List an issue's tracked times
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - optional filter by user (available for issue managers) (optional)
      since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (optional)
      page - page number of results to return (1-based) (optional)
      limit - page size of results (optional)
      Returns:
      ApiResponse<List<TrackedTime>>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • issueTrackedTimesAsync

      public com.squareup.okhttp.Call issueTrackedTimesAsync​(java.lang.String owner, java.lang.String repo, java.lang.Long index, java.lang.String user, org.threeten.bp.OffsetDateTime since, org.threeten.bp.OffsetDateTime before, java.lang.Integer page, java.lang.Integer limit, ApiCallback<java.util.List<TrackedTime>> callback) throws ApiException
      List an issue's tracked times (asynchronously)
      Parameters:
      owner - owner of the repo (required)
      repo - name of the repo (required)
      index - index of the issue (required)
      user - optional filter by user (available for issue managers) (optional)
      since - Only show times updated after the given time. This is a timestamp in RFC 3339 format (optional)
      before - Only show times updated before the given time. This is a timestamp in RFC 3339 format (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