<filename>sentinelone/komand_sentinelone/actions/blacklist_by_content_hash/schema.py<gh_stars>0
# GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json


class Input:
    HASH = "hash"
    

class Output:
    RESULT = "result"
    

class BlacklistByContentHashInput(komand.Input):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "hash": {
      "type": "string",
      "title": "Hash",
      "description": "Content hash to add to blacklist",
      "order": 1
    }
  },
  "required": [
    "hash"
  ]
}
    """)

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


class BlacklistByContentHashOutput(komand.Output):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "result": {
      "$ref": "#/definitions/blacklist_data",
      "title": "Result",
      "description": "Result of hashing operation",
      "order": 1
    }
  },
  "required": [
    "result"
  ],
  "definitions": {
    "blacklist_data": {
      "type": "object",
      "title": "blacklist_data",
      "properties": {
        "affected": {
          "type": "integer",
          "title": "Affected",
          "description": "Affected",
          "order": 1
        }
      }
    }
  }
}
    """)

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