pki.serializer.cert_profile =========================== .. py:module:: pki.serializer.cert_profile .. autoapi-nested-parse:: Serializers for Certificate Profile-related API endpoints. Defines classes that handle validation and transformation of Certificate profile model instances to and from JSON. Module Contents --------------- .. py:class:: CertProfileSerializer(instance=None, data=empty, **kwargs) Bases: :py:obj:`rest_framework.serializers.ModelSerializer`\ [\ :py:obj:`pki.models.cert_profile.CertificateProfileModel`\ ] Serializer for Certificate profile instances. Handles conversion between Certificate Profile model objects and JSON representations. .. py:class:: Meta Metadata for CertProfileSerializer, defining model and serialized fields. .. py:attribute:: model .. py:attribute:: fields :type: ClassVar[list[str]] :value: ['id', 'unique_name'] .. py:attribute:: read_only_fields :type: ClassVar[list[str]] :value: ['id']