com.atlassian.jira.rest.client.api.domain
Class BasicVotes
java.lang.Object
com.atlassian.jira.rest.client.api.domain.BasicVotes
- All Implemented Interfaces:
- AddressableEntity
- Direct Known Subclasses:
- Votes
public class BasicVotes
- extends java.lang.Object
- implements AddressableEntity
Basic information about voters of a JIRA issue
- Since:
- v0.1
Constructor Summary |
BasicVotes(java.net.URI self,
int votes,
boolean hasVoted)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BasicVotes
public BasicVotes(java.net.URI self,
int votes,
boolean hasVoted)
getSelf
public java.net.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
getVotes
public int getVotes()
hasVoted
public boolean hasVoted()
getToStringHelper
protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2013 Atlassian. All Rights Reserved.