public class VotesJsonBean extends Object
Constructor and Description |
---|
VotesJsonBean() |
Modifier and Type | Method and Description |
---|---|
static VotesJsonBean |
fullBean(String issueKey,
long votes,
boolean hasVoted,
Collection<ApplicationUser> voters,
JiraBaseUrls urls)
|
static VotesJsonBean |
fullBean(String issueKey,
long votes,
boolean hasVoted,
Collection<ApplicationUser> voters,
JiraBaseUrls urls,
ApplicationUser loggedInUser,
EmailFormatter emailFormatter) |
String |
getSelf() |
Collection<UserJsonBean> |
getVoters() |
long |
getVotes() |
boolean |
isHasVoted() |
void |
setHasVoted(boolean hasVoted) |
void |
setSelf(String self) |
void |
setVoters(Collection<UserJsonBean> voters) |
void |
setVotes(long votes) |
static VotesJsonBean |
shortBean(String issueKey,
long votes,
boolean hasVoted,
JiraBaseUrls urls) |
public String getSelf()
public void setSelf(String self)
public long getVotes()
public void setVotes(long votes)
public boolean isHasVoted()
public void setHasVoted(boolean hasVoted)
public Collection<UserJsonBean> getVoters()
public void setVoters(Collection<UserJsonBean> voters)
public static VotesJsonBean shortBean(String issueKey, long votes, boolean hasVoted, JiraBaseUrls urls)
@Deprecated public static VotesJsonBean fullBean(String issueKey, long votes, boolean hasVoted, Collection<ApplicationUser> voters, JiraBaseUrls urls)
public static VotesJsonBean fullBean(String issueKey, long votes, boolean hasVoted, Collection<ApplicationUser> voters, JiraBaseUrls urls, ApplicationUser loggedInUser, EmailFormatter emailFormatter)
Copyright © 2002-2019 Atlassian. All Rights Reserved.