com.atlassian.jira.rest.client.domain
Class BasicVotes

java.lang.Object
  extended by com.atlassian.jira.rest.client.domain.BasicVotes
All Implemented Interfaces:
AddressableEntity
Direct Known Subclasses:
Votes

public class BasicVotes
extends Object
implements AddressableEntity

Basic information about voters of a JIRA issue

Since:
v0.1

Constructor Summary
BasicVotes(URI self, int votes, boolean hasVoted)
           
 
Method Summary
 URI getSelf()
           
 int getVotes()
           
 boolean hasVoted()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicVotes

public BasicVotes(URI self,
                  int votes,
                  boolean hasVoted)
Method Detail

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

getVotes

public int getVotes()

hasVoted

public boolean hasVoted()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.