java.lang.Object
io.github.primelib.jira4j.restv3.model.Votes

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class Votes extends Object
Votes
  • Felddetails

    • hasVoted

      protected Boolean hasVoted
      Whether the user making this request has voted on the issue.
    • self

      protected URI self
      The URL of these issue vote details.
    • voters

      protected List<User> voters
      List of the users who have voted on this issue. An empty list is returned when the calling user doesn't have the *View voters and watchers* project permission.
    • votes

      protected Long votes
      The number of votes on the issue.
  • Konstruktordetails

    • Votes

      public Votes(Consumer<Votes> spec)
      Constructs a validated instance of Votes.
      Parameter:
      spec - the specification to process
    • Votes

      @Internal public Votes(Boolean hasVoted, URI self, List<User> voters, Long votes)
      Constructs a validated instance of Votes.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Votes(Consumer) instead.

      Parameter:
      hasVoted - Whether the user making this request has voted on the issue.
      self - The URL of these issue vote details.
      voters - List of the users who have voted on this issue. An empty list is returned when the calling user doesn't have the *View voters and watchers* project permission.
      votes - The number of votes on the issue.
    • Votes

      protected Votes()
  • Methodendetails

    • builder

      public static Votes.VotesBuilder builder()
    • hasVoted

      public Boolean hasVoted()
      Whether the user making this request has voted on the issue.
    • self

      public URI self()
      The URL of these issue vote details.
    • voters

      public List<User> voters()
      List of the users who have voted on this issue. An empty list is returned when the calling user doesn't have the *View voters and watchers* project permission.
    • votes

      public Long votes()
      The number of votes on the issue.
    • hasVoted

      public Votes hasVoted(Boolean hasVoted)
      Whether the user making this request has voted on the issue.
      Gibt zurück:
      this.
    • self

      public Votes self(URI self)
      The URL of these issue vote details.
      Gibt zurück:
      this.
    • voters

      public Votes voters(List<User> voters)
      List of the users who have voted on this issue. An empty list is returned when the calling user doesn't have the *View voters and watchers* project permission.
      Gibt zurück:
      this.
    • votes

      public Votes votes(Long votes)
      The number of votes on the issue.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object