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.")
        writer.write_bool_value("authorizedApplicationRulesFromGroupPolicyMerged", self.authorized_application_rules_from_group_policy_merged)
        writer.write_bool_value("connectionSecurityRulesFromGroupPolicyMerged", self.connection_security_rules_from_group_policy_merged)
        writer.write_enum_value("firewallEnabled", self.firewall_enabled)
        writer.write_bool_value("globalPortRulesFromGroupPolicyMerged", self.global_port_rules_from_group_policy_merged)
        writer.write_bool_value("inboundConnectionsBlocked", self.inbound_connections_blocked)
        writer.write_bool_value("inboundNotificationsBlocked", self.inbound_notifications_blocked)
        writer.write_bool_value("incomingTrafficBlocked", self.incoming_traffic_blocked)
        writer.write_str_value("@odata.type", self.odata_type)
        writer.write_bool_value("outboundConnectionsBlocked", self.outbound_connections_blocked)
        writer.write_bool_value("policyRulesFromGroupPolicyMerged", self.policy_rules_from_group_policy_merged)
        writer.write_bool_value("securedPacketExemptionAllowed", self.secured_packet_exemption_allowed)
        writer.write_bool_value("stealthModeBlocked", self.stealth_mode_blocked)
        writer.write_bool_value("unicastResponsesToMulticastBroadcastsBlocked", self.unicast_responses_to_multicast_broadcasts_blocked)
        writer.write_additional_data_value(self.additional_data)

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