Class ServiceNowIncidentRequest

  • All Implemented Interfaces:
    Serializable

    public class ServiceNowIncidentRequest
    extends Object
    implements Serializable
    Represents a request for creating a ticket in ServiceNow. Implements Serializable to support object serialization.
    Author:
    Mohammed Saif
    See Also:
    Serialized Form
    • Constructor Detail

      • ServiceNowIncidentRequest

        public ServiceNowIncidentRequest()
    • Method Detail

      • toJsonObject

        public org.codehaus.jettison.json.JSONObject toJsonObject()
                                                           throws org.codehaus.jettison.json.JSONException,
                                                                  IllegalArgumentException
        Converts the object to a JSON representation (JSONObject).
        Returns:
        JSONObject representing the JSON representation of the object.
        Throws:
        org.codehaus.jettison.json.JSONException - if an error occurs during JSON creation.
        IllegalArgumentException - if priority, impact, or urgency is outside the valid range.