code: def to_api_obj(self):
      pydict = self.to_dict()
      obj = zp.Order(initial_values=pydict)
      return obj
  
imports: import math
  import uuid
  from six import text_type
  import zipline.protocol
  from zipline.assets import Asset
  from zipline.utils.enum import enum
  from zipline.utils.input_validation import expect_types
label_desc: Use image node_id 5 for calling the Order obj's underlying member method code with example usage: obj.to_api_obj() and returns: obj