Klasse SearchSearchRange

java.lang.Object
io.github.primelib.webmethodsapigateway4j.models.SearchSearchRange

@Generated("io.github.primelib.primecodegen") public class SearchSearchRange extends Object
SearchSearchRange

A range is request criteria for the search operation applicable for the data types like date, datetime and integers. Range can be specified either by providing the 'from' and 'to' field or the 'since' field.For example to find 1. Search the transactional events generated in between 2020-04-01 (April 1, 2020) and 2020-05-31 (May 31, 2020), we can use {"attributeName" : "creationDate", "range" : {"from" : "2020-04-01", "to" : "2020-05-31"}}. 2. Search the transactional events where the request data size in between 1000 and 4000 - {"attributeName" : "apiName", "range" : {"from" : 1000, "to" : 4000}}.

  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    protected Object
    from value is used to set the minimum value in the request criteria and it can be integer, date or datetime
    protected String
    This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks.
    protected Object
    to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
  • Konstruktorübersicht

    Konstruktoren
    Modifizierer
    Konstruktor
    Beschreibung
    protected
     
     
    Constructs a validated instance of SearchSearchRange.
     
    Constructs a validated instance of SearchSearchRange.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    protected boolean
     
    boolean
     
    from value is used to set the minimum value in the request criteria and it can be integer, date or datetime
    from(Object from)
    from value is used to set the minimum value in the request criteria and it can be integer, date or datetime
    int
     
    This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks.
    since(String since)
    This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks.
    to()
    to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
    to(Object to)
    to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Felddetails

    • from

      protected Object from
      from value is used to set the minimum value in the request criteria and it can be integer, date or datetime
    • since

      protected String since
      This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw]
    • to

      protected Object to
      to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
  • Konstruktordetails

    • SearchSearchRange

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

      @Internal public SearchSearchRange(Object from, String since, Object to)
      Constructs a validated instance of SearchSearchRange.

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

      Parameter:
      from - from value is used to set the minimum value in the request criteria and it can be integer, date or datetime
      since - This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw]
      to - to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
    • SearchSearchRange

      protected SearchSearchRange()
  • Methodendetails

    • from

      public Object from()
      from value is used to set the minimum value in the request criteria and it can be integer, date or datetime
    • since

      public String since()
      This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw]
    • to

      public Object to()
      to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
    • from

      public SearchSearchRange from(Object from)
      from value is used to set the minimum value in the request criteria and it can be integer, date or datetime
      Gibt zurück:
      this.
    • since

      public SearchSearchRange since(String since)
      This field is to search the data for the last few duration in units like seconds, minutes, hours, days and weeks. Possible units are [smhdw]
      Gibt zurück:
      this.
    • to

      public SearchSearchRange to(Object to)
      to value is used to set the maximum value in the request criteria and it can be integer, date or datetime
      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