text: # GENERATED BY KOMAND SDK - DO NOT EDIT
  import komand
  import json
  
  
  class Input:
      URL = "url"
      
  
  class Output:
      ERROR = "error"
      REQUESTED_URL = "requested_url"
      RESOLVED_URL = "resolved_url"
      SUCCESS = "success"
      USAGE_COUNT = "usage_count"
      
  
  class UnshortenInput(komand.Input):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "url": {
        "type": "string",
        "title": "URL",
        "description": "Short URL",
        "order": 1
      }
    },
    "required": [
      "url"
    ]
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  
  
  class UnshortenOutput(komand.Output):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "error": {
        "type": "string",
        "title": "Error",
        "description": "Error message",
        "order": 5
      },
      "requested_url": {
        "type": "string",
        "title": "Requested URL",
        "description": "Short URL",
        "order": 1
      },
      "resolved_url": {
        "type": "string",
        "title": "Resolved URL",
        "description": "Long URL",
        "order": 2
      },
      "success": {
        "type": "boolean",
        "title": "Success",
        "description": "Success",
        "order": 3
      },
      "usage_count": {
        "type": "integer",
        "title": "Usage Count",
        "description": "Usage count",
        "order": 4
      }
    },
    "required": [
      "usage_count",
      "requested_url",
      "resolved_url",
      "success"
    ]
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  