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

        """
        self.body.type = Xdr.const.INFLATION
        return super(Inflation, self).to_xdr_object()