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("buildNumber", self.build_number)
        writer.write_str_value("bundleId", self.bundle_id)
        writer.write_collection_of_object_values("childApps", self.child_apps)
        writer.write_bool_value("ignoreVersionDetection", self.ignore_version_detection)
        writer.write_bool_value("installAsManaged", self.install_as_managed)
        writer.write_collection_of_primitive_values("md5Hash", self.md5_hash)
        writer.write_int_value("md5HashChunkSize", self.md5_hash_chunk_size)
        writer.write_object_value("minimumSupportedOperatingSystem", self.minimum_supported_operating_system)
        writer.write_str_value("versionNumber", self.version_number)

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