text: # GENERATED BY KOMAND SDK - DO NOT EDIT
  import komand
  import json
  
  
  class Component:
      DESCRIPTION = "Update a record"
  
  
  class Input:
      OBJECT_DATA = "object_data"
      OBJECT_NAME = "object_name"
      RECORD_ID = "record_id"
      
  
  class Output:
      SUCCESS = "success"
      
  
  class UpdateRecordInput(komand.Input):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "object_data": {
        "type": "object",
        "title": "Object Data",
        "description": "Updated SObject information",
        "order": 3
      },
      "object_name": {
        "type": "string",
        "title": "Object Name",
        "description": "The name of the object (e.g. 'Account')",
        "default": "Account",
        "order": 2
      },
      "record_id": {
        "type": "string",
        "title": "Record ID",
        "description": "The ID of an existing record",
        "order": 1
      }
    },
    "required": [
      "object_data",
      "object_name",
      "record_id"
    ]
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  
  
  class UpdateRecordOutput(komand.Output):
      schema = json.loads("""
     {
    "type": "object",
    "title": "Variables",
    "properties": {
      "success": {
        "type": "boolean",
        "title": "Success",
        "description": "Was the operation successful",
        "order": 1
      }
    }
  }
      """)
  
      def __init__(self):
          super(self.__class__, self).__init__(self.schema)
  