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


class Component:
    DESCRIPTION = "Get Record by ID"


class Input:
    APP_ID = "app_id"
    RECORD_ID = "record_id"
    

class Output:
    RECORD = "record"
    

class GetRecordByIdInput(komand.Input):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "app_id": {
      "type": "string",
      "title": "Application ID",
      "description": "Application ID",
      "order": 1
    },
    "record_id": {
      "type": "string",
      "title": "Record ID",
      "description": "Record ID",
      "order": 2
    }
  },
  "required": [
    "app_id",
    "record_id"
  ]
}
    """)

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


class GetRecordByIdOutput(komand.Output):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "record": {
      "type": "object",
      "title": "Record",
      "description": "Record",
      "order": 1
    }
  },
  "required": [
    "record"
  ]
}
    """)

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

# GENERATED BY KOMAND SDK - DO NOT EDIT
import komand
import json


class Component:
    DESCRIPTION = "Get Record by ID"


class Input:
    APP_ID = "app_id"
    RECORD_ID = "record_id"
    

class Output:
    RECORD = "record"
    

class GetRecordByIdInput(komand.Input):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "app_id": {
      "type": "string",
      "title": "Application ID",
      "description": "Application ID",
      "order": 1
    },
    "record_id": {
      "type": "string",
      "title": "Record ID",
      "description": "Record ID",
      "order": 2
    }
  },
  "required": [
    "app_id",
    "record_id"
  ]
}
    """)

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


class GetRecordByIdOutput(komand.Output):
    schema = json.loads("""
   {
  "type": "object",
  "title": "Variables",
  "properties": {
    "record": {
      "type": "object",
      "title": "Record",
      "description": "Record",
      "order": 1
    }
  },
  "required": [
    "record"
  ]
}
    """)

    def __init__(self):
        super(self.__class__, self).__init__(self.schema)
# GENERATED BY KOMAND SDK - DO NOT EDIT {   "type": "object",   "title": "Variables",   "properties": {     "app_id": {       "type": "string",       "title": "Application ID",       "description": "Application ID",       "order": 1     },     "record_id": {       "type": "string",       "title": "Record ID",       "description": "Record ID",       "order": 2     }   },   "required": [     "app_id",     "record_id"   ] } {   "type": "object",   "title": "Variables",   "properties": {     "record": {       "type": "object",       "title": "Record",       "description": "Record",       "order": 1     }   },   "required": [     "record"   ] }