com.atlassian.jira.issue.fields.rest.json.beans
Class VotesJsonBean
java.lang.Object
com.atlassian.jira.issue.fields.rest.json.beans.VotesJsonBean
public class VotesJsonBean
- extends Object
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VotesJsonBean
public VotesJsonBean()
getSelf
public String getSelf()
setSelf
public void setSelf(String self)
getVotes
public long getVotes()
setVotes
public void setVotes(long votes)
isHasVoted
public boolean isHasVoted()
setHasVoted
public void setHasVoted(boolean hasVoted)
getVoters
public Collection<UserJsonBean> getVoters()
setVoters
public void setVoters(Collection<UserJsonBean> voters)
shortBean
public static VotesJsonBean shortBean(String issueKey,
long votes,
boolean hasVoted,
JiraBaseUrls urls)
- Returns:
- null if the input is null
fullBean
public static VotesJsonBean fullBean(String issueKey,
long votes,
boolean hasVoted,
Collection<com.atlassian.crowd.embedded.api.User> voters,
JiraBaseUrls urls)
- Returns:
- null if the input is null
Copyright © 2002-2014 Atlassian. All Rights Reserved.