public class

VotesJsonBean

extends Object
java.lang.Object
   ↳ com.atlassian.jira.issue.fields.rest.json.beans.VotesJsonBean

Summary

Public Constructors
VotesJsonBean()
Public Methods
@Deprecated 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)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public VotesJsonBean ()

Public Methods

@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)

Returns
  • null if the input is null

public String getSelf ()

public Collection<UserJsonBean> getVoters ()

public long getVotes ()

public boolean isHasVoted ()

public void setHasVoted (boolean hasVoted)

public void setSelf (String self)

public void setVoters (Collection<UserJsonBean> voters)

public void setVotes (long votes)

public static VotesJsonBean shortBean (String issueKey, long votes, boolean hasVoted, JiraBaseUrls urls)

Returns
  • null if the input is null