Packages

object DynamicValue

Annotations
@SuppressWarnings()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DynamicValue
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Adt extends DynamicValue
  2. final case class Bool(value: Boolean) extends Primitive with Product with Serializable

    Boolean

  3. implicit class BoolExtension extends AnyRef
  4. final case class ContractId(value: String) extends Primitive with Product with Serializable
  5. implicit class ContractIdExtension extends AnyRef
  6. final case class Date(value: Int) extends Primitive with Product with Serializable

    Local date.

    Local date. Number of dates since epoch (1 Jan 1970).

  7. implicit class DateExtension extends AnyRef
  8. final case class Enum(value: Int) extends Adt with Product with Serializable

    ADT, Sum type - special case of sum type with only constructors.

  9. implicit class EnumExtension extends AnyRef
  10. final case class GenMap(value: IterableOnce[(DynamicValue, DynamicValue)]) extends Traversable with Product with Serializable

    Map with arbitrarily-typed keys and values.

    Map with arbitrarily-typed keys and values. Codecs should maintain stable order of key-value entries if possible.

  11. implicit class GenMapExtension extends AnyRef
  12. final case class Int64(value: Long) extends Primitive with Product with Serializable

    8-byte integer

  13. implicit class Int64Extension extends AnyRef
  14. final case class List(value: IterableOnce[DynamicValue]) extends Traversable with Product with Serializable

    Sequence of elements

  15. implicit class ListExtension extends AnyRef
  16. final case class Numeric(value: String) extends Primitive with Product with Serializable

    Numeric type with precision.

    Numeric type with precision. Represented as a String

  17. implicit class NumericExtension extends AnyRef
  18. final case class Optional(value: Option[DynamicValue]) extends Traversable with Product with Serializable

    Optional element

  19. implicit class OptionalExtension extends AnyRef
  20. final case class Party(value: String) extends Primitive with Product with Serializable
  21. implicit class PartyExtension extends AnyRef
  22. sealed trait Primitive extends DynamicValue
  23. final case class Record(fields: IterableOnce[(Option[String], DynamicValue)]) extends Adt with Product with Serializable

    ADT, Product type.

    ADT, Product type. Field values have to be in the same order as in the defining type. Field labels here are not necessary, as codecs knows about field names at the time of construction. We store them in order to recreate some error conditions (for instance wrong labels) and reuse gRPC API error handling.

    We do not preserver recordId from gRPC versbose records, we do not consider them practically useful

  24. implicit class RecordExtension extends AnyRef
  25. final case class Text(value: String) extends Primitive with Product with Serializable

    Text

  26. implicit class TextExtension extends AnyRef
  27. final case class TextMap(value: IterableOnce[(String, DynamicValue)]) extends Traversable with Product with Serializable

    Map with String keys.

    Map with String keys. Codecs should maintain stable order of key-value entries if possible.

  28. implicit class TextMapExtension extends AnyRef
  29. final case class Timestamp(value: Long) extends Primitive with Product with Serializable

    Timestamp.

    Timestamp. Number of microseconds (10-6) since epoch (midnight of 1 Jan 1970) in UTC timezone.

  30. implicit class TimestampExtension extends AnyRef
  31. sealed trait Traversable extends DynamicValue
  32. implicit class UnitExtension extends AnyRef
  33. final case class Variant(ctorIx: Int, value: DynamicValue) extends Adt with Product with Serializable

    ADT, Sum type.

    ADT, Sum type. Contains constructor's ordinal index and a wrapped value.

  34. implicit class VariantExtension extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  15. def toString(): String
    Definition Classes
    AnyRef → Any
  16. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  17. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. case object Unit extends Primitive with Product with Serializable

    Unit

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped