Class Permission

java.lang.Object
com.atlassian.jira.rest.client.api.domain.Permission
All Implemented Interfaces:
IdentifiableEntity<Integer>, NamedEntity

public class Permission extends Object implements NamedEntity, IdentifiableEntity<Integer>
  • Field Details

    • TO_KEY

      public static final com.google.common.base.Function<Permission,String> TO_KEY
  • Constructor Details

    • Permission

      public Permission(int id, String key, String name, @Nullable String description, boolean havePermission)
  • Method Details

    • getId

      public Integer getId()
      Specified by:
      getId in interface IdentifiableEntity<Integer>
    • getKey

      public String getKey()
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEntity
    • getDescription

      @Nullable public String getDescription()
    • havePermission

      public boolean havePermission()
    • getToStringHelper

      protected com.google.common.base.MoreObjects.ToStringHelper getToStringHelper()
    • toString

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object