def serialize(self,writer: SerializationWriter) -> None:
        """
        Serializes information the current object
        param writer: Serialization writer to use to serialize this model
        Returns: None
        """
        if writer is None:
            raise TypeError("writer cannot be null.")
        super().serialize(writer)
        writer.write_str_value("azureADAppId", self.azure_a_d_app_id)
        writer.write_str_value("communicationServiceId", self.communication_service_id)
        writer.write_enum_value("platform", self.platform)
        writer.write_enum_value("productFamily", self.product_family)

        Serializes information the current object
        param writer: Serialization writer to use to serialize this model
        Returns: None
        
msgraph/generated/models/call_records/client_user_agent.py