Class MyPermissionsInput

java.lang.Object
com.atlassian.jira.rest.client.api.domain.input.MyPermissionsInput

public class MyPermissionsInput extends Object
Permissions context for MyPermissionsRestClient
  • Constructor Details

    • MyPermissionsInput

      public MyPermissionsInput(@Nullable String projectKey, @Nullable Integer projectId, @Nullable String issueKey, @Nullable Integer issueId)
      Creates permissions context
      Parameters:
      projectKey - key of project to scope returned permissions for
      projectId - id of project to scope returned permissions for
      issueKey - key of the issue to scope returned permissions for
      issueId - id of the issue to scope returned permissions for
  • Method Details

    • getProjectKey

      @Nullable public String getProjectKey()
    • getProjectId

      @Nullable public Integer getProjectId()
    • getIssueKey

      @Nullable public String getIssueKey()
    • getIssueId

      @Nullable public Integer getIssueId()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • withProject

      public static MyPermissionsInput withProject(String projectKey)
      Creates permissions context with project defined by key
    • withProject

      public static MyPermissionsInput withProject(int projectId)
      Creates permissions context with project defined by id
    • withIssue

      public static MyPermissionsInput withIssue(String issueKey)
      Creates permissions context with issue defined by key
    • withIssue

      public static MyPermissionsInput withIssue(int issueId)
      Creates permissions context with issue defined by id
    • withAny

      public static MyPermissionsInput withAny()
      Creates permissions context for any project or issue