Instantiate a new OrderClientExtensionsModifyRejectTransaction from a
        dict (generally from loading a JSON response). The data used to
        instantiate the OrderClientExtensionsModifyRejectTransaction is a
        shallow copy of the dict passed in, with any complex child types
        instantiated appropriately.

def from_dict(data, ctx):
        """
        Instantiate a new OrderClientExtensionsModifyRejectTransaction from a
        dict (generally from loading a JSON response). The data used to
        instantiate the OrderClientExtensionsModifyRejectTransaction is a
        shallow copy of the dict passed in, with any complex child types
        instantiated appropriately.
        """

        data = data.copy()

        if data.get('clientExtensionsModify') is not None:
            data['clientExtensionsModify'] = \
                ctx.transaction.ClientExtensions.from_dict(
                    data['clientExtensionsModify'], ctx
                )

        if data.get('tradeClientExtensionsModify') is not None:
            data['tradeClientExtensionsModify'] = \
                ctx.transaction.ClientExtensions.from_dict(
                    data['tradeClientExtensionsModify'], ctx
                )

        return OrderClientExtensionsModifyRejectTransaction(**data)