text: # GENERATED BY KOMAND SDK - DO NOT EDIT
  import komand
  import json
  
  
  class Component:
      DESCRIPTION = "Retrieve a list of configured scan engine pools"
  
  
  class Input:
      NAME = "name"
      
  
  class Output:
      SCAN_ENGINE_POOLS = "scan_engine_pools"
      
  
  class GetScanEnginePoolsInput(komand.Input):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "name": {
        "type": "string",
        "title": "Name",
        "description": "Scan engine pool name by which to filter, accepts regular expression patterns",
        "order": 1
      }
    }
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  
  
  class GetScanEnginePoolsOutput(komand.Output):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "scan_engine_pools": {
        "type": "array",
        "title": "Scan Engine Pools",
        "description": "List of scan engine pool details",
        "items": {
          "$ref": "#/definitions/scan_engine_pool"
        },
        "order": 1
      }
    },
    "required": [
      "scan_engine_pools"
    ],
    "definitions": {
      "link": {
        "type": "object",
        "title": "link",
        "properties": {
          "href": {
            "type": "string",
            "title": "URL",
            "description": "A hypertext reference, which is either a URI (see RFC 3986) or URI template (see RFC 6570)",
            "order": 1
          },
          "rel": {
            "type": "string",
            "title": "Rel",
            "description": "Link relation type following RFC 5988",
            "order": 2
          }
        }
      },
      "scan_engine_pool": {
        "type": "object",
        "title": "scan_engine_pool",
        "properties": {
          "engines": {
            "type": "array",
            "title": "Engines",
            "description": "List of scan engine IDs associated with the scan engine pool",
            "items": {
              "type": "integer"
            },
            "order": 3
          },
          "id": {
            "type": "integer",
            "title": "ID",
            "description": "Scan engine pool identifier",
            "order": 2
          },
          "links": {
            "type": "array",
            "title": "Links",
            "description": "List of hypermedia links to corresponding resources",
            "items": {
              "$ref": "#/definitions/link"
            },
            "order": 4
          },
          "name": {
            "type": "string",
            "title": "Name",
            "description": "Scan engine pool name",
            "order": 1
          }
        },
        "required": [
          "engines",
          "id",
          "links",
          "name"
        ],
        "definitions": {
          "link": {
            "type": "object",
            "title": "link",
            "properties": {
              "href": {
                "type": "string",
                "title": "URL",
                "description": "A hypertext reference, which is either a URI (see RFC 3986) or URI template (see RFC 6570)",
                "order": 1
              },
              "rel": {
                "type": "string",
                "title": "Rel",
                "description": "Link relation type following RFC 5988",
                "order": 2
              }
            }
          }
        }
      }
    }
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  