Class AssetPropertyVariant

    • Method Detail

      • stringValue

        public final String stringValue()

        Optional. The string value of the value entry. Accepts substitution templates.

        Returns:
        Optional. The string value of the value entry. Accepts substitution templates.
      • integerValue

        public final String integerValue()

        Optional. A string that contains the integer value of the value entry. Accepts substitution templates.

        Returns:
        Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
      • doubleValue

        public final String doubleValue()

        Optional. A string that contains the double value of the value entry. Accepts substitution templates.

        Returns:
        Optional. A string that contains the double value of the value entry. Accepts substitution templates.
      • booleanValue

        public final String booleanValue()

        Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.

        Returns:
        Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromStringValue

        public static AssetPropertyVariant fromStringValue​(String stringValue)
        Create an instance of this class with stringValue() initialized to the given value.

        Optional. The string value of the value entry. Accepts substitution templates.

        Parameters:
        stringValue - Optional. The string value of the value entry. Accepts substitution templates.
      • fromIntegerValue

        public static AssetPropertyVariant fromIntegerValue​(String integerValue)
        Create an instance of this class with integerValue() initialized to the given value.

        Optional. A string that contains the integer value of the value entry. Accepts substitution templates.

        Parameters:
        integerValue - Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
      • fromDoubleValue

        public static AssetPropertyVariant fromDoubleValue​(String doubleValue)
        Create an instance of this class with doubleValue() initialized to the given value.

        Optional. A string that contains the double value of the value entry. Accepts substitution templates.

        Parameters:
        doubleValue - Optional. A string that contains the double value of the value entry. Accepts substitution templates.
      • fromBooleanValue

        public static AssetPropertyVariant fromBooleanValue​(String booleanValue)
        Create an instance of this class with booleanValue() initialized to the given value.

        Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.

        Parameters:
        booleanValue - Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.