'Fields that would not be omitted in the JSON object.'

def not_omitted(self):

    return dict(((name, getattr(self, name)) for (name, field) in six.iteritems(self._fields) if (not field.omit(getattr(self, name)))))
