Class BasicProjectRole

java.lang.Object
com.atlassian.jira.rest.client.api.domain.BasicProjectRole
All Implemented Interfaces:
AddressableEntity, NamedEntity
Direct Known Subclasses:
ProjectRole

public class BasicProjectRole extends Object implements AddressableEntity, NamedEntity
Basic information about a JIRA project's role.
  • Constructor Details

    • BasicProjectRole

      public BasicProjectRole(URI self, String name)
  • Method Details

    • getSelf

      public URI getSelf()
      Specified by:
      getSelf in interface AddressableEntity
      Returns:
      URI to this resource or (usually) its complete version - when partial representation is embedded in other resources
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEntity
      Returns:
      the name of this project role.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

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

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