//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Bajun.Network.NET.RestClient.Mockup.Generated.Clients
{
   using System;
   using System.Threading.Tasks;
   using System.Net.Http;
   using Ajuna.NetApi.Model.Types.Base;
   using Bajun.Network.NET.NetApiExt.Generated.Model.sp_core.bounded.bounded_vec;
   using Ajuna.NetApi.Model.Types.Primitive;
   using Bajun.Network.NET.RestClient.Mockup.Generated.Interfaces;
   
   public sealed class ProxyControllerMockupClient : MockupBaseClient, IProxyControllerMockupClient
   {
      private HttpClient _httpClient;
      public ProxyControllerMockupClient(HttpClient httpClient)
      {
         _httpClient = httpClient;
      }
      public async Task<bool> SetProxies(BaseTuple<BoundedVecT16, U128> value, Bajun.Network.NET.NetApiExt.Generated.Model.sp_core.crypto.AccountId32 key)
      {
         return await SendMockupRequestAsync(_httpClient, "Proxy/Proxies", value.Encode(), Bajun.Network.NET.NetApiExt.Generated.Storage.ProxyStorage.ProxiesParams(key));
      }
      public async Task<bool> SetAnnouncements(BaseTuple<BoundedVecT17, U128> value, Bajun.Network.NET.NetApiExt.Generated.Model.sp_core.crypto.AccountId32 key)
      {
         return await SendMockupRequestAsync(_httpClient, "Proxy/Announcements", value.Encode(), Bajun.Network.NET.NetApiExt.Generated.Storage.ProxyStorage.AnnouncementsParams(key));
      }
   }
}
