Class MetadataDataSource.Entry

java.lang.Object
org.cloudinary.json.JSONObject
com.cloudinary.metadata.MetadataDataSource.Entry
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
MetadataDataSource

public static class MetadataDataSource.Entry
extends JSONObject
Represents a single entry in a datasource definition for a field.
See Also:
Serialized Form
  • Constructor Details

    • Entry

      public Entry​(java.lang.String externalId, java.lang.String value)
    • Entry

      public Entry​(java.lang.String value)
      Create a new entry with a string value.
      Parameters:
      value - The value to use in the entry.
  • Method Details

    • setExternalId

      public void setExternalId​(java.lang.String externalId)
      Set the id of the entry. Will be auto-generated if left blank.
      Parameters:
      externalId -
    • getExternalId

      public java.lang.String getExternalId()
      Get the id of the entry.
      Returns:
    • setValue

      public void setValue​(java.lang.String value)
      Set the value of the entry.
      Parameters:
      value - The value to set.
    • getValue

      public java.lang.String getValue()
      Get the value of the entry.
      Returns:
      The value.