text: # GENERATED BY KOMAND SDK - DO NOT EDIT
  import komand
  import json
  
  
  class Component:
      DESCRIPTION = "Fetches a single item"
  
  
  class Input:
      ITEM_ID = "item_id"
      PARAMS = "params"
      TYPE = "type"
      
  
  class Output:
      RESPONSE = "response"
      
  
  class GetItemInput(komand.Input):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "item_id": {
        "type": "string",
        "title": "Item ID",
        "description": "Unique ID of item",
        "order": 2
      },
      "params": {
        "type": "object",
        "title": "Parameters",
        "description": "Additional parameters",
        "order": 3
      },
      "type": {
        "type": "string",
        "title": "Type",
        "description": "Item Type",
        "enum": [
          "Actor",
          "Actor Identifier",
          "Campaign",
          "Certificate",
          "Domain",
          "Email",
          "Event",
          "Indicator",
          "IP",
          "PCAP",
          "Raw Data",
          "Sample",
          "Screenshot",
          "Target"
        ],
        "order": 1
      }
    },
    "required": [
      "item_id",
      "type"
    ]
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  
  
  class GetItemOutput(komand.Output):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "response": {
        "type": "object",
        "title": "Response",
        "description": "Response",
        "order": 1
      }
    }
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  