class_docstr: Encapsulation of a request to Demisto to create an incident.
class_docstr_tok: ["Encapsulation","of","a","request","to","Demisto","to","create","an","incident","."]
code: def __init__(
      self,
      incident_name="Unnamed StreamAlert Alert",
      incident_type="Unclassified",
      playbook="",
      severity=SEVERITY_UNKNOWN,
      owner="StreamAlert",
      details="Details not specified.",
      create_investigation=False,
  ):
      # Default request parameters
      self._incident_name = str(incident_name)
  
      # Incident type maps to the Demisto incident "type". It comes from a discrete set that
      # is defined on the Demisto account configuration. If the provided incident type does not
      # exactly match one in the configured set, it will appear on the Demisto UI as
      # "Unclassified".
      self._incident_type = str(incident_type)
  
      # The playbook to assign to the case.
      self._playbook = playbook
  
      # Severity is an integer. Use the constants above.
      self._severity = severity
  
      # The Owner appears verbatim on the Incident list, regardless of whether the owner
      # exists or not.
      self._owner = str(owner)
  
      # An array of Dicts, with keys "type" and "value".
      self._labels = []
  
      # A string that appears in the details section.
      self._details = str(details)
  
      # FIXME: (!) Demisto currently does not seem to render these fields properly on their UI.
      self._custom_fields = {}
  
      # When set to True, the creation of this incident will also trigger the creation of an
      # investigation. This will cause playbooks to trigger automatically.
      self._create_investigation = bool(create_investigation)
  
imports: from collections import OrderedDict
  from streamalert.alert_processor.helpers import compose_alert
  from streamalert.alert_processor.outputs.output_base import OutputDispatcher, OutputProperty, StreamAlertOutput, OutputRequestFailure
  from streamalert.shared.logger import get_logger
label_desc: Use image node_id 1 to create a new DemistoCreateIncidentRequest object  with example: obj = DemistoCreateIncidentRequest(incident_name, incident_type, playbook, severity, owner, details, create_investigation)