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("fullResourceName", self.full_resource_name)
        writer.write_str_value("location", self.location)
        writer.write_enum_value("locationType", self.location_type)
        writer.write_str_value("projectId", self.project_id)
        writer.write_int_value("projectNumber", self.project_number)
        writer.write_str_value("resourceName", self.resource_name)
        writer.write_str_value("resourceType", self.resource_type)

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