def from_xdr_object(cls, op_xdr_object):
        """Creates a :class:`BumpSequence` object from an XDR Operation
        object.

        """
        if not op_xdr_object.sourceAccount:
            source = None
        else:
            source = encode_check(
                'account', op_xdr_object.sourceAccount[0].ed25519).decode()

        bump_to = op_xdr_object.body.bumpSequenceOp.bumpTo
        return cls(source=source, bump_to=bump_to)
def from_xdr_object ( cls , op_xdr_object ) : if not op_xdr_object . sourceAccount : source = None else : source = encode_check ( 'account' , op_xdr_object . sourceAccount [ 0 ] . ed25519 ) . decode ( ) bump_to = op_xdr_object . body . bumpSequenceOp . bumpTo return cls ( source = source , bump_to = bump_to )
Creates a :class:`BumpSequence` object from an XDR Operation
        object.