<reponame>killstrelok/insightconnect-plugins
# GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json


class Component:
    DESCRIPTION = "Get information on ZeuS config URLs"


class Input:
    LIMIT = "limit"
    

class Output:
    RESULTS = "results"
    

class ConfigsInput(komand.Input):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "limit": {
      "type": "integer",
      "title": "Limit",
      "description": "Limit number of results",
      "order": 1
    }
  },
  "required": [
    "limit"
  ]
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)


class ConfigsOutput(komand.Output):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "results": {
      "type": "array",
      "title": "Results List",
      "description": "Results list",
      "items": {
        "$ref": "#/definitions/default"
      },
      "order": 1
    }
  },
  "definitions": {
    "default": {
      "type": "object",
      "title": "default",
      "properties": {
        "date": {
          "type": "string",
          "title": "Date",
          "displayType": "date",
          "description": "Date",
          "format": "date-time",
          "order": 1
        },
        "download_url": {
          "type": "string",
          "title": "Download URL",
          "description": "Download URL",
          "order": 2
        },
        "guid": {
          "type": "string",
          "title": "GUID",
          "description": "ZeuS tracker GUID",
          "order": 7
        },
        "link": {
          "type": "string",
          "title": "Link",
          "description": "ZeuS tracker information link",
          "order": 6
        },
        "md5": {
          "type": "string",
          "title": "MD5 Hash",
          "description": "MD5 hash",
          "order": 4
        },
        "status": {
          "type": "string",
          "title": "Status",
          "description": "Status",
          "order": 3
        },
        "version": {
          "type": "string",
          "title": "Version",
          "description": "Version",
          "order": 5
        }
      }
    }
  }
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)
