def to_xdr_object(self):
        """Creates an XDR Operation object that represents this
        :class:`ChangeTrust`.

        """
        line = self.line.to_xdr_object()
        limit = Operation.to_xdr_amount(self.limit)

        change_trust_op = Xdr.types.ChangeTrustOp(line, limit)
        self.body.type = Xdr.const.CHANGE_TRUST
        self.body.changeTrustOp = change_trust_op
        return super(ChangeTrust, self).to_xdr_object()
def to_xdr_object ( self ) : line = self . line . to_xdr_object ( ) limit = Operation . to_xdr_amount ( self . limit ) change_trust_op = Xdr . types . ChangeTrustOp ( line , limit ) self . body . type = Xdr . const . CHANGE_TRUST self . body . changeTrustOp = change_trust_op return super ( ChangeTrust , self ) . to_xdr_object ( )
Creates an XDR Operation object that represents this
        :class:`ChangeTrust`.