com.atlassian.jira.rest.client.api.domain
Class Votes

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

public class Votes
extends BasicVotes

Complete information about the voters for given issue

Since:
v0.1

Constructor Summary
Votes(URI self, int votes, boolean hasVoted, Collection<BasicUser> users)
           
 
Method Summary
 boolean equals(Object obj)
           
protected  ToStringHelper getToStringHelper()
           
 Iterable<BasicUser> getUsers()
           
 int hashCode()
           
 
Methods inherited from class com.atlassian.jira.rest.client.api.domain.BasicVotes
getSelf, getVotes, hasVoted, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Votes

public Votes(URI self,
             int votes,
             boolean hasVoted,
             Collection<BasicUser> users)
Method Detail

getUsers

public Iterable<BasicUser> getUsers()

getToStringHelper

protected ToStringHelper getToStringHelper()
Overrides:
getToStringHelper in class BasicVotes

equals

public boolean equals(Object obj)
Overrides:
equals in class BasicVotes

hashCode

public int hashCode()
Overrides:
hashCode in class BasicVotes


Copyright © 2012 Atlassian. All Rights Reserved.