com.atlassian.jira.rest.client.api.domain
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>
TO_KEY
public static final com.google.common.base.Function<Permission,String> TO_KEY
Permission
public Permission(int id,
String key,
String name,
@Nullable
String description,
boolean havePermission)
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.Objects.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
Copyright © 2014 Atlassian. All Rights Reserved.