text: # GENERATED BY KOMAND SDK - DO NOT EDIT
  import insightconnect_plugin_runtime
  import json
  
  
  class Component:
      DESCRIPTION = "Retrieve running applications for a specific agent"
  
  
  class Input:
      IDS = "ids"
      
  
  class Output:
      DATA = "data"
      
  
  class AppsByAgentIdsInput(insightconnect_plugin_runtime.Input):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "ids": {
        "type": "array",
        "title": "Agent IDS",
        "description": "Agent ID list",
        "items": {
          "type": "string"
        },
        "order": 1
      }
    },
    "required": [
      "ids"
    ]
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  
  
  class AppsByAgentIdsOutput(insightconnect_plugin_runtime.Output):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "data": {
        "type": "array",
        "title": "Agent Applications",
        "description": "List of installed applications",
        "items": {
          "$ref": "#/definitions/agent_applications"
        },
        "order": 1
      }
    },
    "required": [
      "data"
    ],
    "definitions": {
      "agent_applications": {
        "type": "object",
        "title": "agent_applications",
        "properties": {
          "installedDate": {
            "type": "string",
            "title": "Installed Date",
            "description": "Date when application installed",
            "order": 1
          },
          "name": {
            "type": "string",
            "title": "Name",
            "description": "Name of installed application",
            "order": 5
          },
          "publisher": {
            "type": "string",
            "title": "Publisher",
            "description": "Publisher of installed application",
            "order": 3
          },
          "size": {
            "type": "integer",
            "title": "Size",
            "description": "Size of installed application",
            "order": 4
          },
          "version": {
            "type": "string",
            "title": "Version",
            "description": "Version of installed application",
            "order": 2
          }
        }
      }
    }
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  