code: def from_dict(data, ctx):
          
  
          data = data.copy()
  
          if data.get('tradeClientExtensionsModify') is not None:
              data['tradeClientExtensionsModify'] = \
                  ctx.transaction.ClientExtensions.from_dict(
                      data['tradeClientExtensionsModify'], ctx
                  )
  
          return TradeClientExtensionsModifyRejectTransaction(**data)
docs: Instantiate a new TradeClientExtensionsModifyRejectTransaction from a
          dict (generally from loading a JSON response). The data used to
          instantiate the TradeClientExtensionsModifyRejectTransaction is a
          shallow copy of the dict passed in, with any complex child types
          instantiated appropriately.