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(java.net.URI self, int votes, boolean hasVoted, java.util.Collection<BasicUser> users)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
protected  com.google.common.base.Objects.ToStringHelper getToStringHelper()
           
 java.lang.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(java.net.URI self,
             int votes,
             boolean hasVoted,
             java.util.Collection<BasicUser> users)
Method Detail

getUsers

public java.lang.Iterable<BasicUser> getUsers()

getToStringHelper

protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
Overrides:
getToStringHelper in class BasicVotes

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class BasicVotes


Copyright © 2012 Atlassian. All Rights Reserved.