Record Class SlackResponderManagement.View

java.lang.Object
java.lang.Record
io.jenkins.plugins.changeinvestigator.slack.config.SlackResponderManagement.View
Enclosing class:
SlackResponderManagement

public static record SlackResponderManagement.View(String query, List<ResponderMapping> rows, int matching, int total, int page, int pages, String id, String identity, String slackUser, String error) extends Record
  • Constructor Details

    • View

      public View(String query, List<ResponderMapping> rows, int matching, int total, int page, int pages, String id, String identity, String slackUser, String error)
      Creates an instance of a View record class.
      Parameters:
      query - the value for the query record component
      rows - the value for the rows record component
      matching - the value for the matching record component
      total - the value for the total record component
      page - the value for the page record component
      pages - the value for the pages record component
      id - the value for the id record component
      identity - the value for the identity record component
      slackUser - the value for the slackUser record component
      error - the value for the error record component
  • Method Details

    • getQuery

      public String getQuery()
    • getRows

      public List<ResponderMapping> getRows()
    • getMatching

      public int getMatching()
    • getTotal

      public int getTotal()
    • getPage

      public int getPage()
    • getPages

      public int getPages()
    • getId

      public String getId()
    • getIdentity

      public String getIdentity()
    • getSlackUser

      public String getSlackUser()
    • getError

      public String getError()
    • getPreviousUrl

      public String getPreviousUrl()
    • getNextUrl

      public String getNextUrl()
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • query

      public String query()
      Returns the value of the query record component.
      Returns:
      the value of the query record component
    • rows

      public List<ResponderMapping> rows()
      Returns the value of the rows record component.
      Returns:
      the value of the rows record component
    • matching

      public int matching()
      Returns the value of the matching record component.
      Returns:
      the value of the matching record component
    • total

      public int total()
      Returns the value of the total record component.
      Returns:
      the value of the total record component
    • page

      public int page()
      Returns the value of the page record component.
      Returns:
      the value of the page record component
    • pages

      public int pages()
      Returns the value of the pages record component.
      Returns:
      the value of the pages record component
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • identity

      public String identity()
      Returns the value of the identity record component.
      Returns:
      the value of the identity record component
    • slackUser

      public String slackUser()
      Returns the value of the slackUser record component.
      Returns:
      the value of the slackUser record component
    • error

      public String error()
      Returns the value of the error record component.
      Returns:
      the value of the error record component