Package com.mypurecloud.sdk.v2.model
Class Coretype
java.lang.Object
com.mypurecloud.sdk.v2.model.Coretype
- All Implemented Interfaces:
Serializable
Coretype
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA boolean indicating if the core type's version is the current one in use by the systemdateCreated(Date dateCreated) The date the core type was created.booleangetId()getName()inthashCode()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 validationitemValidationLimits(ItemValidationLimits itemValidationLimits) A structure denoting the system-imposed minimum and maximum string length for string-array based core types such as \"tag\" and \"enum\".The core type's built-in schemavoidsetCurrent(Boolean current) voidsetDateCreated(Date dateCreated) voidsetItemValidationFields(List<String> itemValidationFields) voidsetItemValidationLimits(ItemValidationLimits itemValidationLimits) voidvoidvoidsetValidationFields(List<String> validationFields) voidsetValidationLimits(ValidationLimits validationLimits) voidsetVersion(Integer version) toString()validationFields(List<String> validationFields) An array of strings naming the fields of the core type subject to validation.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.A positive integer denoting the core type's version
-
Constructor Details
-
Coretype
public Coretype() -
Coretype
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
version
A positive integer denoting the core type's version -
getVersion
-
setVersion
-
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
-
setDateCreated
-
schema
The core type's built-in schema -
getSchema
-
setSchema
-
current
A boolean indicating if the core type's version is the current one in use by the system -
getCurrent
-
setCurrent
-
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
-
setValidationFields
-
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
-
setValidationLimits
-
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
-
setItemValidationFields
-
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
-
setItemValidationLimits
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-