def get_fields(self):
        fields = OrderedDict()

        for field_name, field in super().get_fields().items():
            try:
                field_name += field.field_name_suffix
            except AttributeError:
                pass
            fields[field_name] = field
        return fields
Returns all fields of the serializer.
dataset/ETHPy150Open OpenSlides/OpenSlides/openslides/utils/rest_api.py/ModelSerializer.get_fields