Class Coretype

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

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

    • Coretype

      public Coretype()
    • Coretype

      public Coretype(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

      public Coretype name(String name)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • version

      public Coretype version(Integer version)
      A positive integer denoting the core type's version
    • getVersion

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • dateCreated

      public Coretype dateCreated(Date dateCreated)
      The date the core type was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • schema

      public Coretype schema(Schema schema)
      The core type's built-in schema
    • getSchema

      public Schema getSchema()
    • setSchema

      public void setSchema(Schema schema)
    • current

      public Coretype current(Boolean current)
      A boolean indicating if the core type's version is the current one in use by the system
    • getCurrent

      public Boolean getCurrent()
    • setCurrent

      public void setCurrent(Boolean current)
    • validationFields

      public Coretype validationFields(List<String> validationFields)
      An array of strings naming the fields of the core type subject to validation. Validation constraints are specified by a schema author using the core type.
    • getValidationFields

      public List<String> getValidationFields()
    • setValidationFields

      public void setValidationFields(List<String> validationFields)
    • validationLimits

      public Coretype validationLimits(ValidationLimits validationLimits)
      A structure denoting the system-imposed minimum and maximum string length (for text-based core types) or numeric values (for number-based) core types. For example, the validationLimits for a text-based core type specify the min/max values for a minimum string length (minLength) constraint supplied by a schemaauthor on a text field. Similarly, the maxLength's min/max specifies maximum string length constraint supplied by a schema author for the same field.
    • getValidationLimits

      public ValidationLimits getValidationLimits()
    • setValidationLimits

      public void setValidationLimits(ValidationLimits validationLimits)
    • itemValidationFields

      public Coretype itemValidationFields(List<String> itemValidationFields)
      Specific to the \"tag\" core type, this is an array of strings naming the tag item fields of the core type subject to validation
    • getItemValidationFields

      public List<String> getItemValidationFields()
    • setItemValidationFields

      public void setItemValidationFields(List<String> itemValidationFields)
    • itemValidationLimits

      public Coretype itemValidationLimits(ItemValidationLimits itemValidationLimits)
      A structure denoting the system-imposed minimum and maximum string length for string-array based core types such as \"tag\" and \"enum\". Forexample, the validationLimits for a schema field using a tag core type specify the min/max values for a minimum string length (minLength) constraint supplied by a schema author on individual tags. Similarly, the maxLength's min/max specifies maximum string length constraint supplied by a schema author for the same field's tags.
    • getItemValidationLimits

      public ItemValidationLimits getItemValidationLimits()
    • setItemValidationLimits

      public void setItemValidationLimits(ItemValidationLimits itemValidationLimits)
    • getSelfUri

      public String getSelfUri()
    • 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