Class CustomField



  • public class CustomField
    extends java.lang.Object
    CustomFields model which allows for custom data to be set on a request
    See Also:
    Zendesk Rest API on Requests
    • Constructor Summary

      Constructors 
      Constructor and Description
      CustomField(java.lang.Long id, java.lang.String value)
      Constructor for a custom field model to be included with a ticket
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long getId() 
      java.lang.String getValue() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CustomField

        public CustomField(java.lang.Long id,
                           java.lang.String value)
        Constructor for a custom field model to be included with a ticket
        Parameters:
        id - The id of the custom field
        value - The value of the custom field
    • Method Detail

      • getId

        public java.lang.Long getId()
        Returns:
        the id of the custom ticket field
      • getValue

        public java.lang.String getValue()
        Returns:
        the value as String of the custom ticket field