Class Literal

java.lang.Object
com.mypurecloud.sdk.v2.model.Literal
All Implemented Interfaces:
Serializable

public class Literal extends Object implements Serializable
Literal
See Also:
  • Constructor Details

    • Literal

      public Literal()
    • Literal

      public Literal(Boolean initWithEmptyList)
  • Method Details

    • string

      public Literal string(String string)
      A string value
    • getString

      public String getString()
    • setString

      public void setString(String string)
    • integer

      public Literal integer(Long integer)
      A positive or negative whole number, including zero
    • getInteger

      public Long getInteger()
    • setInteger

      public void setInteger(Long integer)
    • number

      public Literal number(Double number)
      A positive or negative decimal number, including zero
    • getNumber

      public Double getNumber()
    • setNumber

      public void setNumber(Double number)
    • date

      public Literal date(LocalDate date)
      A date value, must be in the format of yyyy-MM-dd, e.g. 2024-09-23. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getDate

      public LocalDate getDate()
    • setDate

      public void setDate(LocalDate date)
    • datetime

      public Literal datetime(Date datetime)
      A date time value, must be in the format of yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g. 2024-10-02T01:01:01.111Z. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDatetime

      public Date getDatetime()
    • setDatetime

      public void setDatetime(Date datetime)
    • special

      public Literal special(Literal.SpecialEnum special)
      A special value enum, such as Wildcard, Null, etc
    • getSpecial

      public Literal.SpecialEnum getSpecial()
    • setSpecial

      public void setSpecial(Literal.SpecialEnum special)
    • strings

      public Literal strings(List<String> strings)
      A string list value
    • getStrings

      public List<String> getStrings()
    • setStrings

      public void setStrings(List<String> strings)
    • _boolean

      public Literal _boolean(Boolean _boolean)
      A boolean value
    • getBoolean

      public Boolean getBoolean()
    • setBoolean

      public void setBoolean(Boolean _boolean)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object