winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

SearchRequestSerializer.h (534B)


      1 // Copyright (c) Microsoft Corporation.
      2 // Licensed under the MIT License.
      3 #pragma once
      4 #include <cpprest/json.h>
      5 #include "Rest/Schema/1_0/Json/SearchRequestSerializer.h"
      6 
      7 namespace AppInstaller::Repository::Rest::Schema::V1_1::Json
      8 {
      9     // Search Result Serializer.
     10     struct SearchRequestSerializer : public V1_0::Json::SearchRequestSerializer
     11     {
     12     protected:
     13         std::optional<std::string_view> ConvertPackageMatchFieldToString(AppInstaller::Repository::PackageMatchField field) const override;
     14     };
     15 }